@tinycloud/node-sdk 2.4.0-beta.17 → 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 +4 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +4 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +4 -1
- 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 +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ISessionStorage, PersistedSessionData, AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, IUserAuthorization, ISigner, ISpaceCreationHandler, IWasmBindings, SiweConfig, Manifest, ComposedManifestRequest, ClientSession, TinyCloudSession, Extension, SignInOptions, Delegation, DelegatedResource, PermissionEntry, TelemetryConfig, IKVService, ISQLService, IDuckDbService, IHooksService, INotificationHandler, IENSResolver, AccountService, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, CreateDelegationParams, DelegationResult, ResolvedDelegate, KeyProvider, ISessionManager, JWK } from '@tinycloud/sdk-core';
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import { InvokeFunction } from '@tinycloud/sdk-services';
|
|
3
|
+
import { InvokeFunction, InvokeAnyFunction } from '@tinycloud/sdk-services';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* In-memory session storage for Node.js.
|
|
@@ -673,7 +673,7 @@ declare class DelegatedAccess {
|
|
|
673
673
|
private _sql;
|
|
674
674
|
private _duckdb;
|
|
675
675
|
private _hooks;
|
|
676
|
-
constructor(session: TinyCloudSession, delegation: PortableDelegation, host: string, invoke: InvokeFunction, telemetry?: TelemetryConfig);
|
|
676
|
+
constructor(session: TinyCloudSession, delegation: PortableDelegation, host: string, invoke: InvokeFunction, invokeAny?: InvokeAnyFunction, telemetry?: TelemetryConfig);
|
|
677
677
|
/**
|
|
678
678
|
* Get the delegation this access was created from.
|
|
679
679
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ISessionStorage, PersistedSessionData, AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, IUserAuthorization, ISigner, ISpaceCreationHandler, IWasmBindings, SiweConfig, Manifest, ComposedManifestRequest, ClientSession, TinyCloudSession, Extension, SignInOptions, Delegation, DelegatedResource, PermissionEntry, TelemetryConfig, IKVService, ISQLService, IDuckDbService, IHooksService, INotificationHandler, IENSResolver, AccountService, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, CreateDelegationParams, DelegationResult, ResolvedDelegate, KeyProvider, ISessionManager, JWK } from '@tinycloud/sdk-core';
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import { InvokeFunction } from '@tinycloud/sdk-services';
|
|
3
|
+
import { InvokeFunction, InvokeAnyFunction } from '@tinycloud/sdk-services';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* In-memory session storage for Node.js.
|
|
@@ -673,7 +673,7 @@ declare class DelegatedAccess {
|
|
|
673
673
|
private _sql;
|
|
674
674
|
private _duckdb;
|
|
675
675
|
private _hooks;
|
|
676
|
-
constructor(session: TinyCloudSession, delegation: PortableDelegation, host: string, invoke: InvokeFunction, telemetry?: TelemetryConfig);
|
|
676
|
+
constructor(session: TinyCloudSession, delegation: PortableDelegation, host: string, invoke: InvokeFunction, invokeAny?: InvokeAnyFunction, telemetry?: TelemetryConfig);
|
|
677
677
|
/**
|
|
678
678
|
* Get the delegation this access was created from.
|
|
679
679
|
*/
|
package/dist/core.cjs
CHANGED
|
@@ -1186,12 +1186,13 @@ var import_sdk_core3 = require("@tinycloud/sdk-core");
|
|
|
1186
1186
|
// src/DelegatedAccess.ts
|
|
1187
1187
|
var import_sdk_core4 = require("@tinycloud/sdk-core");
|
|
1188
1188
|
var DelegatedAccess = class {
|
|
1189
|
-
constructor(session, delegation, host, invoke, telemetry) {
|
|
1189
|
+
constructor(session, delegation, host, invoke, invokeAny, telemetry) {
|
|
1190
1190
|
this.session = session;
|
|
1191
1191
|
this._delegation = delegation;
|
|
1192
1192
|
this.host = host;
|
|
1193
1193
|
this._serviceContext = new import_sdk_core4.ServiceContext({
|
|
1194
1194
|
invoke,
|
|
1195
|
+
invokeAny,
|
|
1195
1196
|
fetch: globalThis.fetch.bind(globalThis),
|
|
1196
1197
|
hosts: [host],
|
|
1197
1198
|
telemetry
|
|
@@ -4690,6 +4691,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
4690
4691
|
delegation,
|
|
4691
4692
|
targetHost,
|
|
4692
4693
|
this.wasmBindings.invoke,
|
|
4694
|
+
this.wasmBindings.invokeAny,
|
|
4693
4695
|
this.config.telemetry
|
|
4694
4696
|
);
|
|
4695
4697
|
}
|
|
@@ -4755,6 +4757,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
4755
4757
|
delegation,
|
|
4756
4758
|
targetHost,
|
|
4757
4759
|
this.wasmBindings.invoke,
|
|
4760
|
+
this.wasmBindings.invokeAny,
|
|
4758
4761
|
this.config.telemetry
|
|
4759
4762
|
);
|
|
4760
4763
|
}
|