dexie-cloud-addon 4.1.0-beta.35 → 4.1.0-beta.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,26 @@
1
1
  The web client for [Dexie Cloud](https://dexie.org/cloud/).
2
2
 
3
- # Getting started
3
+ ## Getting started
4
+
5
+ ```
6
+ npm install dexie-cloud-addon
7
+ ```
8
+
9
+ ```ts
10
+ import dexieCloud from 'dexie-cloud-addon';
11
+
12
+ const db = new Dexie('dbname', { addons: [dexieCloud]});
13
+
14
+ db.version(1).stores({
15
+ yourTable: '@primKeyProp, indexedProp1, indexedProp2, ...'
16
+ });
17
+
18
+ db.cloud.configure({
19
+ databaseUrl: 'https://<yourdb>.dexie.cloud'
20
+ })
21
+ ```
22
+
23
+ ## Obtaining a database URL
4
24
 
5
25
  Run the following command in a console / terminal:
6
26
 
@@ -8,13 +28,13 @@ Run the following command in a console / terminal:
8
28
  npx dexie-cloud create
9
29
  ```
10
30
 
11
- ...then follow the instructions on https://dexie.org/cloud/#getting-started
31
+ See also https://dexie.org/cloud/#getting-started
12
32
 
13
33
  *Having problems getting started, please [file an issue](https://github.com/dexie/Dexie.js/issues/new)*
14
34
 
15
35
  # The Cloud Service
16
36
 
17
- [![Better Stack Badge](https://uptime.betterstack.com/status-badges/v2/monitor/jist.svg)](https://uptime.betterstack.com/?utm_source=status_badge)
37
+ [![Better Stack Badge](https://uptime.betterstack.com/status-badges/v2/monitor/jist.svg)](https://www.dexie-cloud-status.com)
18
38
 
19
39
  The official production service for Dexie Cloud Server is forever free of charge so you do not need to install any server to get started. The free service has some limits, see https://dexie.org/cloud/pricing
20
40
 
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * ==========================================================================
10
10
  *
11
- * Version 4.1.0-beta.35, Fri Dec 06 2024
11
+ * Version 4.1.0-beta.37, Fri Dec 06 2024
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -8157,7 +8157,7 @@ function dexieCloud(dexie) {
8157
8157
  const syncComplete = new Subject();
8158
8158
  dexie.cloud = {
8159
8159
  // @ts-ignore
8160
- version: "4.1.0-beta.35",
8160
+ version: "4.1.0-beta.37",
8161
8161
  options: Object.assign({}, DEFAULT_OPTIONS),
8162
8162
  schema: null,
8163
8163
  get currentUserId() {
@@ -8475,7 +8475,7 @@ function dexieCloud(dexie) {
8475
8475
  }
8476
8476
  }
8477
8477
  // @ts-ignore
8478
- dexieCloud.version = "4.1.0-beta.35";
8478
+ dexieCloud.version = "4.1.0-beta.37";
8479
8479
  Dexie.Cloud = dexieCloud;
8480
8480
 
8481
8481
  const ydocTriggers = {};