@hashgraphonline/standards-sdk 0.0.66 → 0.0.67

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 (181) hide show
  1. package/dist/es/standards-sdk.es100.js +3 -3
  2. package/dist/es/standards-sdk.es100.js.map +1 -1
  3. package/dist/es/standards-sdk.es101.js +4 -2282
  4. package/dist/es/standards-sdk.es101.js.map +1 -1
  5. package/dist/es/standards-sdk.es102.js +1 -1
  6. package/dist/es/standards-sdk.es104.js +1 -1
  7. package/dist/es/standards-sdk.es105.js +6 -6
  8. package/dist/es/standards-sdk.es106.js +3 -3
  9. package/dist/es/standards-sdk.es108.js +1 -1
  10. package/dist/es/standards-sdk.es113.js +1 -1
  11. package/dist/es/standards-sdk.es114.js +2 -2
  12. package/dist/es/standards-sdk.es12.js +3 -3
  13. package/dist/es/standards-sdk.es14.js +1 -1
  14. package/dist/es/standards-sdk.es17.js +2 -2
  15. package/dist/es/standards-sdk.es18.js +3 -3
  16. package/dist/es/standards-sdk.es20.js +966 -1692
  17. package/dist/es/standards-sdk.es20.js.map +1 -1
  18. package/dist/es/standards-sdk.es21.js +1767 -36
  19. package/dist/es/standards-sdk.es21.js.map +1 -1
  20. package/dist/es/standards-sdk.es22.js +3 -48
  21. package/dist/es/standards-sdk.es22.js.map +1 -1
  22. package/dist/es/standards-sdk.es23.js +3839 -6299
  23. package/dist/es/standards-sdk.es23.js.map +1 -1
  24. package/dist/es/standards-sdk.es24.js +36 -3
  25. package/dist/es/standards-sdk.es24.js.map +1 -1
  26. package/dist/es/standards-sdk.es25.js +48 -2
  27. package/dist/es/standards-sdk.es25.js.map +1 -1
  28. package/dist/es/standards-sdk.es26.js +6525 -939
  29. package/dist/es/standards-sdk.es26.js.map +1 -1
  30. package/dist/es/standards-sdk.es27.js +2 -5
  31. package/dist/es/standards-sdk.es27.js.map +1 -1
  32. package/dist/es/standards-sdk.es28.js +5 -4167
  33. package/dist/es/standards-sdk.es28.js.map +1 -1
  34. package/dist/es/standards-sdk.es29.js +3 -419
  35. package/dist/es/standards-sdk.es29.js.map +1 -1
  36. package/dist/es/standards-sdk.es30.js +163 -1
  37. package/dist/es/standards-sdk.es30.js.map +1 -1
  38. package/dist/es/standards-sdk.es31.js +93 -112
  39. package/dist/es/standards-sdk.es31.js.map +1 -1
  40. package/dist/es/standards-sdk.es32.js +2 -2
  41. package/dist/es/standards-sdk.es32.js.map +1 -1
  42. package/dist/es/standards-sdk.es33.js +15 -83
  43. package/dist/es/standards-sdk.es33.js.map +1 -1
  44. package/dist/es/standards-sdk.es34.js +408 -22
  45. package/dist/es/standards-sdk.es34.js.map +1 -1
  46. package/dist/es/standards-sdk.es35.js +402 -131
  47. package/dist/es/standards-sdk.es35.js.map +1 -1
  48. package/dist/es/standards-sdk.es36.js +2 -91
  49. package/dist/es/standards-sdk.es36.js.map +1 -1
  50. package/dist/es/standards-sdk.es37.js +115 -190
  51. package/dist/es/standards-sdk.es37.js.map +1 -1
  52. package/dist/es/standards-sdk.es38.js +2281 -437
  53. package/dist/es/standards-sdk.es38.js.map +1 -1
  54. package/dist/es/standards-sdk.es39.js +3 -24
  55. package/dist/es/standards-sdk.es39.js.map +1 -1
  56. package/dist/es/standards-sdk.es4.js +1 -1
  57. package/dist/es/standards-sdk.es40.js +2 -139
  58. package/dist/es/standards-sdk.es40.js.map +1 -1
  59. package/dist/es/standards-sdk.es41.js +79 -13
  60. package/dist/es/standards-sdk.es41.js.map +1 -1
  61. package/dist/es/standards-sdk.es42.js +21 -27
  62. package/dist/es/standards-sdk.es42.js.map +1 -1
  63. package/dist/es/standards-sdk.es43.js +144 -25
  64. package/dist/es/standards-sdk.es43.js.map +1 -1
  65. package/dist/es/standards-sdk.es44.js +87 -17
  66. package/dist/es/standards-sdk.es44.js.map +1 -1
  67. package/dist/es/standards-sdk.es45.js +168 -38
  68. package/dist/es/standards-sdk.es45.js.map +1 -1
  69. package/dist/es/standards-sdk.es46.js +5 -17
  70. package/dist/es/standards-sdk.es46.js.map +1 -1
  71. package/dist/es/standards-sdk.es47.js +136 -54
  72. package/dist/es/standards-sdk.es47.js.map +1 -1
  73. package/dist/es/standards-sdk.es48.js +159 -1253
  74. package/dist/es/standards-sdk.es48.js.map +1 -1
  75. package/dist/es/standards-sdk.es49.js +431 -25
  76. package/dist/es/standards-sdk.es49.js.map +1 -1
  77. package/dist/es/standards-sdk.es5.js +3 -3
  78. package/dist/es/standards-sdk.es50.js +24 -5
  79. package/dist/es/standards-sdk.es50.js.map +1 -1
  80. package/dist/es/standards-sdk.es51.js +122 -142
  81. package/dist/es/standards-sdk.es51.js.map +1 -1
  82. package/dist/es/standards-sdk.es52.js +13 -788
  83. package/dist/es/standards-sdk.es52.js.map +1 -1
  84. package/dist/es/standards-sdk.es53.js +22 -167
  85. package/dist/es/standards-sdk.es53.js.map +1 -1
  86. package/dist/es/standards-sdk.es54.js +23 -137
  87. package/dist/es/standards-sdk.es54.js.map +1 -1
  88. package/dist/es/standards-sdk.es55.js +20 -3
  89. package/dist/es/standards-sdk.es55.js.map +1 -1
  90. package/dist/es/standards-sdk.es56.js +39 -359
  91. package/dist/es/standards-sdk.es56.js.map +1 -1
  92. package/dist/es/standards-sdk.es57.js +17 -5
  93. package/dist/es/standards-sdk.es57.js.map +1 -1
  94. package/dist/es/standards-sdk.es58.js +50 -168
  95. package/dist/es/standards-sdk.es58.js.map +1 -1
  96. package/dist/es/standards-sdk.es59.js +1287 -79
  97. package/dist/es/standards-sdk.es59.js.map +1 -1
  98. package/dist/es/standards-sdk.es60.js +28 -110
  99. package/dist/es/standards-sdk.es60.js.map +1 -1
  100. package/dist/es/standards-sdk.es61.js +150 -43
  101. package/dist/es/standards-sdk.es61.js.map +1 -1
  102. package/dist/es/standards-sdk.es62.js +792 -9
  103. package/dist/es/standards-sdk.es62.js.map +1 -1
  104. package/dist/es/standards-sdk.es63.js +25 -95
  105. package/dist/es/standards-sdk.es63.js.map +1 -1
  106. package/dist/es/standards-sdk.es64.js +25 -3
  107. package/dist/es/standards-sdk.es64.js.map +1 -1
  108. package/dist/es/standards-sdk.es65.js +38 -2
  109. package/dist/es/standards-sdk.es65.js.map +1 -1
  110. package/dist/es/standards-sdk.es66.js +16 -108
  111. package/dist/es/standards-sdk.es66.js.map +1 -1
  112. package/dist/es/standards-sdk.es67.js +357 -67
  113. package/dist/es/standards-sdk.es67.js.map +1 -1
  114. package/dist/es/standards-sdk.es68.js +4 -4
  115. package/dist/es/standards-sdk.es68.js.map +1 -1
  116. package/dist/es/standards-sdk.es69.js +178 -4
  117. package/dist/es/standards-sdk.es69.js.map +1 -1
  118. package/dist/es/standards-sdk.es7.js +3 -3
  119. package/dist/es/standards-sdk.es70.js +70 -210
  120. package/dist/es/standards-sdk.es70.js.map +1 -1
  121. package/dist/es/standards-sdk.es71.js +106 -50
  122. package/dist/es/standards-sdk.es71.js.map +1 -1
  123. package/dist/es/standards-sdk.es72.js +52 -69
  124. package/dist/es/standards-sdk.es72.js.map +1 -1
  125. package/dist/es/standards-sdk.es73.js +9 -20
  126. package/dist/es/standards-sdk.es73.js.map +1 -1
  127. package/dist/es/standards-sdk.es74.js +95 -25
  128. package/dist/es/standards-sdk.es74.js.map +1 -1
  129. package/dist/es/standards-sdk.es75.js +3 -25
  130. package/dist/es/standards-sdk.es75.js.map +1 -1
  131. package/dist/es/standards-sdk.es76.js +2 -38
  132. package/dist/es/standards-sdk.es76.js.map +1 -1
  133. package/dist/es/standards-sdk.es77.js +113 -3
  134. package/dist/es/standards-sdk.es77.js.map +1 -1
  135. package/dist/es/standards-sdk.es78.js +68 -158
  136. package/dist/es/standards-sdk.es78.js.map +1 -1
  137. package/dist/es/standards-sdk.es79.js +5 -31
  138. package/dist/es/standards-sdk.es79.js.map +1 -1
  139. package/dist/es/standards-sdk.es8.js +3 -3
  140. package/dist/es/standards-sdk.es80.js +4 -62
  141. package/dist/es/standards-sdk.es80.js.map +1 -1
  142. package/dist/es/standards-sdk.es81.js +217 -46
  143. package/dist/es/standards-sdk.es81.js.map +1 -1
  144. package/dist/es/standards-sdk.es82.js +57 -9
  145. package/dist/es/standards-sdk.es82.js.map +1 -1
  146. package/dist/es/standards-sdk.es83.js +68 -64
  147. package/dist/es/standards-sdk.es83.js.map +1 -1
  148. package/dist/es/standards-sdk.es84.js +32 -6
  149. package/dist/es/standards-sdk.es84.js.map +1 -1
  150. package/dist/es/standards-sdk.es85.js +61 -13
  151. package/dist/es/standards-sdk.es85.js.map +1 -1
  152. package/dist/es/standards-sdk.es86.js +50 -7
  153. package/dist/es/standards-sdk.es86.js.map +1 -1
  154. package/dist/es/standards-sdk.es87.js +10 -45
  155. package/dist/es/standards-sdk.es87.js.map +1 -1
  156. package/dist/es/standards-sdk.es88.js +65 -2
  157. package/dist/es/standards-sdk.es88.js.map +1 -1
  158. package/dist/es/standards-sdk.es89.js +5 -135
  159. package/dist/es/standards-sdk.es89.js.map +1 -1
  160. package/dist/es/standards-sdk.es9.js +1 -1
  161. package/dist/es/standards-sdk.es90.js +13 -170
  162. package/dist/es/standards-sdk.es90.js.map +1 -1
  163. package/dist/es/standards-sdk.es91.js +7 -101
  164. package/dist/es/standards-sdk.es91.js.map +1 -1
  165. package/dist/es/standards-sdk.es92.js +45 -2
  166. package/dist/es/standards-sdk.es92.js.map +1 -1
  167. package/dist/es/standards-sdk.es93.js +2 -16
  168. package/dist/es/standards-sdk.es93.js.map +1 -1
  169. package/dist/es/standards-sdk.es94.js +131 -404
  170. package/dist/es/standards-sdk.es94.js.map +1 -1
  171. package/dist/es/standards-sdk.es95.js +171 -12
  172. package/dist/es/standards-sdk.es95.js.map +1 -1
  173. package/dist/es/standards-sdk.es96.js +13 -13
  174. package/dist/es/standards-sdk.es96.js.map +1 -1
  175. package/dist/es/standards-sdk.es97.js +13 -32
  176. package/dist/es/standards-sdk.es97.js.map +1 -1
  177. package/dist/es/standards-sdk.es98.js +30 -13
  178. package/dist/es/standards-sdk.es98.js.map +1 -1
  179. package/dist/es/standards-sdk.es99.js +14 -3
  180. package/dist/es/standards-sdk.es99.js.map +1 -1
  181. package/package.json +9 -3
@@ -1,41 +1,5 @@
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();
23
- }
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
- }
1
+ const VERSION = "1.8.4";
33
2
  export {
34
- Hash,
35
- isLE,
36
- toBytes,
37
- u32,
38
- utf8ToBytes,
39
- wrapConstructor
3
+ VERSION
40
4
  };
41
5
  //# sourceMappingURL=standards-sdk.es76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es76.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.es76.js","sources":["../../node_modules/axios/lib/env/data.js"],"sourcesContent":["export const VERSION = \"1.8.4\";"],"names":[],"mappings":"AAAY,MAAC,UAAU;","x_google_ignoreList":[0]}
@@ -1,6 +1,116 @@
1
- const global = globalThis || void 0 || self;
1
+ import Buffer from "./standards-sdk.es21.js";
2
+ import utils from "./standards-sdk.es67.js";
3
+ import AxiosError from "./standards-sdk.es78.js";
4
+ function isVisitable(thing) {
5
+ return utils.isPlainObject(thing) || utils.isArray(thing);
6
+ }
7
+ function removeBrackets(key) {
8
+ return utils.endsWith(key, "[]") ? key.slice(0, -2) : key;
9
+ }
10
+ function renderKey(path, key, dots) {
11
+ if (!path) return key;
12
+ return path.concat(key).map(function each(token, i) {
13
+ token = removeBrackets(token);
14
+ return !dots && i ? "[" + token + "]" : token;
15
+ }).join(dots ? "." : "");
16
+ }
17
+ function isFlatArray(arr) {
18
+ return utils.isArray(arr) && !arr.some(isVisitable);
19
+ }
20
+ const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
21
+ return /^is[A-Z]/.test(prop);
22
+ });
23
+ function toFormData(obj, formData, options) {
24
+ if (!utils.isObject(obj)) {
25
+ throw new TypeError("target must be an object");
26
+ }
27
+ formData = formData || new FormData();
28
+ options = utils.toFlatObject(options, {
29
+ metaTokens: true,
30
+ dots: false,
31
+ indexes: false
32
+ }, false, function defined(option, source) {
33
+ return !utils.isUndefined(source[option]);
34
+ });
35
+ const metaTokens = options.metaTokens;
36
+ const visitor = options.visitor || defaultVisitor;
37
+ const dots = options.dots;
38
+ const indexes = options.indexes;
39
+ const _Blob = options.Blob || typeof Blob !== "undefined" && Blob;
40
+ const useBlob = _Blob && utils.isSpecCompliantForm(formData);
41
+ if (!utils.isFunction(visitor)) {
42
+ throw new TypeError("visitor must be a function");
43
+ }
44
+ function convertValue(value) {
45
+ if (value === null) return "";
46
+ if (utils.isDate(value)) {
47
+ return value.toISOString();
48
+ }
49
+ if (!useBlob && utils.isBlob(value)) {
50
+ throw new AxiosError("Blob is not supported. Use a Buffer instead.");
51
+ }
52
+ if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {
53
+ return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
54
+ }
55
+ return value;
56
+ }
57
+ function defaultVisitor(value, key, path) {
58
+ let arr = value;
59
+ if (value && !path && typeof value === "object") {
60
+ if (utils.endsWith(key, "{}")) {
61
+ key = metaTokens ? key : key.slice(0, -2);
62
+ value = JSON.stringify(value);
63
+ } else if (utils.isArray(value) && isFlatArray(value) || (utils.isFileList(value) || utils.endsWith(key, "[]")) && (arr = utils.toArray(value))) {
64
+ key = removeBrackets(key);
65
+ arr.forEach(function each(el, index) {
66
+ !(utils.isUndefined(el) || el === null) && formData.append(
67
+ // eslint-disable-next-line no-nested-ternary
68
+ indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + "[]",
69
+ convertValue(el)
70
+ );
71
+ });
72
+ return false;
73
+ }
74
+ }
75
+ if (isVisitable(value)) {
76
+ return true;
77
+ }
78
+ formData.append(renderKey(path, key, dots), convertValue(value));
79
+ return false;
80
+ }
81
+ const stack = [];
82
+ const exposedHelpers = Object.assign(predicates, {
83
+ defaultVisitor,
84
+ convertValue,
85
+ isVisitable
86
+ });
87
+ function build(value, path) {
88
+ if (utils.isUndefined(value)) return;
89
+ if (stack.indexOf(value) !== -1) {
90
+ throw Error("Circular reference detected in " + path.join("."));
91
+ }
92
+ stack.push(value);
93
+ utils.forEach(value, function each(el, key) {
94
+ const result = !(utils.isUndefined(el) || el === null) && visitor.call(
95
+ formData,
96
+ el,
97
+ utils.isString(key) ? key.trim() : key,
98
+ path,
99
+ exposedHelpers
100
+ );
101
+ if (result === true) {
102
+ build(el, path ? path.concat(key) : [key]);
103
+ }
104
+ });
105
+ stack.pop();
106
+ }
107
+ if (!utils.isObject(obj)) {
108
+ throw new TypeError("data must be an object");
109
+ }
110
+ build(obj);
111
+ return formData;
112
+ }
2
113
  export {
3
- global as default,
4
- global
114
+ toFormData as default
5
115
  };
6
116
  //# sourceMappingURL=standards-sdk.es77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es77.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.es77.js","sources":["../../node_modules/axios/lib/helpers/toFormData.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array<any>} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object<any, any>} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object<string, any>} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n });\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array<String|Number>} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))\n )) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const stack = [];\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n\n function build(value, path) {\n if (utils.isUndefined(value)) return;\n\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result = !(utils.isUndefined(el) || el === null) && visitor.call(\n formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers\n );\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n"],"names":[],"mappings":";;;AAcA,SAAS,YAAY,OAAO;AAC1B,SA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AAG,aAAa,KAAK,CAAC;AAE/D,WAAO;AAAA,EACX;AAEE,QAAM,QAAQ,CAAE;AAEhB,QAAM,iBAAiB,OAAO,OAAO,YAAY;AAAA,IAC/C;AAAA,IACA;AAAA,IACA;AAAA,EACJ,CAAG;AAED,WAAS,MAAM,OAAO,MAAM;AAC1B,QAAI,MAAM,YAAY,KAAK,EAAG;AAE9B,QAAI,MAAM,QAAQ,KAAK,MAAM,IAAI;AAC/B,YAAM,MAAM,oCAAoC,KAAK,KAAK,GAAG,CAAC;AAAA,IACpE;AAEI,UAAM,KAAK,KAAK;AAEhB,UAAM,QAAQ,OAAO,SAAS,KAAK,IAAI,KAAK;AAC1C,YAAM,SAAS,EAAE,MAAM,YAAY,EAAE,KAAK,OAAO,SAAS,QAAQ;AAAA,QAChE;AAAA,QAAU;AAAA,QAAI,MAAM,SAAS,GAAG,IAAI,IAAI,KAAI,IAAK;AAAA,QAAK;AAAA,QAAM;AAAA,MAC7D;AAED,UAAI,WAAW,MAAM;AACnB,cAAM,IAAI,OAAO,KAAK,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC;AAAA,MACjD;AAAA,IACA,CAAK;AAED,UAAM,IAAK;AAAA,EACf;AAEE,MAAI,CAAC,MAAM,SAAS,GAAG,GAAG;AACxB,UAAM,IAAI,UAAU,wBAAwB;AAAA,EAChD;AAEE,QAAM,GAAG;AAET,SAAO;AACT;","x_google_ignoreList":[0]}
@@ -1,167 +1,77 @@
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);
1
+ import utils from "./standards-sdk.es67.js";
2
+ function AxiosError(message, code, config, request, response) {
3
+ Error.call(this);
4
+ if (Error.captureStackTrace) {
5
+ Error.captureStackTrace(this, this.constructor);
81
6
  } else {
82
- queueIndex = -1;
83
- }
84
- if (queue.length) {
85
- drainQueue();
86
- }
87
- }
88
- function drainQueue() {
89
- if (draining) {
90
- return;
7
+ this.stack = new Error().stack;
91
8
  }
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;
9
+ this.message = message;
10
+ this.name = "AxiosError";
11
+ code && (this.code = code);
12
+ config && (this.config = config);
13
+ request && (this.request = request);
14
+ if (response) {
15
+ this.response = response;
16
+ this.status = response.status ? response.status : null;
105
17
  }
106
- currentQueue = null;
107
- draining = false;
108
- runClearTimeout(timeout);
109
18
  }
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
- }
19
+ utils.inherits(AxiosError, Error, {
20
+ toJSON: function toJSON() {
21
+ return {
22
+ // Standard
23
+ message: this.message,
24
+ name: this.name,
25
+ // Microsoft
26
+ description: this.description,
27
+ number: this.number,
28
+ // Mozilla
29
+ fileName: this.fileName,
30
+ lineNumber: this.lineNumber,
31
+ columnNumber: this.columnNumber,
32
+ stack: this.stack,
33
+ // Axios
34
+ config: utils.toJSONObject(this.config),
35
+ code: this.code,
36
+ status: this.status
37
+ };
116
38
  }
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;
39
+ });
40
+ const prototype = AxiosError.prototype;
41
+ const descriptors = {};
42
+ [
43
+ "ERR_BAD_OPTION_VALUE",
44
+ "ERR_BAD_OPTION",
45
+ "ECONNABORTED",
46
+ "ETIMEDOUT",
47
+ "ERR_NETWORK",
48
+ "ERR_FR_TOO_MANY_REDIRECTS",
49
+ "ERR_DEPRECATED",
50
+ "ERR_BAD_RESPONSE",
51
+ "ERR_BAD_REQUEST",
52
+ "ERR_CANCELED",
53
+ "ERR_NOT_SUPPORT",
54
+ "ERR_INVALID_URL"
55
+ // eslint-disable-next-line func-names
56
+ ].forEach((code) => {
57
+ descriptors[code] = { value: code };
58
+ });
59
+ Object.defineProperties(AxiosError, descriptors);
60
+ Object.defineProperty(prototype, "isAxiosError", { value: true });
61
+ AxiosError.from = (error, code, config, request, response, customProps) => {
62
+ const axiosError = Object.create(prototype);
63
+ utils.toFlatObject(error, axiosError, function filter(obj) {
64
+ return obj !== Error.prototype;
65
+ }, (prop) => {
66
+ return prop !== "isAxiosError";
67
+ });
68
+ AxiosError.call(axiosError, error.message, code, config, request, response);
69
+ axiosError.cause = error;
70
+ axiosError.name = error.name;
71
+ customProps && Object.assign(axiosError, customProps);
72
+ return axiosError;
160
73
  };
161
- var browserExports = browser.exports;
162
- const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
163
74
  export {
164
- process$1 as default,
165
- process$1 as process
75
+ AxiosError as default
166
76
  };
167
77
  //# sourceMappingURL=standards-sdk.es78.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es78.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;AAEA,IAAI,UAAU,EAAC,SAAS,GAAE;AAG1B,IAAI,UAAU,QAAQ,UAAU,CAAE;AAOlC,IAAI;AACJ,IAAI;AAEJ,SAAS,mBAAmB;AACxB,QAAM,IAAI,MAAM,iCAAiC;AACrD;AACA,SAAS,sBAAuB;AAC5B,QAAM,IAAI,MAAM,mCAAmC;AACvD;AAAA,CACC,WAAY;AACT,MAAI;AACA,QAAI,OAAO,eAAe,YAAY;AAClC,yBAAmB;AAAA,IAC/B,OAAe;AACH,yBAAmB;AAAA,IAC/B;AAAA,EACK,SAAQ,GAAG;AACR,uBAAmB;AAAA,EAC3B;AACI,MAAI;AACA,QAAI,OAAO,iBAAiB,YAAY;AACpC,2BAAqB;AAAA,IACjC,OAAe;AACH,2BAAqB;AAAA,IACjC;AAAA,EACK,SAAQ,GAAG;AACR,yBAAqB;AAAA,EAC7B;AACA,GAAI;AACJ,SAAS,WAAW,KAAK;AACrB,MAAI,qBAAqB,YAAY;AAEjC,WAAO,WAAW,KAAK,CAAC;AAAA,EAChC;AAEI,OAAK,qBAAqB,oBAAoB,CAAC,qBAAqB,YAAY;AAC5E,uBAAmB;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iBAAiB,QAAQ;AACxB,MAAC,YAAyB,wCAAwB,cAAc;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"standards-sdk.es78.js","sources":["../../node_modules/axios/lib/core/AxiosError.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = (new Error()).stack;\n }\n\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status ? response.status : null;\n }\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: utils.toJSONObject(this.config),\n code: this.code,\n status: this.status\n };\n }\n});\n\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED',\n 'ERR_NOT_SUPPORT',\n 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.cause = error;\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nexport default AxiosError;\n"],"names":[],"mappings":";AAeA,SAAS,WAAW,SAAS,MAAM,QAAQ,SAAS,UAAU;AAC5D,QAAM,KAAK,IAAI;AAEf,MAAI,MAAM,mBAAmB;AAC3B,UAAM,kBAAkB,MAAM,KAAK,WAAW;AAAA,EAClD,OAAS;AACL,SAAK,QAAS,IAAI,MAAO,EAAE;AAAA,EAC/B;AAEE,OAAK,UAAU;AACf,OAAK,OAAO;AACZ,WAAS,KAAK,OAAO;AACrB,aAAW,KAAK,SAAS;AACzB,cAAY,KAAK,UAAU;AAC3B,MAAI,UAAU;AACZ,SAAK,WAAW;AAChB,SAAK,SAAS,SAAS,SAAS,SAAS,SAAS;AAAA,EACtD;AACA;AAEA,MAAM,SAAS,YAAY,OAAO;AAAA,EAChC,QAAQ,SAAS,SAAS;AACxB,WAAO;AAAA;AAAA,MAEL,SAAS,KAAK;AAAA,MACd,MAAM,KAAK;AAAA;AAAA,MAEX,aAAa,KAAK;AAAA,MAClB,QAAQ,KAAK;AAAA;AAAA,MAEb,UAAU,KAAK;AAAA,MACf,YAAY,KAAK;AAAA,MACjB,cAAc,KAAK;AAAA,MACnB,OAAO,KAAK;AAAA;AAAA,MAEZ,QAAQ,MAAM,aAAa,KAAK,MAAM;AAAA,MACtC,MAAM,KAAK;AAAA,MACX,QAAQ,KAAK;AAAA,IACd;AAAA,EACL;AACA,CAAC;AAED,MAAM,YAAY,WAAW;AAC7B,MAAM,cAAc,CAAE;AAEtB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAEF,EAAE,QAAQ,UAAQ;AAChB,cAAY,IAAI,IAAI,EAAC,OAAO,KAAI;AAClC,CAAC;AAED,OAAO,iBAAiB,YAAY,WAAW;AAC/C,OAAO,eAAe,WAAW,gBAAgB,EAAC,OAAO,KAAI,CAAC;AAG9D,WAAW,OAAO,CAAC,OAAO,MAAM,QAAQ,SAAS,UAAU,gBAAgB;AACzE,QAAM,aAAa,OAAO,OAAO,SAAS;AAE1C,QAAM,aAAa,OAAO,YAAY,SAAS,OAAO,KAAK;AACzD,WAAO,QAAQ,MAAM;AAAA,EACtB,GAAE,UAAQ;AACT,WAAO,SAAS;AAAA,EACpB,CAAG;AAED,aAAW,KAAK,YAAY,MAAM,SAAS,MAAM,QAAQ,SAAS,QAAQ;AAE1E,aAAW,QAAQ;AAEnB,aAAW,OAAO,MAAM;AAExB,iBAAe,OAAO,OAAO,YAAY,WAAW;AAEpD,SAAO;AACT;","x_google_ignoreList":[0]}
@@ -1,35 +1,9 @@
1
- import utils from "./standards-sdk.es56.js";
2
- import AxiosURLSearchParams from "./standards-sdk.es97.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;
9
- }
10
- const _encode = options && options.encode || encode;
11
- if (utils.isFunction(options)) {
12
- options = {
13
- serialize: options
14
- };
15
- }
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);
22
- }
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;
29
- }
30
- return url;
1
+ function spread(callback) {
2
+ return function wrap(arr) {
3
+ return callback.apply(null, arr);
4
+ };
31
5
  }
32
6
  export {
33
- buildURL as default
7
+ spread as default
34
8
  };
35
9
  //# sourceMappingURL=standards-sdk.es79.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es79.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
+ {"version":3,"file":"standards-sdk.es79.js","sources":["../../node_modules/axios/lib/helpers/spread.js"],"sourcesContent":["'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n"],"names":[],"mappings":"AAuBe,SAAS,OAAO,UAAU;AACvC,SAAO,SAAS,KAAK,KAAK;AACxB,WAAO,SAAS,MAAM,MAAM,GAAG;AAAA,EAChC;AACH;","x_google_ignoreList":[0]}
@@ -1,9 +1,9 @@
1
- import Buffer from "./standards-sdk.es20.js";
1
+ import Buffer from "./standards-sdk.es21.js";
2
2
  import { KeyList, TopicCreateTransaction, Transaction, TopicMessageSubmitTransaction, Hbar } from "@hashgraph/sdk";
3
3
  import { Logger } from "./standards-sdk.es14.js";
4
- import { InscriptionSDK } from "./standards-sdk.es23.js";
4
+ import { InscriptionSDK } from "./standards-sdk.es26.js";
5
5
  import { HCS10BaseClient, Hcs10MemoType } from "./standards-sdk.es5.js";
6
- import { m as mimeTypesExports } from "./standards-sdk.es24.js";
6
+ import { m as mimeTypesExports } from "./standards-sdk.es22.js";
7
7
  import { AgentBuilder } from "./standards-sdk.es10.js";
8
8
  import { HCS11Client } from "./standards-sdk.es12.js";
9
9
  import { ProgressReporter } from "./standards-sdk.es16.js";
@@ -1,66 +1,8 @@
1
- import utils from "./standards-sdk.es56.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
- });
61
- }
1
+ import utils from "./standards-sdk.es67.js";
2
+ function isAxiosError(payload) {
3
+ return utils.isObject(payload) && payload.isAxiosError === true;
62
4
  }
63
5
  export {
64
- InterceptorManager as default
6
+ isAxiosError as default
65
7
  };
66
8
  //# sourceMappingURL=standards-sdk.es80.js.map