Skip to content

Commit c19d60c

Browse files
Merge branch 'main' into chore/polish-django-demo
2 parents 2c68ecc + f58c287 commit c19d60c

File tree

73 files changed

+778
-304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+778
-304
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ tsconfig.tsbuildinfo
66
.DS_STORE
77
.idea
88
.fleet
9+
# Useful if running repository in VSCode dev container
10+
.pnpm-store

demos/angular-supabase-todolist/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# PowerSync Angular Demo
22

3+
## 0.0.21
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [dca599f]
8+
- @powersync/web@1.2.0
9+
310
## 0.0.20
411

512
### Patch Changes

demos/angular-supabase-todolist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-supabase-todolist",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"scripts": {
55
"ng": "ng",
66
"serve": "ng serve",

demos/django-react-native-todolist/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# django-react-native-todolist
22

3+
## 1.1.10
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [dca599f]
8+
- @powersync/react-native@1.8.0
9+
- @powersync/common@1.13.0
10+
311
## 1.1.9
412

513
### Patch Changes

demos/django-react-native-todolist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "django-react-native-todolist",
3-
"version": "1.1.9",
3+
"version": "1.1.10",
44
"main": "./index.js",
55
"scripts": {
66
"android": "expo run:android",

demos/example-capacitor/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# example-capacitor
22

3+
## 0.0.7
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [dca599f]
8+
- @powersync/web@1.2.0
9+
310
## 0.0.6
411

512
### Patch Changes

demos/example-capacitor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-capacitor",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Example of using Capacitor with PowerSync",
55
"main": "index.js",
66
"private": true,

demos/example-capacitor/src/components/providers/SystemProvider.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PowerSyncContext } from '@powersync/react';
2-
import { WASQLitePowerSyncDatabaseOpenFactory } from '@powersync/web';
2+
import { PowerSyncDatabase } from '@powersync/web';
33
import { CircularProgress } from '@mui/material';
44
import Logger from 'js-logger';
55
import React, { Suspense } from 'react';
@@ -15,14 +15,14 @@ const isIOs = platform === 'ios';
1515
// Web worker implementation does not work on iOS
1616
const useWebWorker = !isIOs;
1717

18-
const powerSync = new WASQLitePowerSyncDatabaseOpenFactory({
19-
dbFilename: 'powersync2.db',
18+
const powerSync = new PowerSyncDatabase({
19+
database: { dbFilename: 'powersync2.db' },
2020
schema: AppSchema,
2121
flags: {
2222
enableMultiTabs: false,
2323
useWebWorker
2424
}
25-
}).getInstance();
25+
});
2626
const connector = new BackendConnector();
2727

2828
powerSync.connect(connector);

demos/example-electron/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# example-electron
22

3+
## 1.0.12
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [dca599f]
8+
- @powersync/web@1.2.0
9+
310
## 1.0.11
411

512
### Patch Changes

demos/example-electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "example-electron",
33
"productName": "example-electron",
4-
"version": "1.0.11",
4+
"version": "1.0.12",
55
"description": "Example of using Electron with PowerSync",
66
"main": ".vite/build/main.js",
77
"type": "module",

0 commit comments

Comments
 (0)