@instantdb/react-common 0.22.138 → 0.22.139-experimental.streams.22079869443.1
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/dist/commonjs/InstantReactAbstractDatabase.d.ts +2 -1
- package/dist/commonjs/InstantReactAbstractDatabase.d.ts.map +1 -1
- package/dist/commonjs/InstantReactAbstractDatabase.js +2 -0
- package/dist/commonjs/InstantReactAbstractDatabase.js.map +1 -1
- package/dist/esm/InstantReactAbstractDatabase.d.ts +2 -1
- package/dist/esm/InstantReactAbstractDatabase.d.ts.map +1 -1
- package/dist/esm/InstantReactAbstractDatabase.js +2 -0
- package/dist/esm/InstantReactAbstractDatabase.js.map +1 -1
- package/dist/standalone/index.js +3390 -2825
- package/dist/standalone/index.umd.cjs +12 -12
- package/package.json +3 -3
- package/src/InstantReactAbstractDatabase.tsx +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instantdb/react-common",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.139-experimental.streams.22079869443.1",
|
|
4
4
|
"description": "Instant DB shared components for React and React Native",
|
|
5
5
|
"homepage": "https://github.com/instantdb/instant/tree/main/client/packages/react-common",
|
|
6
6
|
"repository": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"react": ">=16"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@instantdb/core": "0.22.
|
|
57
|
-
"@instantdb/version": "0.22.
|
|
56
|
+
"@instantdb/core": "0.22.139-experimental.streams.22079869443.1",
|
|
57
|
+
"@instantdb/version": "0.22.139-experimental.streams.22079869443.1"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"test": "vitest",
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
IInstantDatabase,
|
|
22
22
|
InstantError,
|
|
23
23
|
ValidQuery,
|
|
24
|
+
Streams,
|
|
24
25
|
} from '@instantdb/core';
|
|
25
26
|
import {
|
|
26
27
|
ReactNode,
|
|
@@ -54,6 +55,7 @@ export default abstract class InstantReactAbstractDatabase<
|
|
|
54
55
|
|
|
55
56
|
public auth: Auth;
|
|
56
57
|
public storage: Storage;
|
|
58
|
+
public streams: Streams;
|
|
57
59
|
public core: InstantCoreDatabase<Schema, UseDates>;
|
|
58
60
|
|
|
59
61
|
/** @deprecated use `core` instead */
|
|
@@ -82,6 +84,7 @@ export default abstract class InstantReactAbstractDatabase<
|
|
|
82
84
|
this._core = this.core;
|
|
83
85
|
this.auth = this.core.auth;
|
|
84
86
|
this.storage = this.core.storage;
|
|
87
|
+
this.streams = this.core.streams;
|
|
85
88
|
}
|
|
86
89
|
|
|
87
90
|
/**
|