@tinycloud/sdk-core 2.11.0-beta.7 → 2.11.0-beta.9

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/index.cjs CHANGED
@@ -2200,13 +2200,12 @@ function digest(input, options2) {
2200
2200
  }
2201
2201
  var identity2 = { code: code2, name, encode: encode4, digest };
2202
2202
 
2203
- // ../../node_modules/multiformats/dist/src/hashes/sha2.js
2204
- var sha2_exports = {};
2205
- __export(sha2_exports, {
2203
+ // ../../node_modules/multiformats/dist/src/hashes/sha2-browser.js
2204
+ var sha2_browser_exports = {};
2205
+ __export(sha2_browser_exports, {
2206
2206
  sha256: () => sha2562,
2207
2207
  sha512: () => sha512
2208
2208
  });
2209
- var import_crypto = __toESM(require("crypto"), 1);
2210
2209
 
2211
2210
  // ../../node_modules/multiformats/dist/src/hashes/hasher.js
2212
2211
  var DEFAULT_MIN_DIGEST_LENGTH = 20;
@@ -2256,21 +2255,24 @@ function createDigest(digest4, code3, truncate) {
2256
2255
  return create(code3, digest4);
2257
2256
  }
2258
2257
 
2259
- // ../../node_modules/multiformats/dist/src/hashes/sha2.js
2258
+ // ../../node_modules/multiformats/dist/src/hashes/sha2-browser.js
2259
+ function sha(name2) {
2260
+ return async (data) => new Uint8Array(await crypto.subtle.digest(name2, data));
2261
+ }
2260
2262
  var sha2562 = from2({
2261
2263
  name: "sha2-256",
2262
2264
  code: 18,
2263
- encode: (input) => coerce(import_crypto.default.createHash("sha256").update(input).digest())
2265
+ encode: sha("SHA-256")
2264
2266
  });
2265
2267
  var sha512 = from2({
2266
2268
  name: "sha2-512",
2267
2269
  code: 19,
2268
- encode: (input) => coerce(import_crypto.default.createHash("sha512").update(input).digest())
2270
+ encode: sha("SHA-512")
2269
2271
  });
2270
2272
 
2271
2273
  // ../../node_modules/multiformats/dist/src/basics.js
2272
2274
  var bases = { ...identity_exports, ...base2_exports, ...base8_exports, ...base10_exports, ...base16_exports, ...base32_exports, ...base36_exports, ...base58_exports, ...base64_exports, ...base256emoji_exports };
2273
- var hashes = { ...sha2_exports, ...identity_exports2 };
2275
+ var hashes = { ...sha2_browser_exports, ...identity_exports2 };
2274
2276
 
2275
2277
  // src/policy/signed-object.ts
2276
2278
  var import_viem3 = require("viem");
@@ -13823,17 +13825,9 @@ function equals3(a, b) {
13823
13825
  return true;
13824
13826
  }
13825
13827
 
13826
- // ../../node_modules/uint8arrays/dist/src/alloc.node.js
13827
- var import_node_buffer = require("buffer");
13828
-
13829
- // ../../node_modules/uint8arrays/dist/src/util/as-uint8array.node.js
13830
- function asUint8Array(buf) {
13831
- return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
13832
- }
13833
-
13834
- // ../../node_modules/uint8arrays/dist/src/alloc.node.js
13828
+ // ../../node_modules/uint8arrays/dist/src/alloc.js
13835
13829
  function allocUnsafe(size = 0) {
13836
- return asUint8Array(import_node_buffer.Buffer.allocUnsafe(size));
13830
+ return new Uint8Array(size);
13837
13831
  }
13838
13832
 
13839
13833
  // ../../node_modules/uint8-varint/dist/src/index.js
@@ -14009,14 +14003,24 @@ function decode6(buf, offset = 0) {
14009
14003
  }
14010
14004
  }
14011
14005
 
14012
- // ../../node_modules/uint8arrays/dist/src/concat.node.js
14013
- var import_node_buffer2 = require("buffer");
14014
- function concat(arrays, length2) {
14015
- return asUint8Array(import_node_buffer2.Buffer.concat(arrays, length2));
14006
+ // ../../node_modules/uint8arrays/dist/src/util/as-uint8array.js
14007
+ function asUint8Array(buf) {
14008
+ return buf;
14016
14009
  }
14017
14010
 
14018
- // ../../node_modules/uint8arrays/dist/src/from-string.node.js
14019
- var import_node_buffer3 = require("buffer");
14011
+ // ../../node_modules/uint8arrays/dist/src/concat.js
14012
+ function concat(arrays, length2) {
14013
+ if (length2 == null) {
14014
+ length2 = arrays.reduce((acc, curr) => acc + curr.length, 0);
14015
+ }
14016
+ const output = allocUnsafe(length2);
14017
+ let offset = 0;
14018
+ for (const arr of arrays) {
14019
+ output.set(arr, offset);
14020
+ offset += arr.length;
14021
+ }
14022
+ return asUint8Array(output);
14023
+ }
14020
14024
 
14021
14025
  // ../../node_modules/uint8arrays/dist/src/util/bases.js
14022
14026
  function createCodec(name2, prefix, encode5, decode7) {
@@ -14065,28 +14069,21 @@ var BASES = {
14065
14069
  };
14066
14070
  var bases_default = BASES;
14067
14071
 
14068
- // ../../node_modules/uint8arrays/dist/src/from-string.node.js
14072
+ // ../../node_modules/uint8arrays/dist/src/from-string.js
14069
14073
  function fromString2(string2, encoding = "utf8") {
14070
14074
  const base3 = bases_default[encoding];
14071
14075
  if (base3 == null) {
14072
14076
  throw new Error(`Unsupported encoding "${encoding}"`);
14073
14077
  }
14074
- if (encoding === "utf8" || encoding === "utf-8") {
14075
- return asUint8Array(import_node_buffer3.Buffer.from(string2, "utf-8"));
14076
- }
14077
14078
  return base3.decoder.decode(`${base3.prefix}${string2}`);
14078
14079
  }
14079
14080
 
14080
- // ../../node_modules/uint8arrays/dist/src/to-string.node.js
14081
- var import_node_buffer4 = require("buffer");
14081
+ // ../../node_modules/uint8arrays/dist/src/to-string.js
14082
14082
  function toString2(array, encoding = "utf8") {
14083
14083
  const base3 = bases_default[encoding];
14084
14084
  if (base3 == null) {
14085
14085
  throw new Error(`Unsupported encoding "${encoding}"`);
14086
14086
  }
14087
- if (encoding === "utf8" || encoding === "utf-8") {
14088
- return import_node_buffer4.Buffer.from(array.buffer, array.byteOffset, array.byteLength).toString("utf8");
14089
- }
14090
14087
  return base3.encoder.encode(array).substring(1);
14091
14088
  }
14092
14089
 
@@ -14120,8 +14117,218 @@ var UnknownProtocolError = class extends Error {
14120
14117
  };
14121
14118
  __publicField(UnknownProtocolError, "name", "UnknownProtocolError");
14122
14119
 
14123
- // ../../node_modules/@chainsafe/is-ip/lib/is-ip.node.js
14124
- var import_node_net = require("net");
14120
+ // ../../node_modules/@chainsafe/is-ip/lib/parser.js
14121
+ var Parser = class {
14122
+ constructor() {
14123
+ __publicField(this, "index", 0);
14124
+ __publicField(this, "input", "");
14125
+ }
14126
+ new(input) {
14127
+ this.index = 0;
14128
+ this.input = input;
14129
+ return this;
14130
+ }
14131
+ /** Run a parser, and restore the pre-parse state if it fails. */
14132
+ readAtomically(fn) {
14133
+ const index = this.index;
14134
+ const result = fn();
14135
+ if (result === void 0) {
14136
+ this.index = index;
14137
+ }
14138
+ return result;
14139
+ }
14140
+ /** Run a parser, but fail if the entire input wasn't consumed. Doesn't run atomically. */
14141
+ parseWith(fn) {
14142
+ const result = fn();
14143
+ if (this.index !== this.input.length) {
14144
+ return void 0;
14145
+ }
14146
+ return result;
14147
+ }
14148
+ /** Peek the next character from the input */
14149
+ peekChar() {
14150
+ if (this.index >= this.input.length) {
14151
+ return void 0;
14152
+ }
14153
+ return this.input[this.index];
14154
+ }
14155
+ /** Read the next character from the input */
14156
+ readChar() {
14157
+ if (this.index >= this.input.length) {
14158
+ return void 0;
14159
+ }
14160
+ return this.input[this.index++];
14161
+ }
14162
+ /** Read the next character from the input if it matches the target. */
14163
+ readGivenChar(target) {
14164
+ return this.readAtomically(() => {
14165
+ const char = this.readChar();
14166
+ if (char !== target) {
14167
+ return void 0;
14168
+ }
14169
+ return char;
14170
+ });
14171
+ }
14172
+ /**
14173
+ * Helper for reading separators in an indexed loop. Reads the separator
14174
+ * character iff index > 0, then runs the parser. When used in a loop,
14175
+ * the separator character will only be read on index > 0 (see
14176
+ * readIPv4Addr for an example)
14177
+ */
14178
+ readSeparator(sep, index, inner) {
14179
+ return this.readAtomically(() => {
14180
+ if (index > 0) {
14181
+ if (this.readGivenChar(sep) === void 0) {
14182
+ return void 0;
14183
+ }
14184
+ }
14185
+ return inner();
14186
+ });
14187
+ }
14188
+ /**
14189
+ * Read a number off the front of the input in the given radix, stopping
14190
+ * at the first non-digit character or eof. Fails if the number has more
14191
+ * digits than max_digits or if there is no number.
14192
+ */
14193
+ readNumber(radix, maxDigits, allowZeroPrefix, maxBytes) {
14194
+ return this.readAtomically(() => {
14195
+ let result = 0;
14196
+ let digitCount = 0;
14197
+ const leadingChar = this.peekChar();
14198
+ if (leadingChar === void 0) {
14199
+ return void 0;
14200
+ }
14201
+ const hasLeadingZero = leadingChar === "0";
14202
+ const maxValue2 = 2 ** (8 * maxBytes) - 1;
14203
+ while (true) {
14204
+ const digit = this.readAtomically(() => {
14205
+ const char = this.readChar();
14206
+ if (char === void 0) {
14207
+ return void 0;
14208
+ }
14209
+ const num = Number.parseInt(char, radix);
14210
+ if (Number.isNaN(num)) {
14211
+ return void 0;
14212
+ }
14213
+ return num;
14214
+ });
14215
+ if (digit === void 0) {
14216
+ break;
14217
+ }
14218
+ result *= radix;
14219
+ result += digit;
14220
+ if (result > maxValue2) {
14221
+ return void 0;
14222
+ }
14223
+ digitCount += 1;
14224
+ if (maxDigits !== void 0) {
14225
+ if (digitCount > maxDigits) {
14226
+ return void 0;
14227
+ }
14228
+ }
14229
+ }
14230
+ if (digitCount === 0) {
14231
+ return void 0;
14232
+ } else if (!allowZeroPrefix && hasLeadingZero && digitCount > 1) {
14233
+ return void 0;
14234
+ } else {
14235
+ return result;
14236
+ }
14237
+ });
14238
+ }
14239
+ /** Read an IPv4 address. */
14240
+ readIPv4Addr() {
14241
+ return this.readAtomically(() => {
14242
+ const out = new Uint8Array(4);
14243
+ for (let i = 0; i < out.length; i++) {
14244
+ const ix = this.readSeparator(".", i, () => this.readNumber(10, 3, false, 1));
14245
+ if (ix === void 0) {
14246
+ return void 0;
14247
+ }
14248
+ out[i] = ix;
14249
+ }
14250
+ return out;
14251
+ });
14252
+ }
14253
+ /** Read an IPv6 Address. */
14254
+ readIPv6Addr() {
14255
+ const readGroups = (groups) => {
14256
+ for (let i = 0; i < groups.length / 2; i++) {
14257
+ const ix = i * 2;
14258
+ if (i < groups.length - 3) {
14259
+ const ipv4 = this.readSeparator(":", i, () => this.readIPv4Addr());
14260
+ if (ipv4 !== void 0) {
14261
+ groups[ix] = ipv4[0];
14262
+ groups[ix + 1] = ipv4[1];
14263
+ groups[ix + 2] = ipv4[2];
14264
+ groups[ix + 3] = ipv4[3];
14265
+ return [ix + 4, true];
14266
+ }
14267
+ }
14268
+ const group = this.readSeparator(":", i, () => this.readNumber(16, 4, true, 2));
14269
+ if (group === void 0) {
14270
+ return [ix, false];
14271
+ }
14272
+ groups[ix] = group >> 8;
14273
+ groups[ix + 1] = group & 255;
14274
+ }
14275
+ return [groups.length, false];
14276
+ };
14277
+ return this.readAtomically(() => {
14278
+ const head = new Uint8Array(16);
14279
+ const [headSize, headIp4] = readGroups(head);
14280
+ if (headSize === 16) {
14281
+ return head;
14282
+ }
14283
+ if (headIp4) {
14284
+ return void 0;
14285
+ }
14286
+ if (this.readGivenChar(":") === void 0) {
14287
+ return void 0;
14288
+ }
14289
+ if (this.readGivenChar(":") === void 0) {
14290
+ return void 0;
14291
+ }
14292
+ const tail = new Uint8Array(14);
14293
+ const limit = 16 - (headSize + 2);
14294
+ const [tailSize] = readGroups(tail.subarray(0, limit));
14295
+ head.set(tail.subarray(0, tailSize), 16 - tailSize);
14296
+ return head;
14297
+ });
14298
+ }
14299
+ /** Read an IP Address, either IPv4 or IPv6. */
14300
+ readIPAddr() {
14301
+ return this.readIPv4Addr() ?? this.readIPv6Addr();
14302
+ }
14303
+ };
14304
+
14305
+ // ../../node_modules/@chainsafe/is-ip/lib/parse.js
14306
+ var MAX_IPV6_LENGTH = 45;
14307
+ var MAX_IPV4_LENGTH = 15;
14308
+ var parser = new Parser();
14309
+ function parseIPv4(input) {
14310
+ if (input.length > MAX_IPV4_LENGTH) {
14311
+ return void 0;
14312
+ }
14313
+ return parser.new(input).parseWith(() => parser.readIPv4Addr());
14314
+ }
14315
+ function parseIPv6(input) {
14316
+ if (input.includes("%")) {
14317
+ input = input.split("%")[0];
14318
+ }
14319
+ if (input.length > MAX_IPV6_LENGTH) {
14320
+ return void 0;
14321
+ }
14322
+ return parser.new(input).parseWith(() => parser.readIPv6Addr());
14323
+ }
14324
+
14325
+ // ../../node_modules/@chainsafe/is-ip/lib/is-ip.js
14326
+ function isIPv4(input) {
14327
+ return Boolean(parseIPv4(input));
14328
+ }
14329
+ function isIPv6(input) {
14330
+ return Boolean(parseIPv6(input));
14331
+ }
14125
14332
 
14126
14333
  // ../../node_modules/@multiformats/multiaddr/dist/src/constants.js
14127
14334
  var CODE_IP4 = 4;
@@ -14243,7 +14450,7 @@ var ip6ToBytes = function(ip) {
14243
14450
  const sections = ip.split(":", 8);
14244
14451
  let i;
14245
14452
  for (i = 0; i < sections.length; i++) {
14246
- const isv4 = (0, import_node_net.isIPv4)(sections[i]);
14453
+ const isv4 = isIPv4(sections[i]);
14247
14454
  let v4Buffer;
14248
14455
  if (isv4) {
14249
14456
  v4Buffer = ip4ToBytes(sections[i]);
@@ -14410,7 +14617,7 @@ var codecs = [{
14410
14617
  valueToBytes: ip4ToBytes,
14411
14618
  bytesToValue: ip4ToString,
14412
14619
  validate: (value) => {
14413
- if (!(0, import_node_net.isIPv4)(value)) {
14620
+ if (!isIPv4(value)) {
14414
14621
  throw new ValidationError(`Invalid IPv4 address "${value}"`);
14415
14622
  }
14416
14623
  }
@@ -14443,7 +14650,7 @@ var codecs = [{
14443
14650
  bytesToValue: ip6ToString,
14444
14651
  stringToValue: ip6StringToValue,
14445
14652
  validate: (value) => {
14446
- if (!(0, import_node_net.isIPv6)(value)) {
14653
+ if (!isIPv6(value)) {
14447
14654
  throw new ValidationError(`Invalid IPv6 address "${value}"`);
14448
14655
  }
14449
14656
  }
@@ -15078,25 +15285,17 @@ ipRegex.v4 = (options2) => options2 && options2.exact ? v4exact : new RegExp(`${
15078
15285
  ipRegex.v6 = (options2) => options2 && options2.exact ? v6exact : new RegExp(`${boundry(options2)}${v6}${boundry(options2)}`, "g");
15079
15286
  var ip_regex_default = ipRegex;
15080
15287
 
15081
- // ../../node_modules/function-timeout/index.js
15082
- var import_node_vm = __toESM(require("vm"), 1);
15083
- function functionTimeout(function_, { timeout } = {}) {
15084
- const script = new import_node_vm.default.Script("returnValue = function_()");
15085
- const wrappedFunction = (...arguments_) => {
15086
- const context = {
15087
- function_: () => function_(...arguments_)
15088
- };
15089
- script.runInNewContext(context, { timeout });
15090
- return context.returnValue;
15091
- };
15288
+ // ../../node_modules/function-timeout/browser.js
15289
+ function functionTimeout(function_) {
15290
+ const wrappedFunction = (...arguments_) => function_(...arguments_);
15092
15291
  Object.defineProperty(wrappedFunction, "name", {
15093
15292
  value: `functionTimeout(${function_.name || "<anonymous>"})`,
15094
15293
  configurable: true
15095
15294
  });
15096
15295
  return wrappedFunction;
15097
15296
  }
15098
- function isTimeoutError(error) {
15099
- return error?.code === "ERR_SCRIPT_EXECUTION_TIMEOUT";
15297
+ function isTimeoutError() {
15298
+ return false;
15100
15299
  }
15101
15300
 
15102
15301
  // ../../node_modules/clone-regexp/node_modules/is-regexp/index.js
@@ -15899,320 +16098,4 @@ function decodeBase64Url(value) {
15899
16098
  }
15900
16099
  return Uint8Array.from(bytes2);
15901
16100
  }
15902
- // Annotate the CommonJS export names for ESM import in node:
15903
- 0 && (module.exports = {
15904
- ACCOUNT_INDEX_SCHEMA,
15905
- ACCOUNT_REGISTRY_PATH,
15906
- ACCOUNT_REGISTRY_SPACE,
15907
- AccountService,
15908
- AutoApproveSpaceCreationHandler,
15909
- BOOTSTRAP_ALLOWLIST,
15910
- BOOTSTRAP_DEFAULT_SPACE,
15911
- BOOTSTRAP_ENCRYPTION_NETWORK_NAME,
15912
- BOOTSTRAP_ENCRYPTION_NETWORK_RESOURCE_TEMPLATE,
15913
- BOOTSTRAP_MANIFEST,
15914
- BOOTSTRAP_PERSISTED_APPLICATION_MANIFESTS,
15915
- BOOTSTRAP_PUBLIC_SPACE,
15916
- BOOTSTRAP_SESSION_REQUESTS,
15917
- BOOTSTRAP_SPACE_MANIFESTS,
15918
- BOOTSTRAP_SPACE_NAMES,
15919
- CAPABILITIES,
15920
- CAPABILITY_REGISTRY,
15921
- CapabilityKeyRegistry,
15922
- CapabilityKeyRegistryErrorCodes,
15923
- CaveatedDelegationUnsupportedError,
15924
- ClientSessionSchema,
15925
- CloudLocationResolutionError,
15926
- DECRYPT_ACTION,
15927
- DECRYPT_FACT_TYPE,
15928
- DECRYPT_RESULT_TYPE,
15929
- DEFAULT_DEFAULTS,
15930
- DEFAULT_ENCRYPTION_ALG,
15931
- DEFAULT_EXPIRY,
15932
- DEFAULT_KEY_VERSION,
15933
- DEFAULT_KNOWLEDGE_ROOT,
15934
- DEFAULT_LOCAL_NODE_PIN_STORAGE_KEY,
15935
- DEFAULT_LOCAL_NODE_URL,
15936
- DEFAULT_MANIFEST_SPACE,
15937
- DEFAULT_MANIFEST_VERSION,
15938
- DEFAULT_SIGNED_READ_URL_EXPIRY_MS,
15939
- DEFAULT_TINYCLOUD_FALLBACK_HOST,
15940
- DEFAULT_TINYCLOUD_LOCATION_REGISTRY_URL,
15941
- DUCKDB,
15942
- DataVaultService,
15943
- DatabaseHandle,
15944
- DecryptTransportResponseError,
15945
- DelegationErrorCodes,
15946
- DelegationManager,
15947
- DuckDbAction,
15948
- DuckDbDatabaseHandle,
15949
- DuckDbService,
15950
- ED25519_JCS_SIGNATURE_SUITE,
15951
- EIP191_JCS_SIGNATURE_SUITE,
15952
- ENCRYPTION,
15953
- ENCRYPTION_MANIFEST_SPACE,
15954
- ENCRYPTION_NETWORK_URN_PREFIX,
15955
- ENCRYPTION_PERMISSION_SERVICE,
15956
- ENCRYPTION_SERVICE,
15957
- ENCRYPTION_SERVICE_SHORT,
15958
- ENVELOPE_VERSION,
15959
- EXPIRY,
15960
- EncryptionService,
15961
- EnsDataSchema,
15962
- ErrorCodes,
15963
- HOLDER_KEY_BINDING_PRESENTATION_SCHEMA,
15964
- HOOKS,
15965
- HooksService,
15966
- IdentityParseError,
15967
- KV,
15968
- KVService,
15969
- LISTEN_SQL_STATEMENT_CATALOG,
15970
- LOCAL_LINK_HOST_SUFFIX,
15971
- LOCAL_LINK_PROBE_TIMEOUT_MS,
15972
- LOCAL_LOOPBACK_PROBE_TIMEOUT_MS,
15973
- LocationRecordValidationError,
15974
- MAX_CONTENT_BYTES,
15975
- MAX_SEALED_SHARE_CONTENT_BYTES,
15976
- MAX_SHARE_ARTIFACT_BYTES,
15977
- MAX_SHARE_CONTENT_BYTES,
15978
- ManifestValidationError,
15979
- MemorySenderShareKeyStorage,
15980
- MemorySenderShareRecordStorage,
15981
- MemoryShareCache,
15982
- NETWORK_NAME_PATTERN,
15983
- NetworkIdError,
15984
- POLICY_ENGINE_CHALLENGE_REQUEST_SCHEMA,
15985
- POLICY_ENGINE_CHALLENGE_RESPONSE_SCHEMA,
15986
- POLICY_ENGINE_DENIAL_SCHEMA,
15987
- POLICY_ENGINE_GRANT_PRESENTATION_DENIAL_CODES,
15988
- POLICY_ENGINE_RECORD_SCHEMA,
15989
- POLICY_ENGINE_RESOLVE_REQUEST_SCHEMA,
15990
- POLICY_SCHEMA,
15991
- POLICY_STATUS_SCHEMA,
15992
- PORTABLE_DELEGATION_SCHEMA,
15993
- PermissionNotInManifestError,
15994
- PrefixedKVService,
15995
- ProtocolMismatchError,
15996
- REQUESTER_ENGINE_RETRY_ATTEMPTS,
15997
- REQUESTER_ENGINE_RETRY_MAX_DELAY_MS,
15998
- REQUESTER_NEAR_EXPIRY_SECONDS,
15999
- SECRETS_SPACE,
16000
- SECRET_NAME_RE,
16001
- SECRET_RECORDS_SCHEMA,
16002
- SERVICE_LONG_TO_SHORT,
16003
- SERVICE_SHORT_TO_LONG,
16004
- SHARE_DELIVERY_AUTHORIZATION_DOMAIN,
16005
- SPACE,
16006
- SQL,
16007
- SQLAction,
16008
- SQLService,
16009
- SecretsService,
16010
- SenderShareStore,
16011
- ServiceContext,
16012
- SessionExpiredError,
16013
- ShareAccessError,
16014
- ShareAddressedDelegationEnvelopeV2Schema,
16015
- ShareAddressedDelegationRequestV2Schema,
16016
- ShareAddressedDelegationResponseV2Schema,
16017
- ShareConflict,
16018
- ShareEnvelopeError,
16019
- ShareNativeResponseSchema,
16020
- ShareRecipientClient,
16021
- SharingService,
16022
- SignatureMaterialError,
16023
- SignatureVerificationError,
16024
- SignedObjectCanonicalizationError,
16025
- SignedObjectDigestError,
16026
- SignedObjectIdError,
16027
- SignedObjectProfileError,
16028
- SignedObjectSchemaError,
16029
- SigningKeyBindingError,
16030
- SilentNotificationHandler,
16031
- SiweConfigSchema,
16032
- SiweMessage,
16033
- Space,
16034
- SpaceErrorCodes,
16035
- SpaceService,
16036
- TINYCLOUD_ACCOUNT_SPACE_MANIFEST,
16037
- TINYCLOUD_APPLICATIONS_SPACE_MANIFEST,
16038
- TINYCLOUD_DEFAULT_SPACE_MANIFEST,
16039
- TINYCLOUD_PUBLIC_SPACE_MANIFEST,
16040
- TINYCLOUD_SECRETS_BOOTSTRAP_MANIFEST,
16041
- TinyCloud,
16042
- TinyCloudDebugLogger,
16043
- TranscriptRequester,
16044
- TranscriptRequesterError,
16045
- UnsupportedFeatureError,
16046
- UnsupportedSignatureSuiteError,
16047
- VAULT_PERMISSION_SERVICE,
16048
- VaultHeaders,
16049
- VaultPublicSpaceKVActions,
16050
- VersionCheckError,
16051
- actionContains,
16052
- activateSessionWithHost,
16053
- addressStorageKey,
16054
- applyPrefix,
16055
- bootstrapEncryptionNetworkId,
16056
- bootstrapSpaceId,
16057
- bootstrapSteps,
16058
- buildCanonicalDecryptRequest,
16059
- buildDecryptAttenuation,
16060
- buildDecryptFacts,
16061
- buildDecryptInvocation,
16062
- buildNetworkId,
16063
- buildSpaceUri,
16064
- canonicalHashHex,
16065
- canonicalLocationPayload,
16066
- canonicalOwnerSharePolicy,
16067
- canonicalSignedResponse,
16068
- canonicalizeAddress,
16069
- canonicalizeDid,
16070
- canonicalizeDidUrl,
16071
- canonicalizeEncryptionJson,
16072
- canonicalizeNetworkId,
16073
- canonicalizeRecapCaveats,
16074
- canonicalizeSecretScope,
16075
- canonicalizeSignedObjectUnsigned,
16076
- checkDecryptInvocationInput,
16077
- checkNodeInfo,
16078
- clearTinyCloudDebugLogs,
16079
- composeBootstrapSpaceManifest,
16080
- composeManifestRequest,
16081
- computeOwnerShareRegistrationCid,
16082
- computeShareCid,
16083
- createAndSignPolicy,
16084
- createAndSignPolicyEngineRecord,
16085
- createAndSignPolicyStatus,
16086
- createAndSignSignedObject,
16087
- createCapabilityKeyRegistry,
16088
- createDelegatedShareKey,
16089
- createInMemoryLocalNodeIdentityStore,
16090
- createLocalStorageLocalNodeIdentityStore,
16091
- createOpenKeyCallbackSigningStrategy,
16092
- createPolicyEnforcementDelegation,
16093
- createShareArtifact,
16094
- createShareArtifactAsync,
16095
- createSharePolicy,
16096
- createSharingService,
16097
- createSpaceService,
16098
- createTranscriptRequester,
16099
- createVaultCrypto,
16100
- decryptEnvelopeWithKey,
16101
- decryptShareBytesAsync,
16102
- defaultRetryPolicy,
16103
- defaultSignStrategy,
16104
- defaultSpaceCreationHandler,
16105
- deriveDelegationCid,
16106
- deriveSignedObjectMaterial,
16107
- deriveSignedReceiverKey,
16108
- didCacheKey,
16109
- didEquals,
16110
- disableTinyCloudDebug,
16111
- discoverLocalTinyCloudNode,
16112
- discoverNetwork,
16113
- enableTinyCloudDebug,
16114
- encodeInlineShareUrl,
16115
- encodeShareArtifact,
16116
- encodeShareUrl,
16117
- encryptShareBytes,
16118
- encryptShareBytesAsync,
16119
- encryptToNetwork,
16120
- encryptionBase64Decode,
16121
- encryptionBase64Encode,
16122
- encryptionError,
16123
- encryptionUtf8Decode,
16124
- encryptionUtf8Encode,
16125
- ensureNetworkUsableForDecrypt,
16126
- err,
16127
- expandActionShortNames,
16128
- expandPermissionEntries,
16129
- expandPermissionEntry,
16130
- fetchLocationRecord,
16131
- fetchPeerId,
16132
- generateRandomReceiverKey,
16133
- getTinyCloudDebugLogs,
16134
- hexDecode,
16135
- hexEncode,
16136
- httpUrlToMultiaddr,
16137
- installTinyCloudDebugGlobals,
16138
- intersectShareCapabilities,
16139
- isCapabilitySubset,
16140
- isEvmAddress,
16141
- isNetworkId,
16142
- isV2ShareLink,
16143
- jcsCanonicalize,
16144
- loadManifest,
16145
- locationPayloadForRecord,
16146
- makePkhSpaceId,
16147
- makePublicSpaceId,
16148
- manifestAbilitiesUnion,
16149
- multiaddrToHttpUrl,
16150
- networkDiscoveryKey,
16151
- normalizeDefaults,
16152
- normalizeJson,
16153
- normalizeShareActions,
16154
- normalizeShareRecipientTarget,
16155
- normalizeShareResource,
16156
- ok,
16157
- openWrappedKey,
16158
- parseCanonicalNetworkId,
16159
- parseExpiry,
16160
- parseNetworkId,
16161
- parseNodeNativePortableDelegation,
16162
- parsePkhDid,
16163
- parseRecapCapabilities,
16164
- parseShareArtifact,
16165
- parseShareUrl,
16166
- parseSpaceUri,
16167
- pkhDid,
16168
- principalDid,
16169
- principalDidEquals,
16170
- recapCaveatsEqual,
16171
- resolveCloudLocation,
16172
- resolveManifest,
16173
- resolveManifestKnowledgeRoot,
16174
- resolveSecretListPrefix,
16175
- resolveSecretPath,
16176
- resolveTinyCloudHosts,
16177
- resourceCapabilitiesToAbilitiesMap,
16178
- resourceCapabilitiesToSpaceAbilitiesMap,
16179
- restoreDelegatedShareKey,
16180
- serializeJcsJson,
16181
- serviceError,
16182
- shareCapabilityAllows,
16183
- shareDeliveryTrustedKid,
16184
- signLocationRecord,
16185
- signShareEnvelope,
16186
- signedObjectIdFor,
16187
- submitHostDelegation,
16188
- tinyCloudDebugLogger,
16189
- toSignedObjectError,
16190
- validateClientSession,
16191
- validateEnvelope,
16192
- validateLocationRecord,
16193
- validateLocationRecordPayload,
16194
- validateManifest,
16195
- validateOwnerSharePolicyRegistration,
16196
- validateOwnerSharePolicyRegistrationBytes,
16197
- validatePersistedSessionData,
16198
- validatePolicyEngineRecordSigned,
16199
- validatePolicyEngineRecordSignedShape,
16200
- validatePolicyEngineRecordUnsigned,
16201
- validatePolicySigned,
16202
- validatePolicySignedShape,
16203
- validatePolicyStatusSigned,
16204
- validatePolicyStatusSignedShape,
16205
- validatePolicyStatusUnsigned,
16206
- validatePolicyUnsigned,
16207
- validateShareDeliveryAuthorizationBytes,
16208
- verifyDecryptResponse,
16209
- verifyDidKeyEd25519Signature,
16210
- verifyLocationRecord,
16211
- verifyPolicy,
16212
- verifyPolicyEngineRecord,
16213
- verifyPolicyStatus,
16214
- verifyShareCid,
16215
- verifyShareEnvelope,
16216
- verifySignedObject
16217
- });
16218
16101
  //# sourceMappingURL=index.cjs.map