edmaxlabs-core 1.4.7 → 1.4.8
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 +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ import EdmaxLabs from "edmaxlabs-core";
|
|
|
31
31
|
const app = new EdmaxLabs({
|
|
32
32
|
token: "your-api-token",
|
|
33
33
|
project: "your-project-id",
|
|
34
|
-
|
|
34
|
+
persistence: true, // Enable offline persistence
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// Get data
|
|
@@ -47,7 +47,7 @@ import EdmaxLabs from "edmaxlabs-core";
|
|
|
47
47
|
const app = new EdmaxLabs({
|
|
48
48
|
token: "your-token",
|
|
49
49
|
project: "your-project-id",
|
|
50
|
-
|
|
50
|
+
persistence: true,
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
function ChatApp() {
|
|
@@ -91,7 +91,7 @@ const app = new EdmaxLabs({
|
|
|
91
91
|
token: "your-api-token", // Required: Your API token
|
|
92
92
|
project: "your-project-id", // Required: Project identifier
|
|
93
93
|
baseUrl: "https://api.edmaxlabs.com", // Optional: API endpoint
|
|
94
|
-
|
|
94
|
+
persistence: true, // Optional: Enable offline persistence
|
|
95
95
|
appName: "my-app", // Optional: Unique app identifier
|
|
96
96
|
});
|
|
97
97
|
```
|
|
@@ -274,9 +274,6 @@ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md).
|
|
|
274
274
|
|
|
275
275
|
MIT License - see [LICENSE](LICENSE) file for details.
|
|
276
276
|
- [https://edmaxlabs.com/docs/database](https://edmaxlabs.com/docs/database)
|
|
277
|
-
- [https://edmaxlabs.com/docs/realtime](https://edmaxlabs.com/docs/realtime)
|
|
278
|
-
- [https://edmaxlabs.com/docs/offline](https://edmaxlabs.com/docs/offline)
|
|
279
|
-
|
|
280
277
|
---
|
|
281
278
|
|
|
282
279
|
## Who is this for?
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edmaxlabs-core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8",
|
|
4
4
|
"description": "Official Framework-Agnostic SDK for EdmaxLabs services, including database, storage, authentication, and more. Works with React, Vue, Angular, Node.js, and vanilla JavaScript.",
|
|
5
5
|
"author": "edmaxlabs",
|
|
6
6
|
"license": "MIT",
|