@meshsdk/bitcoin 1.9.0-beta.90 → 1.9.0-beta.91

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.
package/dist/index.cjs CHANGED
@@ -346,9 +346,17 @@ function _ts_generator(thisArg, body) {
346
346
  },
347
347
  trys: [],
348
348
  ops: []
349
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
350
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
351
- return this;
349
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
350
+ return d(g, "next", {
351
+ value: verb(0)
352
+ }), d(g, "throw", {
353
+ value: verb(1)
354
+ }), d(g, "return", {
355
+ value: verb(2)
356
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
357
+ value: function() {
358
+ return this;
359
+ }
352
360
  }), g;
353
361
  function verb(n) {
354
362
  return function(v) {
@@ -1611,7 +1619,7 @@ var parseHeaders_default = function(rawHeaders) {
1611
1619
  return parsed;
1612
1620
  };
1613
1621
  // ../../node_modules/axios/lib/core/AxiosHeaders.js
1614
- var $internals = Symbol("internals");
1622
+ var $internals = /* @__PURE__ */ Symbol("internals");
1615
1623
  function normalizeHeader(header) {
1616
1624
  return header && String(header).trim().toLowerCase();
1617
1625
  }
@@ -5094,9 +5102,9 @@ var EmbeddedWallet = /*#__PURE__*/ function() {
5094
5102
  break;
5095
5103
  }
5096
5104
  if (options.key.type === "mnemonic") {
5105
+ var _options_path;
5097
5106
  var coinType = this._network === bitcoin.networks.bitcoin ? 0 : 1;
5098
5107
  var defaultPath = "m/84'/".concat(coinType, "'/0'/0/0");
5099
- var _options_path;
5100
5108
  this._wallet = _derive(options.key.words, (_options_path = options.path) !== null && _options_path !== void 0 ? _options_path : defaultPath, this._network);
5101
5109
  this._isReadOnly = false;
5102
5110
  } else {