@tinycloud/node-sdk 2.4.0-beta.17 → 2.4.0-beta.19
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 +18 -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 +19 -2
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +18 -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 +19 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -17078,6 +17078,7 @@ __export(index_exports, {
|
|
|
17078
17078
|
SpaceErrorCodes: () => import_sdk_core19.SpaceErrorCodes,
|
|
17079
17079
|
SpaceService: () => import_sdk_core19.SpaceService,
|
|
17080
17080
|
TinyCloud: () => import_sdk_core8.TinyCloud,
|
|
17081
|
+
TinyCloudDebugLogger: () => import_sdk_core9.TinyCloudDebugLogger,
|
|
17081
17082
|
TinyCloudNode: () => TinyCloudNode,
|
|
17082
17083
|
UnsupportedFeatureError: () => import_sdk_core20.UnsupportedFeatureError,
|
|
17083
17084
|
VAULT_PERMISSION_SERVICE: () => import_sdk_core10.VAULT_PERMISSION_SERVICE,
|
|
@@ -17102,6 +17103,7 @@ __export(index_exports, {
|
|
|
17102
17103
|
canonicalizeSecretScope: () => import_sdk_core14.canonicalizeSecretScope,
|
|
17103
17104
|
checkDecryptInvocationInput: () => import_sdk_core15.checkDecryptInvocationInput,
|
|
17104
17105
|
checkNodeInfo: () => import_sdk_core20.checkNodeInfo,
|
|
17106
|
+
clearTinyCloudDebugLogs: () => import_sdk_core9.clearTinyCloudDebugLogs,
|
|
17105
17107
|
composeManifestRequest: () => import_sdk_core10.composeManifestRequest,
|
|
17106
17108
|
createCapabilityKeyRegistry: () => import_sdk_core18.createCapabilityKeyRegistry,
|
|
17107
17109
|
createSharingService: () => import_sdk_core17.createSharingService,
|
|
@@ -17115,7 +17117,9 @@ __export(index_exports, {
|
|
|
17115
17117
|
deserializeDelegation: () => deserializeDelegation,
|
|
17116
17118
|
didCacheKey: () => import_sdk_core9.didCacheKey,
|
|
17117
17119
|
didEquals: () => import_sdk_core9.didEquals,
|
|
17120
|
+
disableTinyCloudDebug: () => import_sdk_core9.disableTinyCloudDebug,
|
|
17118
17121
|
discoverNetwork: () => import_sdk_core15.discoverNetwork,
|
|
17122
|
+
enableTinyCloudDebug: () => import_sdk_core9.enableTinyCloudDebug,
|
|
17119
17123
|
encryptToNetwork: () => import_sdk_core15.encryptToNetwork,
|
|
17120
17124
|
encryptionBase64Decode: () => import_sdk_core15.encryptionBase64Decode,
|
|
17121
17125
|
encryptionBase64Encode: () => import_sdk_core15.encryptionBase64Encode,
|
|
@@ -17127,9 +17131,11 @@ __export(index_exports, {
|
|
|
17127
17131
|
expandPermissionEntries: () => import_sdk_core10.expandPermissionEntries,
|
|
17128
17132
|
expandPermissionEntry: () => import_sdk_core10.expandPermissionEntry,
|
|
17129
17133
|
generateRandomReceiverKey: () => import_sdk_core15.generateRandomReceiverKey,
|
|
17134
|
+
getTinyCloudDebugLogs: () => import_sdk_core9.getTinyCloudDebugLogs,
|
|
17130
17135
|
grantAuthRequest: () => grantAuthRequest,
|
|
17131
17136
|
hexDecode: () => import_sdk_core15.hexDecode,
|
|
17132
17137
|
hexEncode: () => import_sdk_core15.hexEncode,
|
|
17138
|
+
installTinyCloudDebugGlobals: () => import_sdk_core9.installTinyCloudDebugGlobals,
|
|
17133
17139
|
isCapabilitySubset: () => import_sdk_core10.isCapabilitySubset,
|
|
17134
17140
|
isEvmAddress: () => import_sdk_core9.isEvmAddress,
|
|
17135
17141
|
isNetworkId: () => import_sdk_core15.isNetworkId,
|
|
@@ -17151,6 +17157,7 @@ __export(index_exports, {
|
|
|
17151
17157
|
resolveSecretPath: () => import_sdk_core14.resolveSecretPath,
|
|
17152
17158
|
resourceCapabilitiesToSpaceAbilitiesMap: () => import_sdk_core10.resourceCapabilitiesToSpaceAbilitiesMap,
|
|
17153
17159
|
serializeDelegation: () => serializeDelegation,
|
|
17160
|
+
tinyCloudDebugLogger: () => import_sdk_core9.tinyCloudDebugLogger,
|
|
17154
17161
|
validateEnvelope: () => import_sdk_core15.validateEnvelope,
|
|
17155
17162
|
validateManifest: () => import_sdk_core10.validateManifest,
|
|
17156
17163
|
verifyDecryptResponse: () => import_sdk_core15.verifyDecryptResponse
|
|
@@ -18203,12 +18210,13 @@ var import_sdk_core2 = require("@tinycloud/sdk-core");
|
|
|
18203
18210
|
// src/DelegatedAccess.ts
|
|
18204
18211
|
var import_sdk_core3 = require("@tinycloud/sdk-core");
|
|
18205
18212
|
var DelegatedAccess = class {
|
|
18206
|
-
constructor(session, delegation, host, invoke2, telemetry) {
|
|
18213
|
+
constructor(session, delegation, host, invoke2, invokeAny2, telemetry) {
|
|
18207
18214
|
this.session = session;
|
|
18208
18215
|
this._delegation = delegation;
|
|
18209
18216
|
this.host = host;
|
|
18210
18217
|
this._serviceContext = new import_sdk_core3.ServiceContext({
|
|
18211
18218
|
invoke: invoke2,
|
|
18219
|
+
invokeAny: invokeAny2,
|
|
18212
18220
|
fetch: globalThis.fetch.bind(globalThis),
|
|
18213
18221
|
hosts: [host],
|
|
18214
18222
|
telemetry
|
|
@@ -21707,6 +21715,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21707
21715
|
delegation,
|
|
21708
21716
|
targetHost,
|
|
21709
21717
|
this.wasmBindings.invoke,
|
|
21718
|
+
this.wasmBindings.invokeAny,
|
|
21710
21719
|
this.config.telemetry
|
|
21711
21720
|
);
|
|
21712
21721
|
}
|
|
@@ -21772,6 +21781,7 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21772
21781
|
delegation,
|
|
21773
21782
|
targetHost,
|
|
21774
21783
|
this.wasmBindings.invoke,
|
|
21784
|
+
this.wasmBindings.invokeAny,
|
|
21775
21785
|
this.config.telemetry
|
|
21776
21786
|
);
|
|
21777
21787
|
}
|
|
@@ -22119,6 +22129,7 @@ var import_sdk_core21 = require("@tinycloud/sdk-core");
|
|
|
22119
22129
|
SpaceErrorCodes,
|
|
22120
22130
|
SpaceService,
|
|
22121
22131
|
TinyCloud,
|
|
22132
|
+
TinyCloudDebugLogger,
|
|
22122
22133
|
TinyCloudNode,
|
|
22123
22134
|
UnsupportedFeatureError,
|
|
22124
22135
|
VAULT_PERMISSION_SERVICE,
|
|
@@ -22143,6 +22154,7 @@ var import_sdk_core21 = require("@tinycloud/sdk-core");
|
|
|
22143
22154
|
canonicalizeSecretScope,
|
|
22144
22155
|
checkDecryptInvocationInput,
|
|
22145
22156
|
checkNodeInfo,
|
|
22157
|
+
clearTinyCloudDebugLogs,
|
|
22146
22158
|
composeManifestRequest,
|
|
22147
22159
|
createCapabilityKeyRegistry,
|
|
22148
22160
|
createSharingService,
|
|
@@ -22156,7 +22168,9 @@ var import_sdk_core21 = require("@tinycloud/sdk-core");
|
|
|
22156
22168
|
deserializeDelegation,
|
|
22157
22169
|
didCacheKey,
|
|
22158
22170
|
didEquals,
|
|
22171
|
+
disableTinyCloudDebug,
|
|
22159
22172
|
discoverNetwork,
|
|
22173
|
+
enableTinyCloudDebug,
|
|
22160
22174
|
encryptToNetwork,
|
|
22161
22175
|
encryptionBase64Decode,
|
|
22162
22176
|
encryptionBase64Encode,
|
|
@@ -22168,9 +22182,11 @@ var import_sdk_core21 = require("@tinycloud/sdk-core");
|
|
|
22168
22182
|
expandPermissionEntries,
|
|
22169
22183
|
expandPermissionEntry,
|
|
22170
22184
|
generateRandomReceiverKey,
|
|
22185
|
+
getTinyCloudDebugLogs,
|
|
22171
22186
|
grantAuthRequest,
|
|
22172
22187
|
hexDecode,
|
|
22173
22188
|
hexEncode,
|
|
22189
|
+
installTinyCloudDebugGlobals,
|
|
22174
22190
|
isCapabilitySubset,
|
|
22175
22191
|
isEvmAddress,
|
|
22176
22192
|
isNetworkId,
|
|
@@ -22192,6 +22208,7 @@ var import_sdk_core21 = require("@tinycloud/sdk-core");
|
|
|
22192
22208
|
resolveSecretPath,
|
|
22193
22209
|
resourceCapabilitiesToSpaceAbilitiesMap,
|
|
22194
22210
|
serializeDelegation,
|
|
22211
|
+
tinyCloudDebugLogger,
|
|
22195
22212
|
validateEnvelope,
|
|
22196
22213
|
validateManifest,
|
|
22197
22214
|
verifyDecryptResponse
|