@tinycloud/node-sdk 3.2.6-beta.6 → 3.3.0-beta.10
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/{WasmKeyProvider-DEdSyQ0I.d.cts → TinyCloudNode-CcNh20QX.d.cts} +181 -286
- package/dist/{WasmKeyProvider-DEdSyQ0I.d.ts → TinyCloudNode-CcNh20QX.d.ts} +181 -286
- package/dist/WasmKeyProvider-5Ee7fcAw.d.cts +217 -0
- package/dist/WasmKeyProvider-5Ee7fcAw.d.ts +217 -0
- package/dist/authority-Cwotwza3.d.cts +118 -0
- package/dist/authority-D_u9a7Wl.d.ts +118 -0
- package/dist/core.cjs +400 -168
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +37 -4
- package/dist/core.d.ts +37 -4
- package/dist/core.js +407 -176
- package/dist/core.js.map +1 -1
- package/dist/gated-network-BEF2XSTC.d.cts +16 -0
- package/dist/gated-network-BEF2XSTC.d.ts +16 -0
- package/dist/index.cjs +2734 -545
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -89
- package/dist/index.d.ts +35 -89
- package/dist/index.js +2729 -545
- package/dist/index.js.map +1 -1
- package/dist/replication/authority.cjs +153 -15
- package/dist/replication/authority.cjs.map +1 -1
- package/dist/replication/authority.d.cts +4 -1
- package/dist/replication/authority.d.ts +4 -1
- package/dist/replication/authority.js +147 -14
- package/dist/replication/authority.js.map +1 -1
- package/dist/replication/gated-network.cjs +90 -0
- package/dist/replication/gated-network.cjs.map +1 -0
- package/dist/replication/gated-network.d.cts +2 -0
- package/dist/replication/gated-network.d.ts +2 -0
- package/dist/replication/gated-network.js +65 -0
- package/dist/replication/gated-network.js.map +1 -0
- package/dist/replication/runtime.cjs +84 -6
- package/dist/replication/runtime.cjs.map +1 -1
- package/dist/replication/runtime.d.cts +2 -1
- package/dist/replication/runtime.d.ts +2 -1
- package/dist/replication/runtime.js +84 -6
- package/dist/replication/runtime.js.map +1 -1
- package/dist/{runtime-B5P5SRpC.d.ts → runtime-D1o9Eybt.d.cts} +14 -3
- package/dist/{runtime-B5P5SRpC.d.cts → runtime-v62FzQHz.d.ts} +14 -3
- package/package.json +14 -4
- package/dist/authority-DDGtccBK.d.cts +0 -96
- package/dist/authority-DDGtccBK.d.ts +0 -96
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReplicationEvent, KVReadThrough } from '@tinycloud/sdk-services';
|
|
2
|
+
|
|
3
|
+
/** Loaded only after a refused restore. No replica storage, authority, or worker access. */
|
|
4
|
+
declare function createGatedNetworkReadThrough(input: {
|
|
5
|
+
space: string;
|
|
6
|
+
prefixes: readonly string[];
|
|
7
|
+
now: () => number;
|
|
8
|
+
emit: (event: ReplicationEvent) => void;
|
|
9
|
+
}): KVReadThrough;
|
|
10
|
+
|
|
11
|
+
declare const __gated_network_createGatedNetworkReadThrough: typeof createGatedNetworkReadThrough;
|
|
12
|
+
declare namespace __gated_network {
|
|
13
|
+
export { __gated_network_createGatedNetworkReadThrough as createGatedNetworkReadThrough };
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { __gated_network as _, createGatedNetworkReadThrough as c };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReplicationEvent, KVReadThrough } from '@tinycloud/sdk-services';
|
|
2
|
+
|
|
3
|
+
/** Loaded only after a refused restore. No replica storage, authority, or worker access. */
|
|
4
|
+
declare function createGatedNetworkReadThrough(input: {
|
|
5
|
+
space: string;
|
|
6
|
+
prefixes: readonly string[];
|
|
7
|
+
now: () => number;
|
|
8
|
+
emit: (event: ReplicationEvent) => void;
|
|
9
|
+
}): KVReadThrough;
|
|
10
|
+
|
|
11
|
+
declare const __gated_network_createGatedNetworkReadThrough: typeof createGatedNetworkReadThrough;
|
|
12
|
+
declare namespace __gated_network {
|
|
13
|
+
export { __gated_network_createGatedNetworkReadThrough as createGatedNetworkReadThrough };
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { __gated_network as _, createGatedNetworkReadThrough as c };
|