@hashgraphonline/standards-sdk 0.0.86 → 0.0.87

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.
Files changed (193) hide show
  1. package/dist/es/hcs-10/connections-manager.d.ts +2 -2
  2. package/dist/es/hcs-10/connections-manager.d.ts.map +1 -1
  3. package/dist/es/standards-sdk.es10.js +2 -2
  4. package/dist/es/standards-sdk.es10.js.map +1 -1
  5. package/dist/es/standards-sdk.es100.js +13 -146
  6. package/dist/es/standards-sdk.es100.js.map +1 -1
  7. package/dist/es/standards-sdk.es101.js +3 -90
  8. package/dist/es/standards-sdk.es101.js.map +1 -1
  9. package/dist/es/standards-sdk.es102.js +3 -83
  10. package/dist/es/standards-sdk.es102.js.map +1 -1
  11. package/dist/es/standards-sdk.es103.js +14 -30
  12. package/dist/es/standards-sdk.es103.js.map +1 -1
  13. package/dist/es/standards-sdk.es104.js +4 -5
  14. package/dist/es/standards-sdk.es104.js.map +1 -1
  15. package/dist/es/standards-sdk.es105.js +39 -159
  16. package/dist/es/standards-sdk.es105.js.map +1 -1
  17. package/dist/es/standards-sdk.es106.js +38 -21
  18. package/dist/es/standards-sdk.es106.js.map +1 -1
  19. package/dist/es/standards-sdk.es107.js +34 -790
  20. package/dist/es/standards-sdk.es107.js.map +1 -1
  21. package/dist/es/standards-sdk.es108.js +68 -133
  22. package/dist/es/standards-sdk.es108.js.map +1 -1
  23. package/dist/es/standards-sdk.es109.js +2282 -174
  24. package/dist/es/standards-sdk.es109.js.map +1 -1
  25. package/dist/es/standards-sdk.es110.js +3 -33
  26. package/dist/es/standards-sdk.es110.js.map +1 -1
  27. package/dist/es/standards-sdk.es111.js +3 -33
  28. package/dist/es/standards-sdk.es111.js.map +1 -1
  29. package/dist/es/standards-sdk.es112.js +2 -9
  30. package/dist/es/standards-sdk.es112.js.map +1 -1
  31. package/dist/es/standards-sdk.es113.js +2 -34
  32. package/dist/es/standards-sdk.es113.js.map +1 -1
  33. package/dist/es/standards-sdk.es114.js +33 -20
  34. package/dist/es/standards-sdk.es114.js.map +1 -1
  35. package/dist/es/standards-sdk.es115.js +32 -26
  36. package/dist/es/standards-sdk.es115.js.map +1 -1
  37. package/dist/es/standards-sdk.es116.js +9 -26
  38. package/dist/es/standards-sdk.es116.js.map +1 -1
  39. package/dist/es/standards-sdk.es117.js +33 -37
  40. package/dist/es/standards-sdk.es117.js.map +1 -1
  41. package/dist/es/standards-sdk.es13.js +1 -1
  42. package/dist/es/standards-sdk.es24.js +17 -17
  43. package/dist/es/standards-sdk.es25.js +1 -1
  44. package/dist/es/standards-sdk.es26.js +1 -1
  45. package/dist/es/standards-sdk.es28.js +4086 -960
  46. package/dist/es/standards-sdk.es28.js.map +1 -1
  47. package/dist/es/standards-sdk.es29.js +961 -4087
  48. package/dist/es/standards-sdk.es29.js.map +1 -1
  49. package/dist/es/standards-sdk.es30.js +2 -2
  50. package/dist/es/standards-sdk.es31.js +2 -419
  51. package/dist/es/standards-sdk.es31.js.map +1 -1
  52. package/dist/es/standards-sdk.es32.js +195 -2
  53. package/dist/es/standards-sdk.es32.js.map +1 -1
  54. package/dist/es/standards-sdk.es33.js +429 -111
  55. package/dist/es/standards-sdk.es33.js.map +1 -1
  56. package/dist/es/standards-sdk.es34.js +24 -3
  57. package/dist/es/standards-sdk.es34.js.map +1 -1
  58. package/dist/es/standards-sdk.es35.js +123 -348
  59. package/dist/es/standards-sdk.es35.js.map +1 -1
  60. package/dist/es/standards-sdk.es36.js +17 -5
  61. package/dist/es/standards-sdk.es36.js.map +1 -1
  62. package/dist/es/standards-sdk.es37.js +23 -173
  63. package/dist/es/standards-sdk.es37.js.map +1 -1
  64. package/dist/es/standards-sdk.es38.js +23 -75
  65. package/dist/es/standards-sdk.es38.js.map +1 -1
  66. package/dist/es/standards-sdk.es39.js +18 -111
  67. package/dist/es/standards-sdk.es39.js.map +1 -1
  68. package/dist/es/standards-sdk.es4.js +1 -1
  69. package/dist/es/standards-sdk.es40.js +38 -46
  70. package/dist/es/standards-sdk.es40.js.map +1 -1
  71. package/dist/es/standards-sdk.es41.js +17 -9
  72. package/dist/es/standards-sdk.es41.js.map +1 -1
  73. package/dist/es/standards-sdk.es42.js +52 -88
  74. package/dist/es/standards-sdk.es42.js.map +1 -1
  75. package/dist/es/standards-sdk.es43.js +1288 -3
  76. package/dist/es/standards-sdk.es43.js.map +1 -1
  77. package/dist/es/standards-sdk.es44.js +148 -2
  78. package/dist/es/standards-sdk.es44.js.map +1 -1
  79. package/dist/es/standards-sdk.es45.js +80 -102
  80. package/dist/es/standards-sdk.es45.js.map +1 -1
  81. package/dist/es/standards-sdk.es46.js +80 -70
  82. package/dist/es/standards-sdk.es46.js.map +1 -1
  83. package/dist/es/standards-sdk.es47.js +31 -5
  84. package/dist/es/standards-sdk.es47.js.map +1 -1
  85. package/dist/es/standards-sdk.es48.js +5 -4
  86. package/dist/es/standards-sdk.es48.js.map +1 -1
  87. package/dist/es/standards-sdk.es49.js +138 -200
  88. package/dist/es/standards-sdk.es49.js.map +1 -1
  89. package/dist/es/standards-sdk.es50.js +20 -55
  90. package/dist/es/standards-sdk.es50.js.map +1 -1
  91. package/dist/es/standards-sdk.es51.js +792 -68
  92. package/dist/es/standards-sdk.es51.js.map +1 -1
  93. package/dist/es/standards-sdk.es52.js +356 -93
  94. package/dist/es/standards-sdk.es52.js.map +1 -1
  95. package/dist/es/standards-sdk.es53.js +6 -2
  96. package/dist/es/standards-sdk.es53.js.map +1 -1
  97. package/dist/es/standards-sdk.es54.js +178 -15
  98. package/dist/es/standards-sdk.es54.js.map +1 -1
  99. package/dist/es/standards-sdk.es55.js +72 -400
  100. package/dist/es/standards-sdk.es55.js.map +1 -1
  101. package/dist/es/standards-sdk.es56.js +113 -2281
  102. package/dist/es/standards-sdk.es56.js.map +1 -1
  103. package/dist/es/standards-sdk.es57.js +46 -158
  104. package/dist/es/standards-sdk.es57.js.map +1 -1
  105. package/dist/es/standards-sdk.es58.js +10 -3
  106. package/dist/es/standards-sdk.es58.js.map +1 -1
  107. package/dist/es/standards-sdk.es59.js +91 -26
  108. package/dist/es/standards-sdk.es59.js.map +1 -1
  109. package/dist/es/standards-sdk.es60.js +3 -62
  110. package/dist/es/standards-sdk.es60.js.map +1 -1
  111. package/dist/es/standards-sdk.es61.js +2 -50
  112. package/dist/es/standards-sdk.es61.js.map +1 -1
  113. package/dist/es/standards-sdk.es62.js +111 -8
  114. package/dist/es/standards-sdk.es62.js.map +1 -1
  115. package/dist/es/standards-sdk.es63.js +70 -61
  116. package/dist/es/standards-sdk.es63.js.map +1 -1
  117. package/dist/es/standards-sdk.es64.js +6 -6
  118. package/dist/es/standards-sdk.es64.js.map +1 -1
  119. package/dist/es/standards-sdk.es65.js +4 -14
  120. package/dist/es/standards-sdk.es65.js.map +1 -1
  121. package/dist/es/standards-sdk.es66.js +221 -7
  122. package/dist/es/standards-sdk.es66.js.map +1 -1
  123. package/dist/es/standards-sdk.es67.js +54 -41
  124. package/dist/es/standards-sdk.es67.js.map +1 -1
  125. package/dist/es/standards-sdk.es68.js +69 -2
  126. package/dist/es/standards-sdk.es68.js.map +1 -1
  127. package/dist/es/standards-sdk.es69.js +167 -129
  128. package/dist/es/standards-sdk.es69.js.map +1 -1
  129. package/dist/es/standards-sdk.es70.js +131 -160
  130. package/dist/es/standards-sdk.es70.js.map +1 -1
  131. package/dist/es/standards-sdk.es71.js +419 -13
  132. package/dist/es/standards-sdk.es71.js.map +1 -1
  133. package/dist/es/standards-sdk.es72.js +2 -13
  134. package/dist/es/standards-sdk.es72.js.map +1 -1
  135. package/dist/es/standards-sdk.es73.js +108 -7124
  136. package/dist/es/standards-sdk.es73.js.map +1 -1
  137. package/dist/es/standards-sdk.es74.js +21 -2
  138. package/dist/es/standards-sdk.es74.js.map +1 -1
  139. package/dist/es/standards-sdk.es75.js +3 -32
  140. package/dist/es/standards-sdk.es75.js.map +1 -1
  141. package/dist/es/standards-sdk.es76.js +163 -14
  142. package/dist/es/standards-sdk.es76.js.map +1 -1
  143. package/dist/es/standards-sdk.es77.js +31 -3
  144. package/dist/es/standards-sdk.es77.js.map +1 -1
  145. package/dist/es/standards-sdk.es78.js +62 -3
  146. package/dist/es/standards-sdk.es78.js.map +1 -1
  147. package/dist/es/standards-sdk.es79.js +48 -14
  148. package/dist/es/standards-sdk.es79.js.map +1 -1
  149. package/dist/es/standards-sdk.es80.js +9 -4
  150. package/dist/es/standards-sdk.es80.js.map +1 -1
  151. package/dist/es/standards-sdk.es81.js +63 -37
  152. package/dist/es/standards-sdk.es81.js.map +1 -1
  153. package/dist/es/standards-sdk.es82.js +5 -39
  154. package/dist/es/standards-sdk.es82.js.map +1 -1
  155. package/dist/es/standards-sdk.es83.js +14 -36
  156. package/dist/es/standards-sdk.es83.js.map +1 -1
  157. package/dist/es/standards-sdk.es84.js +6 -77
  158. package/dist/es/standards-sdk.es84.js.map +1 -1
  159. package/dist/es/standards-sdk.es85.js +45 -3
  160. package/dist/es/standards-sdk.es85.js.map +1 -1
  161. package/dist/es/standards-sdk.es86.js +2 -2
  162. package/dist/es/standards-sdk.es86.js.map +1 -1
  163. package/dist/es/standards-sdk.es87.js +136 -2
  164. package/dist/es/standards-sdk.es87.js.map +1 -1
  165. package/dist/es/standards-sdk.es88.js +161 -184
  166. package/dist/es/standards-sdk.es88.js.map +1 -1
  167. package/dist/es/standards-sdk.es89.js +22 -433
  168. package/dist/es/standards-sdk.es89.js.map +1 -1
  169. package/dist/es/standards-sdk.es90.js +24 -23
  170. package/dist/es/standards-sdk.es90.js.map +1 -1
  171. package/dist/es/standards-sdk.es91.js +34 -135
  172. package/dist/es/standards-sdk.es91.js.map +1 -1
  173. package/dist/es/standards-sdk.es92.js +100 -17
  174. package/dist/es/standards-sdk.es92.js.map +1 -1
  175. package/dist/es/standards-sdk.es93.js +2 -29
  176. package/dist/es/standards-sdk.es93.js.map +1 -1
  177. package/dist/es/standards-sdk.es94.js +15 -28
  178. package/dist/es/standards-sdk.es94.js.map +1 -1
  179. package/dist/es/standards-sdk.es95.js +404 -16
  180. package/dist/es/standards-sdk.es95.js.map +1 -1
  181. package/dist/es/standards-sdk.es96.js +7128 -36
  182. package/dist/es/standards-sdk.es96.js.map +1 -1
  183. package/dist/es/standards-sdk.es97.js +13 -18
  184. package/dist/es/standards-sdk.es97.js.map +1 -1
  185. package/dist/es/standards-sdk.es98.js +13 -61
  186. package/dist/es/standards-sdk.es98.js.map +1 -1
  187. package/dist/es/standards-sdk.es99.js +27 -1284
  188. package/dist/es/standards-sdk.es99.js.map +1 -1
  189. package/dist/umd/hcs-10/connections-manager.d.ts +2 -2
  190. package/dist/umd/hcs-10/connections-manager.d.ts.map +1 -1
  191. package/dist/umd/standards-sdk.umd.js +1 -1
  192. package/dist/umd/standards-sdk.umd.js.map +1 -1
  193. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es109.js","sources":["../../node_modules/@noble/hashes/esm/sha3.js"],"sourcesContent":["import { bytes, exists, number, output } from './_assert.js';\nimport { rotlBH, rotlBL, rotlSH, rotlSL, split } from './_u64.js';\nimport { Hash, u32, toBytes, wrapConstructor, wrapXOFConstructorWithOpts, } from './utils.js';\n// SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.\n// It's called a sponge function.\n// Various per round constants calculations\nconst [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];\nconst _0n = /* @__PURE__ */ BigInt(0);\nconst _1n = /* @__PURE__ */ BigInt(1);\nconst _2n = /* @__PURE__ */ BigInt(2);\nconst _7n = /* @__PURE__ */ BigInt(7);\nconst _256n = /* @__PURE__ */ BigInt(256);\nconst _0x71n = /* @__PURE__ */ BigInt(0x71);\nfor (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {\n // Pi\n [x, y] = [y, (2 * x + 3 * y) % 5];\n SHA3_PI.push(2 * (5 * y + x));\n // Rotational\n SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);\n // Iota\n let t = _0n;\n for (let j = 0; j < 7; j++) {\n R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;\n if (R & _2n)\n t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);\n }\n _SHA3_IOTA.push(t);\n}\nconst [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ split(_SHA3_IOTA, true);\n// Left rotation (without 0, 32, 64)\nconst rotlH = (h, l, s) => (s > 32 ? rotlBH(h, l, s) : rotlSH(h, l, s));\nconst rotlL = (h, l, s) => (s > 32 ? rotlBL(h, l, s) : rotlSL(h, l, s));\n// Same as keccakf1600, but allows to skip some rounds\nexport function keccakP(s, rounds = 24) {\n const B = new Uint32Array(5 * 2);\n // NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)\n for (let round = 24 - rounds; round < 24; round++) {\n // Theta θ\n for (let x = 0; x < 10; x++)\n B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];\n for (let x = 0; x < 10; x += 2) {\n const idx1 = (x + 8) % 10;\n const idx0 = (x + 2) % 10;\n const B0 = B[idx0];\n const B1 = B[idx0 + 1];\n const Th = rotlH(B0, B1, 1) ^ B[idx1];\n const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];\n for (let y = 0; y < 50; y += 10) {\n s[x + y] ^= Th;\n s[x + y + 1] ^= Tl;\n }\n }\n // Rho (ρ) and Pi (π)\n let curH = s[2];\n let curL = s[3];\n for (let t = 0; t < 24; t++) {\n const shift = SHA3_ROTL[t];\n const Th = rotlH(curH, curL, shift);\n const Tl = rotlL(curH, curL, shift);\n const PI = SHA3_PI[t];\n curH = s[PI];\n curL = s[PI + 1];\n s[PI] = Th;\n s[PI + 1] = Tl;\n }\n // Chi (χ)\n for (let y = 0; y < 50; y += 10) {\n for (let x = 0; x < 10; x++)\n B[x] = s[y + x];\n for (let x = 0; x < 10; x++)\n s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];\n }\n // Iota (ι)\n s[0] ^= SHA3_IOTA_H[round];\n s[1] ^= SHA3_IOTA_L[round];\n }\n B.fill(0);\n}\nexport class Keccak extends Hash {\n // NOTE: we accept arguments in bytes instead of bits here.\n constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {\n super();\n this.blockLen = blockLen;\n this.suffix = suffix;\n this.outputLen = outputLen;\n this.enableXOF = enableXOF;\n this.rounds = rounds;\n this.pos = 0;\n this.posOut = 0;\n this.finished = false;\n this.destroyed = false;\n // Can be passed from user as dkLen\n number(outputLen);\n // 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes\n if (0 >= this.blockLen || this.blockLen >= 200)\n throw new Error('Sha3 supports only keccak-f1600 function');\n this.state = new Uint8Array(200);\n this.state32 = u32(this.state);\n }\n keccak() {\n keccakP(this.state32, this.rounds);\n this.posOut = 0;\n this.pos = 0;\n }\n update(data) {\n exists(this);\n const { blockLen, state } = this;\n data = toBytes(data);\n const len = data.length;\n for (let pos = 0; pos < len;) {\n const take = Math.min(blockLen - this.pos, len - pos);\n for (let i = 0; i < take; i++)\n state[this.pos++] ^= data[pos++];\n if (this.pos === blockLen)\n this.keccak();\n }\n return this;\n }\n finish() {\n if (this.finished)\n return;\n this.finished = true;\n const { state, suffix, pos, blockLen } = this;\n // Do the padding\n state[pos] ^= suffix;\n if ((suffix & 0x80) !== 0 && pos === blockLen - 1)\n this.keccak();\n state[blockLen - 1] ^= 0x80;\n this.keccak();\n }\n writeInto(out) {\n exists(this, false);\n bytes(out);\n this.finish();\n const bufferOut = this.state;\n const { blockLen } = this;\n for (let pos = 0, len = out.length; pos < len;) {\n if (this.posOut >= blockLen)\n this.keccak();\n const take = Math.min(blockLen - this.posOut, len - pos);\n out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);\n this.posOut += take;\n pos += take;\n }\n return out;\n }\n xofInto(out) {\n // Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF\n if (!this.enableXOF)\n throw new Error('XOF is not possible for this instance');\n return this.writeInto(out);\n }\n xof(bytes) {\n number(bytes);\n return this.xofInto(new Uint8Array(bytes));\n }\n digestInto(out) {\n output(out, this);\n if (this.finished)\n throw new Error('digest() was already called');\n this.writeInto(out);\n this.destroy();\n return out;\n }\n digest() {\n return this.digestInto(new Uint8Array(this.outputLen));\n }\n destroy() {\n this.destroyed = true;\n this.state.fill(0);\n }\n _cloneInto(to) {\n const { blockLen, suffix, outputLen, rounds, enableXOF } = this;\n to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));\n to.state32.set(this.state32);\n to.pos = this.pos;\n to.posOut = this.posOut;\n to.finished = this.finished;\n to.rounds = rounds;\n // Suffix can change in cSHAKE\n to.suffix = suffix;\n to.outputLen = outputLen;\n to.enableXOF = enableXOF;\n to.destroyed = this.destroyed;\n return to;\n }\n}\nconst gen = (suffix, blockLen, outputLen) => wrapConstructor(() => new Keccak(blockLen, suffix, outputLen));\nexport const sha3_224 = /* @__PURE__ */ gen(0x06, 144, 224 / 8);\n/**\n * SHA3-256 hash function\n * @param message - that would be hashed\n */\nexport const sha3_256 = /* @__PURE__ */ gen(0x06, 136, 256 / 8);\nexport const sha3_384 = /* @__PURE__ */ gen(0x06, 104, 384 / 8);\nexport const sha3_512 = /* @__PURE__ */ gen(0x06, 72, 512 / 8);\nexport const keccak_224 = /* @__PURE__ */ gen(0x01, 144, 224 / 8);\n/**\n * keccak-256 hash function. Different from SHA3-256.\n * @param message - that would be hashed\n */\nexport const keccak_256 = /* @__PURE__ */ gen(0x01, 136, 256 / 8);\nexport const keccak_384 = /* @__PURE__ */ gen(0x01, 104, 384 / 8);\nexport const keccak_512 = /* @__PURE__ */ gen(0x01, 72, 512 / 8);\nconst genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts = {}) => new Keccak(blockLen, suffix, opts.dkLen === undefined ? outputLen : opts.dkLen, true));\nexport const shake128 = /* @__PURE__ */ genShake(0x1f, 168, 128 / 8);\nexport const shake256 = /* @__PURE__ */ genShake(0x1f, 136, 256 / 8);\n//#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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,37 +1,7 @@
1
- function speedometer(samplesCount, min) {
2
- samplesCount = samplesCount || 10;
3
- const bytes = new Array(samplesCount);
4
- const timestamps = new Array(samplesCount);
5
- let head = 0;
6
- let tail = 0;
7
- let firstSampleTS;
8
- min = min !== void 0 ? min : 1e3;
9
- return function push(chunkLength) {
10
- const now = Date.now();
11
- const startedAt = timestamps[tail];
12
- if (!firstSampleTS) {
13
- firstSampleTS = now;
14
- }
15
- bytes[head] = chunkLength;
16
- timestamps[head] = now;
17
- let i = tail;
18
- let bytesCount = 0;
19
- while (i !== head) {
20
- bytesCount += bytes[i++];
21
- i = i % samplesCount;
22
- }
23
- head = (head + 1) % samplesCount;
24
- if (head === tail) {
25
- tail = (tail + 1) % samplesCount;
26
- }
27
- if (now - firstSampleTS < min) {
28
- return;
29
- }
30
- const passed = startedAt && now - startedAt;
31
- return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
32
- };
1
+ function getDefaultExportFromCjs(x) {
2
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
33
3
  }
34
4
  export {
35
- speedometer as default
5
+ getDefaultExportFromCjs
36
6
  };
37
7
  //# sourceMappingURL=standards-sdk.es110.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es110.js","sources":["../../node_modules/axios/lib/helpers/speedometer.js"],"sourcesContent":["'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\nexport default speedometer;\n"],"names":[],"mappings":"AAQA,SAAS,YAAY,cAAc,KAAK;AACtC,iBAAe,gBAAgB;AAC/B,QAAM,QAAQ,IAAI,MAAM,YAAY;AACpC,QAAM,aAAa,IAAI,MAAM,YAAY;AACzC,MAAI,OAAO;AACX,MAAI,OAAO;AACX,MAAI;AAEJ,QAAM,QAAQ,SAAY,MAAM;AAEhC,SAAO,SAAS,KAAK,aAAa;AAChC,UAAM,MAAM,KAAK,IAAK;AAEtB,UAAM,YAAY,WAAW,IAAI;AAEjC,QAAI,CAAC,eAAe;AAClB,sBAAgB;AAAA,IACtB;AAEI,UAAM,IAAI,IAAI;AACd,eAAW,IAAI,IAAI;AAEnB,QAAI,IAAI;AACR,QAAI,aAAa;AAEjB,WAAO,MAAM,MAAM;AACjB,oBAAc,MAAM,GAAG;AACvB,UAAI,IAAI;AAAA,IACd;AAEI,YAAQ,OAAO,KAAK;AAEpB,QAAI,SAAS,MAAM;AACjB,cAAQ,OAAO,KAAK;AAAA,IAC1B;AAEI,QAAI,MAAM,gBAAgB,KAAK;AAC7B;AAAA,IACN;AAEI,UAAM,SAAS,aAAa,MAAM;AAElC,WAAO,SAAS,KAAK,MAAM,aAAa,MAAO,MAAM,IAAI;AAAA,EAC1D;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es110.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1,36 +1,6 @@
1
- function throttle(fn, freq) {
2
- let timestamp = 0;
3
- let threshold = 1e3 / freq;
4
- let lastArgs;
5
- let timer;
6
- const invoke = (args, now = Date.now()) => {
7
- timestamp = now;
8
- lastArgs = null;
9
- if (timer) {
10
- clearTimeout(timer);
11
- timer = null;
12
- }
13
- fn.apply(null, args);
14
- };
15
- const throttled = (...args) => {
16
- const now = Date.now();
17
- const passed = now - timestamp;
18
- if (passed >= threshold) {
19
- invoke(args, now);
20
- } else {
21
- lastArgs = args;
22
- if (!timer) {
23
- timer = setTimeout(() => {
24
- timer = null;
25
- invoke(lastArgs);
26
- }, threshold - passed);
27
- }
28
- }
29
- };
30
- const flush = () => lastArgs && invoke(lastArgs);
31
- return [throttled, flush];
32
- }
1
+ import AxiosURLSearchParams from "./standards-sdk.es99.js";
2
+ const URLSearchParams$1 = typeof URLSearchParams !== "undefined" ? URLSearchParams : AxiosURLSearchParams;
33
3
  export {
34
- throttle as default
4
+ URLSearchParams$1 as default
35
5
  };
36
6
  //# sourceMappingURL=standards-sdk.es111.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es111.js","sources":["../../node_modules/axios/lib/helpers/throttle.js"],"sourcesContent":["/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn.apply(null, args);\n }\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if ( passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs)\n }, threshold - passed);\n }\n }\n }\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n"],"names":[],"mappings":"AAMA,SAAS,SAAS,IAAI,MAAM;AAC1B,MAAI,YAAY;AAChB,MAAI,YAAY,MAAO;AACvB,MAAI;AACJ,MAAI;AAEJ,QAAM,SAAS,CAAC,MAAM,MAAM,KAAK,IAAG,MAAO;AACzC,gBAAY;AACZ,eAAW;AACX,QAAI,OAAO;AACT,mBAAa,KAAK;AAClB,cAAQ;AAAA,IACd;AACI,OAAG,MAAM,MAAM,IAAI;AAAA,EACvB;AAEE,QAAM,YAAY,IAAI,SAAS;AAC7B,UAAM,MAAM,KAAK,IAAK;AACtB,UAAM,SAAS,MAAM;AACrB,QAAK,UAAU,WAAW;AACxB,aAAO,MAAM,GAAG;AAAA,IACtB,OAAW;AACL,iBAAW;AACX,UAAI,CAAC,OAAO;AACV,gBAAQ,WAAW,MAAM;AACvB,kBAAQ;AACR,iBAAO,QAAQ;AAAA,QACzB,GAAW,YAAY,MAAM;AAAA,MAC7B;AAAA,IACA;AAAA,EACA;AAEE,QAAM,QAAQ,MAAM,YAAY,OAAO,QAAQ;AAE/C,SAAO,CAAC,WAAW,KAAK;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es111.js","sources":["../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"],"sourcesContent":["'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n"],"names":[],"mappings":";AAGA,MAAA,oBAAe,OAAO,oBAAoB,cAAc,kBAAkB;","x_google_ignoreList":[0]}
@@ -1,12 +1,5 @@
1
- import platform from "./standards-sdk.es66.js";
2
- const isURLSameOrigin = platform.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin, isMSIE) => (url) => {
3
- url = new URL(url, platform.origin);
4
- return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
5
- })(
6
- new URL(platform.origin),
7
- platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
8
- ) : () => true;
1
+ const FormData$1 = typeof FormData !== "undefined" ? FormData : null;
9
2
  export {
10
- isURLSameOrigin as default
3
+ FormData$1 as default
11
4
  };
12
5
  //# sourceMappingURL=standards-sdk.es112.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es112.js","sources":["../../node_modules/axios/lib/helpers/isURLSameOrigin.js"],"sourcesContent":["import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n})(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n) : () => true;\n"],"names":[],"mappings":";AAEA,MAAA,kBAAe,SAAS,wBAAyB,kBAAC,QAAQ,WAAW,CAAC,QAAQ;AAC5E,QAAM,IAAI,IAAI,KAAK,SAAS,MAAM;AAElC,SACE,OAAO,aAAa,IAAI,YACxB,OAAO,SAAS,IAAI,SACnB,UAAU,OAAO,SAAS,IAAI;AAEnC;AAAA,EACE,IAAI,IAAI,SAAS,MAAM;AAAA,EACvB,SAAS,aAAa,kBAAkB,KAAK,SAAS,UAAU,SAAS;AAC3E,IAAI,MAAM;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es112.js","sources":["../../node_modules/axios/lib/platform/browser/classes/FormData.js"],"sourcesContent":["'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n"],"names":[],"mappings":"AAEA,MAAA,aAAe,OAAO,aAAa,cAAc,WAAW;","x_google_ignoreList":[0]}
@@ -1,37 +1,5 @@
1
- import utils from "./standards-sdk.es35.js";
2
- import platform from "./standards-sdk.es66.js";
3
- const cookies = platform.hasStandardBrowserEnv ? (
4
- // Standard browser envs support document.cookie
5
- {
6
- write(name, value, expires, path, domain, secure) {
7
- const cookie = [name + "=" + encodeURIComponent(value)];
8
- utils.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
9
- utils.isString(path) && cookie.push("path=" + path);
10
- utils.isString(domain) && cookie.push("domain=" + domain);
11
- secure === true && cookie.push("secure");
12
- document.cookie = cookie.join("; ");
13
- },
14
- read(name) {
15
- const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
16
- return match ? decodeURIComponent(match[3]) : null;
17
- },
18
- remove(name) {
19
- this.write(name, "", Date.now() - 864e5);
20
- }
21
- }
22
- ) : (
23
- // Non-standard browser env (web workers, react-native) lack needed support.
24
- {
25
- write() {
26
- },
27
- read() {
28
- return null;
29
- },
30
- remove() {
31
- }
32
- }
33
- );
1
+ const Blob$1 = typeof Blob !== "undefined" ? Blob : null;
34
2
  export {
35
- cookies as default
3
+ Blob$1 as default
36
4
  };
37
5
  //# sourceMappingURL=standards-sdk.es113.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es113.js","sources":["../../node_modules/axios/lib/helpers/cookies.js"],"sourcesContent":["import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n"],"names":[],"mappings":";;AAGA,MAAe,UAAA,SAAS;AAAA;AAAA,EAGtB;AAAA,IACE,MAAM,MAAM,OAAO,SAAS,MAAM,QAAQ,QAAQ;AAChD,YAAM,SAAS,CAAC,OAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtD,YAAM,SAAS,OAAO,KAAK,OAAO,KAAK,aAAa,IAAI,KAAK,OAAO,EAAE,YAAW,CAAE;AAEnF,YAAM,SAAS,IAAI,KAAK,OAAO,KAAK,UAAU,IAAI;AAElD,YAAM,SAAS,MAAM,KAAK,OAAO,KAAK,YAAY,MAAM;AAExD,iBAAW,QAAQ,OAAO,KAAK,QAAQ;AAEvC,eAAS,SAAS,OAAO,KAAK,IAAI;AAAA,IACnC;AAAA,IAED,KAAK,MAAM;AACT,YAAM,QAAQ,SAAS,OAAO,MAAM,IAAI,OAAO,eAAe,OAAO,WAAW,CAAC;AACjF,aAAQ,QAAQ,mBAAmB,MAAM,CAAC,CAAC,IAAI;AAAA,IAChD;AAAA,IAED,OAAO,MAAM;AACX,WAAK,MAAM,MAAM,IAAI,KAAK,IAAK,IAAG,KAAQ;AAAA,IAChD;AAAA,EACA;AAAA;AAAA;AAAA,EAKE;AAAA,IACE,QAAQ;AAAA,IAAE;AAAA,IACV,OAAO;AACL,aAAO;AAAA,IACR;AAAA,IACD,SAAS;AAAA,IAAA;AAAA,EACV;AAAA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es113.js","sources":["../../node_modules/axios/lib/platform/browser/classes/Blob.js"],"sourcesContent":["'use strict'\n\nexport default typeof Blob !== 'undefined' ? Blob : null\n"],"names":[],"mappings":"AAEA,MAAA,SAAe,OAAO,SAAS,cAAc,OAAO;","x_google_ignoreList":[0]}
@@ -1,24 +1,37 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { Coder } from "./standards-sdk.es89.js";
5
- class AnonymousCoder extends Coder {
6
- constructor(coder) {
7
- super(coder.name, coder.type, "_", coder.dynamic);
8
- __publicField(this, "coder");
9
- this.coder = coder;
10
- }
11
- defaultValue() {
12
- return this.coder.defaultValue();
13
- }
14
- encode(writer, value) {
15
- return this.coder.encode(writer, value);
16
- }
17
- decode(reader) {
18
- return this.coder.decode(reader);
19
- }
1
+ function speedometer(samplesCount, min) {
2
+ samplesCount = samplesCount || 10;
3
+ const bytes = new Array(samplesCount);
4
+ const timestamps = new Array(samplesCount);
5
+ let head = 0;
6
+ let tail = 0;
7
+ let firstSampleTS;
8
+ min = min !== void 0 ? min : 1e3;
9
+ return function push(chunkLength) {
10
+ const now = Date.now();
11
+ const startedAt = timestamps[tail];
12
+ if (!firstSampleTS) {
13
+ firstSampleTS = now;
14
+ }
15
+ bytes[head] = chunkLength;
16
+ timestamps[head] = now;
17
+ let i = tail;
18
+ let bytesCount = 0;
19
+ while (i !== head) {
20
+ bytesCount += bytes[i++];
21
+ i = i % samplesCount;
22
+ }
23
+ head = (head + 1) % samplesCount;
24
+ if (head === tail) {
25
+ tail = (tail + 1) % samplesCount;
26
+ }
27
+ if (now - firstSampleTS < min) {
28
+ return;
29
+ }
30
+ const passed = startedAt && now - startedAt;
31
+ return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
32
+ };
20
33
  }
21
34
  export {
22
- AnonymousCoder
35
+ speedometer as default
23
36
  };
24
37
  //# sourceMappingURL=standards-sdk.es114.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es114.js","sources":["../../node_modules/ethers/lib.esm/abi/coders/anonymous.js"],"sourcesContent":["import { Coder } from \"./abstract-coder.js\";\n/**\n * Clones the functionality of an existing Coder, but without a localName\n *\n * @_ignore\n */\nexport class AnonymousCoder extends Coder {\n coder;\n constructor(coder) {\n super(coder.name, coder.type, \"_\", coder.dynamic);\n this.coder = coder;\n }\n defaultValue() {\n return this.coder.defaultValue();\n }\n encode(writer, value) {\n return this.coder.encode(writer, value);\n }\n decode(reader) {\n return this.coder.decode(reader);\n }\n}\n//# sourceMappingURL=anonymous.js.map"],"names":[],"mappings":";;;;AAMO,MAAM,uBAAuB,MAAM;AAAA,EAEtC,YAAY,OAAO;AACf,UAAM,MAAM,MAAM,MAAM,MAAM,KAAK,MAAM,OAAO;AAFpD;AAGI,SAAK,QAAQ;AAAA,EACrB;AAAA,EACI,eAAe;AACX,WAAO,KAAK,MAAM,aAAc;AAAA,EACxC;AAAA,EACI,OAAO,QAAQ,OAAO;AAClB,WAAO,KAAK,MAAM,OAAO,QAAQ,KAAK;AAAA,EAC9C;AAAA,EACI,OAAO,QAAQ;AACX,WAAO,KAAK,MAAM,OAAO,MAAM;AAAA,EACvC;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es114.js","sources":["../../node_modules/axios/lib/helpers/speedometer.js"],"sourcesContent":["'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\nexport default speedometer;\n"],"names":[],"mappings":"AAQA,SAAS,YAAY,cAAc,KAAK;AACtC,iBAAe,gBAAgB;AAC/B,QAAM,QAAQ,IAAI,MAAM,YAAY;AACpC,QAAM,aAAa,IAAI,MAAM,YAAY;AACzC,MAAI,OAAO;AACX,MAAI,OAAO;AACX,MAAI;AAEJ,QAAM,QAAQ,SAAY,MAAM;AAEhC,SAAO,SAAS,KAAK,aAAa;AAChC,UAAM,MAAM,KAAK,IAAK;AAEtB,UAAM,YAAY,WAAW,IAAI;AAEjC,QAAI,CAAC,eAAe;AAClB,sBAAgB;AAAA,IACtB;AAEI,UAAM,IAAI,IAAI;AACd,eAAW,IAAI,IAAI;AAEnB,QAAI,IAAI;AACR,QAAI,aAAa;AAEjB,WAAO,MAAM,MAAM;AACjB,oBAAc,MAAM,GAAG;AACvB,UAAI,IAAI;AAAA,IACd;AAEI,YAAQ,OAAO,KAAK;AAEpB,QAAI,SAAS,MAAM;AACjB,cAAQ,OAAO,KAAK;AAAA,IAC1B;AAEI,QAAI,MAAM,gBAAgB,KAAK;AAC7B;AAAA,IACN;AAEI,UAAM,SAAS,aAAa,MAAM;AAElC,WAAO,SAAS,KAAK,MAAM,aAAa,MAAO,MAAM,IAAI;AAAA,EAC1D;AACH;","x_google_ignoreList":[0]}
@@ -1,30 +1,36 @@
1
- function number(n) {
2
- if (!Number.isSafeInteger(n) || n < 0)
3
- throw new Error(`Wrong positive integer: ${n}`);
4
- }
5
- function bytes(b, ...lengths) {
6
- if (!(b instanceof Uint8Array))
7
- throw new Error("Expected Uint8Array");
8
- if (lengths.length > 0 && !lengths.includes(b.length))
9
- throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);
10
- }
11
- function exists(instance, checkFinished = true) {
12
- if (instance.destroyed)
13
- throw new Error("Hash instance has been destroyed");
14
- if (checkFinished && instance.finished)
15
- throw new Error("Hash#digest() has already been called");
16
- }
17
- function output(out, instance) {
18
- bytes(out);
19
- const min = instance.outputLen;
20
- if (out.length < min) {
21
- throw new Error(`digestInto() expects output buffer of length at least ${min}`);
22
- }
1
+ function throttle(fn, freq) {
2
+ let timestamp = 0;
3
+ let threshold = 1e3 / freq;
4
+ let lastArgs;
5
+ let timer;
6
+ const invoke = (args, now = Date.now()) => {
7
+ timestamp = now;
8
+ lastArgs = null;
9
+ if (timer) {
10
+ clearTimeout(timer);
11
+ timer = null;
12
+ }
13
+ fn.apply(null, args);
14
+ };
15
+ const throttled = (...args) => {
16
+ const now = Date.now();
17
+ const passed = now - timestamp;
18
+ if (passed >= threshold) {
19
+ invoke(args, now);
20
+ } else {
21
+ lastArgs = args;
22
+ if (!timer) {
23
+ timer = setTimeout(() => {
24
+ timer = null;
25
+ invoke(lastArgs);
26
+ }, threshold - passed);
27
+ }
28
+ }
29
+ };
30
+ const flush = () => lastArgs && invoke(lastArgs);
31
+ return [throttled, flush];
23
32
  }
24
33
  export {
25
- bytes,
26
- exists,
27
- number,
28
- output
34
+ throttle as default
29
35
  };
30
36
  //# sourceMappingURL=standards-sdk.es115.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es115.js","sources":["../../node_modules/@noble/hashes/esm/_assert.js"],"sourcesContent":["function number(n) {\n if (!Number.isSafeInteger(n) || n < 0)\n throw new Error(`Wrong positive integer: ${n}`);\n}\nfunction bool(b) {\n if (typeof b !== 'boolean')\n throw new Error(`Expected boolean, not ${b}`);\n}\nfunction bytes(b, ...lengths) {\n if (!(b instanceof Uint8Array))\n throw new Error('Expected Uint8Array');\n if (lengths.length > 0 && !lengths.includes(b.length))\n throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);\n}\nfunction hash(hash) {\n if (typeof hash !== 'function' || typeof hash.create !== 'function')\n throw new Error('Hash should be wrapped by utils.wrapConstructor');\n number(hash.outputLen);\n number(hash.blockLen);\n}\nfunction exists(instance, checkFinished = true) {\n if (instance.destroyed)\n throw new Error('Hash instance has been destroyed');\n if (checkFinished && instance.finished)\n throw new Error('Hash#digest() has already been called');\n}\nfunction output(out, instance) {\n bytes(out);\n const min = instance.outputLen;\n if (out.length < min) {\n throw new Error(`digestInto() expects output buffer of length at least ${min}`);\n }\n}\nexport { number, bool, bytes, hash, exists, output };\nconst assert = { number, bool, bytes, hash, exists, output };\nexport default assert;\n//# sourceMappingURL=_assert.js.map"],"names":[],"mappings":"AAAA,SAAS,OAAO,GAAG;AACf,MAAI,CAAC,OAAO,cAAc,CAAC,KAAK,IAAI;AAChC,UAAM,IAAI,MAAM,2BAA2B,CAAC,EAAE;AACtD;AAKA,SAAS,MAAM,MAAM,SAAS;AAC1B,MAAI,EAAE,aAAa;AACf,UAAM,IAAI,MAAM,qBAAqB;AACzC,MAAI,QAAQ,SAAS,KAAK,CAAC,QAAQ,SAAS,EAAE,MAAM;AAChD,UAAM,IAAI,MAAM,iCAAiC,OAAO,mBAAmB,EAAE,MAAM,EAAE;AAC7F;AAOA,SAAS,OAAO,UAAU,gBAAgB,MAAM;AAC5C,MAAI,SAAS;AACT,UAAM,IAAI,MAAM,kCAAkC;AACtD,MAAI,iBAAiB,SAAS;AAC1B,UAAM,IAAI,MAAM,uCAAuC;AAC/D;AACA,SAAS,OAAO,KAAK,UAAU;AAC3B,QAAM,GAAG;AACT,QAAM,MAAM,SAAS;AACrB,MAAI,IAAI,SAAS,KAAK;AAClB,UAAM,IAAI,MAAM,yDAAyD,GAAG,EAAE;AAAA,EACtF;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es115.js","sources":["../../node_modules/axios/lib/helpers/throttle.js"],"sourcesContent":["/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn.apply(null, args);\n }\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if ( passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs)\n }, threshold - passed);\n }\n }\n }\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n"],"names":[],"mappings":"AAMA,SAAS,SAAS,IAAI,MAAM;AAC1B,MAAI,YAAY;AAChB,MAAI,YAAY,MAAO;AACvB,MAAI;AACJ,MAAI;AAEJ,QAAM,SAAS,CAAC,MAAM,MAAM,KAAK,IAAG,MAAO;AACzC,gBAAY;AACZ,eAAW;AACX,QAAI,OAAO;AACT,mBAAa,KAAK;AAClB,cAAQ;AAAA,IACd;AACI,OAAG,MAAM,MAAM,IAAI;AAAA,EACvB;AAEE,QAAM,YAAY,IAAI,SAAS;AAC7B,UAAM,MAAM,KAAK,IAAK;AACtB,UAAM,SAAS,MAAM;AACrB,QAAK,UAAU,WAAW;AACxB,aAAO,MAAM,GAAG;AAAA,IACtB,OAAW;AACL,iBAAW;AACX,UAAI,CAAC,OAAO;AACV,gBAAQ,WAAW,MAAM;AACvB,kBAAQ;AACR,iBAAO,QAAQ;AAAA,QACzB,GAAW,YAAY,MAAM;AAAA,MAC7B;AAAA,IACA;AAAA,EACA;AAEE,QAAM,QAAQ,MAAM,YAAY,OAAO,QAAQ;AAE/C,SAAO,CAAC,WAAW,KAAK;AAC1B;","x_google_ignoreList":[0]}
@@ -1,29 +1,12 @@
1
- const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
2
- const _32n = /* @__PURE__ */ BigInt(32);
3
- function fromBig(n, le = false) {
4
- if (le)
5
- return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
6
- return { h: Number(n >> _32n & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };
7
- }
8
- function split(lst, le = false) {
9
- let Ah = new Uint32Array(lst.length);
10
- let Al = new Uint32Array(lst.length);
11
- for (let i = 0; i < lst.length; i++) {
12
- const { h, l } = fromBig(lst[i], le);
13
- [Ah[i], Al[i]] = [h, l];
14
- }
15
- return [Ah, Al];
16
- }
17
- const rotlSH = (h, l, s) => h << s | l >>> 32 - s;
18
- const rotlSL = (h, l, s) => l << s | h >>> 32 - s;
19
- const rotlBH = (h, l, s) => l << s - 32 | h >>> 64 - s;
20
- const rotlBL = (h, l, s) => h << s - 32 | l >>> 64 - s;
1
+ import platform from "./standards-sdk.es84.js";
2
+ const isURLSameOrigin = platform.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin, isMSIE) => (url) => {
3
+ url = new URL(url, platform.origin);
4
+ return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
5
+ })(
6
+ new URL(platform.origin),
7
+ platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
8
+ ) : () => true;
21
9
  export {
22
- fromBig,
23
- rotlBH,
24
- rotlBL,
25
- rotlSH,
26
- rotlSL,
27
- split
10
+ isURLSameOrigin as default
28
11
  };
29
12
  //# sourceMappingURL=standards-sdk.es116.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es116.js","sources":["../../node_modules/@noble/hashes/esm/_u64.js"],"sourcesContent":["const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);\nconst _32n = /* @__PURE__ */ BigInt(32);\n// We are not using BigUint64Array, because they are extremely slow as per 2022\nfunction fromBig(n, le = false) {\n if (le)\n return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };\n return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };\n}\nfunction split(lst, le = false) {\n let Ah = new Uint32Array(lst.length);\n let Al = new Uint32Array(lst.length);\n for (let i = 0; i < lst.length; i++) {\n const { h, l } = fromBig(lst[i], le);\n [Ah[i], Al[i]] = [h, l];\n }\n return [Ah, Al];\n}\nconst toBig = (h, l) => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);\n// for Shift in [0, 32)\nconst shrSH = (h, _l, s) => h >>> s;\nconst shrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in [1, 32)\nconst rotrSH = (h, l, s) => (h >>> s) | (l << (32 - s));\nconst rotrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotrBH = (h, l, s) => (h << (64 - s)) | (l >>> (s - 32));\nconst rotrBL = (h, l, s) => (h >>> (s - 32)) | (l << (64 - s));\n// Right rotate for shift===32 (just swaps l&h)\nconst rotr32H = (_h, l) => l;\nconst rotr32L = (h, _l) => h;\n// Left rotate for Shift in [1, 32)\nconst rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));\nconst rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));\n// Left rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));\nconst rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));\n// JS uses 32-bit signed integers for bitwise operations which means we cannot\n// simple take carry out of low bit sum by shift, we need to use division.\nfunction add(Ah, Al, Bh, Bl) {\n const l = (Al >>> 0) + (Bl >>> 0);\n return { h: (Ah + Bh + ((l / 2 ** 32) | 0)) | 0, l: l | 0 };\n}\n// Addition with more than 2 elements\nconst add3L = (Al, Bl, Cl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);\nconst add3H = (low, Ah, Bh, Ch) => (Ah + Bh + Ch + ((low / 2 ** 32) | 0)) | 0;\nconst add4L = (Al, Bl, Cl, Dl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);\nconst add4H = (low, Ah, Bh, Ch, Dh) => (Ah + Bh + Ch + Dh + ((low / 2 ** 32) | 0)) | 0;\nconst add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);\nconst add5H = (low, Ah, Bh, Ch, Dh, Eh) => (Ah + Bh + Ch + Dh + Eh + ((low / 2 ** 32) | 0)) | 0;\n// prettier-ignore\nexport { fromBig, split, toBig, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, rotr32H, rotr32L, rotlSH, rotlSL, rotlBH, rotlBL, add, add3L, add3H, add4L, add4H, add5H, add5L, };\n// prettier-ignore\nconst u64 = {\n fromBig, split, toBig,\n shrSH, shrSL,\n rotrSH, rotrSL, rotrBH, rotrBL,\n rotr32H, rotr32L,\n rotlSH, rotlSL, rotlBH, rotlBL,\n add, add3L, add3H, add4L, add4H, add5H, add5L,\n};\nexport default u64;\n//# sourceMappingURL=_u64.js.map"],"names":[],"mappings":"AAAA,MAAM,aAA6B,uBAAO,KAAK,KAAK,CAAC;AACrD,MAAM,OAAuB,uBAAO,EAAE;AAEtC,SAAS,QAAQ,GAAG,KAAK,OAAO;AAC5B,MAAI;AACA,WAAO,EAAE,GAAG,OAAO,IAAI,UAAU,GAAG,GAAG,OAAQ,KAAK,OAAQ,UAAU,EAAG;AAC7E,SAAO,EAAE,GAAG,OAAQ,KAAK,OAAQ,UAAU,IAAI,GAAG,GAAG,OAAO,IAAI,UAAU,IAAI,EAAG;AACrF;AACA,SAAS,MAAM,KAAK,KAAK,OAAO;AAC5B,MAAI,KAAK,IAAI,YAAY,IAAI,MAAM;AACnC,MAAI,KAAK,IAAI,YAAY,IAAI,MAAM;AACnC,WAAS,IAAI,GAAG,IAAI,IAAI,QAAQ,KAAK;AACjC,UAAM,EAAE,GAAG,EAAG,IAAG,QAAQ,IAAI,CAAC,GAAG,EAAE;AACnC,KAAC,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAAA,EAC9B;AACI,SAAO,CAAC,IAAI,EAAE;AAClB;AAeK,MAAC,SAAS,CAAC,GAAG,GAAG,MAAO,KAAK,IAAM,MAAO,KAAK;AAC/C,MAAC,SAAS,CAAC,GAAG,GAAG,MAAO,KAAK,IAAM,MAAO,KAAK;AAE/C,MAAC,SAAS,CAAC,GAAG,GAAG,MAAO,KAAM,IAAI,KAAQ,MAAO,KAAK;AACtD,MAAC,SAAS,CAAC,GAAG,GAAG,MAAO,KAAM,IAAI,KAAQ,MAAO,KAAK;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es116.js","sources":["../../node_modules/axios/lib/helpers/isURLSameOrigin.js"],"sourcesContent":["import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n})(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n) : () => true;\n"],"names":[],"mappings":";AAEA,MAAA,kBAAe,SAAS,wBAAyB,kBAAC,QAAQ,WAAW,CAAC,QAAQ;AAC5E,QAAM,IAAI,IAAI,KAAK,SAAS,MAAM;AAElC,SACE,OAAO,aAAa,IAAI,YACxB,OAAO,SAAS,IAAI,SACnB,UAAU,OAAO,SAAS,IAAI;AAEnC;AAAA,EACE,IAAI,IAAI,SAAS,MAAM;AAAA,EACvB,SAAS,aAAa,kBAAkB,KAAK,SAAS,UAAU,SAAS;AAC3E,IAAI,MAAM;","x_google_ignoreList":[0]}
@@ -1,41 +1,37 @@
1
- /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
2
- const u8a = (a) => a instanceof Uint8Array;
3
- const u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
4
- const isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
5
- if (!isLE)
6
- throw new Error("Non little-endian hardware is not supported");
7
- function utf8ToBytes(str) {
8
- if (typeof str !== "string")
9
- throw new Error(`utf8ToBytes expected string, got ${typeof str}`);
10
- return new Uint8Array(new TextEncoder().encode(str));
11
- }
12
- function toBytes(data) {
13
- if (typeof data === "string")
14
- data = utf8ToBytes(data);
15
- if (!u8a(data))
16
- throw new Error(`expected Uint8Array, got ${typeof data}`);
17
- return data;
18
- }
19
- class Hash {
20
- // Safe version that clones internal state
21
- clone() {
22
- return this._cloneInto();
1
+ import utils from "./standards-sdk.es52.js";
2
+ import platform from "./standards-sdk.es84.js";
3
+ const cookies = platform.hasStandardBrowserEnv ? (
4
+ // Standard browser envs support document.cookie
5
+ {
6
+ write(name, value, expires, path, domain, secure) {
7
+ const cookie = [name + "=" + encodeURIComponent(value)];
8
+ utils.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
9
+ utils.isString(path) && cookie.push("path=" + path);
10
+ utils.isString(domain) && cookie.push("domain=" + domain);
11
+ secure === true && cookie.push("secure");
12
+ document.cookie = cookie.join("; ");
13
+ },
14
+ read(name) {
15
+ const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
16
+ return match ? decodeURIComponent(match[3]) : null;
17
+ },
18
+ remove(name) {
19
+ this.write(name, "", Date.now() - 864e5);
20
+ }
23
21
  }
24
- }
25
- function wrapConstructor(hashCons) {
26
- const hashC = (msg) => hashCons().update(toBytes(msg)).digest();
27
- const tmp = hashCons();
28
- hashC.outputLen = tmp.outputLen;
29
- hashC.blockLen = tmp.blockLen;
30
- hashC.create = () => hashCons();
31
- return hashC;
32
- }
22
+ ) : (
23
+ // Non-standard browser env (web workers, react-native) lack needed support.
24
+ {
25
+ write() {
26
+ },
27
+ read() {
28
+ return null;
29
+ },
30
+ remove() {
31
+ }
32
+ }
33
+ );
33
34
  export {
34
- Hash,
35
- isLE,
36
- toBytes,
37
- u32,
38
- utf8ToBytes,
39
- wrapConstructor
35
+ cookies as default
40
36
  };
41
37
  //# sourceMappingURL=standards-sdk.es117.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es117.js","sources":["../../node_modules/@noble/hashes/esm/utils.js"],"sourcesContent":["/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.\n// node.js versions earlier than v19 don't declare it in global scope.\n// For node.js, package.json#exports field mapping rewrites import\n// from `crypto` to `cryptoNode`, which imports native module.\n// Makes the utils un-importable in browsers without a bundler.\n// Once node.js 18 is deprecated, we can just drop the import.\nimport { crypto } from '@noble/hashes/crypto';\nconst u8a = (a) => a instanceof Uint8Array;\n// Cast array to different type\nexport const u8 = (arr) => new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\nexport const u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));\n// Cast array to view\nexport const createView = (arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength);\n// The rotate right (circular right shift) operation for uint32\nexport const rotr = (word, shift) => (word << (32 - shift)) | (word >>> shift);\n// big-endian hardware is rare. Just in case someone still decides to run hashes:\n// early-throw an error because we don't support BE yet.\nexport const isLE = new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44;\nif (!isLE)\n throw new Error('Non little-endian hardware is not supported');\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nexport function bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nexport function hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// There is no setImmediate in browser and setTimeout is slow.\n// call of async fn will return Promise, which will be fullfiled only on\n// next scheduler queue processing step and this is exactly what we need.\nexport const nextTick = async () => { };\n// Returns control to thread each 'tick' ms to avoid blocking\nexport async function asyncLoop(iters, tick, cb) {\n let ts = Date.now();\n for (let i = 0; i < iters; i++) {\n cb(i);\n // Date.now() is not monotonic, so in case if clock goes backwards we return return control too\n const diff = Date.now() - ts;\n if (diff >= 0 && diff < tick)\n continue;\n await nextTick();\n ts += diff;\n }\n}\n/**\n * @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])\n */\nexport function utf8ToBytes(str) {\n if (typeof str !== 'string')\n throw new Error(`utf8ToBytes expected string, got ${typeof str}`);\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n/**\n * Normalizes (non-hex) string or Uint8Array to Uint8Array.\n * Warning: when Uint8Array is passed, it would NOT get copied.\n * Keep in mind for future mutable operations.\n */\nexport function toBytes(data) {\n if (typeof data === 'string')\n data = utf8ToBytes(data);\n if (!u8a(data))\n throw new Error(`expected Uint8Array, got ${typeof data}`);\n return data;\n}\n/**\n * Copies several Uint8Arrays into one.\n */\nexport function concatBytes(...arrays) {\n const r = new Uint8Array(arrays.reduce((sum, a) => sum + a.length, 0));\n let pad = 0; // walk through each item, ensure they have proper type\n arrays.forEach((a) => {\n if (!u8a(a))\n throw new Error('Uint8Array expected');\n r.set(a, pad);\n pad += a.length;\n });\n return r;\n}\n// For runtime check if class implements interface\nexport class Hash {\n // Safe version that clones internal state\n clone() {\n return this._cloneInto();\n }\n}\nconst toStr = {}.toString;\nexport function checkOpts(defaults, opts) {\n if (opts !== undefined && toStr.call(opts) !== '[object Object]')\n throw new Error('Options should be object or undefined');\n const merged = Object.assign(defaults, opts);\n return merged;\n}\nexport function wrapConstructor(hashCons) {\n const hashC = (msg) => hashCons().update(toBytes(msg)).digest();\n const tmp = hashCons();\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = () => hashCons();\n return hashC;\n}\nexport function wrapConstructorWithOpts(hashCons) {\n const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({});\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts) => hashCons(opts);\n return hashC;\n}\nexport function wrapXOFConstructorWithOpts(hashCons) {\n const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({});\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts) => hashCons(opts);\n return hashC;\n}\n/**\n * Secure PRNG. Uses `crypto.getRandomValues`, which defers to OS.\n */\nexport function randomBytes(bytesLength = 32) {\n if (crypto && typeof crypto.getRandomValues === 'function') {\n return crypto.getRandomValues(new Uint8Array(bytesLength));\n }\n throw new Error('crypto.getRandomValues must be defined');\n}\n//# sourceMappingURL=utils.js.map"],"names":[],"mappings":"AAAA;AAQA,MAAM,MAAM,CAAC,MAAM,aAAa;AAGpB,MAAC,MAAM,CAAC,QAAQ,IAAI,YAAY,IAAI,QAAQ,IAAI,YAAY,KAAK,MAAM,IAAI,aAAa,CAAC,CAAC;AAO1F,MAAC,OAAO,IAAI,WAAW,IAAI,YAAY,CAAC,SAAU,CAAC,EAAE,MAAM,EAAE,CAAC,MAAM;AAChF,IAAI,CAAC;AACD,QAAM,IAAI,MAAM,6CAA6C;AAuD1D,SAAS,YAAY,KAAK;AAC7B,MAAI,OAAO,QAAQ;AACf,UAAM,IAAI,MAAM,oCAAoC,OAAO,GAAG,EAAE;AACpE,SAAO,IAAI,WAAW,IAAI,YAAa,EAAC,OAAO,GAAG,CAAC;AACvD;AAMO,SAAS,QAAQ,MAAM;AAC1B,MAAI,OAAO,SAAS;AAChB,WAAO,YAAY,IAAI;AAC3B,MAAI,CAAC,IAAI,IAAI;AACT,UAAM,IAAI,MAAM,4BAA4B,OAAO,IAAI,EAAE;AAC7D,SAAO;AACX;AAgBO,MAAM,KAAK;AAAA;AAAA,EAEd,QAAQ;AACJ,WAAO,KAAK,WAAY;AAAA,EAChC;AACA;AAQO,SAAS,gBAAgB,UAAU;AACtC,QAAM,QAAQ,CAAC,QAAQ,SAAU,EAAC,OAAO,QAAQ,GAAG,CAAC,EAAE,OAAQ;AAC/D,QAAM,MAAM,SAAU;AACtB,QAAM,YAAY,IAAI;AACtB,QAAM,WAAW,IAAI;AACrB,QAAM,SAAS,MAAM,SAAU;AAC/B,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es117.js","sources":["../../node_modules/axios/lib/helpers/cookies.js"],"sourcesContent":["import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n"],"names":[],"mappings":";;AAGA,MAAe,UAAA,SAAS;AAAA;AAAA,EAGtB;AAAA,IACE,MAAM,MAAM,OAAO,SAAS,MAAM,QAAQ,QAAQ;AAChD,YAAM,SAAS,CAAC,OAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtD,YAAM,SAAS,OAAO,KAAK,OAAO,KAAK,aAAa,IAAI,KAAK,OAAO,EAAE,YAAW,CAAE;AAEnF,YAAM,SAAS,IAAI,KAAK,OAAO,KAAK,UAAU,IAAI;AAElD,YAAM,SAAS,MAAM,KAAK,OAAO,KAAK,YAAY,MAAM;AAExD,iBAAW,QAAQ,OAAO,KAAK,QAAQ;AAEvC,eAAS,SAAS,OAAO,KAAK,IAAI;AAAA,IACnC;AAAA,IAED,KAAK,MAAM;AACT,YAAM,QAAQ,SAAS,OAAO,MAAM,IAAI,OAAO,eAAe,OAAO,WAAW,CAAC;AACjF,aAAQ,QAAQ,mBAAmB,MAAM,CAAC,CAAC,IAAI;AAAA,IAChD;AAAA,IAED,OAAO,MAAM;AACX,WAAK,MAAM,MAAM,IAAI,KAAK,IAAK,IAAG,KAAQ;AAAA,IAChD;AAAA,EACA;AAAA;AAAA;AAAA,EAKE;AAAA,IACE,QAAQ;AAAA,IAAE;AAAA,IACV,OAAO;AACL,aAAO;AAAA,IACR;AAAA,IACD,SAAS;AAAA,IAAA;AAAA,EACV;AAAA;","x_google_ignoreList":[0]}
@@ -3,7 +3,7 @@ import { Client, PrivateKey, Status, AccountUpdateTransaction } from "@hashgraph
3
3
  import { inscribeWithSigner, inscribe } from "./standards-sdk.es18.js";
4
4
  import { Logger } from "./standards-sdk.es15.js";
5
5
  import { m as mimeTypesExports } from "./standards-sdk.es26.js";
6
- import z from "./standards-sdk.es29.js";
6
+ import z from "./standards-sdk.es28.js";
7
7
  import { ProgressReporter } from "./standards-sdk.es17.js";
8
8
  import { HederaMirrorNode } from "./standards-sdk.es19.js";
9
9
  import { AIAgentCapability, AIAgentType, ProfileType, capabilityNameToCapabilityMap } from "./standards-sdk.es14.js";
@@ -1,20 +1,20 @@
1
- import utils from "./standards-sdk.es35.js";
2
- import bind from "./standards-sdk.es36.js";
3
- import Axios from "./standards-sdk.es37.js";
4
- import mergeConfig from "./standards-sdk.es38.js";
5
- import defaults from "./standards-sdk.es39.js";
6
- import formDataToJSON from "./standards-sdk.es40.js";
7
- import CanceledError from "./standards-sdk.es41.js";
8
- import CancelToken from "./standards-sdk.es42.js";
9
- import isCancel from "./standards-sdk.es43.js";
10
- import { VERSION } from "./standards-sdk.es44.js";
11
- import toFormData from "./standards-sdk.es45.js";
12
- import AxiosError from "./standards-sdk.es46.js";
13
- import spread from "./standards-sdk.es47.js";
14
- import isAxiosError from "./standards-sdk.es48.js";
15
- import AxiosHeaders from "./standards-sdk.es49.js";
16
- import adapters from "./standards-sdk.es50.js";
17
- import HttpStatusCode from "./standards-sdk.es51.js";
1
+ import utils from "./standards-sdk.es52.js";
2
+ import bind from "./standards-sdk.es53.js";
3
+ import Axios from "./standards-sdk.es54.js";
4
+ import mergeConfig from "./standards-sdk.es55.js";
5
+ import defaults from "./standards-sdk.es56.js";
6
+ import formDataToJSON from "./standards-sdk.es57.js";
7
+ import CanceledError from "./standards-sdk.es58.js";
8
+ import CancelToken from "./standards-sdk.es59.js";
9
+ import isCancel from "./standards-sdk.es60.js";
10
+ import { VERSION } from "./standards-sdk.es61.js";
11
+ import toFormData from "./standards-sdk.es62.js";
12
+ import AxiosError from "./standards-sdk.es63.js";
13
+ import spread from "./standards-sdk.es64.js";
14
+ import isAxiosError from "./standards-sdk.es65.js";
15
+ import AxiosHeaders from "./standards-sdk.es66.js";
16
+ import adapters from "./standards-sdk.es67.js";
17
+ import HttpStatusCode from "./standards-sdk.es68.js";
18
18
  function createInstance(defaultConfig) {
19
19
  const context = new Axios(defaultConfig);
20
20
  const instance = bind(Axios.prototype.request, context);
@@ -5287,7 +5287,7 @@ class FileTypeParser {
5287
5287
  }
5288
5288
  }
5289
5289
  async toDetectionStream(readableStream, options = {}) {
5290
- const { default: stream } = await import("./standards-sdk.es73.js").then((n) => n.i);
5290
+ const { default: stream } = await import("./standards-sdk.es96.js").then((n) => n.i);
5291
5291
  const { sampleSize = minimumBytes } = options;
5292
5292
  return new Promise((resolve, reject) => {
5293
5293
  readableStream.on("error", reject);
@@ -1,4 +1,4 @@
1
- import { __require as requireMimeTypes } from "./standards-sdk.es52.js";
1
+ import { __require as requireMimeTypes } from "./standards-sdk.es92.js";
2
2
  var mimeTypesExports = requireMimeTypes();
3
3
  export {
4
4
  mimeTypesExports as m