@pezkuwi/hw-ledger 14.0.13 → 14.0.15

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 (98) hide show
  1. package/bundle-pezkuwi-hw-ledger.js +145 -166
  2. package/cjs/packageInfo.js +1 -1
  3. package/package.json +9 -9
  4. package/packageInfo.js +1 -1
  5. package/build/LICENSE +0 -201
  6. package/build/Ledger.d.ts +0 -43
  7. package/build/Ledger.js +0 -112
  8. package/build/LedgerGeneric.d.ts +0 -63
  9. package/build/LedgerGeneric.js +0 -211
  10. package/build/README.md +0 -2
  11. package/build/bundle-pezkuwi-hw-ledger.js +0 -9452
  12. package/build/bundle.d.ts +0 -2
  13. package/build/bundle.js +0 -2
  14. package/build/cjs/Ledger.d.ts +0 -43
  15. package/build/cjs/Ledger.js +0 -117
  16. package/build/cjs/LedgerGeneric.d.ts +0 -63
  17. package/build/cjs/LedgerGeneric.js +0 -216
  18. package/build/cjs/bundle.d.ts +0 -2
  19. package/build/cjs/bundle.js +0 -7
  20. package/build/cjs/constants.d.ts +0 -4
  21. package/build/cjs/constants.js +0 -7
  22. package/build/cjs/defaults.d.ts +0 -14
  23. package/build/cjs/defaults.js +0 -61
  24. package/build/cjs/index.d.ts +0 -2
  25. package/build/cjs/index.js +0 -5
  26. package/build/cjs/package.json +0 -3
  27. package/build/cjs/packageDetect.d.ts +0 -1
  28. package/build/cjs/packageDetect.js +0 -7
  29. package/build/cjs/packageInfo.d.ts +0 -6
  30. package/build/cjs/packageInfo.js +0 -4
  31. package/build/cjs/types.d.ts +0 -34
  32. package/build/cjs/types.js +0 -2
  33. package/build/constants.d.ts +0 -4
  34. package/build/constants.js +0 -4
  35. package/build/defaults.d.ts +0 -14
  36. package/build/defaults.js +0 -58
  37. package/build/index.d.ts +0 -2
  38. package/build/index.js +0 -2
  39. package/build/package.json +0 -178
  40. package/build/packageDetect.d.ts +0 -1
  41. package/build/packageDetect.js +0 -5
  42. package/build/packageInfo.d.ts +0 -6
  43. package/build/packageInfo.js +0 -1
  44. package/build/types.d.ts +0 -34
  45. package/build/types.js +0 -1
  46. package/build-deno/Ledger.ts +0 -144
  47. package/build-deno/LedgerGeneric.ts +0 -271
  48. package/build-deno/README.md +0 -2
  49. package/build-deno/bundle.ts +0 -3
  50. package/build-deno/constants.ts +0 -8
  51. package/build-deno/defaults.ts +0 -61
  52. package/build-deno/index.ts +0 -4
  53. package/build-deno/mod.ts +0 -2
  54. package/build-deno/packageDetect.ts +0 -9
  55. package/build-deno/packageInfo.ts +0 -3
  56. package/build-deno/types.ts +0 -42
  57. package/build-tsc/Ledger.d.ts +0 -43
  58. package/build-tsc/LedgerGeneric.d.ts +0 -63
  59. package/build-tsc/bundle.d.ts +0 -2
  60. package/build-tsc/constants.d.ts +0 -4
  61. package/build-tsc/defaults.d.ts +0 -14
  62. package/build-tsc/index.d.ts +0 -2
  63. package/build-tsc/packageDetect.d.ts +0 -1
  64. package/build-tsc/packageInfo.d.ts +0 -6
  65. package/build-tsc/types.d.ts +0 -34
  66. package/build-tsc-cjs/Ledger.js +0 -117
  67. package/build-tsc-cjs/LedgerGeneric.js +0 -216
  68. package/build-tsc-cjs/bundle.js +0 -7
  69. package/build-tsc-cjs/constants.js +0 -7
  70. package/build-tsc-cjs/defaults.js +0 -61
  71. package/build-tsc-cjs/index.js +0 -5
  72. package/build-tsc-cjs/packageDetect.js +0 -7
  73. package/build-tsc-cjs/packageInfo.js +0 -4
  74. package/build-tsc-cjs/types.js +0 -2
  75. package/build-tsc-esm/Ledger.js +0 -112
  76. package/build-tsc-esm/LedgerGeneric.js +0 -211
  77. package/build-tsc-esm/bundle.js +0 -2
  78. package/build-tsc-esm/constants.js +0 -4
  79. package/build-tsc-esm/defaults.js +0 -58
  80. package/build-tsc-esm/index.js +0 -2
  81. package/build-tsc-esm/packageDetect.js +0 -5
  82. package/build-tsc-esm/packageInfo.js +0 -1
  83. package/build-tsc-esm/types.js +0 -1
  84. package/src/Ledger.ts +0 -144
  85. package/src/LedgerGeneric.ts +0 -275
  86. package/src/bundle.ts +0 -8
  87. package/src/constants.ts +0 -10
  88. package/src/defaults.spec.ts +0 -20
  89. package/src/defaults.ts +0 -69
  90. package/src/index.ts +0 -6
  91. package/src/mod.ts +0 -4
  92. package/src/packageDetect.ts +0 -13
  93. package/src/packageInfo.ts +0 -6
  94. package/src/types.ts +0 -42
  95. package/tsconfig.build.json +0 -16
  96. package/tsconfig.build.tsbuildinfo +0 -1
  97. package/tsconfig.spec.json +0 -16
  98. package/tsconfig.spec.tsbuildinfo +0 -1
@@ -857,7 +857,7 @@
857
857
 
858
858
  var generic_app = {};
859
859
 
860
- /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
860
+ /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */
861
861
 
862
862
  /**
863
863
  * Create a bound version of a function with a specified `this` context
@@ -1122,10 +1122,11 @@
1122
1122
  * If 'obj' is an Object callback will be called passing
1123
1123
  * the value, key, and complete object for each property.
1124
1124
  *
1125
- * @param {Object|Array} obj The object to iterate
1125
+ * @param {Object|Array<unknown>} obj The object to iterate
1126
1126
  * @param {Function} fn The callback to invoke for each item
1127
1127
  *
1128
- * @param {Boolean} [allOwnKeys = false]
1128
+ * @param {Object} [options]
1129
+ * @param {Boolean} [options.allOwnKeys = false]
1129
1130
  * @returns {any}
1130
1131
  */
1131
1132
  function forEach(obj, fn, {allOwnKeys = false} = {}) {
@@ -1202,7 +1203,7 @@
1202
1203
  * Example:
1203
1204
  *
1204
1205
  * ```js
1205
- * var result = merge({foo: 123}, {foo: 456});
1206
+ * const result = merge({foo: 123}, {foo: 456});
1206
1207
  * console.log(result.foo); // outputs 456
1207
1208
  * ```
1208
1209
  *
@@ -1239,15 +1240,26 @@
1239
1240
  * @param {Object} b The object to copy properties from
1240
1241
  * @param {Object} thisArg The object to bind function to
1241
1242
  *
1242
- * @param {Boolean} [allOwnKeys]
1243
+ * @param {Object} [options]
1244
+ * @param {Boolean} [options.allOwnKeys]
1243
1245
  * @returns {Object} The resulting value of object a
1244
1246
  */
1245
1247
  const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
1246
1248
  forEach(b, (val, key) => {
1247
1249
  if (thisArg && isFunction$1(val)) {
1248
- a[key] = bind(val, thisArg);
1250
+ Object.defineProperty(a, key, {
1251
+ value: bind(val, thisArg),
1252
+ writable: true,
1253
+ enumerable: true,
1254
+ configurable: true
1255
+ });
1249
1256
  } else {
1250
- a[key] = val;
1257
+ Object.defineProperty(a, key, {
1258
+ value: val,
1259
+ writable: true,
1260
+ enumerable: true,
1261
+ configurable: true
1262
+ });
1251
1263
  }
1252
1264
  }, {allOwnKeys});
1253
1265
  return a;
@@ -1278,7 +1290,12 @@
1278
1290
  */
1279
1291
  const inherits = (constructor, superConstructor, props, descriptors) => {
1280
1292
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
1281
- constructor.prototype.constructor = constructor;
1293
+ Object.defineProperty(constructor.prototype, 'constructor', {
1294
+ value: constructor,
1295
+ writable: true,
1296
+ enumerable: false,
1297
+ configurable: true
1298
+ });
1282
1299
  Object.defineProperty(constructor, 'super', {
1283
1300
  value: superConstructor.prototype
1284
1301
  });
@@ -1651,110 +1668,75 @@
1651
1668
  isIterable
1652
1669
  };
1653
1670
 
1654
- /**
1655
- * Create an Error with the specified message, config, error code, request and response.
1656
- *
1657
- * @param {string} message The error message.
1658
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
1659
- * @param {Object} [config] The config.
1660
- * @param {Object} [request] The request.
1661
- * @param {Object} [response] The response.
1662
- *
1663
- * @returns {Error} The created error.
1664
- */
1665
- function AxiosError(message, code, config, request, response) {
1666
- Error.call(this);
1667
-
1668
- if (Error.captureStackTrace) {
1669
- Error.captureStackTrace(this, this.constructor);
1670
- } else {
1671
- this.stack = (new Error()).stack;
1672
- }
1671
+ class AxiosError extends Error {
1672
+ static from(error, code, config, request, response, customProps) {
1673
+ const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
1674
+ axiosError.cause = error;
1675
+ axiosError.name = error.name;
1676
+ customProps && Object.assign(axiosError, customProps);
1677
+ return axiosError;
1678
+ }
1679
+
1680
+ /**
1681
+ * Create an Error with the specified message, config, error code, request and response.
1682
+ *
1683
+ * @param {string} message The error message.
1684
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
1685
+ * @param {Object} [config] The config.
1686
+ * @param {Object} [request] The request.
1687
+ * @param {Object} [response] The response.
1688
+ *
1689
+ * @returns {Error} The created error.
1690
+ */
1691
+ constructor(message, code, config, request, response) {
1692
+ super(message);
1693
+ this.name = 'AxiosError';
1694
+ this.isAxiosError = true;
1695
+ code && (this.code = code);
1696
+ config && (this.config = config);
1697
+ request && (this.request = request);
1698
+ if (response) {
1699
+ this.response = response;
1700
+ this.status = response.status;
1701
+ }
1702
+ }
1673
1703
 
1674
- this.message = message;
1675
- this.name = 'AxiosError';
1676
- code && (this.code = code);
1677
- config && (this.config = config);
1678
- request && (this.request = request);
1679
- if (response) {
1680
- this.response = response;
1681
- this.status = response.status ? response.status : null;
1682
- }
1704
+ toJSON() {
1705
+ return {
1706
+ // Standard
1707
+ message: this.message,
1708
+ name: this.name,
1709
+ // Microsoft
1710
+ description: this.description,
1711
+ number: this.number,
1712
+ // Mozilla
1713
+ fileName: this.fileName,
1714
+ lineNumber: this.lineNumber,
1715
+ columnNumber: this.columnNumber,
1716
+ stack: this.stack,
1717
+ // Axios
1718
+ config: utils$1.toJSONObject(this.config),
1719
+ code: this.code,
1720
+ status: this.status,
1721
+ };
1722
+ }
1683
1723
  }
1684
1724
 
1685
- utils$1.inherits(AxiosError, Error, {
1686
- toJSON: function toJSON() {
1687
- return {
1688
- // Standard
1689
- message: this.message,
1690
- name: this.name,
1691
- // Microsoft
1692
- description: this.description,
1693
- number: this.number,
1694
- // Mozilla
1695
- fileName: this.fileName,
1696
- lineNumber: this.lineNumber,
1697
- columnNumber: this.columnNumber,
1698
- stack: this.stack,
1699
- // Axios
1700
- config: utils$1.toJSONObject(this.config),
1701
- code: this.code,
1702
- status: this.status
1703
- };
1704
- }
1705
- });
1706
-
1707
- const prototype$1 = AxiosError.prototype;
1708
- const descriptors = {};
1709
-
1710
- [
1711
- 'ERR_BAD_OPTION_VALUE',
1712
- 'ERR_BAD_OPTION',
1713
- 'ECONNABORTED',
1714
- 'ETIMEDOUT',
1715
- 'ERR_NETWORK',
1716
- 'ERR_FR_TOO_MANY_REDIRECTS',
1717
- 'ERR_DEPRECATED',
1718
- 'ERR_BAD_RESPONSE',
1719
- 'ERR_BAD_REQUEST',
1720
- 'ERR_CANCELED',
1721
- 'ERR_NOT_SUPPORT',
1722
- 'ERR_INVALID_URL'
1723
- // eslint-disable-next-line func-names
1724
- ].forEach(code => {
1725
- descriptors[code] = {value: code};
1726
- });
1727
-
1728
- Object.defineProperties(AxiosError, descriptors);
1729
- Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
1725
+ // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
1726
+ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
1727
+ AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
1728
+ AxiosError.ECONNABORTED = 'ECONNABORTED';
1729
+ AxiosError.ETIMEDOUT = 'ETIMEDOUT';
1730
+ AxiosError.ERR_NETWORK = 'ERR_NETWORK';
1731
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
1732
+ AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
1733
+ AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
1734
+ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
1735
+ AxiosError.ERR_CANCELED = 'ERR_CANCELED';
1736
+ AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
1737
+ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
1730
1738
 
1731
- // eslint-disable-next-line func-names
1732
- AxiosError.from = (error, code, config, request, response, customProps) => {
1733
- const axiosError = Object.create(prototype$1);
1734
-
1735
- utils$1.toFlatObject(error, axiosError, function filter(obj) {
1736
- return obj !== Error.prototype;
1737
- }, prop => {
1738
- return prop !== 'isAxiosError';
1739
- });
1740
-
1741
- const msg = error && error.message ? error.message : 'Error';
1742
-
1743
- // Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
1744
- const errCode = code == null && error ? error.code : code;
1745
- AxiosError.call(axiosError, msg, errCode, config, request, response);
1746
-
1747
- // Chain the original error on the standard field; non-enumerable to avoid JSON noise
1748
- if (error && axiosError.cause == null) {
1749
- Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });
1750
- }
1751
-
1752
- axiosError.name = (error && error.name) || 'Error';
1753
-
1754
- customProps && Object.assign(axiosError, customProps);
1755
-
1756
- return axiosError;
1757
- };
1739
+ var AxiosError$1 = AxiosError;
1758
1740
 
1759
1741
  // eslint-disable-next-line strict
1760
1742
  var httpAdapter = null;
@@ -1879,7 +1861,7 @@
1879
1861
  }
1880
1862
 
1881
1863
  if (!useBlob && utils$1.isBlob(value)) {
1882
- throw new AxiosError('Blob is not supported. Use a Buffer instead.');
1864
+ throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
1883
1865
  }
1884
1866
 
1885
1867
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
@@ -2053,29 +2035,26 @@
2053
2035
  * @returns {string} The formatted url
2054
2036
  */
2055
2037
  function buildURL(url, params, options) {
2056
- /*eslint no-param-reassign:0*/
2057
2038
  if (!params) {
2058
2039
  return url;
2059
2040
  }
2060
-
2041
+
2061
2042
  const _encode = options && options.encode || encode;
2062
2043
 
2063
- if (utils$1.isFunction(options)) {
2064
- options = {
2065
- serialize: options
2066
- };
2067
- }
2044
+ const _options = utils$1.isFunction(options) ? {
2045
+ serialize: options
2046
+ } : options;
2068
2047
 
2069
- const serializeFn = options && options.serialize;
2048
+ const serializeFn = _options && _options.serialize;
2070
2049
 
2071
2050
  let serializedParams;
2072
2051
 
2073
2052
  if (serializeFn) {
2074
- serializedParams = serializeFn(params, options);
2053
+ serializedParams = serializeFn(params, _options);
2075
2054
  } else {
2076
2055
  serializedParams = utils$1.isURLSearchParams(params) ?
2077
2056
  params.toString() :
2078
- new AxiosURLSearchParams(params, options).toString(_encode);
2057
+ new AxiosURLSearchParams(params, _options).toString(_encode);
2079
2058
  }
2080
2059
 
2081
2060
  if (serializedParams) {
@@ -2100,6 +2079,7 @@
2100
2079
  *
2101
2080
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
2102
2081
  * @param {Function} rejected The function to handle `reject` for a `Promise`
2082
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
2103
2083
  *
2104
2084
  * @return {Number} An ID used to remove interceptor later
2105
2085
  */
@@ -2449,7 +2429,7 @@
2449
2429
  } catch (e) {
2450
2430
  if (strictJSONParsing) {
2451
2431
  if (e.name === 'SyntaxError') {
2452
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
2432
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
2453
2433
  }
2454
2434
  throw e;
2455
2435
  }
@@ -2883,24 +2863,24 @@
2883
2863
  return !!(value && value.__CANCEL__);
2884
2864
  }
2885
2865
 
2886
- /**
2887
- * A `CanceledError` is an object that is thrown when an operation is canceled.
2888
- *
2889
- * @param {string=} message The message.
2890
- * @param {Object=} config The config.
2891
- * @param {Object=} request The request.
2892
- *
2893
- * @returns {CanceledError} The created error.
2894
- */
2895
- function CanceledError(message, config, request) {
2896
- // eslint-disable-next-line no-eq-null,eqeqeq
2897
- AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
2898
- this.name = 'CanceledError';
2866
+ class CanceledError extends AxiosError$1 {
2867
+ /**
2868
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
2869
+ *
2870
+ * @param {string=} message The message.
2871
+ * @param {Object=} config The config.
2872
+ * @param {Object=} request The request.
2873
+ *
2874
+ * @returns {CanceledError} The created error.
2875
+ */
2876
+ constructor(message, config, request) {
2877
+ super(message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
2878
+ this.name = 'CanceledError';
2879
+ this.__CANCEL__ = true;
2880
+ }
2899
2881
  }
2900
2882
 
2901
- utils$1.inherits(CanceledError, AxiosError, {
2902
- __CANCEL__: true
2903
- });
2883
+ var CanceledError$1 = CanceledError;
2904
2884
 
2905
2885
  /**
2906
2886
  * Resolve or reject a Promise based on response status.
@@ -2916,9 +2896,9 @@
2916
2896
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2917
2897
  resolve(response);
2918
2898
  } else {
2919
- reject(new AxiosError(
2899
+ reject(new AxiosError$1(
2920
2900
  'Request failed with status code ' + response.status,
2921
- [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2901
+ [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2922
2902
  response.config,
2923
2903
  response.request,
2924
2904
  response
@@ -3194,7 +3174,7 @@
3194
3174
 
3195
3175
  function getMergedValue(target, source, prop, caseless) {
3196
3176
  if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
3197
- return utils$1.merge.call({caseless}, target, source);
3177
+ return utils$1.merge.call({ caseless }, target, source);
3198
3178
  } else if (utils$1.isPlainObject(source)) {
3199
3179
  return utils$1.merge({}, source);
3200
3180
  } else if (utils$1.isArray(source)) {
@@ -3203,7 +3183,6 @@
3203
3183
  return source;
3204
3184
  }
3205
3185
 
3206
- // eslint-disable-next-line consistent-return
3207
3186
  function mergeDeepProperties(a, b, prop, caseless) {
3208
3187
  if (!utils$1.isUndefined(b)) {
3209
3188
  return getMergedValue(a, b, prop, caseless);
@@ -3269,7 +3248,7 @@
3269
3248
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
3270
3249
  };
3271
3250
 
3272
- utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
3251
+ utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
3273
3252
  const merge = mergeMap[prop] || mergeDeepProperties;
3274
3253
  const configValue = merge(config1[prop], config2[prop], prop);
3275
3254
  (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
@@ -3418,7 +3397,7 @@
3418
3397
  return;
3419
3398
  }
3420
3399
 
3421
- reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
3400
+ reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
3422
3401
 
3423
3402
  // Clean up request
3424
3403
  request = null;
@@ -3430,7 +3409,7 @@
3430
3409
  // (message may be empty; when present, surface it)
3431
3410
  // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
3432
3411
  const msg = event && event.message ? event.message : 'Network Error';
3433
- const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
3412
+ const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
3434
3413
  // attach the underlying event for consumers who want details
3435
3414
  err.event = event || null;
3436
3415
  reject(err);
@@ -3444,9 +3423,9 @@
3444
3423
  if (_config.timeoutErrorMessage) {
3445
3424
  timeoutErrorMessage = _config.timeoutErrorMessage;
3446
3425
  }
3447
- reject(new AxiosError(
3426
+ reject(new AxiosError$1(
3448
3427
  timeoutErrorMessage,
3449
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
3428
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
3450
3429
  config,
3451
3430
  request));
3452
3431
 
@@ -3496,7 +3475,7 @@
3496
3475
  if (!request) {
3497
3476
  return;
3498
3477
  }
3499
- reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
3478
+ reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
3500
3479
  request.abort();
3501
3480
  request = null;
3502
3481
  };
@@ -3510,7 +3489,7 @@
3510
3489
  const protocol = parseProtocol(_config.url);
3511
3490
 
3512
3491
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
3513
- reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
3492
+ reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
3514
3493
  return;
3515
3494
  }
3516
3495
 
@@ -3533,13 +3512,13 @@
3533
3512
  aborted = true;
3534
3513
  unsubscribe();
3535
3514
  const err = reason instanceof Error ? reason : this.reason;
3536
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
3515
+ controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
3537
3516
  }
3538
3517
  };
3539
3518
 
3540
3519
  let timer = timeout && setTimeout(() => {
3541
3520
  timer = null;
3542
- onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
3521
+ onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
3543
3522
  }, timeout);
3544
3523
 
3545
3524
  const unsubscribe = () => {
@@ -3725,7 +3704,7 @@
3725
3704
  return method.call(res);
3726
3705
  }
3727
3706
 
3728
- throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
3707
+ throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
3729
3708
  });
3730
3709
  });
3731
3710
  })());
@@ -3891,14 +3870,14 @@
3891
3870
 
3892
3871
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
3893
3872
  throw Object.assign(
3894
- new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
3873
+ new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request),
3895
3874
  {
3896
3875
  cause: err.cause || err
3897
3876
  }
3898
3877
  )
3899
3878
  }
3900
3879
 
3901
- throw AxiosError.from(err, err && err.code, config, request);
3880
+ throw AxiosError$1.from(err, err && err.code, config, request);
3902
3881
  }
3903
3882
  }
3904
3883
  };
@@ -4003,7 +3982,7 @@
4003
3982
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
4004
3983
 
4005
3984
  if (adapter === undefined) {
4006
- throw new AxiosError(`Unknown adapter '${id}'`);
3985
+ throw new AxiosError$1(`Unknown adapter '${id}'`);
4007
3986
  }
4008
3987
  }
4009
3988
 
@@ -4024,7 +4003,7 @@
4024
4003
  (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
4025
4004
  'as no adapter specified';
4026
4005
 
4027
- throw new AxiosError(
4006
+ throw new AxiosError$1(
4028
4007
  `There is no suitable adapter to dispatch the request ` + s,
4029
4008
  'ERR_NOT_SUPPORT'
4030
4009
  );
@@ -4063,7 +4042,7 @@
4063
4042
  }
4064
4043
 
4065
4044
  if (config.signal && config.signal.aborted) {
4066
- throw new CanceledError(null, config);
4045
+ throw new CanceledError$1(null, config);
4067
4046
  }
4068
4047
  }
4069
4048
 
@@ -4123,7 +4102,7 @@
4123
4102
  });
4124
4103
  }
4125
4104
 
4126
- const VERSION = "1.13.2";
4105
+ const VERSION = "1.13.4";
4127
4106
 
4128
4107
  const validators$1 = {};
4129
4108
 
@@ -4153,9 +4132,9 @@
4153
4132
  // eslint-disable-next-line func-names
4154
4133
  return (value, opt, opts) => {
4155
4134
  if (validator === false) {
4156
- throw new AxiosError(
4135
+ throw new AxiosError$1(
4157
4136
  formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
4158
- AxiosError.ERR_DEPRECATED
4137
+ AxiosError$1.ERR_DEPRECATED
4159
4138
  );
4160
4139
  }
4161
4140
 
@@ -4194,7 +4173,7 @@
4194
4173
 
4195
4174
  function assertOptions(options, schema, allowUnknown) {
4196
4175
  if (typeof options !== 'object') {
4197
- throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
4176
+ throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
4198
4177
  }
4199
4178
  const keys = Object.keys(options);
4200
4179
  let i = keys.length;
@@ -4205,12 +4184,12 @@
4205
4184
  const value = options[opt];
4206
4185
  const result = value === undefined || validator(value, opt, options);
4207
4186
  if (result !== true) {
4208
- throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
4187
+ throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
4209
4188
  }
4210
4189
  continue;
4211
4190
  }
4212
4191
  if (allowUnknown !== true) {
4213
- throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
4192
+ throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
4214
4193
  }
4215
4194
  }
4216
4195
  }
@@ -4503,7 +4482,7 @@
4503
4482
  return;
4504
4483
  }
4505
4484
 
4506
- token.reason = new CanceledError(message, config, request);
4485
+ token.reason = new CanceledError$1(message, config, request);
4507
4486
  resolvePromise(token.reason);
4508
4487
  });
4509
4488
  }
@@ -4587,7 +4566,7 @@
4587
4566
  *
4588
4567
  * ```js
4589
4568
  * function f(x, y, z) {}
4590
- * var args = [1, 2, 3];
4569
+ * const args = [1, 2, 3];
4591
4570
  * f.apply(null, args);
4592
4571
  * ```
4593
4572
  *
@@ -4728,14 +4707,14 @@
4728
4707
  axios.Axios = Axios$1;
4729
4708
 
4730
4709
  // Expose Cancel & CancelToken
4731
- axios.CanceledError = CanceledError;
4710
+ axios.CanceledError = CanceledError$1;
4732
4711
  axios.CancelToken = CancelToken$1;
4733
4712
  axios.isCancel = isCancel;
4734
4713
  axios.VERSION = VERSION;
4735
4714
  axios.toFormData = toFormData;
4736
4715
 
4737
4716
  // Expose AxiosError class
4738
- axios.AxiosError = AxiosError;
4717
+ axios.AxiosError = AxiosError$1;
4739
4718
 
4740
4719
  // alias for CanceledError for backward compatibility
4741
4720
  axios.Cancel = axios.CanceledError;
@@ -9173,7 +9152,7 @@
9173
9152
  hasRequiredPackageInfo = 1;
9174
9153
  Object.defineProperty(packageInfo, "__esModule", { value: true });
9175
9154
  packageInfo.packageInfo = void 0;
9176
- packageInfo.packageInfo = { name: '@pezkuwi/hw-ledger-transports', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
9155
+ packageInfo.packageInfo = { name: '@pezkuwi/hw-ledger-transports', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.14' };
9177
9156
  return packageInfo;
9178
9157
  }
9179
9158
 
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@pezkuwi/hw-ledger', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
4
+ exports.packageInfo = { name: '@pezkuwi/hw-ledger', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.14' };
package/package.json CHANGED
@@ -17,11 +17,13 @@
17
17
  "./cjs/packageDetect.js"
18
18
  ],
19
19
  "type": "module",
20
- "types": "./index.d.ts",
21
- "version": "14.0.13",
20
+ "version": "14.0.15",
22
21
  "main": "./cjs/index.js",
23
- "module": "./index.js",
22
+ "module": "./cjs/index.js",
23
+ "types": "./cjs/index.d.ts",
24
24
  "exports": {
25
+ "./cjs/package.json": "./cjs/package.json",
26
+ "./cjs/*": "./cjs/*.js",
25
27
  ".": {
26
28
  "module": {
27
29
  "types": "./index.d.ts",
@@ -50,8 +52,6 @@
50
52
  "default": "./bundle.js"
51
53
  }
52
54
  },
53
- "./cjs/*": "./cjs/*.js",
54
- "./cjs/package.json": "./cjs/package.json",
55
55
  "./constants": {
56
56
  "module": {
57
57
  "types": "./constants.d.ts",
@@ -126,7 +126,7 @@
126
126
  "default": "./packageDetect.js"
127
127
  }
128
128
  },
129
- "./packageInfo": {
129
+ "./packageInfo.js": {
130
130
  "module": {
131
131
  "types": "./packageInfo.d.ts",
132
132
  "default": "./packageInfo.js"
@@ -140,7 +140,7 @@
140
140
  "default": "./packageInfo.js"
141
141
  }
142
142
  },
143
- "./packageInfo.js": {
143
+ "./packageInfo": {
144
144
  "module": {
145
145
  "types": "./packageInfo.d.ts",
146
146
  "default": "./packageInfo.js"
@@ -170,8 +170,8 @@
170
170
  }
171
171
  },
172
172
  "dependencies": {
173
- "@pezkuwi/hw-ledger-transports": "14.0.12",
174
- "@pezkuwi/util": "14.0.12",
173
+ "@pezkuwi/hw-ledger-transports": "14.0.14",
174
+ "@pezkuwi/util": "14.0.14",
175
175
  "@zondax/ledger-substrate": "1.1.1",
176
176
  "tslib": "^2.8.0"
177
177
  }
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@pezkuwi/hw-ledger', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.10' };
1
+ export const packageInfo = { name: '@pezkuwi/hw-ledger', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.14' };