@tinycloud/node-sdk 2.4.0-beta.16 → 2.4.0-beta.18
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/{core-BX7hRUSI.d.cts → core-CqDbExtv.d.cts} +2 -2
- package/dist/{core-BX7hRUSI.d.ts → core-CqDbExtv.d.ts} +2 -2
- package/dist/core.cjs +5 -1
- 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 +5 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -18203,12 +18203,13 @@ var import_sdk_core2 = require("@tinycloud/sdk-core");
|
|
|
18203
18203
|
// src/DelegatedAccess.ts
|
|
18204
18204
|
var import_sdk_core3 = require("@tinycloud/sdk-core");
|
|
18205
18205
|
var DelegatedAccess = class {
|
|
18206
|
-
constructor(session, delegation, host, invoke2, telemetry) {
|
|
18206
|
+
constructor(session, delegation, host, invoke2, invokeAny2, telemetry) {
|
|
18207
18207
|
this.session = session;
|
|
18208
18208
|
this._delegation = delegation;
|
|
18209
18209
|
this.host = host;
|
|
18210
18210
|
this._serviceContext = new import_sdk_core3.ServiceContext({
|
|
18211
18211
|
invoke: invoke2,
|
|
18212
|
+
invokeAny: invokeAny2,
|
|
18212
18213
|
fetch: globalThis.fetch.bind(globalThis),
|
|
18213
18214
|
hosts: [host],
|
|
18214
18215
|
telemetry
|
|
@@ -19044,6 +19045,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
19044
19045
|
}
|
|
19045
19046
|
scheduleAccountRegistrySync() {
|
|
19046
19047
|
void this.withAccountRegistryRetry(async () => {
|
|
19048
|
+
void this.account.index.ensure();
|
|
19047
19049
|
await this.writeManifestRegistryRecords();
|
|
19048
19050
|
const spaces = await this.account.spaces.syncAccessible();
|
|
19049
19051
|
if (!spaces.ok) {
|
|
@@ -21706,6 +21708,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21706
21708
|
delegation,
|
|
21707
21709
|
targetHost,
|
|
21708
21710
|
this.wasmBindings.invoke,
|
|
21711
|
+
this.wasmBindings.invokeAny,
|
|
21709
21712
|
this.config.telemetry
|
|
21710
21713
|
);
|
|
21711
21714
|
}
|
|
@@ -21771,6 +21774,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21771
21774
|
delegation,
|
|
21772
21775
|
targetHost,
|
|
21773
21776
|
this.wasmBindings.invoke,
|
|
21777
|
+
this.wasmBindings.invokeAny,
|
|
21774
21778
|
this.config.telemetry
|
|
21775
21779
|
);
|
|
21776
21780
|
}
|