@tinycloud/node-sdk 3.3.0-beta.24 → 3.3.0-beta.26
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/{TinyCloudNode-Cm8kblSj.d.cts → TinyCloudNode-DeV-L_14.d.cts} +3 -1
- package/dist/{TinyCloudNode-Cm8kblSj.d.ts → TinyCloudNode-DeV-L_14.d.ts} +3 -1
- package/dist/{authority-S-huUKlr.d.cts → authority-BO2VqGnD.d.cts} +1 -1
- package/dist/{authority-CPSGMw2l.d.ts → authority-CtsxSAoP.d.ts} +1 -1
- package/dist/core.cjs +34 -17
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +34 -17
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +34 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -17
- package/dist/index.js.map +1 -1
- package/dist/replication/authority.d.cts +2 -2
- package/dist/replication/authority.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -21800,7 +21800,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21800
21800
|
invoke: config.invoke,
|
|
21801
21801
|
fetch: config.fetch ?? globalThis.fetch.bind(globalThis),
|
|
21802
21802
|
hosts: config.hosts,
|
|
21803
|
-
telemetry: this.config.telemetry
|
|
21803
|
+
telemetry: this.config.telemetry,
|
|
21804
|
+
retryPolicy: this.config.retryPolicy
|
|
21804
21805
|
}));
|
|
21805
21806
|
kvContext.setSession(config.session);
|
|
21806
21807
|
kvService.initialize(kvContext);
|
|
@@ -21851,7 +21852,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21851
21852
|
});
|
|
21852
21853
|
this.tc = new import_sdk_core9.TinyCloud(this.auth, {
|
|
21853
21854
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
21854
|
-
telemetry: config.telemetry
|
|
21855
|
+
telemetry: config.telemetry,
|
|
21856
|
+
retryPolicy: config.retryPolicy
|
|
21855
21857
|
});
|
|
21856
21858
|
}
|
|
21857
21859
|
shouldUseBootstrapSignInRequest(config) {
|
|
@@ -22213,7 +22215,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
22213
22215
|
this.auth = oldAuth;
|
|
22214
22216
|
this.tc = this.auth ? new import_sdk_core9.TinyCloud(this.auth, {
|
|
22215
22217
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
22216
|
-
telemetry: this.config.telemetry
|
|
22218
|
+
telemetry: this.config.telemetry,
|
|
22219
|
+
retryPolicy: this.config.retryPolicy
|
|
22217
22220
|
}) : null;
|
|
22218
22221
|
this._capabilityRegistry = new import_sdk_core9.CapabilityKeyRegistry();
|
|
22219
22222
|
this._keyProvider = new WasmKeyProvider({ sessionManager: this.sessionManager });
|
|
@@ -22864,7 +22867,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
22864
22867
|
invokeAny: context.invokeAny,
|
|
22865
22868
|
fetch: context.fetch,
|
|
22866
22869
|
hosts: context.hosts,
|
|
22867
|
-
telemetry: this.config.telemetry
|
|
22870
|
+
telemetry: this.config.telemetry,
|
|
22871
|
+
retryPolicy: this.config.retryPolicy
|
|
22868
22872
|
}));
|
|
22869
22873
|
scoped.setOperationAbortSignal(signal);
|
|
22870
22874
|
scoped.setSession({ ...session, spaceId });
|
|
@@ -22930,7 +22934,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
22930
22934
|
invokeAny: sharedContext.invokeAny,
|
|
22931
22935
|
fetch: sharedContext.fetch,
|
|
22932
22936
|
hosts: sharedContext.hosts,
|
|
22933
|
-
telemetry: this.config.telemetry
|
|
22937
|
+
telemetry: this.config.telemetry,
|
|
22938
|
+
retryPolicy: this.config.retryPolicy
|
|
22934
22939
|
}));
|
|
22935
22940
|
context.setOperationAbortSignal(controller.signal);
|
|
22936
22941
|
const current = this.currentTinyCloudSession();
|
|
@@ -23772,7 +23777,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
23772
23777
|
const graph = this.createServiceGraphLifetime();
|
|
23773
23778
|
const core = this.auth ? new import_sdk_core9.TinyCloud(this.auth, {
|
|
23774
23779
|
invokeAny: graph.invokeAny,
|
|
23775
|
-
telemetry: this.config.telemetry
|
|
23780
|
+
telemetry: this.config.telemetry,
|
|
23781
|
+
retryPolicy: this.config.retryPolicy
|
|
23776
23782
|
}) : null;
|
|
23777
23783
|
if (core) {
|
|
23778
23784
|
core.initializeServices(graph.invoke, [input.host], graph.fetch);
|
|
@@ -23784,7 +23790,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
23784
23790
|
invokeAny: graph.invokeAny,
|
|
23785
23791
|
fetch: graph.fetch,
|
|
23786
23792
|
hosts: [input.host],
|
|
23787
|
-
telemetry: this.config.telemetry
|
|
23793
|
+
telemetry: this.config.telemetry,
|
|
23794
|
+
retryPolicy: this.config.retryPolicy
|
|
23788
23795
|
}));
|
|
23789
23796
|
const kv = new import_sdk_core9.KVService({});
|
|
23790
23797
|
kv.initialize(serviceContext);
|
|
@@ -23870,7 +23877,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
23870
23877
|
invoke: config.invoke,
|
|
23871
23878
|
fetch: config.fetch ?? globalThis.fetch.bind(globalThis),
|
|
23872
23879
|
hosts: config.hosts,
|
|
23873
|
-
telemetry: this.config.telemetry
|
|
23880
|
+
telemetry: this.config.telemetry,
|
|
23881
|
+
retryPolicy: this.config.retryPolicy
|
|
23874
23882
|
}));
|
|
23875
23883
|
context.setSession(config.session);
|
|
23876
23884
|
service.initialize(context);
|
|
@@ -23910,7 +23918,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
23910
23918
|
invokeAny: graph.invokeAny,
|
|
23911
23919
|
fetch: graph.fetch,
|
|
23912
23920
|
hosts: [input.host],
|
|
23913
|
-
telemetry: this.config.telemetry
|
|
23921
|
+
telemetry: this.config.telemetry,
|
|
23922
|
+
retryPolicy: this.config.retryPolicy
|
|
23914
23923
|
}));
|
|
23915
23924
|
context.setSession({ ...input.serviceSession, spaceId });
|
|
23916
23925
|
scopedKv.initialize(context);
|
|
@@ -23925,7 +23934,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
23925
23934
|
invokeAny: graph.invokeAny,
|
|
23926
23935
|
fetch: graph.fetch,
|
|
23927
23936
|
hosts: [input.host],
|
|
23928
|
-
telemetry: this.config.telemetry
|
|
23937
|
+
telemetry: this.config.telemetry,
|
|
23938
|
+
retryPolicy: this.config.retryPolicy
|
|
23929
23939
|
}));
|
|
23930
23940
|
context.setSession({ ...input.serviceSession, spaceId });
|
|
23931
23941
|
scopedKv.initialize(context);
|
|
@@ -24237,7 +24247,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
24237
24247
|
});
|
|
24238
24248
|
this.tc = new import_sdk_core9.TinyCloud(this.auth, {
|
|
24239
24249
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
24240
|
-
telemetry: this.config.telemetry
|
|
24250
|
+
telemetry: this.config.telemetry,
|
|
24251
|
+
retryPolicy: this.config.retryPolicy
|
|
24241
24252
|
});
|
|
24242
24253
|
this.config.prefix = prefix;
|
|
24243
24254
|
}
|
|
@@ -24297,7 +24308,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
24297
24308
|
});
|
|
24298
24309
|
this.tc = new import_sdk_core9.TinyCloud(this.auth, {
|
|
24299
24310
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
24300
|
-
telemetry: this.config.telemetry
|
|
24311
|
+
telemetry: this.config.telemetry,
|
|
24312
|
+
retryPolicy: this.config.retryPolicy
|
|
24301
24313
|
});
|
|
24302
24314
|
this.config.prefix = prefix;
|
|
24303
24315
|
}
|
|
@@ -24321,7 +24333,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
24321
24333
|
invokeAny: this._serviceGraph.invokeAny,
|
|
24322
24334
|
fetch: this._serviceGraph.fetch,
|
|
24323
24335
|
hosts: [this.config.host],
|
|
24324
|
-
telemetry: this.config.telemetry
|
|
24336
|
+
telemetry: this.config.telemetry,
|
|
24337
|
+
retryPolicy: this.config.retryPolicy
|
|
24325
24338
|
}));
|
|
24326
24339
|
this._kv = new import_sdk_core9.KVService({});
|
|
24327
24340
|
this._kv.initialize(this._serviceContext);
|
|
@@ -24368,7 +24381,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
24368
24381
|
invokeAny: this._serviceContext.invokeAny,
|
|
24369
24382
|
fetch: this._serviceContext.fetch,
|
|
24370
24383
|
hosts: this._serviceContext.hosts,
|
|
24371
|
-
telemetry: this.config.telemetry
|
|
24384
|
+
telemetry: this.config.telemetry,
|
|
24385
|
+
retryPolicy: this.config.retryPolicy
|
|
24372
24386
|
}));
|
|
24373
24387
|
const session = this._serviceContext.session;
|
|
24374
24388
|
if (session) {
|
|
@@ -24835,7 +24849,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
24835
24849
|
invoke: config.invoke,
|
|
24836
24850
|
fetch: config.fetch ?? graph.fetch,
|
|
24837
24851
|
hosts: config.hosts,
|
|
24838
|
-
telemetry: this.config.telemetry
|
|
24852
|
+
telemetry: this.config.telemetry,
|
|
24853
|
+
retryPolicy: this.config.retryPolicy
|
|
24839
24854
|
}));
|
|
24840
24855
|
context.setSession(config.session);
|
|
24841
24856
|
service.initialize(context);
|
|
@@ -25156,7 +25171,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
25156
25171
|
invokeAny: this._serviceContext.invokeAny,
|
|
25157
25172
|
fetch: this._serviceContext.fetch,
|
|
25158
25173
|
hosts: this._serviceContext.hosts,
|
|
25159
|
-
telemetry: this.config.telemetry
|
|
25174
|
+
telemetry: this.config.telemetry,
|
|
25175
|
+
retryPolicy: this.config.retryPolicy
|
|
25160
25176
|
}));
|
|
25161
25177
|
spaceScopedContext.setSession({ ...this._serviceContext.session, spaceId });
|
|
25162
25178
|
sql.initialize(spaceScopedContext);
|
|
@@ -25974,7 +25990,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
25974
25990
|
invoke: this._serviceGraph.invoke,
|
|
25975
25991
|
fetch: this._serviceGraph.fetch,
|
|
25976
25992
|
hosts: this._serviceContext.hosts,
|
|
25977
|
-
telemetry: this.config.telemetry
|
|
25993
|
+
telemetry: this.config.telemetry,
|
|
25994
|
+
retryPolicy: this.config.retryPolicy
|
|
25978
25995
|
}));
|
|
25979
25996
|
publicContext.setSession({
|
|
25980
25997
|
delegationHeader: delegationSession.delegationHeader,
|