@hashgraphonline/standards-sdk 0.0.75 → 0.0.77

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 (195) hide show
  1. package/dist/es/standards-sdk.es100.js +17 -3
  2. package/dist/es/standards-sdk.es100.js.map +1 -1
  3. package/dist/es/standards-sdk.es101.js +60 -3
  4. package/dist/es/standards-sdk.es101.js.map +1 -1
  5. package/dist/es/standards-sdk.es102.js +1287 -11
  6. package/dist/es/standards-sdk.es102.js.map +1 -1
  7. package/dist/es/standards-sdk.es103.js +148 -13
  8. package/dist/es/standards-sdk.es103.js.map +1 -1
  9. package/dist/es/standards-sdk.es104.js +88 -13
  10. package/dist/es/standards-sdk.es104.js.map +1 -1
  11. package/dist/es/standards-sdk.es105.js +83 -4
  12. package/dist/es/standards-sdk.es105.js.map +1 -1
  13. package/dist/es/standards-sdk.es106.js +32 -39
  14. package/dist/es/standards-sdk.es106.js.map +1 -1
  15. package/dist/es/standards-sdk.es107.js +6 -40
  16. package/dist/es/standards-sdk.es107.js.map +1 -1
  17. package/dist/es/standards-sdk.es108.js +156 -34
  18. package/dist/es/standards-sdk.es108.js.map +1 -1
  19. package/dist/es/standards-sdk.es109.js +19 -74
  20. package/dist/es/standards-sdk.es109.js.map +1 -1
  21. package/dist/es/standards-sdk.es110.js +793 -3
  22. package/dist/es/standards-sdk.es110.js.map +1 -1
  23. package/dist/es/standards-sdk.es111.js +174 -2
  24. package/dist/es/standards-sdk.es111.js.map +1 -1
  25. package/dist/es/standards-sdk.es112.js +143 -2
  26. package/dist/es/standards-sdk.es112.js.map +1 -1
  27. package/dist/es/standards-sdk.es113.js +20 -33
  28. package/dist/es/standards-sdk.es113.js.map +1 -1
  29. package/dist/es/standards-sdk.es114.js +26 -32
  30. package/dist/es/standards-sdk.es114.js.map +1 -1
  31. package/dist/es/standards-sdk.es115.js +26 -9
  32. package/dist/es/standards-sdk.es115.js.map +1 -1
  33. package/dist/es/standards-sdk.es116.js +37 -33
  34. package/dist/es/standards-sdk.es116.js.map +1 -1
  35. package/dist/es/standards-sdk.es12.js +4 -4
  36. package/dist/es/standards-sdk.es12.js.map +1 -1
  37. package/dist/es/standards-sdk.es14.js +1 -1
  38. package/dist/es/standards-sdk.es17.js +2 -2
  39. package/dist/es/standards-sdk.es18.js +3 -3
  40. package/dist/es/standards-sdk.es21.js +5 -1041
  41. package/dist/es/standards-sdk.es21.js.map +1 -1
  42. package/dist/es/standards-sdk.es22.js +1767 -5
  43. package/dist/es/standards-sdk.es22.js.map +1 -1
  44. package/dist/es/standards-sdk.es23.js +5544 -121
  45. package/dist/es/standards-sdk.es23.js.map +1 -1
  46. package/dist/es/standards-sdk.es24.js +36 -7190
  47. package/dist/es/standards-sdk.es24.js.map +1 -1
  48. package/dist/es/standards-sdk.es25.js +48 -36
  49. package/dist/es/standards-sdk.es25.js.map +1 -1
  50. package/dist/es/standards-sdk.es26.js +3 -48
  51. package/dist/es/standards-sdk.es26.js.map +1 -1
  52. package/dist/es/standards-sdk.es27.js +2 -3
  53. package/dist/es/standards-sdk.es27.js.map +1 -1
  54. package/dist/es/standards-sdk.es28.js +1041 -2
  55. package/dist/es/standards-sdk.es28.js.map +1 -1
  56. package/dist/es/standards-sdk.es33.js +7136 -2
  57. package/dist/es/standards-sdk.es33.js.map +1 -1
  58. package/dist/es/standards-sdk.es35.js +3 -84
  59. package/dist/es/standards-sdk.es35.js.map +1 -1
  60. package/dist/es/standards-sdk.es36.js +100 -22
  61. package/dist/es/standards-sdk.es36.js.map +1 -1
  62. package/dist/es/standards-sdk.es37.js +2 -148
  63. package/dist/es/standards-sdk.es37.js.map +1 -1
  64. package/dist/es/standards-sdk.es38.js +15 -90
  65. package/dist/es/standards-sdk.es38.js.map +1 -1
  66. package/dist/es/standards-sdk.es39.js +363 -7090
  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 +347 -178
  70. package/dist/es/standards-sdk.es40.js.map +1 -1
  71. package/dist/es/standards-sdk.es41.js +5 -437
  72. package/dist/es/standards-sdk.es41.js.map +1 -1
  73. package/dist/es/standards-sdk.es42.js +171 -17
  74. package/dist/es/standards-sdk.es42.js.map +1 -1
  75. package/dist/es/standards-sdk.es43.js +71 -129
  76. package/dist/es/standards-sdk.es43.js.map +1 -1
  77. package/dist/es/standards-sdk.es44.js +112 -16
  78. package/dist/es/standards-sdk.es44.js.map +1 -1
  79. package/dist/es/standards-sdk.es45.js +47 -24
  80. package/dist/es/standards-sdk.es45.js.map +1 -1
  81. package/dist/es/standards-sdk.es46.js +9 -28
  82. package/dist/es/standards-sdk.es46.js.map +1 -1
  83. package/dist/es/standards-sdk.es47.js +91 -15
  84. package/dist/es/standards-sdk.es47.js.map +1 -1
  85. package/dist/es/standards-sdk.es48.js +3 -43
  86. package/dist/es/standards-sdk.es48.js.map +1 -1
  87. package/dist/es/standards-sdk.es49.js +2 -18
  88. package/dist/es/standards-sdk.es49.js.map +1 -1
  89. package/dist/es/standards-sdk.es5.js +3 -3
  90. package/dist/es/standards-sdk.es50.js +106 -54
  91. package/dist/es/standards-sdk.es50.js.map +1 -1
  92. package/dist/es/standards-sdk.es51.js +71 -1286
  93. package/dist/es/standards-sdk.es51.js.map +1 -1
  94. package/dist/es/standards-sdk.es52.js +5 -31
  95. package/dist/es/standards-sdk.es52.js.map +1 -1
  96. package/dist/es/standards-sdk.es53.js +4 -5
  97. package/dist/es/standards-sdk.es53.js.map +1 -1
  98. package/dist/es/standards-sdk.es54.js +200 -138
  99. package/dist/es/standards-sdk.es54.js.map +1 -1
  100. package/dist/es/standards-sdk.es55.js +53 -788
  101. package/dist/es/standards-sdk.es55.js.map +1 -1
  102. package/dist/es/standards-sdk.es56.js +69 -174
  103. package/dist/es/standards-sdk.es56.js.map +1 -1
  104. package/dist/es/standards-sdk.es57.js +2282 -143
  105. package/dist/es/standards-sdk.es57.js.map +1 -1
  106. package/dist/es/standards-sdk.es58.js +164 -3
  107. package/dist/es/standards-sdk.es58.js.map +1 -1
  108. package/dist/es/standards-sdk.es59.js +27 -16
  109. package/dist/es/standards-sdk.es59.js.map +1 -1
  110. package/dist/es/standards-sdk.es60.js +61 -25
  111. package/dist/es/standards-sdk.es60.js.map +1 -1
  112. package/dist/es/standards-sdk.es61.js +47 -23
  113. package/dist/es/standards-sdk.es61.js.map +1 -1
  114. package/dist/es/standards-sdk.es62.js +8 -36
  115. package/dist/es/standards-sdk.es62.js.map +1 -1
  116. package/dist/es/standards-sdk.es63.js +59 -95
  117. package/dist/es/standards-sdk.es63.js.map +1 -1
  118. package/dist/es/standards-sdk.es64.js +6 -2
  119. package/dist/es/standards-sdk.es64.js.map +1 -1
  120. package/dist/es/standards-sdk.es65.js +14 -15
  121. package/dist/es/standards-sdk.es65.js.map +1 -1
  122. package/dist/es/standards-sdk.es66.js +7 -409
  123. package/dist/es/standards-sdk.es66.js.map +1 -1
  124. package/dist/es/standards-sdk.es67.js +39 -358
  125. package/dist/es/standards-sdk.es67.js.map +1 -1
  126. package/dist/es/standards-sdk.es68.js +2 -6
  127. package/dist/es/standards-sdk.es68.js.map +1 -1
  128. package/dist/es/standards-sdk.es69.js +124 -167
  129. package/dist/es/standards-sdk.es69.js.map +1 -1
  130. package/dist/es/standards-sdk.es7.js +3 -3
  131. package/dist/es/standards-sdk.es70.js +165 -74
  132. package/dist/es/standards-sdk.es70.js.map +1 -1
  133. package/dist/es/standards-sdk.es71.js +11 -112
  134. package/dist/es/standards-sdk.es71.js.map +1 -1
  135. package/dist/es/standards-sdk.es72.js +13 -52
  136. package/dist/es/standards-sdk.es72.js.map +1 -1
  137. package/dist/es/standards-sdk.es73.js +31 -9
  138. package/dist/es/standards-sdk.es73.js.map +1 -1
  139. package/dist/es/standards-sdk.es74.js +14 -96
  140. package/dist/es/standards-sdk.es74.js.map +1 -1
  141. package/dist/es/standards-sdk.es75.js +3 -3
  142. package/dist/es/standards-sdk.es75.js.map +1 -1
  143. package/dist/es/standards-sdk.es76.js +4 -2
  144. package/dist/es/standards-sdk.es76.js.map +1 -1
  145. package/dist/es/standards-sdk.es77.js +14 -111
  146. package/dist/es/standards-sdk.es77.js.map +1 -1
  147. package/dist/es/standards-sdk.es78.js +4 -73
  148. package/dist/es/standards-sdk.es78.js.map +1 -1
  149. package/dist/es/standards-sdk.es79.js +39 -6
  150. package/dist/es/standards-sdk.es79.js.map +1 -1
  151. package/dist/es/standards-sdk.es8.js +3 -3
  152. package/dist/es/standards-sdk.es80.js +40 -5
  153. package/dist/es/standards-sdk.es80.js.map +1 -1
  154. package/dist/es/standards-sdk.es81.js +33 -217
  155. package/dist/es/standards-sdk.es81.js.map +1 -1
  156. package/dist/es/standards-sdk.es82.js +71 -51
  157. package/dist/es/standards-sdk.es82.js.map +1 -1
  158. package/dist/es/standards-sdk.es83.js +2 -69
  159. package/dist/es/standards-sdk.es83.js.map +1 -1
  160. package/dist/es/standards-sdk.es84.js +3 -2282
  161. package/dist/es/standards-sdk.es84.js.map +1 -1
  162. package/dist/es/standards-sdk.es85.js +2 -164
  163. package/dist/es/standards-sdk.es85.js.map +1 -1
  164. package/dist/es/standards-sdk.es86.js +2 -32
  165. package/dist/es/standards-sdk.es86.js.map +1 -1
  166. package/dist/es/standards-sdk.es87.js +31 -60
  167. package/dist/es/standards-sdk.es87.js.map +1 -1
  168. package/dist/es/standards-sdk.es88.js +30 -47
  169. package/dist/es/standards-sdk.es88.js.map +1 -1
  170. package/dist/es/standards-sdk.es89.js +9 -10
  171. package/dist/es/standards-sdk.es89.js.map +1 -1
  172. package/dist/es/standards-sdk.es9.js +1 -1
  173. package/dist/es/standards-sdk.es90.js +30 -61
  174. package/dist/es/standards-sdk.es90.js.map +1 -1
  175. package/dist/es/standards-sdk.es91.js +194 -5
  176. package/dist/es/standards-sdk.es91.js.map +1 -1
  177. package/dist/es/standards-sdk.es92.js +437 -14
  178. package/dist/es/standards-sdk.es92.js.map +1 -1
  179. package/dist/es/standards-sdk.es93.js +25 -7
  180. package/dist/es/standards-sdk.es93.js.map +1 -1
  181. package/dist/es/standards-sdk.es94.js +135 -41
  182. package/dist/es/standards-sdk.es94.js.map +1 -1
  183. package/dist/es/standards-sdk.es95.js +18 -2
  184. package/dist/es/standards-sdk.es95.js.map +1 -1
  185. package/dist/es/standards-sdk.es96.js +29 -136
  186. package/dist/es/standards-sdk.es96.js.map +1 -1
  187. package/dist/es/standards-sdk.es97.js +26 -169
  188. package/dist/es/standards-sdk.es97.js.map +1 -1
  189. package/dist/es/standards-sdk.es98.js +20 -31
  190. package/dist/es/standards-sdk.es98.js.map +1 -1
  191. package/dist/es/standards-sdk.es99.js +43 -14
  192. package/dist/es/standards-sdk.es99.js.map +1 -1
  193. package/dist/umd/standards-sdk.umd.js +5 -5
  194. package/dist/umd/standards-sdk.umd.js.map +1 -1
  195. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es57.js","sources":["../../node_modules/ethers/lib.esm/utils/utf8.js"],"sourcesContent":["/**\n * Using strings in Ethereum (or any security-basd system) requires\n * additional care. These utilities attempt to mitigate some of the\n * safety issues as well as provide the ability to recover and analyse\n * strings.\n *\n * @_subsection api/utils:Strings and UTF-8 [about-strings]\n */\nimport { getBytes } from \"./data.js\";\nimport { assertArgument, assertNormalize } from \"./errors.js\";\nfunction errorFunc(reason, offset, bytes, output, badCodepoint) {\n assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, \"bytes\", bytes);\n}\nfunction ignoreFunc(reason, offset, bytes, output, badCodepoint) {\n // If there is an invalid prefix (including stray continuation), skip any additional continuation bytes\n if (reason === \"BAD_PREFIX\" || reason === \"UNEXPECTED_CONTINUE\") {\n let i = 0;\n for (let o = offset + 1; o < bytes.length; o++) {\n if (bytes[o] >> 6 !== 0x02) {\n break;\n }\n i++;\n }\n return i;\n }\n // This byte runs us past the end of the string, so just jump to the end\n // (but the first byte was read already read and therefore skipped)\n if (reason === \"OVERRUN\") {\n return bytes.length - offset - 1;\n }\n // Nothing to skip\n return 0;\n}\nfunction replaceFunc(reason, offset, bytes, output, badCodepoint) {\n // Overlong representations are otherwise \"valid\" code points; just non-deistingtished\n if (reason === \"OVERLONG\") {\n assertArgument(typeof (badCodepoint) === \"number\", \"invalid bad code point for replacement\", \"badCodepoint\", badCodepoint);\n output.push(badCodepoint);\n return 0;\n }\n // Put the replacement character into the output\n output.push(0xfffd);\n // Otherwise, process as if ignoring errors\n return ignoreFunc(reason, offset, bytes, output, badCodepoint);\n}\n/**\n * A handful of popular, built-in UTF-8 error handling strategies.\n *\n * **``\"error\"``** - throws on ANY illegal UTF-8 sequence or\n * non-canonical (overlong) codepoints (this is the default)\n *\n * **``\"ignore\"``** - silently drops any illegal UTF-8 sequence\n * and accepts non-canonical (overlong) codepoints\n *\n * **``\"replace\"``** - replace any illegal UTF-8 sequence with the\n * UTF-8 replacement character (i.e. ``\"\\\\ufffd\"``) and accepts\n * non-canonical (overlong) codepoints\n *\n * @returns: Record<\"error\" | \"ignore\" | \"replace\", Utf8ErrorFunc>\n */\nexport const Utf8ErrorFuncs = Object.freeze({\n error: errorFunc,\n ignore: ignoreFunc,\n replace: replaceFunc\n});\n// http://stackoverflow.com/questions/13356493/decode-utf-8-with-javascript#13691499\nfunction getUtf8CodePoints(_bytes, onError) {\n if (onError == null) {\n onError = Utf8ErrorFuncs.error;\n }\n const bytes = getBytes(_bytes, \"bytes\");\n const result = [];\n let i = 0;\n // Invalid bytes are ignored\n while (i < bytes.length) {\n const c = bytes[i++];\n // 0xxx xxxx\n if (c >> 7 === 0) {\n result.push(c);\n continue;\n }\n // Multibyte; how many bytes left for this character?\n let extraLength = null;\n let overlongMask = null;\n // 110x xxxx 10xx xxxx\n if ((c & 0xe0) === 0xc0) {\n extraLength = 1;\n overlongMask = 0x7f;\n // 1110 xxxx 10xx xxxx 10xx xxxx\n }\n else if ((c & 0xf0) === 0xe0) {\n extraLength = 2;\n overlongMask = 0x7ff;\n // 1111 0xxx 10xx xxxx 10xx xxxx 10xx xxxx\n }\n else if ((c & 0xf8) === 0xf0) {\n extraLength = 3;\n overlongMask = 0xffff;\n }\n else {\n if ((c & 0xc0) === 0x80) {\n i += onError(\"UNEXPECTED_CONTINUE\", i - 1, bytes, result);\n }\n else {\n i += onError(\"BAD_PREFIX\", i - 1, bytes, result);\n }\n continue;\n }\n // Do we have enough bytes in our data?\n if (i - 1 + extraLength >= bytes.length) {\n i += onError(\"OVERRUN\", i - 1, bytes, result);\n continue;\n }\n // Remove the length prefix from the char\n let res = c & ((1 << (8 - extraLength - 1)) - 1);\n for (let j = 0; j < extraLength; j++) {\n let nextChar = bytes[i];\n // Invalid continuation byte\n if ((nextChar & 0xc0) != 0x80) {\n i += onError(\"MISSING_CONTINUE\", i, bytes, result);\n res = null;\n break;\n }\n ;\n res = (res << 6) | (nextChar & 0x3f);\n i++;\n }\n // See above loop for invalid continuation byte\n if (res === null) {\n continue;\n }\n // Maximum code point\n if (res > 0x10ffff) {\n i += onError(\"OUT_OF_RANGE\", i - 1 - extraLength, bytes, result, res);\n continue;\n }\n // Reserved for UTF-16 surrogate halves\n if (res >= 0xd800 && res <= 0xdfff) {\n i += onError(\"UTF16_SURROGATE\", i - 1 - extraLength, bytes, result, res);\n continue;\n }\n // Check for overlong sequences (more bytes than needed)\n if (res <= overlongMask) {\n i += onError(\"OVERLONG\", i - 1 - extraLength, bytes, result, res);\n continue;\n }\n result.push(res);\n }\n return result;\n}\n// http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array\n/**\n * Returns the UTF-8 byte representation of %%str%%.\n *\n * If %%form%% is specified, the string is normalized.\n */\nexport function toUtf8Bytes(str, form) {\n assertArgument(typeof (str) === \"string\", \"invalid string value\", \"str\", str);\n if (form != null) {\n assertNormalize(form);\n str = str.normalize(form);\n }\n let result = [];\n for (let i = 0; i < str.length; i++) {\n const c = str.charCodeAt(i);\n if (c < 0x80) {\n result.push(c);\n }\n else if (c < 0x800) {\n result.push((c >> 6) | 0xc0);\n result.push((c & 0x3f) | 0x80);\n }\n else if ((c & 0xfc00) == 0xd800) {\n i++;\n const c2 = str.charCodeAt(i);\n assertArgument(i < str.length && ((c2 & 0xfc00) === 0xdc00), \"invalid surrogate pair\", \"str\", str);\n // Surrogate Pair\n const pair = 0x10000 + ((c & 0x03ff) << 10) + (c2 & 0x03ff);\n result.push((pair >> 18) | 0xf0);\n result.push(((pair >> 12) & 0x3f) | 0x80);\n result.push(((pair >> 6) & 0x3f) | 0x80);\n result.push((pair & 0x3f) | 0x80);\n }\n else {\n result.push((c >> 12) | 0xe0);\n result.push(((c >> 6) & 0x3f) | 0x80);\n result.push((c & 0x3f) | 0x80);\n }\n }\n return new Uint8Array(result);\n}\n;\n//export \nfunction _toUtf8String(codePoints) {\n return codePoints.map((codePoint) => {\n if (codePoint <= 0xffff) {\n return String.fromCharCode(codePoint);\n }\n codePoint -= 0x10000;\n return String.fromCharCode((((codePoint >> 10) & 0x3ff) + 0xd800), ((codePoint & 0x3ff) + 0xdc00));\n }).join(\"\");\n}\n/**\n * Returns the string represented by the UTF-8 data %%bytes%%.\n *\n * When %%onError%% function is specified, it is called on UTF-8\n * errors allowing recovery using the [[Utf8ErrorFunc]] API.\n * (default: [error](Utf8ErrorFuncs))\n */\nexport function toUtf8String(bytes, onError) {\n return _toUtf8String(getUtf8CodePoints(bytes, onError));\n}\n/**\n * Returns the UTF-8 code-points for %%str%%.\n *\n * If %%form%% is specified, the string is normalized.\n */\nexport function toUtf8CodePoints(str, form) {\n return getUtf8CodePoints(toUtf8Bytes(str, form));\n}\n//# sourceMappingURL=utf8.js.map"],"names":[],"mappings":";;AAUA,SAAS,UAAU,QAAQ,QAAQ,OAAO,QAAQ,cAAc;AAC5D,iBAAe,OAAO,+BAA+B,MAAM,KAAK,MAAM,IAAI,SAAS,KAAK;AAC5F;AACA,SAAS,WAAW,QAAQ,QAAQ,OAAO,QAAQ,cAAc;AAE7D,MAAI,WAAW,gBAAgB,WAAW,uBAAuB;AAC7D,QAAI,IAAI;AAC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;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,167 @@
1
- const global = globalThis || void 0 || self;
1
+ function getDefaultExportFromCjs(x) {
2
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
3
+ }
4
+ var browser = { exports: {} };
5
+ var process = browser.exports = {};
6
+ var cachedSetTimeout;
7
+ var cachedClearTimeout;
8
+ function defaultSetTimout() {
9
+ throw new Error("setTimeout has not been defined");
10
+ }
11
+ function defaultClearTimeout() {
12
+ throw new Error("clearTimeout has not been defined");
13
+ }
14
+ (function() {
15
+ try {
16
+ if (typeof setTimeout === "function") {
17
+ cachedSetTimeout = setTimeout;
18
+ } else {
19
+ cachedSetTimeout = defaultSetTimout;
20
+ }
21
+ } catch (e) {
22
+ cachedSetTimeout = defaultSetTimout;
23
+ }
24
+ try {
25
+ if (typeof clearTimeout === "function") {
26
+ cachedClearTimeout = clearTimeout;
27
+ } else {
28
+ cachedClearTimeout = defaultClearTimeout;
29
+ }
30
+ } catch (e) {
31
+ cachedClearTimeout = defaultClearTimeout;
32
+ }
33
+ })();
34
+ function runTimeout(fun) {
35
+ if (cachedSetTimeout === setTimeout) {
36
+ return setTimeout(fun, 0);
37
+ }
38
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
39
+ cachedSetTimeout = setTimeout;
40
+ return setTimeout(fun, 0);
41
+ }
42
+ try {
43
+ return cachedSetTimeout(fun, 0);
44
+ } catch (e) {
45
+ try {
46
+ return cachedSetTimeout.call(null, fun, 0);
47
+ } catch (e2) {
48
+ return cachedSetTimeout.call(this, fun, 0);
49
+ }
50
+ }
51
+ }
52
+ function runClearTimeout(marker) {
53
+ if (cachedClearTimeout === clearTimeout) {
54
+ return clearTimeout(marker);
55
+ }
56
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
57
+ cachedClearTimeout = clearTimeout;
58
+ return clearTimeout(marker);
59
+ }
60
+ try {
61
+ return cachedClearTimeout(marker);
62
+ } catch (e) {
63
+ try {
64
+ return cachedClearTimeout.call(null, marker);
65
+ } catch (e2) {
66
+ return cachedClearTimeout.call(this, marker);
67
+ }
68
+ }
69
+ }
70
+ var queue = [];
71
+ var draining = false;
72
+ var currentQueue;
73
+ var queueIndex = -1;
74
+ function cleanUpNextTick() {
75
+ if (!draining || !currentQueue) {
76
+ return;
77
+ }
78
+ draining = false;
79
+ if (currentQueue.length) {
80
+ queue = currentQueue.concat(queue);
81
+ } else {
82
+ queueIndex = -1;
83
+ }
84
+ if (queue.length) {
85
+ drainQueue();
86
+ }
87
+ }
88
+ function drainQueue() {
89
+ if (draining) {
90
+ return;
91
+ }
92
+ var timeout = runTimeout(cleanUpNextTick);
93
+ draining = true;
94
+ var len = queue.length;
95
+ while (len) {
96
+ currentQueue = queue;
97
+ queue = [];
98
+ while (++queueIndex < len) {
99
+ if (currentQueue) {
100
+ currentQueue[queueIndex].run();
101
+ }
102
+ }
103
+ queueIndex = -1;
104
+ len = queue.length;
105
+ }
106
+ currentQueue = null;
107
+ draining = false;
108
+ runClearTimeout(timeout);
109
+ }
110
+ process.nextTick = function(fun) {
111
+ var args = new Array(arguments.length - 1);
112
+ if (arguments.length > 1) {
113
+ for (var i = 1; i < arguments.length; i++) {
114
+ args[i - 1] = arguments[i];
115
+ }
116
+ }
117
+ queue.push(new Item(fun, args));
118
+ if (queue.length === 1 && !draining) {
119
+ runTimeout(drainQueue);
120
+ }
121
+ };
122
+ function Item(fun, array) {
123
+ this.fun = fun;
124
+ this.array = array;
125
+ }
126
+ Item.prototype.run = function() {
127
+ this.fun.apply(null, this.array);
128
+ };
129
+ process.title = "browser";
130
+ process.browser = true;
131
+ process.env = {};
132
+ process.argv = [];
133
+ process.version = "";
134
+ process.versions = {};
135
+ function noop() {
136
+ }
137
+ process.on = noop;
138
+ process.addListener = noop;
139
+ process.once = noop;
140
+ process.off = noop;
141
+ process.removeListener = noop;
142
+ process.removeAllListeners = noop;
143
+ process.emit = noop;
144
+ process.prependListener = noop;
145
+ process.prependOnceListener = noop;
146
+ process.listeners = function(name) {
147
+ return [];
148
+ };
149
+ process.binding = function(name) {
150
+ throw new Error("process.binding is not supported");
151
+ };
152
+ process.cwd = function() {
153
+ return "/";
154
+ };
155
+ process.chdir = function(dir) {
156
+ throw new Error("process.chdir is not supported");
157
+ };
158
+ process.umask = function() {
159
+ return 0;
160
+ };
161
+ var browserExports = browser.exports;
162
+ const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
2
163
  export {
3
- global as default,
4
- global
164
+ process$1 as default,
165
+ process$1 as process
5
166
  };
6
167
  //# sourceMappingURL=standards-sdk.es58.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es58.js","sources":["../../node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js"],"sourcesContent":["const global = globalThis || void 0 || self;\n\nexport { global as default, global };\n//# sourceMappingURL=index.js.map\n"],"names":[],"mappings":"AAAK,MAAC,SAAS,cAAc,UAAU;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es58.js","sources":["../../node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js"],"sourcesContent":["function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar browser = {exports: {}};\n\n// shim for using process in browser\nvar process = browser.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ());\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] };\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\nvar browserExports = browser.exports;\nconst process$1 = /*@__PURE__*/getDefaultExportFromCjs(browserExports);\n\nexport { process$1 as default, process$1 as process };\n//# sourceMappingURL=index.js.map\n"],"names":["e"],"mappings":"AAAA,SAAS,wBAAyB,GAAG;AACpC,SAAO,KAAK,EAAE,cAAc,OAAO,UAAU,eAAe,KAAK,GAAG,SAAS,IAAI,EAAE,SAAS,IAAI;AACjG;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UAAU,MAAM,WAAY;AAC7B,OAAK,IAAI,MAAM,MAAM,KAAK,KAAK;AACnC;AACA,QAAQ,QAAQ;AAChB,QAAQ,UAAU;AAClB,QAAQ,MAAM,CAAE;AAChB,QAAQ,OAAO,CAAE;AACjB,QAAQ,UAAU;AAClB,QAAQ,WAAW,CAAE;AAErB,SAAS,OAAO;AAAA;AAEhB,QAAQ,KAAK;AACb,QAAQ,cAAc;AACtB,QAAQ,OAAO;AACf,QAAQ,MAAM;AACd,QAAQ,iBAAiB;AACzB,QAAQ,qBAAqB;AAC7B,QAAQ,OAAO;AACf,QAAQ,kBAAkB;AAC1B,QAAQ,sBAAsB;AAE9B,QAAQ,YAAY,SAAU,MAAM;AAAE,SAAO,CAAA;AAAI;AAEjD,QAAQ,UAAU,SAAU,MAAM;AAC9B,QAAM,IAAI,MAAM,kCAAkC;AACtD;AAEA,QAAQ,MAAM,WAAY;AAAE,SAAO;AAAK;AACxC,QAAQ,QAAQ,SAAU,KAAK;AAC3B,QAAM,IAAI,MAAM,gCAAgC;AACpD;AACA,QAAQ,QAAQ,WAAW;AAAE,SAAO;AAAI;AAExC,IAAI,iBAAiB,QAAQ;AACxB,MAAC,YAAyB,wCAAwB,cAAc;","x_google_ignoreList":[0]}
@@ -1,24 +1,35 @@
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.es41.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;
1
+ import utils from "./standards-sdk.es40.js";
2
+ import AxiosURLSearchParams from "./standards-sdk.es73.js";
3
+ function encode(val) {
4
+ return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
5
+ }
6
+ function buildURL(url, params, options) {
7
+ if (!params) {
8
+ return url;
10
9
  }
11
- defaultValue() {
12
- return this.coder.defaultValue();
10
+ const _encode = options && options.encode || encode;
11
+ if (utils.isFunction(options)) {
12
+ options = {
13
+ serialize: options
14
+ };
13
15
  }
14
- encode(writer, value) {
15
- return this.coder.encode(writer, value);
16
+ const serializeFn = options && options.serialize;
17
+ let serializedParams;
18
+ if (serializeFn) {
19
+ serializedParams = serializeFn(params, options);
20
+ } else {
21
+ serializedParams = utils.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode);
16
22
  }
17
- decode(reader) {
18
- return this.coder.decode(reader);
23
+ if (serializedParams) {
24
+ const hashmarkIndex = url.indexOf("#");
25
+ if (hashmarkIndex !== -1) {
26
+ url = url.slice(0, hashmarkIndex);
27
+ }
28
+ url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
19
29
  }
30
+ return url;
20
31
  }
21
32
  export {
22
- AnonymousCoder
33
+ buildURL as default
23
34
  };
24
35
  //# sourceMappingURL=standards-sdk.es59.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es59.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.es59.js","sources":["../../node_modules/axios/lib/helpers/buildURL.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n if (utils.isFunction(options)) {\n options = {\n serialize: options\n };\n } \n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ?\n params.toString() :\n new AxiosURLSearchParams(params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n"],"names":[],"mappings":";;AAaA,SAAS,OAAO,KAAK;AACnB,SAAO,mBAAmB,GAAG,EAC3B,QAAQ,SAAS,GAAG,EACpB,QAAQ,QAAQ,GAAG,EACnB,QAAQ,SAAS,GAAG,EACpB,QAAQ,QAAQ,GAAG,EACnB,QAAQ,SAAS,GAAG,EACpB,QAAQ,SAAS,GAAG;AACxB;AAWe,SAAS,SAAS,KAAK,QAAQ,SAAS;AAErD,MAAI,CAAC,QAAQ;AACX,WAAO;AAAA,EACX;AAEE,QAAM,UAAU,WAAW,QAAQ,UAAU;AAE7C,MAAI,MAAM,WAAW,OAAO,GAAG;AAC7B,cAAU;AAAA,MACR,WAAW;AAAA,IACZ;AAAA,EACF;AAED,QAAM,cAAc,WAAW,QAAQ;AAEvC,MAAI;AAEJ,MAAI,aAAa;AACf,uBAAmB,YAAY,QAAQ,OAAO;AAAA,EAClD,OAAS;AACL,uBAAmB,MAAM,kBAAkB,MAAM,IAC/C,OAAO,SAAU,IACjB,IAAI,qBAAqB,QAAQ,OAAO,EAAE,SAAS,OAAO;AAAA,EAChE;AAEE,MAAI,kBAAkB;AACpB,UAAM,gBAAgB,IAAI,QAAQ,GAAG;AAErC,QAAI,kBAAkB,IAAI;AACxB,YAAM,IAAI,MAAM,GAAG,aAAa;AAAA,IACtC;AACI,YAAQ,IAAI,QAAQ,GAAG,MAAM,KAAK,MAAM,OAAO;AAAA,EACnD;AAEE,SAAO;AACT;","x_google_ignoreList":[0]}
@@ -1,30 +1,66 @@
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}`);
1
+ import utils from "./standards-sdk.es40.js";
2
+ class InterceptorManager {
3
+ constructor() {
4
+ this.handlers = [];
5
+ }
6
+ /**
7
+ * Add a new interceptor to the stack
8
+ *
9
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
10
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
11
+ *
12
+ * @return {Number} An ID used to remove interceptor later
13
+ */
14
+ use(fulfilled, rejected, options) {
15
+ this.handlers.push({
16
+ fulfilled,
17
+ rejected,
18
+ synchronous: options ? options.synchronous : false,
19
+ runWhen: options ? options.runWhen : null
20
+ });
21
+ return this.handlers.length - 1;
22
+ }
23
+ /**
24
+ * Remove an interceptor from the stack
25
+ *
26
+ * @param {Number} id The ID that was returned by `use`
27
+ *
28
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
29
+ */
30
+ eject(id) {
31
+ if (this.handlers[id]) {
32
+ this.handlers[id] = null;
33
+ }
34
+ }
35
+ /**
36
+ * Clear all interceptors from the stack
37
+ *
38
+ * @returns {void}
39
+ */
40
+ clear() {
41
+ if (this.handlers) {
42
+ this.handlers = [];
43
+ }
44
+ }
45
+ /**
46
+ * Iterate over all the registered interceptors
47
+ *
48
+ * This method is particularly useful for skipping over any
49
+ * interceptors that may have become `null` calling `eject`.
50
+ *
51
+ * @param {Function} fn The function to call for each interceptor
52
+ *
53
+ * @returns {void}
54
+ */
55
+ forEach(fn) {
56
+ utils.forEach(this.handlers, function forEachHandler(h) {
57
+ if (h !== null) {
58
+ fn(h);
59
+ }
60
+ });
22
61
  }
23
62
  }
24
63
  export {
25
- bytes,
26
- exists,
27
- number,
28
- output
64
+ InterceptorManager as default
29
65
  };
30
66
  //# sourceMappingURL=standards-sdk.es60.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es60.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.es60.js","sources":["../../node_modules/axios/lib/core/InterceptorManager.js"],"sourcesContent":["'use strict';\n\nimport utils from './../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n"],"names":[],"mappings":";AAIA,MAAM,mBAAmB;AAAA,EACvB,cAAc;AACZ,SAAK,WAAW,CAAE;AAAA,EACtB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUE,IAAI,WAAW,UAAU,SAAS;AAChC,SAAK,SAAS,KAAK;AAAA,MACjB;AAAA,MACA;AAAA,MACA,aAAa,UAAU,QAAQ,cAAc;AAAA,MAC7C,SAAS,UAAU,QAAQ,UAAU;AAAA,IAC3C,CAAK;AACD,WAAO,KAAK,SAAS,SAAS;AAAA,EAClC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASE,MAAM,IAAI;AACR,QAAI,KAAK,SAAS,EAAE,GAAG;AACrB,WAAK,SAAS,EAAE,IAAI;AAAA,IAC1B;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOE,QAAQ;AACN,QAAI,KAAK,UAAU;AACjB,WAAK,WAAW,CAAE;AAAA,IACxB;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYE,QAAQ,IAAI;AACV,UAAM,QAAQ,KAAK,UAAU,SAAS,eAAe,GAAG;AACtD,UAAI,MAAM,MAAM;AACd,WAAG,CAAC;AAAA,MACZ;AAAA,IACA,CAAK;AAAA,EACL;AACA;","x_google_ignoreList":[0]}
@@ -1,29 +1,53 @@
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 };
1
+ import transformData from "./standards-sdk.es74.js";
2
+ import isCancel from "./standards-sdk.es48.js";
3
+ import defaults from "./standards-sdk.es44.js";
4
+ import CanceledError from "./standards-sdk.es46.js";
5
+ import AxiosHeaders from "./standards-sdk.es54.js";
6
+ import adapters from "./standards-sdk.es55.js";
7
+ function throwIfCancellationRequested(config) {
8
+ if (config.cancelToken) {
9
+ config.cancelToken.throwIfRequested();
10
+ }
11
+ if (config.signal && config.signal.aborted) {
12
+ throw new CanceledError(null, config);
13
+ }
7
14
  }
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];
15
+ function dispatchRequest(config) {
16
+ throwIfCancellationRequested(config);
17
+ config.headers = AxiosHeaders.from(config.headers);
18
+ config.data = transformData.call(
19
+ config,
20
+ config.transformRequest
21
+ );
22
+ if (["post", "put", "patch"].indexOf(config.method) !== -1) {
23
+ config.headers.setContentType("application/x-www-form-urlencoded", false);
14
24
  }
15
- return [Ah, Al];
25
+ const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
26
+ return adapter(config).then(function onAdapterResolution(response) {
27
+ throwIfCancellationRequested(config);
28
+ response.data = transformData.call(
29
+ config,
30
+ config.transformResponse,
31
+ response
32
+ );
33
+ response.headers = AxiosHeaders.from(response.headers);
34
+ return response;
35
+ }, function onAdapterRejection(reason) {
36
+ if (!isCancel(reason)) {
37
+ throwIfCancellationRequested(config);
38
+ if (reason && reason.response) {
39
+ reason.response.data = transformData.call(
40
+ config,
41
+ config.transformResponse,
42
+ reason.response
43
+ );
44
+ reason.response.headers = AxiosHeaders.from(reason.response.headers);
45
+ }
46
+ }
47
+ return Promise.reject(reason);
48
+ });
16
49
  }
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;
21
50
  export {
22
- fromBig,
23
- rotlBH,
24
- rotlBL,
25
- rotlSH,
26
- rotlSL,
27
- split
51
+ dispatchRequest as default
28
52
  };
29
53
  //# sourceMappingURL=standards-sdk.es61.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es61.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.es61.js","sources":["../../node_modules/axios/lib/core/dispatchRequest.js"],"sourcesContent":["'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from \"../adapters/adapters.js\";\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.transformRequest\n );\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter);\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n config.transformResponse,\n response\n );\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n });\n}\n"],"names":[],"mappings":";;;;;;AAgBA,SAAS,6BAA6B,QAAQ;AAC5C,MAAI,OAAO,aAAa;AACtB,WAAO,YAAY,iBAAkB;AAAA,EACzC;AAEE,MAAI,OAAO,UAAU,OAAO,OAAO,SAAS;AAC1C,UAAM,IAAI,cAAc,MAAM,MAAM;AAAA,EACxC;AACA;AASe,SAAS,gBAAgB,QAAQ;AAC9C,+BAA6B,MAAM;AAEnC,SAAO,UAAU,aAAa,KAAK,OAAO,OAAO;AAGjD,SAAO,OAAO,cAAc;AAAA,IAC1B;AAAA,IACA,OAAO;AAAA,EACR;AAED,MAAI,CAAC,QAAQ,OAAO,OAAO,EAAE,QAAQ,OAAO,MAAM,MAAM,IAAI;AAC1D,WAAO,QAAQ,eAAe,qCAAqC,KAAK;AAAA,EAC5E;AAEE,QAAM,UAAU,SAAS,WAAW,OAAO,WAAW,SAAS,OAAO;AAEtE,SAAO,QAAQ,MAAM,EAAE,KAAK,SAAS,oBAAoB,UAAU;AACjE,iCAA6B,MAAM;AAGnC,aAAS,OAAO,cAAc;AAAA,MAC5B;AAAA,MACA,OAAO;AAAA,MACP;AAAA,IACD;AAED,aAAS,UAAU,aAAa,KAAK,SAAS,OAAO;AAErD,WAAO;AAAA,EACX,GAAK,SAAS,mBAAmB,QAAQ;AACrC,QAAI,CAAC,SAAS,MAAM,GAAG;AACrB,mCAA6B,MAAM;AAGnC,UAAI,UAAU,OAAO,UAAU;AAC7B,eAAO,SAAS,OAAO,cAAc;AAAA,UACnC;AAAA,UACA,OAAO;AAAA,UACP,OAAO;AAAA,QACR;AACD,eAAO,SAAS,UAAU,aAAa,KAAK,OAAO,SAAS,OAAO;AAAA,MAC3E;AAAA,IACA;AAEI,WAAO,QAAQ,OAAO,MAAM;AAAA,EAChC,CAAG;AACH;","x_google_ignoreList":[0]}
@@ -1,41 +1,13 @@
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 isAbsoluteURL from "./standards-sdk.es75.js";
2
+ import combineURLs from "./standards-sdk.es76.js";
3
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
4
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
5
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
6
+ return combineURLs(baseURL, requestedURL);
23
7
  }
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;
8
+ return requestedURL;
32
9
  }
33
10
  export {
34
- Hash,
35
- isLE,
36
- toBytes,
37
- u32,
38
- utf8ToBytes,
39
- wrapConstructor
11
+ buildFullPath as default
40
12
  };
41
13
  //# sourceMappingURL=standards-sdk.es62.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es62.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.es62.js","sources":["../../node_modules/axios/lib/core/buildFullPath.js"],"sourcesContent":["'use strict';\n\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n"],"names":[],"mappings":";;AAee,SAAS,cAAc,SAAS,cAAc,mBAAmB;AAC9E,MAAI,gBAAgB,CAAC,cAAc,YAAY;AAC/C,MAAI,YAAY,iBAAiB,qBAAqB,QAAQ;AAC5D,WAAO,YAAY,SAAS,YAAY;AAAA,EAC5C;AACE,SAAO;AACT;","x_google_ignoreList":[0]}