xrpl 3.1.0 → 4.0.0

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 (198) hide show
  1. package/README.md +3 -3
  2. package/build/xrpl-latest.js +36 -693
  3. package/build/xrpl-latest.js.map +1 -1
  4. package/dist/npm/Wallet/defaultFaucets.d.ts +1 -2
  5. package/dist/npm/Wallet/defaultFaucets.d.ts.map +1 -1
  6. package/dist/npm/Wallet/defaultFaucets.js +0 -5
  7. package/dist/npm/Wallet/defaultFaucets.js.map +1 -1
  8. package/dist/npm/Wallet/fundWallet.d.ts.map +1 -1
  9. package/dist/npm/Wallet/fundWallet.js +1 -5
  10. package/dist/npm/Wallet/fundWallet.js.map +1 -1
  11. package/dist/npm/client/RequestManager.d.ts +5 -4
  12. package/dist/npm/client/RequestManager.d.ts.map +1 -1
  13. package/dist/npm/client/RequestManager.js.map +1 -1
  14. package/dist/npm/client/connection.d.ts +2 -2
  15. package/dist/npm/client/connection.d.ts.map +1 -1
  16. package/dist/npm/client/connection.js.map +1 -1
  17. package/dist/npm/client/index.d.ts +4 -3
  18. package/dist/npm/client/index.d.ts.map +1 -1
  19. package/dist/npm/client/index.js +16 -4
  20. package/dist/npm/client/index.js.map +1 -1
  21. package/dist/npm/client/partialPayment.d.ts +2 -1
  22. package/dist/npm/client/partialPayment.d.ts.map +1 -1
  23. package/dist/npm/client/partialPayment.js +10 -3
  24. package/dist/npm/client/partialPayment.js.map +1 -1
  25. package/dist/npm/models/common/index.d.ts +5 -0
  26. package/dist/npm/models/common/index.d.ts.map +1 -1
  27. package/dist/npm/models/common/index.js +4 -0
  28. package/dist/npm/models/common/index.js.map +1 -1
  29. package/dist/npm/models/ledger/AMM.d.ts +2 -2
  30. package/dist/npm/models/ledger/AMM.d.ts.map +1 -1
  31. package/dist/npm/models/ledger/Amendments.d.ts +2 -2
  32. package/dist/npm/models/ledger/Amendments.d.ts.map +1 -1
  33. package/dist/npm/models/ledger/BaseLedgerEntry.d.ts +3 -3
  34. package/dist/npm/models/ledger/BaseLedgerEntry.d.ts.map +1 -1
  35. package/dist/npm/models/ledger/DirectoryNode.d.ts +2 -2
  36. package/dist/npm/models/ledger/DirectoryNode.d.ts.map +1 -1
  37. package/dist/npm/models/ledger/FeeSettings.d.ts +2 -2
  38. package/dist/npm/models/ledger/FeeSettings.d.ts.map +1 -1
  39. package/dist/npm/models/ledger/Ledger.d.ts +11 -2
  40. package/dist/npm/models/ledger/Ledger.d.ts.map +1 -1
  41. package/dist/npm/models/ledger/LedgerHashes.d.ts +2 -2
  42. package/dist/npm/models/ledger/LedgerHashes.d.ts.map +1 -1
  43. package/dist/npm/models/ledger/NegativeUNL.d.ts +2 -2
  44. package/dist/npm/models/ledger/NegativeUNL.d.ts.map +1 -1
  45. package/dist/npm/models/ledger/index.d.ts +2 -2
  46. package/dist/npm/models/ledger/index.d.ts.map +1 -1
  47. package/dist/npm/models/ledger/index.js.map +1 -1
  48. package/dist/npm/models/methods/accountInfo.d.ts +17 -4
  49. package/dist/npm/models/methods/accountInfo.d.ts.map +1 -1
  50. package/dist/npm/models/methods/accountTx.d.ts +11 -5
  51. package/dist/npm/models/methods/accountTx.d.ts.map +1 -1
  52. package/dist/npm/models/methods/feature.d.ts +28 -0
  53. package/dist/npm/models/methods/feature.d.ts.map +1 -0
  54. package/dist/npm/models/methods/feature.js +3 -0
  55. package/dist/npm/models/methods/feature.js.map +1 -0
  56. package/dist/npm/models/methods/index.d.ts +14 -11
  57. package/dist/npm/models/methods/index.d.ts.map +1 -1
  58. package/dist/npm/models/methods/ledger.d.ts +17 -5
  59. package/dist/npm/models/methods/ledger.d.ts.map +1 -1
  60. package/dist/npm/models/methods/nftsByIssuer.d.ts +19 -0
  61. package/dist/npm/models/methods/nftsByIssuer.d.ts.map +1 -0
  62. package/dist/npm/models/methods/nftsByIssuer.js +3 -0
  63. package/dist/npm/models/methods/nftsByIssuer.js.map +1 -0
  64. package/dist/npm/models/methods/submitMultisigned.d.ts +16 -5
  65. package/dist/npm/models/methods/submitMultisigned.d.ts.map +1 -1
  66. package/dist/npm/models/methods/tx.d.ts +20 -8
  67. package/dist/npm/models/methods/tx.d.ts.map +1 -1
  68. package/dist/npm/snippets/src/claimPayChannel.js +1 -1
  69. package/dist/npm/snippets/src/claimPayChannel.js.map +1 -1
  70. package/dist/npm/snippets/src/sendEscrow.js +1 -1
  71. package/dist/npm/snippets/src/sendEscrow.js.map +1 -1
  72. package/dist/npm/snippets/tsconfig.tsbuildinfo +1 -1
  73. package/dist/npm/src/Wallet/defaultFaucets.d.ts +1 -2
  74. package/dist/npm/src/Wallet/defaultFaucets.d.ts.map +1 -1
  75. package/dist/npm/src/Wallet/defaultFaucets.js +0 -5
  76. package/dist/npm/src/Wallet/defaultFaucets.js.map +1 -1
  77. package/dist/npm/src/Wallet/fundWallet.d.ts.map +1 -1
  78. package/dist/npm/src/Wallet/fundWallet.js +1 -5
  79. package/dist/npm/src/Wallet/fundWallet.js.map +1 -1
  80. package/dist/npm/src/client/RequestManager.d.ts +5 -4
  81. package/dist/npm/src/client/RequestManager.d.ts.map +1 -1
  82. package/dist/npm/src/client/RequestManager.js.map +1 -1
  83. package/dist/npm/src/client/connection.d.ts +2 -2
  84. package/dist/npm/src/client/connection.d.ts.map +1 -1
  85. package/dist/npm/src/client/connection.js.map +1 -1
  86. package/dist/npm/src/client/index.d.ts +4 -3
  87. package/dist/npm/src/client/index.d.ts.map +1 -1
  88. package/dist/npm/src/client/index.js +16 -4
  89. package/dist/npm/src/client/index.js.map +1 -1
  90. package/dist/npm/src/client/partialPayment.d.ts +2 -1
  91. package/dist/npm/src/client/partialPayment.d.ts.map +1 -1
  92. package/dist/npm/src/client/partialPayment.js +10 -3
  93. package/dist/npm/src/client/partialPayment.js.map +1 -1
  94. package/dist/npm/src/models/common/index.d.ts +5 -0
  95. package/dist/npm/src/models/common/index.d.ts.map +1 -1
  96. package/dist/npm/src/models/common/index.js +4 -0
  97. package/dist/npm/src/models/common/index.js.map +1 -1
  98. package/dist/npm/src/models/ledger/AMM.d.ts +2 -2
  99. package/dist/npm/src/models/ledger/AMM.d.ts.map +1 -1
  100. package/dist/npm/src/models/ledger/Amendments.d.ts +2 -2
  101. package/dist/npm/src/models/ledger/Amendments.d.ts.map +1 -1
  102. package/dist/npm/src/models/ledger/BaseLedgerEntry.d.ts +3 -3
  103. package/dist/npm/src/models/ledger/BaseLedgerEntry.d.ts.map +1 -1
  104. package/dist/npm/src/models/ledger/DirectoryNode.d.ts +2 -2
  105. package/dist/npm/src/models/ledger/DirectoryNode.d.ts.map +1 -1
  106. package/dist/npm/src/models/ledger/FeeSettings.d.ts +2 -2
  107. package/dist/npm/src/models/ledger/FeeSettings.d.ts.map +1 -1
  108. package/dist/npm/src/models/ledger/Ledger.d.ts +11 -2
  109. package/dist/npm/src/models/ledger/Ledger.d.ts.map +1 -1
  110. package/dist/npm/src/models/ledger/LedgerHashes.d.ts +2 -2
  111. package/dist/npm/src/models/ledger/LedgerHashes.d.ts.map +1 -1
  112. package/dist/npm/src/models/ledger/NegativeUNL.d.ts +2 -2
  113. package/dist/npm/src/models/ledger/NegativeUNL.d.ts.map +1 -1
  114. package/dist/npm/src/models/ledger/index.d.ts +2 -2
  115. package/dist/npm/src/models/ledger/index.d.ts.map +1 -1
  116. package/dist/npm/src/models/ledger/index.js.map +1 -1
  117. package/dist/npm/src/models/methods/accountInfo.d.ts +17 -4
  118. package/dist/npm/src/models/methods/accountInfo.d.ts.map +1 -1
  119. package/dist/npm/src/models/methods/accountTx.d.ts +11 -5
  120. package/dist/npm/src/models/methods/accountTx.d.ts.map +1 -1
  121. package/dist/npm/src/models/methods/feature.d.ts +28 -0
  122. package/dist/npm/src/models/methods/feature.d.ts.map +1 -0
  123. package/dist/npm/src/models/methods/feature.js +3 -0
  124. package/dist/npm/src/models/methods/feature.js.map +1 -0
  125. package/dist/npm/src/models/methods/index.d.ts +14 -11
  126. package/dist/npm/src/models/methods/index.d.ts.map +1 -1
  127. package/dist/npm/src/models/methods/ledger.d.ts +17 -5
  128. package/dist/npm/src/models/methods/ledger.d.ts.map +1 -1
  129. package/dist/npm/src/models/methods/nftsByIssuer.d.ts +19 -0
  130. package/dist/npm/src/models/methods/nftsByIssuer.d.ts.map +1 -0
  131. package/dist/npm/src/models/methods/nftsByIssuer.js +3 -0
  132. package/dist/npm/src/models/methods/nftsByIssuer.js.map +1 -0
  133. package/dist/npm/src/models/methods/submitMultisigned.d.ts +16 -5
  134. package/dist/npm/src/models/methods/submitMultisigned.d.ts.map +1 -1
  135. package/dist/npm/src/models/methods/tx.d.ts +20 -8
  136. package/dist/npm/src/models/methods/tx.d.ts.map +1 -1
  137. package/dist/npm/src/sugar/autofill.d.ts +1 -1
  138. package/dist/npm/src/sugar/autofill.d.ts.map +1 -1
  139. package/dist/npm/src/sugar/autofill.js +2 -4
  140. package/dist/npm/src/sugar/autofill.js.map +1 -1
  141. package/dist/npm/src/sugar/getFeeXrp.d.ts +1 -1
  142. package/dist/npm/src/sugar/getFeeXrp.d.ts.map +1 -1
  143. package/dist/npm/src/sugar/getFeeXrp.js +3 -2
  144. package/dist/npm/src/sugar/getFeeXrp.js.map +1 -1
  145. package/dist/npm/src/sugar/submit.d.ts.map +1 -1
  146. package/dist/npm/src/sugar/submit.js.map +1 -1
  147. package/dist/npm/src/utils/hashes/hashLedger.d.ts +4 -3
  148. package/dist/npm/src/utils/hashes/hashLedger.d.ts.map +1 -1
  149. package/dist/npm/src/utils/hashes/hashLedger.js.map +1 -1
  150. package/dist/npm/src/utils/index.d.ts +2 -1
  151. package/dist/npm/src/utils/index.d.ts.map +1 -1
  152. package/dist/npm/src/utils/index.js.map +1 -1
  153. package/dist/npm/sugar/autofill.d.ts +1 -1
  154. package/dist/npm/sugar/autofill.d.ts.map +1 -1
  155. package/dist/npm/sugar/autofill.js +2 -4
  156. package/dist/npm/sugar/autofill.js.map +1 -1
  157. package/dist/npm/sugar/getFeeXrp.d.ts +1 -1
  158. package/dist/npm/sugar/getFeeXrp.d.ts.map +1 -1
  159. package/dist/npm/sugar/getFeeXrp.js +3 -2
  160. package/dist/npm/sugar/getFeeXrp.js.map +1 -1
  161. package/dist/npm/sugar/submit.d.ts.map +1 -1
  162. package/dist/npm/sugar/submit.js.map +1 -1
  163. package/dist/npm/utils/hashes/hashLedger.d.ts +4 -3
  164. package/dist/npm/utils/hashes/hashLedger.d.ts.map +1 -1
  165. package/dist/npm/utils/hashes/hashLedger.js.map +1 -1
  166. package/dist/npm/utils/index.d.ts +2 -1
  167. package/dist/npm/utils/index.d.ts.map +1 -1
  168. package/dist/npm/utils/index.js.map +1 -1
  169. package/package.json +5 -6
  170. package/src/Wallet/defaultFaucets.ts +0 -6
  171. package/src/Wallet/fundWallet.ts +0 -1
  172. package/src/client/RequestManager.ts +17 -12
  173. package/src/client/connection.ts +7 -5
  174. package/src/client/index.ts +63 -16
  175. package/src/client/partialPayment.ts +34 -13
  176. package/src/models/common/index.ts +8 -0
  177. package/src/models/ledger/AMM.ts +2 -2
  178. package/src/models/ledger/Amendments.ts +2 -2
  179. package/src/models/ledger/BaseLedgerEntry.ts +9 -5
  180. package/src/models/ledger/DirectoryNode.ts +2 -2
  181. package/src/models/ledger/FeeSettings.ts +4 -2
  182. package/src/models/ledger/Ledger.ts +46 -9
  183. package/src/models/ledger/LedgerHashes.ts +2 -4
  184. package/src/models/ledger/NegativeUNL.ts +2 -2
  185. package/src/models/ledger/index.ts +2 -1
  186. package/src/models/methods/accountInfo.ts +58 -12
  187. package/src/models/methods/accountTx.ts +49 -8
  188. package/src/models/methods/feature.ts +68 -0
  189. package/src/models/methods/index.ts +67 -23
  190. package/src/models/methods/ledger.ts +41 -5
  191. package/src/models/methods/nftsByIssuer.ts +68 -0
  192. package/src/models/methods/submitMultisigned.ts +48 -16
  193. package/src/models/methods/tx.ts +74 -22
  194. package/src/sugar/autofill.ts +4 -10
  195. package/src/sugar/getFeeXrp.ts +6 -3
  196. package/src/sugar/submit.ts +5 -3
  197. package/src/utils/hashes/hashLedger.ts +8 -5
  198. package/src/utils/index.ts +2 -1
@@ -11211,663 +11211,6 @@ var __WEBPACK_AMD_DEFINE_RESULT__;;(function (globalObject) {
11211
11211
  })(this);
11212
11212
 
11213
11213
 
11214
- /***/ }),
11215
-
11216
- /***/ "../../node_modules/cross-fetch/dist/browser-ponyfill.js":
11217
- /*!***************************************************************!*\
11218
- !*** ../../node_modules/cross-fetch/dist/browser-ponyfill.js ***!
11219
- \***************************************************************/
11220
- /***/ ((module, exports, __webpack_require__) => {
11221
-
11222
- // Save global object in a variable
11223
- var __global__ =
11224
- (typeof globalThis !== 'undefined' && globalThis) ||
11225
- (typeof self !== 'undefined' && self) ||
11226
- (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g);
11227
- // Create an object that extends from __global__ without the fetch function
11228
- var __globalThis__ = (function () {
11229
- function F() {
11230
- this.fetch = false;
11231
- this.DOMException = __global__.DOMException
11232
- }
11233
- F.prototype = __global__; // Needed for feature detection on whatwg-fetch's code
11234
- return new F();
11235
- })();
11236
- // Wraps whatwg-fetch with a function scope to hijack the global object
11237
- // "globalThis" that's going to be patched
11238
- (function(globalThis) {
11239
-
11240
- var irrelevant = (function (exports) {
11241
-
11242
- var global =
11243
- (typeof globalThis !== 'undefined' && globalThis) ||
11244
- (typeof self !== 'undefined' && self) ||
11245
- (typeof global !== 'undefined' && global);
11246
-
11247
- var support = {
11248
- searchParams: 'URLSearchParams' in global,
11249
- iterable: 'Symbol' in global && 'iterator' in Symbol,
11250
- blob:
11251
- 'FileReader' in global &&
11252
- 'Blob' in global &&
11253
- (function() {
11254
- try {
11255
- new Blob();
11256
- return true
11257
- } catch (e) {
11258
- return false
11259
- }
11260
- })(),
11261
- formData: 'FormData' in global,
11262
- arrayBuffer: 'ArrayBuffer' in global
11263
- };
11264
-
11265
- function isDataView(obj) {
11266
- return obj && DataView.prototype.isPrototypeOf(obj)
11267
- }
11268
-
11269
- if (support.arrayBuffer) {
11270
- var viewClasses = [
11271
- '[object Int8Array]',
11272
- '[object Uint8Array]',
11273
- '[object Uint8ClampedArray]',
11274
- '[object Int16Array]',
11275
- '[object Uint16Array]',
11276
- '[object Int32Array]',
11277
- '[object Uint32Array]',
11278
- '[object Float32Array]',
11279
- '[object Float64Array]'
11280
- ];
11281
-
11282
- var isArrayBufferView =
11283
- ArrayBuffer.isView ||
11284
- function(obj) {
11285
- return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1
11286
- };
11287
- }
11288
-
11289
- function normalizeName(name) {
11290
- if (typeof name !== 'string') {
11291
- name = String(name);
11292
- }
11293
- if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {
11294
- throw new TypeError('Invalid character in header field name: "' + name + '"')
11295
- }
11296
- return name.toLowerCase()
11297
- }
11298
-
11299
- function normalizeValue(value) {
11300
- if (typeof value !== 'string') {
11301
- value = String(value);
11302
- }
11303
- return value
11304
- }
11305
-
11306
- // Build a destructive iterator for the value list
11307
- function iteratorFor(items) {
11308
- var iterator = {
11309
- next: function() {
11310
- var value = items.shift();
11311
- return {done: value === undefined, value: value}
11312
- }
11313
- };
11314
-
11315
- if (support.iterable) {
11316
- iterator[Symbol.iterator] = function() {
11317
- return iterator
11318
- };
11319
- }
11320
-
11321
- return iterator
11322
- }
11323
-
11324
- function Headers(headers) {
11325
- this.map = {};
11326
-
11327
- if (headers instanceof Headers) {
11328
- headers.forEach(function(value, name) {
11329
- this.append(name, value);
11330
- }, this);
11331
- } else if (Array.isArray(headers)) {
11332
- headers.forEach(function(header) {
11333
- this.append(header[0], header[1]);
11334
- }, this);
11335
- } else if (headers) {
11336
- Object.getOwnPropertyNames(headers).forEach(function(name) {
11337
- this.append(name, headers[name]);
11338
- }, this);
11339
- }
11340
- }
11341
-
11342
- Headers.prototype.append = function(name, value) {
11343
- name = normalizeName(name);
11344
- value = normalizeValue(value);
11345
- var oldValue = this.map[name];
11346
- this.map[name] = oldValue ? oldValue + ', ' + value : value;
11347
- };
11348
-
11349
- Headers.prototype['delete'] = function(name) {
11350
- delete this.map[normalizeName(name)];
11351
- };
11352
-
11353
- Headers.prototype.get = function(name) {
11354
- name = normalizeName(name);
11355
- return this.has(name) ? this.map[name] : null
11356
- };
11357
-
11358
- Headers.prototype.has = function(name) {
11359
- return this.map.hasOwnProperty(normalizeName(name))
11360
- };
11361
-
11362
- Headers.prototype.set = function(name, value) {
11363
- this.map[normalizeName(name)] = normalizeValue(value);
11364
- };
11365
-
11366
- Headers.prototype.forEach = function(callback, thisArg) {
11367
- for (var name in this.map) {
11368
- if (this.map.hasOwnProperty(name)) {
11369
- callback.call(thisArg, this.map[name], name, this);
11370
- }
11371
- }
11372
- };
11373
-
11374
- Headers.prototype.keys = function() {
11375
- var items = [];
11376
- this.forEach(function(value, name) {
11377
- items.push(name);
11378
- });
11379
- return iteratorFor(items)
11380
- };
11381
-
11382
- Headers.prototype.values = function() {
11383
- var items = [];
11384
- this.forEach(function(value) {
11385
- items.push(value);
11386
- });
11387
- return iteratorFor(items)
11388
- };
11389
-
11390
- Headers.prototype.entries = function() {
11391
- var items = [];
11392
- this.forEach(function(value, name) {
11393
- items.push([name, value]);
11394
- });
11395
- return iteratorFor(items)
11396
- };
11397
-
11398
- if (support.iterable) {
11399
- Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
11400
- }
11401
-
11402
- function consumed(body) {
11403
- if (body.bodyUsed) {
11404
- return Promise.reject(new TypeError('Already read'))
11405
- }
11406
- body.bodyUsed = true;
11407
- }
11408
-
11409
- function fileReaderReady(reader) {
11410
- return new Promise(function(resolve, reject) {
11411
- reader.onload = function() {
11412
- resolve(reader.result);
11413
- };
11414
- reader.onerror = function() {
11415
- reject(reader.error);
11416
- };
11417
- })
11418
- }
11419
-
11420
- function readBlobAsArrayBuffer(blob) {
11421
- var reader = new FileReader();
11422
- var promise = fileReaderReady(reader);
11423
- reader.readAsArrayBuffer(blob);
11424
- return promise
11425
- }
11426
-
11427
- function readBlobAsText(blob) {
11428
- var reader = new FileReader();
11429
- var promise = fileReaderReady(reader);
11430
- reader.readAsText(blob);
11431
- return promise
11432
- }
11433
-
11434
- function readArrayBufferAsText(buf) {
11435
- var view = new Uint8Array(buf);
11436
- var chars = new Array(view.length);
11437
-
11438
- for (var i = 0; i < view.length; i++) {
11439
- chars[i] = String.fromCharCode(view[i]);
11440
- }
11441
- return chars.join('')
11442
- }
11443
-
11444
- function bufferClone(buf) {
11445
- if (buf.slice) {
11446
- return buf.slice(0)
11447
- } else {
11448
- var view = new Uint8Array(buf.byteLength);
11449
- view.set(new Uint8Array(buf));
11450
- return view.buffer
11451
- }
11452
- }
11453
-
11454
- function Body() {
11455
- this.bodyUsed = false;
11456
-
11457
- this._initBody = function(body) {
11458
- /*
11459
- fetch-mock wraps the Response object in an ES6 Proxy to
11460
- provide useful test harness features such as flush. However, on
11461
- ES5 browsers without fetch or Proxy support pollyfills must be used;
11462
- the proxy-pollyfill is unable to proxy an attribute unless it exists
11463
- on the object before the Proxy is created. This change ensures
11464
- Response.bodyUsed exists on the instance, while maintaining the
11465
- semantic of setting Request.bodyUsed in the constructor before
11466
- _initBody is called.
11467
- */
11468
- this.bodyUsed = this.bodyUsed;
11469
- this._bodyInit = body;
11470
- if (!body) {
11471
- this._bodyText = '';
11472
- } else if (typeof body === 'string') {
11473
- this._bodyText = body;
11474
- } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
11475
- this._bodyBlob = body;
11476
- } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
11477
- this._bodyFormData = body;
11478
- } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
11479
- this._bodyText = body.toString();
11480
- } else if (support.arrayBuffer && support.blob && isDataView(body)) {
11481
- this._bodyArrayBuffer = bufferClone(body.buffer);
11482
- // IE 10-11 can't handle a DataView body.
11483
- this._bodyInit = new Blob([this._bodyArrayBuffer]);
11484
- } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {
11485
- this._bodyArrayBuffer = bufferClone(body);
11486
- } else {
11487
- this._bodyText = body = Object.prototype.toString.call(body);
11488
- }
11489
-
11490
- if (!this.headers.get('content-type')) {
11491
- if (typeof body === 'string') {
11492
- this.headers.set('content-type', 'text/plain;charset=UTF-8');
11493
- } else if (this._bodyBlob && this._bodyBlob.type) {
11494
- this.headers.set('content-type', this._bodyBlob.type);
11495
- } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
11496
- this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
11497
- }
11498
- }
11499
- };
11500
-
11501
- if (support.blob) {
11502
- this.blob = function() {
11503
- var rejected = consumed(this);
11504
- if (rejected) {
11505
- return rejected
11506
- }
11507
-
11508
- if (this._bodyBlob) {
11509
- return Promise.resolve(this._bodyBlob)
11510
- } else if (this._bodyArrayBuffer) {
11511
- return Promise.resolve(new Blob([this._bodyArrayBuffer]))
11512
- } else if (this._bodyFormData) {
11513
- throw new Error('could not read FormData body as blob')
11514
- } else {
11515
- return Promise.resolve(new Blob([this._bodyText]))
11516
- }
11517
- };
11518
-
11519
- this.arrayBuffer = function() {
11520
- if (this._bodyArrayBuffer) {
11521
- var isConsumed = consumed(this);
11522
- if (isConsumed) {
11523
- return isConsumed
11524
- }
11525
- if (ArrayBuffer.isView(this._bodyArrayBuffer)) {
11526
- return Promise.resolve(
11527
- this._bodyArrayBuffer.buffer.slice(
11528
- this._bodyArrayBuffer.byteOffset,
11529
- this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
11530
- )
11531
- )
11532
- } else {
11533
- return Promise.resolve(this._bodyArrayBuffer)
11534
- }
11535
- } else {
11536
- return this.blob().then(readBlobAsArrayBuffer)
11537
- }
11538
- };
11539
- }
11540
-
11541
- this.text = function() {
11542
- var rejected = consumed(this);
11543
- if (rejected) {
11544
- return rejected
11545
- }
11546
-
11547
- if (this._bodyBlob) {
11548
- return readBlobAsText(this._bodyBlob)
11549
- } else if (this._bodyArrayBuffer) {
11550
- return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
11551
- } else if (this._bodyFormData) {
11552
- throw new Error('could not read FormData body as text')
11553
- } else {
11554
- return Promise.resolve(this._bodyText)
11555
- }
11556
- };
11557
-
11558
- if (support.formData) {
11559
- this.formData = function() {
11560
- return this.text().then(decode)
11561
- };
11562
- }
11563
-
11564
- this.json = function() {
11565
- return this.text().then(JSON.parse)
11566
- };
11567
-
11568
- return this
11569
- }
11570
-
11571
- // HTTP methods whose capitalization should be normalized
11572
- var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];
11573
-
11574
- function normalizeMethod(method) {
11575
- var upcased = method.toUpperCase();
11576
- return methods.indexOf(upcased) > -1 ? upcased : method
11577
- }
11578
-
11579
- function Request(input, options) {
11580
- if (!(this instanceof Request)) {
11581
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
11582
- }
11583
-
11584
- options = options || {};
11585
- var body = options.body;
11586
-
11587
- if (input instanceof Request) {
11588
- if (input.bodyUsed) {
11589
- throw new TypeError('Already read')
11590
- }
11591
- this.url = input.url;
11592
- this.credentials = input.credentials;
11593
- if (!options.headers) {
11594
- this.headers = new Headers(input.headers);
11595
- }
11596
- this.method = input.method;
11597
- this.mode = input.mode;
11598
- this.signal = input.signal;
11599
- if (!body && input._bodyInit != null) {
11600
- body = input._bodyInit;
11601
- input.bodyUsed = true;
11602
- }
11603
- } else {
11604
- this.url = String(input);
11605
- }
11606
-
11607
- this.credentials = options.credentials || this.credentials || 'same-origin';
11608
- if (options.headers || !this.headers) {
11609
- this.headers = new Headers(options.headers);
11610
- }
11611
- this.method = normalizeMethod(options.method || this.method || 'GET');
11612
- this.mode = options.mode || this.mode || null;
11613
- this.signal = options.signal || this.signal;
11614
- this.referrer = null;
11615
-
11616
- if ((this.method === 'GET' || this.method === 'HEAD') && body) {
11617
- throw new TypeError('Body not allowed for GET or HEAD requests')
11618
- }
11619
- this._initBody(body);
11620
-
11621
- if (this.method === 'GET' || this.method === 'HEAD') {
11622
- if (options.cache === 'no-store' || options.cache === 'no-cache') {
11623
- // Search for a '_' parameter in the query string
11624
- var reParamSearch = /([?&])_=[^&]*/;
11625
- if (reParamSearch.test(this.url)) {
11626
- // If it already exists then set the value with the current time
11627
- this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());
11628
- } else {
11629
- // Otherwise add a new '_' parameter to the end with the current time
11630
- var reQueryString = /\?/;
11631
- this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();
11632
- }
11633
- }
11634
- }
11635
- }
11636
-
11637
- Request.prototype.clone = function() {
11638
- return new Request(this, {body: this._bodyInit})
11639
- };
11640
-
11641
- function decode(body) {
11642
- var form = new FormData();
11643
- body
11644
- .trim()
11645
- .split('&')
11646
- .forEach(function(bytes) {
11647
- if (bytes) {
11648
- var split = bytes.split('=');
11649
- var name = split.shift().replace(/\+/g, ' ');
11650
- var value = split.join('=').replace(/\+/g, ' ');
11651
- form.append(decodeURIComponent(name), decodeURIComponent(value));
11652
- }
11653
- });
11654
- return form
11655
- }
11656
-
11657
- function parseHeaders(rawHeaders) {
11658
- var headers = new Headers();
11659
- // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space
11660
- // https://tools.ietf.org/html/rfc7230#section-3.2
11661
- var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ');
11662
- // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
11663
- // https://github.com/github/fetch/issues/748
11664
- // https://github.com/zloirock/core-js/issues/751
11665
- preProcessedHeaders
11666
- .split('\r')
11667
- .map(function(header) {
11668
- return header.indexOf('\n') === 0 ? header.substr(1, header.length) : header
11669
- })
11670
- .forEach(function(line) {
11671
- var parts = line.split(':');
11672
- var key = parts.shift().trim();
11673
- if (key) {
11674
- var value = parts.join(':').trim();
11675
- headers.append(key, value);
11676
- }
11677
- });
11678
- return headers
11679
- }
11680
-
11681
- Body.call(Request.prototype);
11682
-
11683
- function Response(bodyInit, options) {
11684
- if (!(this instanceof Response)) {
11685
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
11686
- }
11687
- if (!options) {
11688
- options = {};
11689
- }
11690
-
11691
- this.type = 'default';
11692
- this.status = options.status === undefined ? 200 : options.status;
11693
- this.ok = this.status >= 200 && this.status < 300;
11694
- this.statusText = options.statusText === undefined ? '' : '' + options.statusText;
11695
- this.headers = new Headers(options.headers);
11696
- this.url = options.url || '';
11697
- this._initBody(bodyInit);
11698
- }
11699
-
11700
- Body.call(Response.prototype);
11701
-
11702
- Response.prototype.clone = function() {
11703
- return new Response(this._bodyInit, {
11704
- status: this.status,
11705
- statusText: this.statusText,
11706
- headers: new Headers(this.headers),
11707
- url: this.url
11708
- })
11709
- };
11710
-
11711
- Response.error = function() {
11712
- var response = new Response(null, {status: 0, statusText: ''});
11713
- response.type = 'error';
11714
- return response
11715
- };
11716
-
11717
- var redirectStatuses = [301, 302, 303, 307, 308];
11718
-
11719
- Response.redirect = function(url, status) {
11720
- if (redirectStatuses.indexOf(status) === -1) {
11721
- throw new RangeError('Invalid status code')
11722
- }
11723
-
11724
- return new Response(null, {status: status, headers: {location: url}})
11725
- };
11726
-
11727
- exports.DOMException = global.DOMException;
11728
- try {
11729
- new exports.DOMException();
11730
- } catch (err) {
11731
- exports.DOMException = function(message, name) {
11732
- this.message = message;
11733
- this.name = name;
11734
- var error = Error(message);
11735
- this.stack = error.stack;
11736
- };
11737
- exports.DOMException.prototype = Object.create(Error.prototype);
11738
- exports.DOMException.prototype.constructor = exports.DOMException;
11739
- }
11740
-
11741
- function fetch(input, init) {
11742
- return new Promise(function(resolve, reject) {
11743
- var request = new Request(input, init);
11744
-
11745
- if (request.signal && request.signal.aborted) {
11746
- return reject(new exports.DOMException('Aborted', 'AbortError'))
11747
- }
11748
-
11749
- var xhr = new XMLHttpRequest();
11750
-
11751
- function abortXhr() {
11752
- xhr.abort();
11753
- }
11754
-
11755
- xhr.onload = function() {
11756
- var options = {
11757
- status: xhr.status,
11758
- statusText: xhr.statusText,
11759
- headers: parseHeaders(xhr.getAllResponseHeaders() || '')
11760
- };
11761
- options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');
11762
- var body = 'response' in xhr ? xhr.response : xhr.responseText;
11763
- setTimeout(function() {
11764
- resolve(new Response(body, options));
11765
- }, 0);
11766
- };
11767
-
11768
- xhr.onerror = function() {
11769
- setTimeout(function() {
11770
- reject(new TypeError('Network request failed'));
11771
- }, 0);
11772
- };
11773
-
11774
- xhr.ontimeout = function() {
11775
- setTimeout(function() {
11776
- reject(new TypeError('Network request failed'));
11777
- }, 0);
11778
- };
11779
-
11780
- xhr.onabort = function() {
11781
- setTimeout(function() {
11782
- reject(new exports.DOMException('Aborted', 'AbortError'));
11783
- }, 0);
11784
- };
11785
-
11786
- function fixUrl(url) {
11787
- try {
11788
- return url === '' && global.location.href ? global.location.href : url
11789
- } catch (e) {
11790
- return url
11791
- }
11792
- }
11793
-
11794
- xhr.open(request.method, fixUrl(request.url), true);
11795
-
11796
- if (request.credentials === 'include') {
11797
- xhr.withCredentials = true;
11798
- } else if (request.credentials === 'omit') {
11799
- xhr.withCredentials = false;
11800
- }
11801
-
11802
- if ('responseType' in xhr) {
11803
- if (support.blob) {
11804
- xhr.responseType = 'blob';
11805
- } else if (
11806
- support.arrayBuffer &&
11807
- request.headers.get('Content-Type') &&
11808
- request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1
11809
- ) {
11810
- xhr.responseType = 'arraybuffer';
11811
- }
11812
- }
11813
-
11814
- if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {
11815
- Object.getOwnPropertyNames(init.headers).forEach(function(name) {
11816
- xhr.setRequestHeader(name, normalizeValue(init.headers[name]));
11817
- });
11818
- } else {
11819
- request.headers.forEach(function(value, name) {
11820
- xhr.setRequestHeader(name, value);
11821
- });
11822
- }
11823
-
11824
- if (request.signal) {
11825
- request.signal.addEventListener('abort', abortXhr);
11826
-
11827
- xhr.onreadystatechange = function() {
11828
- // DONE (success or failure)
11829
- if (xhr.readyState === 4) {
11830
- request.signal.removeEventListener('abort', abortXhr);
11831
- }
11832
- };
11833
- }
11834
-
11835
- xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);
11836
- })
11837
- }
11838
-
11839
- fetch.polyfill = true;
11840
-
11841
- if (!global.fetch) {
11842
- global.fetch = fetch;
11843
- global.Headers = Headers;
11844
- global.Request = Request;
11845
- global.Response = Response;
11846
- }
11847
-
11848
- exports.Headers = Headers;
11849
- exports.Request = Request;
11850
- exports.Response = Response;
11851
- exports.fetch = fetch;
11852
-
11853
- return exports;
11854
-
11855
- })({});
11856
- })(__globalThis__);
11857
- // This is a ponyfill, so...
11858
- __globalThis__.fetch.ponyfill = true;
11859
- delete __globalThis__.fetch.polyfill;
11860
- // Choose between native implementation (__global__) or custom implementation (__globalThis__)
11861
- var ctx = __global__.fetch ? __global__ : __globalThis__;
11862
- exports = ctx.fetch // To enable: import fetch from 'cross-fetch'
11863
- exports["default"] = ctx.fetch // For TypeScript consumers without esModuleInterop.
11864
- exports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch'
11865
- exports.Headers = ctx.Headers
11866
- exports.Request = ctx.Request
11867
- exports.Response = ctx.Response
11868
- module.exports = exports
11869
-
11870
-
11871
11214
  /***/ }),
11872
11215
 
11873
11216
  /***/ "../../node_modules/eventemitter3/index.js":
@@ -16734,18 +16077,13 @@ var FaucetNetwork;
16734
16077
  (function (FaucetNetwork) {
16735
16078
  FaucetNetwork["Testnet"] = "faucet.altnet.rippletest.net";
16736
16079
  FaucetNetwork["Devnet"] = "faucet.devnet.rippletest.net";
16737
- FaucetNetwork["HooksV3Testnet"] = "hooks-testnet-v3.xrpl-labs.com";
16738
16080
  })(FaucetNetwork || (exports.FaucetNetwork = FaucetNetwork = {}));
16739
16081
  exports.FaucetNetworkPaths = {
16740
16082
  [FaucetNetwork.Testnet]: '/accounts',
16741
16083
  [FaucetNetwork.Devnet]: '/accounts',
16742
- [FaucetNetwork.HooksV3Testnet]: '/accounts',
16743
16084
  };
16744
16085
  function getFaucetHost(client) {
16745
16086
  const connectionUrl = client.url;
16746
- if (connectionUrl.includes('hooks-testnet-v3')) {
16747
- return FaucetNetwork.HooksV3Testnet;
16748
- }
16749
16087
  if (connectionUrl.includes('altnet') || connectionUrl.includes('testnet')) {
16750
16088
  return FaucetNetwork.Testnet;
16751
16089
  }
@@ -16786,12 +16124,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
16786
16124
  step((generator = generator.apply(thisArg, _arguments || [])).next());
16787
16125
  });
16788
16126
  };
16789
- var __importDefault = (this && this.__importDefault) || function (mod) {
16790
- return (mod && mod.__esModule) ? mod : { "default": mod };
16791
- };
16792
16127
  Object.defineProperty(exports, "__esModule", ({ value: true }));
16793
16128
  exports.requestFunding = exports.getStartingBalance = exports.generateWalletToFund = void 0;
16794
- const cross_fetch_1 = __importDefault(__webpack_require__(/*! cross-fetch */ "../../node_modules/cross-fetch/dist/browser-ponyfill.js"));
16795
16129
  const ripple_address_codec_1 = __webpack_require__(/*! ripple-address-codec */ "../../node_modules/ripple-address-codec/dist/index.js");
16796
16130
  const errors_1 = __webpack_require__(/*! ../errors */ "./dist/npm/errors.js");
16797
16131
  const defaultFaucets_1 = __webpack_require__(/*! ./defaultFaucets */ "./dist/npm/Wallet/defaultFaucets.js");
@@ -16825,7 +16159,7 @@ function requestFunding(options, client, startingBalance, walletToFund, postBody
16825
16159
  throw new errors_1.XRPLFaucetError('No faucet hostname could be derived');
16826
16160
  }
16827
16161
  const pathname = (_b = options.faucetPath) !== null && _b !== void 0 ? _b : (0, defaultFaucets_1.getDefaultFaucetPath)(hostname);
16828
- const response = yield (0, cross_fetch_1.default)(`https://${hostname}${pathname}`, {
16162
+ const response = yield fetch(`https://${hostname}${pathname}`, {
16829
16163
  method: 'POST',
16830
16164
  headers: {
16831
16165
  'Content-Type': 'application/json',
@@ -17898,6 +17232,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
17898
17232
  exports.Client = void 0;
17899
17233
  const eventemitter3_1 = __webpack_require__(/*! eventemitter3 */ "../../node_modules/eventemitter3/index.js");
17900
17234
  const errors_1 = __webpack_require__(/*! ../errors */ "./dist/npm/errors.js");
17235
+ const common_1 = __webpack_require__(/*! ../models/common */ "./dist/npm/models/common/index.js");
17901
17236
  const flags_1 = __webpack_require__(/*! ../models/utils/flags */ "./dist/npm/models/utils/flags.js");
17902
17237
  const sugar_1 = __webpack_require__(/*! ../sugar */ "./dist/npm/sugar/index.js");
17903
17238
  const autofill_1 = __webpack_require__(/*! ../sugar/autofill */ "./dist/npm/sugar/autofill.js");
@@ -17942,6 +17277,7 @@ class Client extends eventemitter3_1.EventEmitter {
17942
17277
  constructor(server, options = {}) {
17943
17278
  var _a, _b;
17944
17279
  super();
17280
+ this.apiVersion = common_1.DEFAULT_API_VERSION;
17945
17281
  if (typeof server !== 'string' || !/wss?(?:\+unix)?:\/\//u.exec(server)) {
17946
17282
  throw new errors_1.ValidationError('server URI must start with `wss://`, `ws://`, `wss+unix://`, or `ws+unix://`.');
17947
17283
  }
@@ -17988,11 +17324,12 @@ class Client extends eventemitter3_1.EventEmitter {
17988
17324
  return this.connection.getUrl();
17989
17325
  }
17990
17326
  request(req) {
17327
+ var _a;
17991
17328
  return __awaiter(this, void 0, void 0, function* () {
17992
- const response = yield this.connection.request(Object.assign(Object.assign({}, req), { account: req.account
17993
- ?
17994
- (0, sugar_1.ensureClassicAddress)(req.account)
17995
- : undefined }));
17329
+ const request = Object.assign(Object.assign({}, req), { account: typeof req.account === 'string'
17330
+ ? (0, sugar_1.ensureClassicAddress)(req.account)
17331
+ : undefined, api_version: (_a = req.api_version) !== null && _a !== void 0 ? _a : this.apiVersion });
17332
+ const response = yield this.connection.request(request);
17996
17333
  (0, partialPayment_1.handlePartialPayment)(req.command, response);
17997
17334
  return response;
17998
17335
  });
@@ -18089,6 +17426,15 @@ class Client extends eventemitter3_1.EventEmitter {
18089
17426
  if (tx.TransactionType === 'AccountDelete') {
18090
17427
  promises.push((0, autofill_1.checkAccountDeleteBlockers)(this, tx));
18091
17428
  }
17429
+ if (tx.TransactionType === 'Payment' && tx.DeliverMax != null) {
17430
+ if (tx.Amount == null) {
17431
+ tx.Amount = tx.DeliverMax;
17432
+ }
17433
+ if (tx.Amount != null && tx.Amount !== tx.DeliverMax) {
17434
+ return Promise.reject(new errors_1.ValidationError('PaymentTransaction: Amount and DeliverMax fields must be identical when both are provided'));
17435
+ }
17436
+ delete tx.DeliverMax;
17437
+ }
18092
17438
  return Promise.all(promises).then(() => tx);
18093
17439
  });
18094
17440
  }
@@ -18265,21 +17611,28 @@ function isPartialPayment(tx, metadata) {
18265
17611
  return false;
18266
17612
  }
18267
17613
  const delivered = meta.delivered_amount;
18268
- const amount = tx.Amount;
17614
+ const amount = tx.DeliverMax;
18269
17615
  if (delivered === undefined) {
18270
17616
  return false;
18271
17617
  }
18272
17618
  return !amountsEqual(delivered, amount);
18273
17619
  }
18274
17620
  function txHasPartialPayment(response) {
18275
- return isPartialPayment(response.result, response.result.meta);
17621
+ return isPartialPayment(response.result.tx_json, response.result.meta);
18276
17622
  }
18277
17623
  function txEntryHasPartialPayment(response) {
18278
17624
  return isPartialPayment(response.result.tx_json, response.result.metadata);
18279
17625
  }
18280
17626
  function accountTxHasPartialPayment(response) {
18281
17627
  const { transactions } = response.result;
18282
- const foo = transactions.some((tx) => isPartialPayment(tx.tx, tx.meta));
17628
+ const foo = transactions.some((tx) => {
17629
+ if (tx.tx_json != null) {
17630
+ const transaction = tx;
17631
+ return isPartialPayment(transaction.tx_json, transaction.meta);
17632
+ }
17633
+ const transaction = tx;
17634
+ return isPartialPayment(transaction.tx, transaction.meta);
17635
+ });
18283
17636
  return foo;
18284
17637
  }
18285
17638
  function hasPartialPayment(command, response) {
@@ -18453,6 +17806,10 @@ __exportStar(__webpack_require__(/*! ./Wallet/signer */ "./dist/npm/Wallet/signe
18453
17806
  "use strict";
18454
17807
 
18455
17808
  Object.defineProperty(exports, "__esModule", ({ value: true }));
17809
+ exports.DEFAULT_API_VERSION = exports.RIPPLED_API_V2 = exports.RIPPLED_API_V1 = void 0;
17810
+ exports.RIPPLED_API_V1 = 1;
17811
+ exports.RIPPLED_API_V2 = 2;
17812
+ exports.DEFAULT_API_VERSION = exports.RIPPLED_API_V2;
18456
17813
 
18457
17814
 
18458
17815
  /***/ }),
@@ -20958,7 +20315,6 @@ const getFeeXrp_1 = __importDefault(__webpack_require__(/*! ./getFeeXrp */ "./di
20958
20315
  const LEDGER_OFFSET = 20;
20959
20316
  const RESTRICTED_NETWORKS = 1024;
20960
20317
  const REQUIRED_NETWORKID_VERSION = '1.11.0';
20961
- const HOOKS_TESTNET_ID = 21338;
20962
20318
  function isNotLaterRippledVersion(source, target) {
20963
20319
  if (source === target) {
20964
20320
  return true;
@@ -21001,9 +20357,8 @@ function isNotLaterRippledVersion(source, target) {
21001
20357
  function txNeedsNetworkID(client) {
21002
20358
  if (client.networkID !== undefined &&
21003
20359
  client.networkID > RESTRICTED_NETWORKS) {
21004
- if ((client.buildVersion &&
21005
- isNotLaterRippledVersion(REQUIRED_NETWORKID_VERSION, client.buildVersion)) ||
21006
- client.networkID === HOOKS_TESTNET_ID) {
20360
+ if (client.buildVersion &&
20361
+ isNotLaterRippledVersion(REQUIRED_NETWORKID_VERSION, client.buildVersion)) {
21007
20362
  return true;
21008
20363
  }
21009
20364
  }
@@ -21185,8 +20540,9 @@ function getFeeXrp(client, cushion) {
21185
20540
  var _a;
21186
20541
  return __awaiter(this, void 0, void 0, function* () {
21187
20542
  const feeCushion = cushion !== null && cushion !== void 0 ? cushion : client.feeCushion;
21188
- const serverInfo = (yield client.request({ command: 'server_info' })).result
21189
- .info;
20543
+ const serverInfo = (yield client.request({
20544
+ command: 'server_info',
20545
+ })).result.info;
21190
20546
  const baseFee = (_a = serverInfo.validated_ledger) === null || _a === void 0 ? void 0 : _a.base_fee_xrp;
21191
20547
  if (baseFee == null) {
21192
20548
  throw new errors_1.XrplError('getFeeXrp: Could not get base_fee_xrp from server_info');
@@ -22838,19 +22194,6 @@ module.exports = /*#__PURE__*/JSON.parse('["A","ABE","ACE","ACT","AD","ADA","ADD
22838
22194
  /******/ }
22839
22195
  /******/
22840
22196
  /************************************************************************/
22841
- /******/ /* webpack/runtime/global */
22842
- /******/ (() => {
22843
- /******/ __webpack_require__.g = (function() {
22844
- /******/ if (typeof globalThis === 'object') return globalThis;
22845
- /******/ try {
22846
- /******/ return this || new Function('return this')();
22847
- /******/ } catch (e) {
22848
- /******/ if (typeof window === 'object') return window;
22849
- /******/ }
22850
- /******/ })();
22851
- /******/ })();
22852
- /******/
22853
- /************************************************************************/
22854
22197
  /******/
22855
22198
  /******/ // startup
22856
22199
  /******/ // Load entry module and return exports