@airgap/bitcoin 0.13.7-beta.13 → 0.13.7-beta.14

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.
@@ -29947,7 +29947,7 @@ module.exports = function whichTypedArray(value) {
29947
29947
  },{"available-typed-arrays":20,"call-bind/callBound":69,"es-abstract/helpers/getOwnPropertyDescriptor":107,"for-each":110,"has-tostringtag/shams":116,"is-typed-array":153}],214:[function(require,module,exports){
29948
29948
  "use strict";
29949
29949
  Object.defineProperty(exports, "__esModule", { value: true });
29950
- exports.createProtocolByIdentifier = exports.BitcoinSegwitAddress = exports.BitcoinSegwitProtocol = exports.BitcoinAddress = exports.BitcoinProtocolOptions = exports.BitcoinProtocolConfig = exports.BitcoinProtocolNetwork = exports.BlockcypherBlockExplorer = exports.BitcoinProtocolNetworkExtras = exports.BitcoinCryptoClient = exports.BitcoinTestnetProtocol = exports.BitcoinProtocol = void 0;
29950
+ exports.BitcoinSegwitAddress = exports.BitcoinSegwitProtocol = exports.BitcoinAddress = exports.BitcoinProtocolOptions = exports.BitcoinProtocolConfig = exports.BitcoinProtocolNetwork = exports.BlockcypherBlockExplorer = exports.BitcoinProtocolNetworkExtras = exports.BitcoinCryptoClient = exports.BitcoinTestnetProtocol = exports.BitcoinProtocol = void 0;
29951
29951
  var BitcoinAddress_1 = require("./protocol/BitcoinAddress");
29952
29952
  Object.defineProperty(exports, "BitcoinAddress", { enumerable: true, get: function () { return BitcoinAddress_1.BitcoinAddress; } });
29953
29953
  var BitcoinCryptoClient_1 = require("./protocol/BitcoinCryptoClient");
@@ -29966,10 +29966,8 @@ var BitcoinSegwitProtocol_1 = require("./protocol/BitcoinSegwitProtocol");
29966
29966
  Object.defineProperty(exports, "BitcoinSegwitProtocol", { enumerable: true, get: function () { return BitcoinSegwitProtocol_1.BitcoinSegwitProtocol; } });
29967
29967
  var BitcoinTestnetProtocol_1 = require("./protocol/BitcoinTestnetProtocol");
29968
29968
  Object.defineProperty(exports, "BitcoinTestnetProtocol", { enumerable: true, get: function () { return BitcoinTestnetProtocol_1.BitcoinTestnetProtocol; } });
29969
- var create_protocol_1 = require("./utils/create-protocol");
29970
- Object.defineProperty(exports, "createProtocolByIdentifier", { enumerable: true, get: function () { return create_protocol_1.createProtocolByIdentifier; } });
29971
29969
 
29972
- },{"./protocol/BitcoinAddress":215,"./protocol/BitcoinCryptoClient":216,"./protocol/BitcoinProtocol":217,"./protocol/BitcoinProtocolOptions":218,"./protocol/BitcoinSegwitAddress":219,"./protocol/BitcoinSegwitProtocol":220,"./protocol/BitcoinTestnetProtocol":221,"./utils/create-protocol":222}],215:[function(require,module,exports){
29970
+ },{"./protocol/BitcoinAddress":215,"./protocol/BitcoinCryptoClient":216,"./protocol/BitcoinProtocol":217,"./protocol/BitcoinProtocolOptions":218,"./protocol/BitcoinSegwitAddress":219,"./protocol/BitcoinSegwitProtocol":220,"./protocol/BitcoinTestnetProtocol":221}],215:[function(require,module,exports){
29973
29971
  "use strict";
29974
29972
  Object.defineProperty(exports, "__esModule", { value: true });
29975
29973
  exports.BitcoinAddress = void 0;
@@ -30085,7 +30083,7 @@ var BitcoinCryptoClient = /** @class */ (function (_super) {
30085
30083
  exports.BitcoinCryptoClient = BitcoinCryptoClient;
30086
30084
 
30087
30085
  }).call(this)}).call(this,require("buffer").Buffer)
30088
- },{"@airgap/coinlib-core/protocols/Secp256k1CryptoClient":586,"buffer":67}],217:[function(require,module,exports){
30086
+ },{"@airgap/coinlib-core/protocols/Secp256k1CryptoClient":578,"buffer":67}],217:[function(require,module,exports){
30089
30087
  (function (Buffer){(function (){
30090
30088
  "use strict";
30091
30089
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -31127,7 +31125,7 @@ var BitcoinProtocol = /** @class */ (function () {
31127
31125
  exports.BitcoinProtocol = BitcoinProtocol;
31128
31126
 
31129
31127
  }).call(this)}).call(this,require("buffer").Buffer)
31130
- },{"./BitcoinAddress":215,"./BitcoinCryptoClient":216,"./BitcoinProtocolOptions":218,"@airgap/coinlib-core/dependencies/src/axios-0.19.0/index":393,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":425,"@airgap/coinlib-core/dependencies/src/bip39-2.5.0/index":426,"@airgap/coinlib-core/dependencies/src/bitcoinjs-message-2.1.1/index":438,"@airgap/coinlib-core/errors":582,"@airgap/coinlib-core/errors/coinlib-error":581,"@airgap/coinlib-core/utils/ProtocolSymbols":591,"buffer":67}],218:[function(require,module,exports){
31128
+ },{"./BitcoinAddress":215,"./BitcoinCryptoClient":216,"./BitcoinProtocolOptions":218,"@airgap/coinlib-core/dependencies/src/axios-0.19.0/index":387,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":419,"@airgap/coinlib-core/dependencies/src/bip39-2.5.0/index":420,"@airgap/coinlib-core/dependencies/src/bitcoinjs-message-2.1.1/index":432,"@airgap/coinlib-core/errors":576,"@airgap/coinlib-core/errors/coinlib-error":575,"@airgap/coinlib-core/utils/ProtocolSymbols":581,"buffer":67}],218:[function(require,module,exports){
31131
31129
  "use strict";
31132
31130
  var __extends = (this && this.__extends) || (function () {
31133
31131
  var extendStatics = function (d, b) {
@@ -31270,7 +31268,7 @@ var BitcoinProtocolOptions = /** @class */ (function () {
31270
31268
  }());
31271
31269
  exports.BitcoinProtocolOptions = BitcoinProtocolOptions;
31272
31270
 
31273
- },{"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":450,"@airgap/coinlib-core/utils/ProtocolNetwork":590}],219:[function(require,module,exports){
31271
+ },{"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":444,"@airgap/coinlib-core/utils/ProtocolNetwork":580}],219:[function(require,module,exports){
31274
31272
  "use strict";
31275
31273
  var __extends = (this && this.__extends) || (function () {
31276
31274
  var extendStatics = function (d, b) {
@@ -31843,7 +31841,7 @@ var BitcoinSegwitProtocol = /** @class */ (function (_super) {
31843
31841
  exports.BitcoinSegwitProtocol = BitcoinSegwitProtocol;
31844
31842
 
31845
31843
  }).call(this)}).call(this,require("buffer").Buffer)
31846
- },{"./BitcoinProtocol":217,"./BitcoinProtocolOptions":218,"./BitcoinSegwitAddress":219,"@airgap/coinlib-core/dependencies/src/axios-0.19.0/index":393,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":425,"@airgap/coinlib-core/dependencies/src/bip39-2.5.0/index":426,"@airgap/coinlib-core/dependencies/src/bs58check-2.1.2":486,"@airgap/coinlib-core/utils/ProtocolSymbols":591,"bitcoinjs-lib":267,"buffer":67}],221:[function(require,module,exports){
31844
+ },{"./BitcoinProtocol":217,"./BitcoinProtocolOptions":218,"./BitcoinSegwitAddress":219,"@airgap/coinlib-core/dependencies/src/axios-0.19.0/index":387,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":419,"@airgap/coinlib-core/dependencies/src/bip39-2.5.0/index":420,"@airgap/coinlib-core/dependencies/src/bs58check-2.1.2":480,"@airgap/coinlib-core/utils/ProtocolSymbols":581,"bitcoinjs-lib":266,"buffer":67}],221:[function(require,module,exports){
31847
31845
  "use strict";
31848
31846
  var __extends = (this && this.__extends) || (function () {
31849
31847
  var extendStatics = function (d, b) {
@@ -31896,27 +31894,7 @@ var BitcoinTestnetProtocol = /** @class */ (function (_super) {
31896
31894
  }(BitcoinProtocol_1.BitcoinProtocol));
31897
31895
  exports.BitcoinTestnetProtocol = BitcoinTestnetProtocol;
31898
31896
 
31899
- },{"./BitcoinProtocol":217,"./BitcoinProtocolOptions":218,"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":450,"@airgap/coinlib-core/utils/ProtocolNetwork":590}],222:[function(require,module,exports){
31900
- "use strict";
31901
- Object.defineProperty(exports, "__esModule", { value: true });
31902
- exports.createProtocolByIdentifier = void 0;
31903
- var coinlib_core_1 = require("@airgap/coinlib-core");
31904
- var BitcoinProtocol_1 = require("../protocol/BitcoinProtocol");
31905
- var BitcoinSegwitProtocol_1 = require("../protocol/BitcoinSegwitProtocol");
31906
- // tslint:disable-next-line: cyclomatic-complexity
31907
- function createProtocolByIdentifier(identifier, options) {
31908
- switch (identifier) {
31909
- case coinlib_core_1.MainProtocolSymbols.BTC:
31910
- return new BitcoinProtocol_1.BitcoinProtocol(options);
31911
- case coinlib_core_1.MainProtocolSymbols.BTC_SEGWIT:
31912
- return new BitcoinSegwitProtocol_1.BitcoinSegwitProtocol(options);
31913
- default:
31914
- throw new Error("Unkown protocol identifier " + identifier + ".");
31915
- }
31916
- }
31917
- exports.createProtocolByIdentifier = createProtocolByIdentifier;
31918
-
31919
- },{"../protocol/BitcoinProtocol":217,"../protocol/BitcoinSegwitProtocol":220,"@airgap/coinlib-core":583}],223:[function(require,module,exports){
31897
+ },{"./BitcoinProtocol":217,"./BitcoinProtocolOptions":218,"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":444,"@airgap/coinlib-core/utils/ProtocolNetwork":580}],222:[function(require,module,exports){
31920
31898
  'use strict'
31921
31899
  // base-x encoding / decoding
31922
31900
  // Copyright (c) 2018 base-x contributors
@@ -32037,7 +32015,7 @@ function base (ALPHABET) {
32037
32015
  }
32038
32016
  module.exports = base
32039
32017
 
32040
- },{"safe-buffer":369}],224:[function(require,module,exports){
32018
+ },{"safe-buffer":368}],223:[function(require,module,exports){
32041
32019
  'use strict'
32042
32020
  var ALPHABET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'
32043
32021
 
@@ -32221,7 +32199,7 @@ module.exports = {
32221
32199
  fromWords: fromWords
32222
32200
  }
32223
32201
 
32224
- },{}],225:[function(require,module,exports){
32202
+ },{}],224:[function(require,module,exports){
32225
32203
  'use strict';
32226
32204
  Object.defineProperty(exports, '__esModule', { value: true });
32227
32205
  const parser_1 = require('../parser');
@@ -32306,7 +32284,7 @@ function getKeySet(keyVals) {
32306
32284
  return set;
32307
32285
  }
32308
32286
 
32309
- },{"../parser":250}],226:[function(require,module,exports){
32287
+ },{"../parser":249}],225:[function(require,module,exports){
32310
32288
  (function (Buffer){(function (){
32311
32289
  'use strict';
32312
32290
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32393,7 +32371,7 @@ function canAddToArray(array, item, dupeSet) {
32393
32371
  exports.canAddToArray = canAddToArray;
32394
32372
 
32395
32373
  }).call(this)}).call(this,require("buffer").Buffer)
32396
- },{"../../typeFields":253,"buffer":67}],227:[function(require,module,exports){
32374
+ },{"../../typeFields":252,"buffer":67}],226:[function(require,module,exports){
32397
32375
  (function (Buffer){(function (){
32398
32376
  'use strict';
32399
32377
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32407,7 +32385,7 @@ function encode(data) {
32407
32385
  exports.encode = encode;
32408
32386
 
32409
32387
  }).call(this)}).call(this,require("buffer").Buffer)
32410
- },{"../../typeFields":253,"buffer":67}],228:[function(require,module,exports){
32388
+ },{"../../typeFields":252,"buffer":67}],227:[function(require,module,exports){
32411
32389
  'use strict';
32412
32390
  Object.defineProperty(exports, '__esModule', { value: true });
32413
32391
  const typeFields_1 = require('../typeFields');
@@ -32494,7 +32472,7 @@ const outputs = {
32494
32472
  };
32495
32473
  exports.outputs = outputs;
32496
32474
 
32497
- },{"../typeFields":253,"./global/globalXpub":226,"./global/unsignedTx":227,"./input/finalScriptSig":229,"./input/finalScriptWitness":230,"./input/nonWitnessUtxo":231,"./input/partialSig":232,"./input/porCommitment":233,"./input/sighashType":234,"./input/tapKeySig":235,"./input/tapLeafScript":236,"./input/tapMerkleRoot":237,"./input/tapScriptSig":238,"./input/witnessUtxo":239,"./output/tapTree":240,"./shared/bip32Derivation":241,"./shared/checkPubkey":242,"./shared/redeemScript":243,"./shared/tapBip32Derivation":244,"./shared/tapInternalKey":245,"./shared/witnessScript":246}],229:[function(require,module,exports){
32475
+ },{"../typeFields":252,"./global/globalXpub":225,"./global/unsignedTx":226,"./input/finalScriptSig":228,"./input/finalScriptWitness":229,"./input/nonWitnessUtxo":230,"./input/partialSig":231,"./input/porCommitment":232,"./input/sighashType":233,"./input/tapKeySig":234,"./input/tapLeafScript":235,"./input/tapMerkleRoot":236,"./input/tapScriptSig":237,"./input/witnessUtxo":238,"./output/tapTree":239,"./shared/bip32Derivation":240,"./shared/checkPubkey":241,"./shared/redeemScript":242,"./shared/tapBip32Derivation":243,"./shared/tapInternalKey":244,"./shared/witnessScript":245}],228:[function(require,module,exports){
32498
32476
  (function (Buffer){(function (){
32499
32477
  'use strict';
32500
32478
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32528,7 +32506,7 @@ function canAdd(currentData, newData) {
32528
32506
  exports.canAdd = canAdd;
32529
32507
 
32530
32508
  }).call(this)}).call(this,require("buffer").Buffer)
32531
- },{"../../typeFields":253,"buffer":67}],230:[function(require,module,exports){
32509
+ },{"../../typeFields":252,"buffer":67}],229:[function(require,module,exports){
32532
32510
  (function (Buffer){(function (){
32533
32511
  'use strict';
32534
32512
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32564,7 +32542,7 @@ function canAdd(currentData, newData) {
32564
32542
  exports.canAdd = canAdd;
32565
32543
 
32566
32544
  }).call(this)}).call(this,require("buffer").Buffer)
32567
- },{"../../typeFields":253,"buffer":67}],231:[function(require,module,exports){
32545
+ },{"../../typeFields":252,"buffer":67}],230:[function(require,module,exports){
32568
32546
  (function (Buffer){(function (){
32569
32547
  'use strict';
32570
32548
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32597,7 +32575,7 @@ function canAdd(currentData, newData) {
32597
32575
  exports.canAdd = canAdd;
32598
32576
 
32599
32577
  }).call(this)}).call(this,require("buffer").Buffer)
32600
- },{"../../typeFields":253,"buffer":67}],232:[function(require,module,exports){
32578
+ },{"../../typeFields":252,"buffer":67}],231:[function(require,module,exports){
32601
32579
  (function (Buffer){(function (){
32602
32580
  'use strict';
32603
32581
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32666,7 +32644,7 @@ function canAddToArray(array, item, dupeSet) {
32666
32644
  exports.canAddToArray = canAddToArray;
32667
32645
 
32668
32646
  }).call(this)}).call(this,require("buffer").Buffer)
32669
- },{"../../typeFields":253,"buffer":67}],233:[function(require,module,exports){
32647
+ },{"../../typeFields":252,"buffer":67}],232:[function(require,module,exports){
32670
32648
  (function (Buffer){(function (){
32671
32649
  'use strict';
32672
32650
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32700,7 +32678,7 @@ function canAdd(currentData, newData) {
32700
32678
  exports.canAdd = canAdd;
32701
32679
 
32702
32680
  }).call(this)}).call(this,require("buffer").Buffer)
32703
- },{"../../typeFields":253,"buffer":67}],234:[function(require,module,exports){
32681
+ },{"../../typeFields":252,"buffer":67}],233:[function(require,module,exports){
32704
32682
  (function (Buffer){(function (){
32705
32683
  'use strict';
32706
32684
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32736,7 +32714,7 @@ function canAdd(currentData, newData) {
32736
32714
  exports.canAdd = canAdd;
32737
32715
 
32738
32716
  }).call(this)}).call(this,require("buffer").Buffer)
32739
- },{"../../typeFields":253,"buffer":67}],235:[function(require,module,exports){
32717
+ },{"../../typeFields":252,"buffer":67}],234:[function(require,module,exports){
32740
32718
  (function (Buffer){(function (){
32741
32719
  'use strict';
32742
32720
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32775,7 +32753,7 @@ function canAdd(currentData, newData) {
32775
32753
  exports.canAdd = canAdd;
32776
32754
 
32777
32755
  }).call(this)}).call(this,require("buffer").Buffer)
32778
- },{"../../typeFields":253,"buffer":67}],236:[function(require,module,exports){
32756
+ },{"../../typeFields":252,"buffer":67}],235:[function(require,module,exports){
32779
32757
  (function (Buffer){(function (){
32780
32758
  'use strict';
32781
32759
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32836,7 +32814,7 @@ function canAddToArray(array, item, dupeSet) {
32836
32814
  exports.canAddToArray = canAddToArray;
32837
32815
 
32838
32816
  }).call(this)}).call(this,require("buffer").Buffer)
32839
- },{"../../typeFields":253,"buffer":67}],237:[function(require,module,exports){
32817
+ },{"../../typeFields":252,"buffer":67}],236:[function(require,module,exports){
32840
32818
  (function (Buffer){(function (){
32841
32819
  'use strict';
32842
32820
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32873,7 +32851,7 @@ function canAdd(currentData, newData) {
32873
32851
  exports.canAdd = canAdd;
32874
32852
 
32875
32853
  }).call(this)}).call(this,require("buffer").Buffer)
32876
- },{"../../typeFields":253,"buffer":67}],238:[function(require,module,exports){
32854
+ },{"../../typeFields":252,"buffer":67}],237:[function(require,module,exports){
32877
32855
  (function (Buffer){(function (){
32878
32856
  'use strict';
32879
32857
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32940,7 +32918,7 @@ function canAddToArray(array, item, dupeSet) {
32940
32918
  exports.canAddToArray = canAddToArray;
32941
32919
 
32942
32920
  }).call(this)}).call(this,require("buffer").Buffer)
32943
- },{"../../typeFields":253,"buffer":67}],239:[function(require,module,exports){
32921
+ },{"../../typeFields":252,"buffer":67}],238:[function(require,module,exports){
32944
32922
  (function (Buffer){(function (){
32945
32923
  'use strict';
32946
32924
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -32992,7 +32970,7 @@ function canAdd(currentData, newData) {
32992
32970
  exports.canAdd = canAdd;
32993
32971
 
32994
32972
  }).call(this)}).call(this,require("buffer").Buffer)
32995
- },{"../../typeFields":253,"../tools":247,"../varint":248,"buffer":67}],240:[function(require,module,exports){
32973
+ },{"../../typeFields":252,"../tools":246,"../varint":247,"buffer":67}],239:[function(require,module,exports){
32996
32974
  (function (Buffer){(function (){
32997
32975
  'use strict';
32998
32976
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33061,7 +33039,7 @@ function canAdd(currentData, newData) {
33061
33039
  exports.canAdd = canAdd;
33062
33040
 
33063
33041
  }).call(this)}).call(this,require("buffer").Buffer)
33064
- },{"../../typeFields":253,"../varint":248,"buffer":67}],241:[function(require,module,exports){
33042
+ },{"../../typeFields":252,"../varint":247,"buffer":67}],240:[function(require,module,exports){
33065
33043
  (function (Buffer){(function (){
33066
33044
  'use strict';
33067
33045
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33149,7 +33127,7 @@ function makeConverter(TYPE_BYTE, isValidPubkey = isValidDERKey) {
33149
33127
  exports.makeConverter = makeConverter;
33150
33128
 
33151
33129
  }).call(this)}).call(this,require("buffer").Buffer)
33152
- },{"buffer":67}],242:[function(require,module,exports){
33130
+ },{"buffer":67}],241:[function(require,module,exports){
33153
33131
  'use strict';
33154
33132
  Object.defineProperty(exports, '__esModule', { value: true });
33155
33133
  function makeChecker(pubkeyTypes) {
@@ -33172,7 +33150,7 @@ function makeChecker(pubkeyTypes) {
33172
33150
  }
33173
33151
  exports.makeChecker = makeChecker;
33174
33152
 
33175
- },{}],243:[function(require,module,exports){
33153
+ },{}],242:[function(require,module,exports){
33176
33154
  (function (Buffer){(function (){
33177
33155
  'use strict';
33178
33156
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33211,7 +33189,7 @@ function makeConverter(TYPE_BYTE) {
33211
33189
  exports.makeConverter = makeConverter;
33212
33190
 
33213
33191
  }).call(this)}).call(this,require("buffer").Buffer)
33214
- },{"buffer":67}],244:[function(require,module,exports){
33192
+ },{"buffer":67}],243:[function(require,module,exports){
33215
33193
  (function (Buffer){(function (){
33216
33194
  'use strict';
33217
33195
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33268,7 +33246,7 @@ function makeConverter(TYPE_BYTE) {
33268
33246
  exports.makeConverter = makeConverter;
33269
33247
 
33270
33248
  }).call(this)}).call(this,require("buffer").Buffer)
33271
- },{"../varint":248,"./bip32Derivation":241,"buffer":67}],245:[function(require,module,exports){
33249
+ },{"../varint":247,"./bip32Derivation":240,"buffer":67}],244:[function(require,module,exports){
33272
33250
  (function (Buffer){(function (){
33273
33251
  'use strict';
33274
33252
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33311,7 +33289,7 @@ function makeConverter(TYPE_BYTE) {
33311
33289
  exports.makeConverter = makeConverter;
33312
33290
 
33313
33291
  }).call(this)}).call(this,require("buffer").Buffer)
33314
- },{"buffer":67}],246:[function(require,module,exports){
33292
+ },{"buffer":67}],245:[function(require,module,exports){
33315
33293
  (function (Buffer){(function (){
33316
33294
  'use strict';
33317
33295
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33352,7 +33330,7 @@ function makeConverter(TYPE_BYTE) {
33352
33330
  exports.makeConverter = makeConverter;
33353
33331
 
33354
33332
  }).call(this)}).call(this,require("buffer").Buffer)
33355
- },{"buffer":67}],247:[function(require,module,exports){
33333
+ },{"buffer":67}],246:[function(require,module,exports){
33356
33334
  (function (Buffer){(function (){
33357
33335
  'use strict';
33358
33336
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33419,7 +33397,7 @@ function writeUInt64LE(buffer, value, offset) {
33419
33397
  exports.writeUInt64LE = writeUInt64LE;
33420
33398
 
33421
33399
  }).call(this)}).call(this,require("buffer").Buffer)
33422
- },{"./varint":248,"buffer":67}],248:[function(require,module,exports){
33400
+ },{"./varint":247,"buffer":67}],247:[function(require,module,exports){
33423
33401
  (function (Buffer){(function (){
33424
33402
  'use strict';
33425
33403
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33500,7 +33478,7 @@ function encodingLength(_number) {
33500
33478
  exports.encodingLength = encodingLength;
33501
33479
 
33502
33480
  }).call(this)}).call(this,require("buffer").Buffer)
33503
- },{"buffer":67}],249:[function(require,module,exports){
33481
+ },{"buffer":67}],248:[function(require,module,exports){
33504
33482
  (function (Buffer){(function (){
33505
33483
  'use strict';
33506
33484
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33900,7 +33878,7 @@ function psbtFromKeyVals(
33900
33878
  exports.psbtFromKeyVals = psbtFromKeyVals;
33901
33879
 
33902
33880
  }).call(this)}).call(this,require("buffer").Buffer)
33903
- },{"../converter":228,"../converter/tools":247,"../converter/varint":248,"../typeFields":253,"buffer":67}],250:[function(require,module,exports){
33881
+ },{"../converter":227,"../converter/tools":246,"../converter/varint":247,"../typeFields":252,"buffer":67}],249:[function(require,module,exports){
33904
33882
  'use strict';
33905
33883
  function __export(m) {
33906
33884
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
@@ -33909,7 +33887,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
33909
33887
  __export(require('./fromBuffer'));
33910
33888
  __export(require('./toBuffer'));
33911
33889
 
33912
- },{"./fromBuffer":249,"./toBuffer":251}],251:[function(require,module,exports){
33890
+ },{"./fromBuffer":248,"./toBuffer":250}],250:[function(require,module,exports){
33913
33891
  (function (Buffer){(function (){
33914
33892
  'use strict';
33915
33893
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -33977,7 +33955,7 @@ function psbtToKeyVals({ globalMap, inputs, outputs }) {
33977
33955
  exports.psbtToKeyVals = psbtToKeyVals;
33978
33956
 
33979
33957
  }).call(this)}).call(this,require("buffer").Buffer)
33980
- },{"../converter":228,"../converter/tools":247,"buffer":67}],252:[function(require,module,exports){
33958
+ },{"../converter":227,"../converter/tools":246,"buffer":67}],251:[function(require,module,exports){
33981
33959
  (function (Buffer){(function (){
33982
33960
  'use strict';
33983
33961
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -34129,7 +34107,7 @@ class Psbt {
34129
34107
  exports.Psbt = Psbt;
34130
34108
 
34131
34109
  }).call(this)}).call(this,require("buffer").Buffer)
34132
- },{"./combiner":225,"./parser":250,"./typeFields":253,"./utils":254,"buffer":67}],253:[function(require,module,exports){
34110
+ },{"./combiner":224,"./parser":249,"./typeFields":252,"./utils":253,"buffer":67}],252:[function(require,module,exports){
34133
34111
  'use strict';
34134
34112
  Object.defineProperty(exports, '__esModule', { value: true });
34135
34113
  var GlobalTypes;
@@ -34195,7 +34173,7 @@ exports.OUTPUT_TYPE_NAMES = [
34195
34173
  'tapBip32Derivation',
34196
34174
  ];
34197
34175
 
34198
- },{}],254:[function(require,module,exports){
34176
+ },{}],253:[function(require,module,exports){
34199
34177
  (function (Buffer){(function (){
34200
34178
  'use strict';
34201
34179
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -34337,7 +34315,7 @@ function defaultLocktimeSetter(locktime, txBuf) {
34337
34315
  exports.defaultLocktimeSetter = defaultLocktimeSetter;
34338
34316
 
34339
34317
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
34340
- },{"../../../../../../node_modules/is-buffer/index.js":150,"./converter":228}],255:[function(require,module,exports){
34318
+ },{"../../../../../../node_modules/is-buffer/index.js":150,"./converter":227}],254:[function(require,module,exports){
34341
34319
  (function (Buffer){(function (){
34342
34320
  "use strict";
34343
34321
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -34638,7 +34616,7 @@ function fromSeed(seed, network) {
34638
34616
  exports.fromSeed = fromSeed;
34639
34617
 
34640
34618
  }).call(this)}).call(this,require("buffer").Buffer)
34641
- },{"./crypto":256,"bs58check":310,"buffer":67,"tiny-secp256k1":379,"typeforce":383,"wif":387}],256:[function(require,module,exports){
34619
+ },{"./crypto":255,"bs58check":309,"buffer":67,"tiny-secp256k1":378,"typeforce":382,"wif":386}],255:[function(require,module,exports){
34642
34620
  "use strict";
34643
34621
  Object.defineProperty(exports, "__esModule", { value: true });
34644
34622
  const createHash = require('create-hash');
@@ -34666,7 +34644,7 @@ function hmacSHA512(key, data) {
34666
34644
  }
34667
34645
  exports.hmacSHA512 = hmacSHA512;
34668
34646
 
34669
- },{"create-hash":312,"create-hmac":314}],257:[function(require,module,exports){
34647
+ },{"create-hash":311,"create-hmac":313}],256:[function(require,module,exports){
34670
34648
  "use strict";
34671
34649
  Object.defineProperty(exports, "__esModule", { value: true });
34672
34650
  var bip32_1 = require("./bip32");
@@ -34675,7 +34653,7 @@ exports.fromBase58 = bip32_1.fromBase58;
34675
34653
  exports.fromPublicKey = bip32_1.fromPublicKey;
34676
34654
  exports.fromPrivateKey = bip32_1.fromPrivateKey;
34677
34655
 
34678
- },{"./bip32":255}],258:[function(require,module,exports){
34656
+ },{"./bip32":254}],257:[function(require,module,exports){
34679
34657
  // Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
34680
34658
  // Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S]
34681
34659
  // NOTE: SIGHASH byte ignored AND restricted, truncate before use
@@ -34790,7 +34768,7 @@ module.exports = {
34790
34768
  encode: encode
34791
34769
  }
34792
34770
 
34793
- },{"safe-buffer":369}],259:[function(require,module,exports){
34771
+ },{"safe-buffer":368}],258:[function(require,module,exports){
34794
34772
  module.exports={
34795
34773
  "OP_FALSE": 0,
34796
34774
  "OP_0": 0,
@@ -34925,7 +34903,7 @@ module.exports={
34925
34903
  "OP_INVALIDOPCODE": 255
34926
34904
  }
34927
34905
 
34928
- },{}],260:[function(require,module,exports){
34906
+ },{}],259:[function(require,module,exports){
34929
34907
  var OPS = require('./index.json')
34930
34908
 
34931
34909
  var map = {}
@@ -34936,7 +34914,7 @@ for (var op in OPS) {
34936
34914
 
34937
34915
  module.exports = map
34938
34916
 
34939
- },{"./index.json":259}],261:[function(require,module,exports){
34917
+ },{"./index.json":258}],260:[function(require,module,exports){
34940
34918
  (function (Buffer){(function (){
34941
34919
  'use strict';
34942
34920
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -35031,7 +35009,7 @@ function toOutputScript(address, network) {
35031
35009
  exports.toOutputScript = toOutputScript;
35032
35010
 
35033
35011
  }).call(this)}).call(this,require("buffer").Buffer)
35034
- },{"./networks":268,"./payments":270,"./script":279,"./types":305,"bech32":224,"bs58check":310,"buffer":67,"typeforce":383}],262:[function(require,module,exports){
35012
+ },{"./networks":267,"./payments":269,"./script":278,"./types":304,"bech32":223,"bs58check":309,"buffer":67,"typeforce":382}],261:[function(require,module,exports){
35035
35013
  (function (Buffer){(function (){
35036
35014
  'use strict';
35037
35015
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -35251,7 +35229,7 @@ function anyTxHasWitness(transactions) {
35251
35229
  }
35252
35230
 
35253
35231
  }).call(this)}).call(this,require("buffer").Buffer)
35254
- },{"./bufferutils":263,"./crypto":265,"./transaction":303,"./types":305,"buffer":67,"merkle-lib/fastRoot":348,"typeforce":383,"varuint-bitcoin":386}],263:[function(require,module,exports){
35232
+ },{"./bufferutils":262,"./crypto":264,"./transaction":302,"./types":304,"buffer":67,"merkle-lib/fastRoot":347,"typeforce":382,"varuint-bitcoin":385}],262:[function(require,module,exports){
35255
35233
  (function (Buffer){(function (){
35256
35234
  'use strict';
35257
35235
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -35398,7 +35376,7 @@ class BufferReader {
35398
35376
  exports.BufferReader = BufferReader;
35399
35377
 
35400
35378
  }).call(this)}).call(this,require("buffer").Buffer)
35401
- },{"./types":305,"buffer":67,"typeforce":383,"varuint-bitcoin":386}],264:[function(require,module,exports){
35379
+ },{"./types":304,"buffer":67,"typeforce":382,"varuint-bitcoin":385}],263:[function(require,module,exports){
35402
35380
  'use strict';
35403
35381
  Object.defineProperty(exports, '__esModule', { value: true });
35404
35382
  const script_1 = require('./script');
@@ -35459,7 +35437,7 @@ function classifyWitness(script, allowIncomplete) {
35459
35437
  }
35460
35438
  exports.witness = classifyWitness;
35461
35439
 
35462
- },{"./script":279,"./templates/multisig":282,"./templates/nulldata":285,"./templates/pubkey":286,"./templates/pubkeyhash":289,"./templates/scripthash":292,"./templates/witnesscommitment":295,"./templates/witnesspubkeyhash":297,"./templates/witnessscripthash":300}],265:[function(require,module,exports){
35440
+ },{"./script":278,"./templates/multisig":281,"./templates/nulldata":284,"./templates/pubkey":285,"./templates/pubkeyhash":288,"./templates/scripthash":291,"./templates/witnesscommitment":294,"./templates/witnesspubkeyhash":296,"./templates/witnessscripthash":299}],264:[function(require,module,exports){
35463
35441
  'use strict';
35464
35442
  Object.defineProperty(exports, '__esModule', { value: true });
35465
35443
  const createHash = require('create-hash');
@@ -35496,7 +35474,7 @@ function hash256(buffer) {
35496
35474
  }
35497
35475
  exports.hash256 = hash256;
35498
35476
 
35499
- },{"create-hash":312}],266:[function(require,module,exports){
35477
+ },{"create-hash":311}],265:[function(require,module,exports){
35500
35478
  (function (Buffer){(function (){
35501
35479
  'use strict';
35502
35480
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -35607,7 +35585,7 @@ function makeRandom(options) {
35607
35585
  exports.makeRandom = makeRandom;
35608
35586
 
35609
35587
  }).call(this)}).call(this,require("buffer").Buffer)
35610
- },{"./networks":268,"./types":305,"buffer":67,"randombytes":352,"tiny-secp256k1":379,"typeforce":383,"wif":387}],267:[function(require,module,exports){
35588
+ },{"./networks":267,"./types":304,"buffer":67,"randombytes":351,"tiny-secp256k1":378,"typeforce":382,"wif":386}],266:[function(require,module,exports){
35611
35589
  'use strict';
35612
35590
  Object.defineProperty(exports, '__esModule', { value: true });
35613
35591
  const bip32 = require('bip32');
@@ -35635,7 +35613,7 @@ exports.Transaction = transaction_1.Transaction;
35635
35613
  var transaction_builder_1 = require('./transaction_builder');
35636
35614
  exports.TransactionBuilder = transaction_builder_1.TransactionBuilder;
35637
35615
 
35638
- },{"./address":261,"./block":262,"./crypto":265,"./ecpair":266,"./networks":268,"./payments":270,"./psbt":278,"./script":279,"./transaction":303,"./transaction_builder":304,"bip32":257}],268:[function(require,module,exports){
35616
+ },{"./address":260,"./block":261,"./crypto":264,"./ecpair":265,"./networks":267,"./payments":269,"./psbt":277,"./script":278,"./transaction":302,"./transaction_builder":303,"bip32":256}],267:[function(require,module,exports){
35639
35617
  'use strict';
35640
35618
  Object.defineProperty(exports, '__esModule', { value: true });
35641
35619
  exports.bitcoin = {
@@ -35672,7 +35650,7 @@ exports.testnet = {
35672
35650
  wif: 0xef,
35673
35651
  };
35674
35652
 
35675
- },{}],269:[function(require,module,exports){
35653
+ },{}],268:[function(require,module,exports){
35676
35654
  'use strict';
35677
35655
  Object.defineProperty(exports, '__esModule', { value: true });
35678
35656
  const networks_1 = require('../networks');
@@ -35723,7 +35701,7 @@ function p2data(a, opts) {
35723
35701
  }
35724
35702
  exports.p2data = p2data;
35725
35703
 
35726
- },{"../networks":268,"../script":279,"./lazy":271,"typeforce":383}],270:[function(require,module,exports){
35704
+ },{"../networks":267,"../script":278,"./lazy":270,"typeforce":382}],269:[function(require,module,exports){
35727
35705
  'use strict';
35728
35706
  Object.defineProperty(exports, '__esModule', { value: true });
35729
35707
  const embed_1 = require('./embed');
@@ -35743,7 +35721,7 @@ exports.p2wsh = p2wsh_1.p2wsh;
35743
35721
  // TODO
35744
35722
  // witness commitment
35745
35723
 
35746
- },{"./embed":269,"./p2ms":272,"./p2pk":273,"./p2pkh":274,"./p2sh":275,"./p2wpkh":276,"./p2wsh":277}],271:[function(require,module,exports){
35724
+ },{"./embed":268,"./p2ms":271,"./p2pk":272,"./p2pkh":273,"./p2sh":274,"./p2wpkh":275,"./p2wsh":276}],270:[function(require,module,exports){
35747
35725
  'use strict';
35748
35726
  Object.defineProperty(exports, '__esModule', { value: true });
35749
35727
  function prop(object, name, f) {
@@ -35776,7 +35754,7 @@ function value(f) {
35776
35754
  }
35777
35755
  exports.value = value;
35778
35756
 
35779
- },{}],272:[function(require,module,exports){
35757
+ },{}],271:[function(require,module,exports){
35780
35758
  'use strict';
35781
35759
  Object.defineProperty(exports, '__esModule', { value: true });
35782
35760
  const networks_1 = require('../networks');
@@ -35923,7 +35901,7 @@ function p2ms(a, opts) {
35923
35901
  }
35924
35902
  exports.p2ms = p2ms;
35925
35903
 
35926
- },{"../networks":268,"../script":279,"./lazy":271,"tiny-secp256k1":379,"typeforce":383}],273:[function(require,module,exports){
35904
+ },{"../networks":267,"../script":278,"./lazy":270,"tiny-secp256k1":378,"typeforce":382}],272:[function(require,module,exports){
35927
35905
  'use strict';
35928
35906
  Object.defineProperty(exports, '__esModule', { value: true });
35929
35907
  const networks_1 = require('../networks');
@@ -35997,7 +35975,7 @@ function p2pk(a, opts) {
35997
35975
  }
35998
35976
  exports.p2pk = p2pk;
35999
35977
 
36000
- },{"../networks":268,"../script":279,"./lazy":271,"tiny-secp256k1":379,"typeforce":383}],274:[function(require,module,exports){
35978
+ },{"../networks":267,"../script":278,"./lazy":270,"tiny-secp256k1":378,"typeforce":382}],273:[function(require,module,exports){
36001
35979
  (function (Buffer){(function (){
36002
35980
  'use strict';
36003
35981
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -36133,7 +36111,7 @@ function p2pkh(a, opts) {
36133
36111
  exports.p2pkh = p2pkh;
36134
36112
 
36135
36113
  }).call(this)}).call(this,require("buffer").Buffer)
36136
- },{"../crypto":265,"../networks":268,"../script":279,"./lazy":271,"bs58check":310,"buffer":67,"tiny-secp256k1":379,"typeforce":383}],275:[function(require,module,exports){
36114
+ },{"../crypto":264,"../networks":267,"../script":278,"./lazy":270,"bs58check":309,"buffer":67,"tiny-secp256k1":378,"typeforce":382}],274:[function(require,module,exports){
36137
36115
  (function (Buffer){(function (){
36138
36116
  'use strict';
36139
36117
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -36320,7 +36298,7 @@ function p2sh(a, opts) {
36320
36298
  exports.p2sh = p2sh;
36321
36299
 
36322
36300
  }).call(this)}).call(this,require("buffer").Buffer)
36323
- },{"../crypto":265,"../networks":268,"../script":279,"./lazy":271,"bs58check":310,"buffer":67,"typeforce":383}],276:[function(require,module,exports){
36301
+ },{"../crypto":264,"../networks":267,"../script":278,"./lazy":270,"bs58check":309,"buffer":67,"typeforce":382}],275:[function(require,module,exports){
36324
36302
  (function (Buffer){(function (){
36325
36303
  'use strict';
36326
36304
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -36454,7 +36432,7 @@ function p2wpkh(a, opts) {
36454
36432
  exports.p2wpkh = p2wpkh;
36455
36433
 
36456
36434
  }).call(this)}).call(this,require("buffer").Buffer)
36457
- },{"../crypto":265,"../networks":268,"../script":279,"./lazy":271,"bech32":224,"buffer":67,"tiny-secp256k1":379,"typeforce":383}],277:[function(require,module,exports){
36435
+ },{"../crypto":264,"../networks":267,"../script":278,"./lazy":270,"bech32":223,"buffer":67,"tiny-secp256k1":378,"typeforce":382}],276:[function(require,module,exports){
36458
36436
  (function (Buffer){(function (){
36459
36437
  'use strict';
36460
36438
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -36665,7 +36643,7 @@ function p2wsh(a, opts) {
36665
36643
  exports.p2wsh = p2wsh;
36666
36644
 
36667
36645
  }).call(this)}).call(this,require("buffer").Buffer)
36668
- },{"../crypto":265,"../networks":268,"../script":279,"./lazy":271,"bech32":224,"buffer":67,"tiny-secp256k1":379,"typeforce":383}],278:[function(require,module,exports){
36646
+ },{"../crypto":264,"../networks":267,"../script":278,"./lazy":270,"bech32":223,"buffer":67,"tiny-secp256k1":378,"typeforce":382}],277:[function(require,module,exports){
36669
36647
  (function (Buffer){(function (){
36670
36648
  'use strict';
36671
36649
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38067,7 +38045,7 @@ function range(n) {
38067
38045
  }
38068
38046
 
38069
38047
  }).call(this)}).call(this,require("buffer").Buffer)
38070
- },{"./address":261,"./bufferutils":263,"./crypto":265,"./ecpair":266,"./networks":268,"./payments":270,"./script":279,"./transaction":303,"bip174":252,"bip174/src/lib/converter/varint":248,"bip174/src/lib/utils":254,"buffer":67}],279:[function(require,module,exports){
38048
+ },{"./address":260,"./bufferutils":262,"./crypto":264,"./ecpair":265,"./networks":267,"./payments":269,"./script":278,"./transaction":302,"bip174":251,"bip174/src/lib/converter/varint":247,"bip174/src/lib/utils":253,"buffer":67}],278:[function(require,module,exports){
38071
38049
  (function (Buffer){(function (){
38072
38050
  'use strict';
38073
38051
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38248,7 +38226,7 @@ exports.number = scriptNumber;
38248
38226
  exports.signature = scriptSignature;
38249
38227
 
38250
38228
  }).call(this)}).call(this,require("buffer").Buffer)
38251
- },{"./script_number":280,"./script_signature":281,"./types":305,"bip66":258,"bitcoin-ops":259,"bitcoin-ops/map":260,"buffer":67,"pushdata-bitcoin":351,"tiny-secp256k1":379,"typeforce":383}],280:[function(require,module,exports){
38229
+ },{"./script_number":279,"./script_signature":280,"./types":304,"bip66":257,"bitcoin-ops":258,"bitcoin-ops/map":259,"buffer":67,"pushdata-bitcoin":350,"tiny-secp256k1":378,"typeforce":382}],279:[function(require,module,exports){
38252
38230
  (function (Buffer){(function (){
38253
38231
  'use strict';
38254
38232
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38313,7 +38291,7 @@ function encode(_number) {
38313
38291
  exports.encode = encode;
38314
38292
 
38315
38293
  }).call(this)}).call(this,require("buffer").Buffer)
38316
- },{"buffer":67}],281:[function(require,module,exports){
38294
+ },{"buffer":67}],280:[function(require,module,exports){
38317
38295
  (function (Buffer){(function (){
38318
38296
  'use strict';
38319
38297
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38369,7 +38347,7 @@ function encode(signature, hashType) {
38369
38347
  exports.encode = encode;
38370
38348
 
38371
38349
  }).call(this)}).call(this,require("buffer").Buffer)
38372
- },{"./types":305,"bip66":258,"buffer":67,"typeforce":383}],282:[function(require,module,exports){
38350
+ },{"./types":304,"bip66":257,"buffer":67,"typeforce":382}],281:[function(require,module,exports){
38373
38351
  'use strict';
38374
38352
  Object.defineProperty(exports, '__esModule', { value: true });
38375
38353
  const input = require('./input');
@@ -38377,7 +38355,7 @@ exports.input = input;
38377
38355
  const output = require('./output');
38378
38356
  exports.output = output;
38379
38357
 
38380
- },{"./input":283,"./output":284}],283:[function(require,module,exports){
38358
+ },{"./input":282,"./output":283}],282:[function(require,module,exports){
38381
38359
  'use strict';
38382
38360
  // OP_0 [signatures ...]
38383
38361
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38402,7 +38380,7 @@ check.toJSON = () => {
38402
38380
  return 'multisig input';
38403
38381
  };
38404
38382
 
38405
- },{"../../script":279}],284:[function(require,module,exports){
38383
+ },{"../../script":278}],283:[function(require,module,exports){
38406
38384
  'use strict';
38407
38385
  // m [pubKeys ...] n OP_CHECKMULTISIG
38408
38386
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38431,7 +38409,7 @@ check.toJSON = () => {
38431
38409
  return 'multi-sig output';
38432
38410
  };
38433
38411
 
38434
- },{"../../script":279,"../../types":305}],285:[function(require,module,exports){
38412
+ },{"../../script":278,"../../types":304}],284:[function(require,module,exports){
38435
38413
  'use strict';
38436
38414
  Object.defineProperty(exports, '__esModule', { value: true });
38437
38415
  // OP_RETURN {data}
@@ -38448,9 +38426,9 @@ check.toJSON = () => {
38448
38426
  const output = { check };
38449
38427
  exports.output = output;
38450
38428
 
38451
- },{"../script":279}],286:[function(require,module,exports){
38452
- arguments[4][282][0].apply(exports,arguments)
38453
- },{"./input":287,"./output":288,"dup":282}],287:[function(require,module,exports){
38429
+ },{"../script":278}],285:[function(require,module,exports){
38430
+ arguments[4][281][0].apply(exports,arguments)
38431
+ },{"./input":286,"./output":287,"dup":281}],286:[function(require,module,exports){
38454
38432
  'use strict';
38455
38433
  // {signature}
38456
38434
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38464,7 +38442,7 @@ check.toJSON = () => {
38464
38442
  return 'pubKey input';
38465
38443
  };
38466
38444
 
38467
- },{"../../script":279}],288:[function(require,module,exports){
38445
+ },{"../../script":278}],287:[function(require,module,exports){
38468
38446
  'use strict';
38469
38447
  // {pubKey} OP_CHECKSIG
38470
38448
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38483,9 +38461,9 @@ check.toJSON = () => {
38483
38461
  return 'pubKey output';
38484
38462
  };
38485
38463
 
38486
- },{"../../script":279}],289:[function(require,module,exports){
38487
- arguments[4][282][0].apply(exports,arguments)
38488
- },{"./input":290,"./output":291,"dup":282}],290:[function(require,module,exports){
38464
+ },{"../../script":278}],288:[function(require,module,exports){
38465
+ arguments[4][281][0].apply(exports,arguments)
38466
+ },{"./input":289,"./output":290,"dup":281}],289:[function(require,module,exports){
38489
38467
  'use strict';
38490
38468
  // {signature} {pubKey}
38491
38469
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38503,7 +38481,7 @@ check.toJSON = () => {
38503
38481
  return 'pubKeyHash input';
38504
38482
  };
38505
38483
 
38506
- },{"../../script":279}],291:[function(require,module,exports){
38484
+ },{"../../script":278}],290:[function(require,module,exports){
38507
38485
  'use strict';
38508
38486
  // OP_DUP OP_HASH160 {pubKeyHash} OP_EQUALVERIFY OP_CHECKSIG
38509
38487
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38525,9 +38503,9 @@ check.toJSON = () => {
38525
38503
  return 'pubKeyHash output';
38526
38504
  };
38527
38505
 
38528
- },{"../../script":279}],292:[function(require,module,exports){
38529
- arguments[4][282][0].apply(exports,arguments)
38530
- },{"./input":293,"./output":294,"dup":282}],293:[function(require,module,exports){
38506
+ },{"../../script":278}],291:[function(require,module,exports){
38507
+ arguments[4][281][0].apply(exports,arguments)
38508
+ },{"./input":292,"./output":293,"dup":281}],292:[function(require,module,exports){
38531
38509
  (function (Buffer){(function (){
38532
38510
  'use strict';
38533
38511
  // <scriptSig> {serialized scriptPubKey script}
@@ -38581,7 +38559,7 @@ check.toJSON = () => {
38581
38559
  };
38582
38560
 
38583
38561
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
38584
- },{"../../../../../../../node_modules/is-buffer/index.js":150,"../../script":279,"../multisig":282,"../pubkey":286,"../pubkeyhash":289,"../witnesspubkeyhash/output":299,"../witnessscripthash/output":302}],294:[function(require,module,exports){
38562
+ },{"../../../../../../../node_modules/is-buffer/index.js":150,"../../script":278,"../multisig":281,"../pubkey":285,"../pubkeyhash":288,"../witnesspubkeyhash/output":298,"../witnessscripthash/output":301}],293:[function(require,module,exports){
38585
38563
  'use strict';
38586
38564
  // OP_HASH160 {scriptHash} OP_EQUAL
38587
38565
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38601,13 +38579,13 @@ check.toJSON = () => {
38601
38579
  return 'scriptHash output';
38602
38580
  };
38603
38581
 
38604
- },{"../../script":279}],295:[function(require,module,exports){
38582
+ },{"../../script":278}],294:[function(require,module,exports){
38605
38583
  'use strict';
38606
38584
  Object.defineProperty(exports, '__esModule', { value: true });
38607
38585
  const output = require('./output');
38608
38586
  exports.output = output;
38609
38587
 
38610
- },{"./output":296}],296:[function(require,module,exports){
38588
+ },{"./output":295}],295:[function(require,module,exports){
38611
38589
  (function (Buffer){(function (){
38612
38590
  'use strict';
38613
38591
  // OP_RETURN {aa21a9ed} {commitment}
@@ -38645,9 +38623,9 @@ function decode(buffer) {
38645
38623
  exports.decode = decode;
38646
38624
 
38647
38625
  }).call(this)}).call(this,require("buffer").Buffer)
38648
- },{"../../script":279,"../../types":305,"buffer":67,"typeforce":383}],297:[function(require,module,exports){
38649
- arguments[4][282][0].apply(exports,arguments)
38650
- },{"./input":298,"./output":299,"dup":282}],298:[function(require,module,exports){
38626
+ },{"../../script":278,"../../types":304,"buffer":67,"typeforce":382}],296:[function(require,module,exports){
38627
+ arguments[4][281][0].apply(exports,arguments)
38628
+ },{"./input":297,"./output":298,"dup":281}],297:[function(require,module,exports){
38651
38629
  'use strict';
38652
38630
  // {signature} {pubKey}
38653
38631
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38668,7 +38646,7 @@ check.toJSON = () => {
38668
38646
  return 'witnessPubKeyHash input';
38669
38647
  };
38670
38648
 
38671
- },{"../../script":279}],299:[function(require,module,exports){
38649
+ },{"../../script":278}],298:[function(require,module,exports){
38672
38650
  'use strict';
38673
38651
  // OP_0 {pubKeyHash}
38674
38652
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38687,9 +38665,9 @@ check.toJSON = () => {
38687
38665
  return 'Witness pubKeyHash output';
38688
38666
  };
38689
38667
 
38690
- },{"../../script":279}],300:[function(require,module,exports){
38691
- arguments[4][282][0].apply(exports,arguments)
38692
- },{"./input":301,"./output":302,"dup":282}],301:[function(require,module,exports){
38668
+ },{"../../script":278}],299:[function(require,module,exports){
38669
+ arguments[4][281][0].apply(exports,arguments)
38670
+ },{"./input":300,"./output":301,"dup":281}],300:[function(require,module,exports){
38693
38671
  (function (Buffer){(function (){
38694
38672
  'use strict';
38695
38673
  // <scriptSig> {serialized scriptPubKey script}
@@ -38732,7 +38710,7 @@ check.toJSON = () => {
38732
38710
  };
38733
38711
 
38734
38712
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
38735
- },{"../../../../../../../node_modules/is-buffer/index.js":150,"../../script":279,"../multisig":282,"../pubkey":286,"../pubkeyhash":289,"typeforce":383}],302:[function(require,module,exports){
38713
+ },{"../../../../../../../node_modules/is-buffer/index.js":150,"../../script":278,"../multisig":281,"../pubkey":285,"../pubkeyhash":288,"typeforce":382}],301:[function(require,module,exports){
38736
38714
  'use strict';
38737
38715
  // OP_0 {scriptHash}
38738
38716
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -38751,7 +38729,7 @@ check.toJSON = () => {
38751
38729
  return 'Witness scriptHash output';
38752
38730
  };
38753
38731
 
38754
- },{"../../script":279}],303:[function(require,module,exports){
38732
+ },{"../../script":278}],302:[function(require,module,exports){
38755
38733
  (function (Buffer){(function (){
38756
38734
  'use strict';
38757
38735
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -39157,7 +39135,7 @@ Transaction.ADVANCED_TRANSACTION_FLAG = 0x01;
39157
39135
  exports.Transaction = Transaction;
39158
39136
 
39159
39137
  }).call(this)}).call(this,require("buffer").Buffer)
39160
- },{"./bufferutils":263,"./crypto":265,"./script":279,"./types":305,"buffer":67,"typeforce":383,"varuint-bitcoin":386}],304:[function(require,module,exports){
39138
+ },{"./bufferutils":262,"./crypto":264,"./script":278,"./types":304,"buffer":67,"typeforce":382,"varuint-bitcoin":385}],303:[function(require,module,exports){
39161
39139
  (function (Buffer){(function (){
39162
39140
  'use strict';
39163
39141
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -40226,7 +40204,7 @@ function getSigningData(
40226
40204
  }
40227
40205
 
40228
40206
  }).call(this)}).call(this,require("buffer").Buffer)
40229
- },{"./address":261,"./bufferutils":263,"./classify":264,"./crypto":265,"./ecpair":266,"./networks":268,"./payments":270,"./script":279,"./transaction":303,"./types":305,"buffer":67,"typeforce":383}],305:[function(require,module,exports){
40207
+ },{"./address":260,"./bufferutils":262,"./classify":263,"./crypto":264,"./ecpair":265,"./networks":267,"./payments":269,"./script":278,"./transaction":302,"./types":304,"buffer":67,"typeforce":382}],304:[function(require,module,exports){
40230
40208
  'use strict';
40231
40209
  Object.defineProperty(exports, '__esModule', { value: true });
40232
40210
  const typeforce = require('typeforce');
@@ -40286,17 +40264,17 @@ exports.BufferN = typeforce.BufferN;
40286
40264
  exports.Null = typeforce.Null;
40287
40265
  exports.oneOf = typeforce.oneOf;
40288
40266
 
40289
- },{"typeforce":383}],306:[function(require,module,exports){
40267
+ },{"typeforce":382}],305:[function(require,module,exports){
40290
40268
  arguments[4][15][0].apply(exports,arguments)
40291
- },{"buffer":24,"dup":15}],307:[function(require,module,exports){
40269
+ },{"buffer":24,"dup":15}],306:[function(require,module,exports){
40292
40270
  arguments[4][23][0].apply(exports,arguments)
40293
- },{"crypto":24,"dup":23}],308:[function(require,module,exports){
40271
+ },{"crypto":24,"dup":23}],307:[function(require,module,exports){
40294
40272
  var basex = require('base-x')
40295
40273
  var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
40296
40274
 
40297
40275
  module.exports = basex(ALPHABET)
40298
40276
 
40299
- },{"base-x":223}],309:[function(require,module,exports){
40277
+ },{"base-x":222}],308:[function(require,module,exports){
40300
40278
  'use strict'
40301
40279
 
40302
40280
  var base58 = require('bs58')
@@ -40348,7 +40326,7 @@ module.exports = function (checksumFn) {
40348
40326
  }
40349
40327
  }
40350
40328
 
40351
- },{"bs58":308,"safe-buffer":369}],310:[function(require,module,exports){
40329
+ },{"bs58":307,"safe-buffer":368}],309:[function(require,module,exports){
40352
40330
  'use strict'
40353
40331
 
40354
40332
  var createHash = require('create-hash')
@@ -40362,81 +40340,81 @@ function sha256x2 (buffer) {
40362
40340
 
40363
40341
  module.exports = bs58checkBase(sha256x2)
40364
40342
 
40365
- },{"./base":309,"create-hash":312}],311:[function(require,module,exports){
40343
+ },{"./base":308,"create-hash":311}],310:[function(require,module,exports){
40366
40344
  arguments[4][71][0].apply(exports,arguments)
40367
- },{"dup":71,"inherits":346,"safe-buffer":369,"stream":192,"string_decoder":207}],312:[function(require,module,exports){
40345
+ },{"dup":71,"inherits":345,"safe-buffer":368,"stream":192,"string_decoder":207}],311:[function(require,module,exports){
40368
40346
  arguments[4][74][0].apply(exports,arguments)
40369
- },{"cipher-base":311,"dup":74,"inherits":346,"md5.js":347,"ripemd160":368,"sha.js":371}],313:[function(require,module,exports){
40347
+ },{"cipher-base":310,"dup":74,"inherits":345,"md5.js":346,"ripemd160":367,"sha.js":370}],312:[function(require,module,exports){
40370
40348
  arguments[4][75][0].apply(exports,arguments)
40371
- },{"dup":75,"md5.js":347}],314:[function(require,module,exports){
40349
+ },{"dup":75,"md5.js":346}],313:[function(require,module,exports){
40372
40350
  arguments[4][76][0].apply(exports,arguments)
40373
- },{"./legacy":315,"cipher-base":311,"create-hash/md5":313,"dup":76,"inherits":346,"ripemd160":368,"safe-buffer":369,"sha.js":371}],315:[function(require,module,exports){
40351
+ },{"./legacy":314,"cipher-base":310,"create-hash/md5":312,"dup":76,"inherits":345,"ripemd160":367,"safe-buffer":368,"sha.js":370}],314:[function(require,module,exports){
40374
40352
  arguments[4][77][0].apply(exports,arguments)
40375
- },{"cipher-base":311,"dup":77,"inherits":346,"safe-buffer":369}],316:[function(require,module,exports){
40353
+ },{"cipher-base":310,"dup":77,"inherits":345,"safe-buffer":368}],315:[function(require,module,exports){
40376
40354
  arguments[4][90][0].apply(exports,arguments)
40377
- },{"../package.json":331,"./elliptic/curve":319,"./elliptic/curves":322,"./elliptic/ec":323,"./elliptic/eddsa":326,"./elliptic/utils":330,"brorand":307,"dup":90}],317:[function(require,module,exports){
40355
+ },{"../package.json":330,"./elliptic/curve":318,"./elliptic/curves":321,"./elliptic/ec":322,"./elliptic/eddsa":325,"./elliptic/utils":329,"brorand":306,"dup":90}],316:[function(require,module,exports){
40378
40356
  arguments[4][91][0].apply(exports,arguments)
40379
- },{"../utils":330,"bn.js":306,"dup":91}],318:[function(require,module,exports){
40357
+ },{"../utils":329,"bn.js":305,"dup":91}],317:[function(require,module,exports){
40380
40358
  arguments[4][92][0].apply(exports,arguments)
40381
- },{"../utils":330,"./base":317,"bn.js":306,"dup":92,"inherits":346}],319:[function(require,module,exports){
40359
+ },{"../utils":329,"./base":316,"bn.js":305,"dup":92,"inherits":345}],318:[function(require,module,exports){
40382
40360
  arguments[4][93][0].apply(exports,arguments)
40383
- },{"./base":317,"./edwards":318,"./mont":320,"./short":321,"dup":93}],320:[function(require,module,exports){
40361
+ },{"./base":316,"./edwards":317,"./mont":319,"./short":320,"dup":93}],319:[function(require,module,exports){
40384
40362
  arguments[4][94][0].apply(exports,arguments)
40385
- },{"../utils":330,"./base":317,"bn.js":306,"dup":94,"inherits":346}],321:[function(require,module,exports){
40363
+ },{"../utils":329,"./base":316,"bn.js":305,"dup":94,"inherits":345}],320:[function(require,module,exports){
40386
40364
  arguments[4][95][0].apply(exports,arguments)
40387
- },{"../utils":330,"./base":317,"bn.js":306,"dup":95,"inherits":346}],322:[function(require,module,exports){
40365
+ },{"../utils":329,"./base":316,"bn.js":305,"dup":95,"inherits":345}],321:[function(require,module,exports){
40388
40366
  arguments[4][96][0].apply(exports,arguments)
40389
- },{"./curve":319,"./precomputed/secp256k1":329,"./utils":330,"dup":96,"hash.js":333}],323:[function(require,module,exports){
40367
+ },{"./curve":318,"./precomputed/secp256k1":328,"./utils":329,"dup":96,"hash.js":332}],322:[function(require,module,exports){
40390
40368
  arguments[4][97][0].apply(exports,arguments)
40391
- },{"../curves":322,"../utils":330,"./key":324,"./signature":325,"bn.js":306,"brorand":307,"dup":97,"hmac-drbg":345}],324:[function(require,module,exports){
40369
+ },{"../curves":321,"../utils":329,"./key":323,"./signature":324,"bn.js":305,"brorand":306,"dup":97,"hmac-drbg":344}],323:[function(require,module,exports){
40392
40370
  arguments[4][98][0].apply(exports,arguments)
40393
- },{"../utils":330,"bn.js":306,"dup":98}],325:[function(require,module,exports){
40371
+ },{"../utils":329,"bn.js":305,"dup":98}],324:[function(require,module,exports){
40394
40372
  arguments[4][99][0].apply(exports,arguments)
40395
- },{"../utils":330,"bn.js":306,"dup":99}],326:[function(require,module,exports){
40373
+ },{"../utils":329,"bn.js":305,"dup":99}],325:[function(require,module,exports){
40396
40374
  arguments[4][100][0].apply(exports,arguments)
40397
- },{"../curves":322,"../utils":330,"./key":327,"./signature":328,"dup":100,"hash.js":333}],327:[function(require,module,exports){
40375
+ },{"../curves":321,"../utils":329,"./key":326,"./signature":327,"dup":100,"hash.js":332}],326:[function(require,module,exports){
40398
40376
  arguments[4][101][0].apply(exports,arguments)
40399
- },{"../utils":330,"dup":101}],328:[function(require,module,exports){
40377
+ },{"../utils":329,"dup":101}],327:[function(require,module,exports){
40400
40378
  arguments[4][102][0].apply(exports,arguments)
40401
- },{"../utils":330,"bn.js":306,"dup":102}],329:[function(require,module,exports){
40379
+ },{"../utils":329,"bn.js":305,"dup":102}],328:[function(require,module,exports){
40402
40380
  arguments[4][103][0].apply(exports,arguments)
40403
- },{"dup":103}],330:[function(require,module,exports){
40381
+ },{"dup":103}],329:[function(require,module,exports){
40404
40382
  arguments[4][104][0].apply(exports,arguments)
40405
- },{"bn.js":306,"dup":104,"minimalistic-assert":349,"minimalistic-crypto-utils":350}],331:[function(require,module,exports){
40383
+ },{"bn.js":305,"dup":104,"minimalistic-assert":348,"minimalistic-crypto-utils":349}],330:[function(require,module,exports){
40406
40384
  arguments[4][106][0].apply(exports,arguments)
40407
- },{"dup":106}],332:[function(require,module,exports){
40385
+ },{"dup":106}],331:[function(require,module,exports){
40408
40386
  arguments[4][118][0].apply(exports,arguments)
40409
- },{"dup":118,"inherits":346,"readable-stream":367,"safe-buffer":369}],333:[function(require,module,exports){
40387
+ },{"dup":118,"inherits":345,"readable-stream":366,"safe-buffer":368}],332:[function(require,module,exports){
40410
40388
  arguments[4][134][0].apply(exports,arguments)
40411
- },{"./hash/common":334,"./hash/hmac":335,"./hash/ripemd":336,"./hash/sha":337,"./hash/utils":344,"dup":134}],334:[function(require,module,exports){
40389
+ },{"./hash/common":333,"./hash/hmac":334,"./hash/ripemd":335,"./hash/sha":336,"./hash/utils":343,"dup":134}],333:[function(require,module,exports){
40412
40390
  arguments[4][135][0].apply(exports,arguments)
40413
- },{"./utils":344,"dup":135,"minimalistic-assert":349}],335:[function(require,module,exports){
40391
+ },{"./utils":343,"dup":135,"minimalistic-assert":348}],334:[function(require,module,exports){
40414
40392
  arguments[4][136][0].apply(exports,arguments)
40415
- },{"./utils":344,"dup":136,"minimalistic-assert":349}],336:[function(require,module,exports){
40393
+ },{"./utils":343,"dup":136,"minimalistic-assert":348}],335:[function(require,module,exports){
40416
40394
  arguments[4][137][0].apply(exports,arguments)
40417
- },{"./common":334,"./utils":344,"dup":137}],337:[function(require,module,exports){
40395
+ },{"./common":333,"./utils":343,"dup":137}],336:[function(require,module,exports){
40418
40396
  arguments[4][138][0].apply(exports,arguments)
40419
- },{"./sha/1":338,"./sha/224":339,"./sha/256":340,"./sha/384":341,"./sha/512":342,"dup":138}],338:[function(require,module,exports){
40397
+ },{"./sha/1":337,"./sha/224":338,"./sha/256":339,"./sha/384":340,"./sha/512":341,"dup":138}],337:[function(require,module,exports){
40420
40398
  arguments[4][139][0].apply(exports,arguments)
40421
- },{"../common":334,"../utils":344,"./common":343,"dup":139}],339:[function(require,module,exports){
40399
+ },{"../common":333,"../utils":343,"./common":342,"dup":139}],338:[function(require,module,exports){
40422
40400
  arguments[4][140][0].apply(exports,arguments)
40423
- },{"../utils":344,"./256":340,"dup":140}],340:[function(require,module,exports){
40401
+ },{"../utils":343,"./256":339,"dup":140}],339:[function(require,module,exports){
40424
40402
  arguments[4][141][0].apply(exports,arguments)
40425
- },{"../common":334,"../utils":344,"./common":343,"dup":141,"minimalistic-assert":349}],341:[function(require,module,exports){
40403
+ },{"../common":333,"../utils":343,"./common":342,"dup":141,"minimalistic-assert":348}],340:[function(require,module,exports){
40426
40404
  arguments[4][142][0].apply(exports,arguments)
40427
- },{"../utils":344,"./512":342,"dup":142}],342:[function(require,module,exports){
40405
+ },{"../utils":343,"./512":341,"dup":142}],341:[function(require,module,exports){
40428
40406
  arguments[4][143][0].apply(exports,arguments)
40429
- },{"../common":334,"../utils":344,"dup":143,"minimalistic-assert":349}],343:[function(require,module,exports){
40407
+ },{"../common":333,"../utils":343,"dup":143,"minimalistic-assert":348}],342:[function(require,module,exports){
40430
40408
  arguments[4][144][0].apply(exports,arguments)
40431
- },{"../utils":344,"dup":144}],344:[function(require,module,exports){
40409
+ },{"../utils":343,"dup":144}],343:[function(require,module,exports){
40432
40410
  arguments[4][145][0].apply(exports,arguments)
40433
- },{"dup":145,"inherits":346,"minimalistic-assert":349}],345:[function(require,module,exports){
40411
+ },{"dup":145,"inherits":345,"minimalistic-assert":348}],344:[function(require,module,exports){
40434
40412
  arguments[4][146][0].apply(exports,arguments)
40435
- },{"dup":146,"hash.js":333,"minimalistic-assert":349,"minimalistic-crypto-utils":350}],346:[function(require,module,exports){
40413
+ },{"dup":146,"hash.js":332,"minimalistic-assert":348,"minimalistic-crypto-utils":349}],345:[function(require,module,exports){
40436
40414
  arguments[4][148][0].apply(exports,arguments)
40437
- },{"dup":148}],347:[function(require,module,exports){
40415
+ },{"dup":148}],346:[function(require,module,exports){
40438
40416
  arguments[4][154][0].apply(exports,arguments)
40439
- },{"dup":154,"hash-base":332,"inherits":346,"safe-buffer":369}],348:[function(require,module,exports){
40417
+ },{"dup":154,"hash-base":331,"inherits":345,"safe-buffer":368}],347:[function(require,module,exports){
40440
40418
  (function (Buffer){(function (){
40441
40419
  // constant-space merkle root calculation algorithm
40442
40420
  module.exports = function fastRoot (values, digestFn) {
@@ -40464,11 +40442,11 @@ module.exports = function fastRoot (values, digestFn) {
40464
40442
  }
40465
40443
 
40466
40444
  }).call(this)}).call(this,require("buffer").Buffer)
40467
- },{"buffer":67}],349:[function(require,module,exports){
40445
+ },{"buffer":67}],348:[function(require,module,exports){
40468
40446
  arguments[4][157][0].apply(exports,arguments)
40469
- },{"dup":157}],350:[function(require,module,exports){
40447
+ },{"dup":157}],349:[function(require,module,exports){
40470
40448
  arguments[4][158][0].apply(exports,arguments)
40471
- },{"dup":158}],351:[function(require,module,exports){
40449
+ },{"dup":158}],350:[function(require,module,exports){
40472
40450
  var OPS = require('bitcoin-ops')
40473
40451
 
40474
40452
  function encodingLength (i) {
@@ -40547,61 +40525,61 @@ module.exports = {
40547
40525
  decode: decode
40548
40526
  }
40549
40527
 
40550
- },{"bitcoin-ops":259}],352:[function(require,module,exports){
40528
+ },{"bitcoin-ops":258}],351:[function(require,module,exports){
40551
40529
  arguments[4][179][0].apply(exports,arguments)
40552
- },{"_process":171,"dup":179,"safe-buffer":369}],353:[function(require,module,exports){
40530
+ },{"_process":171,"dup":179,"safe-buffer":368}],352:[function(require,module,exports){
40553
40531
  arguments[4][52][0].apply(exports,arguments)
40554
- },{"dup":52}],354:[function(require,module,exports){
40532
+ },{"dup":52}],353:[function(require,module,exports){
40555
40533
  arguments[4][53][0].apply(exports,arguments)
40556
- },{"./_stream_readable":356,"./_stream_writable":358,"_process":171,"dup":53,"inherits":346}],355:[function(require,module,exports){
40534
+ },{"./_stream_readable":355,"./_stream_writable":357,"_process":171,"dup":53,"inherits":345}],354:[function(require,module,exports){
40557
40535
  arguments[4][54][0].apply(exports,arguments)
40558
- },{"./_stream_transform":357,"dup":54,"inherits":346}],356:[function(require,module,exports){
40536
+ },{"./_stream_transform":356,"dup":54,"inherits":345}],355:[function(require,module,exports){
40559
40537
  arguments[4][55][0].apply(exports,arguments)
40560
- },{"../errors":353,"./_stream_duplex":354,"./internal/streams/async_iterator":359,"./internal/streams/buffer_list":360,"./internal/streams/destroy":361,"./internal/streams/from":363,"./internal/streams/state":365,"./internal/streams/stream":366,"_process":171,"buffer":67,"dup":55,"events":108,"inherits":346,"string_decoder/":378,"util":24}],357:[function(require,module,exports){
40538
+ },{"../errors":352,"./_stream_duplex":353,"./internal/streams/async_iterator":358,"./internal/streams/buffer_list":359,"./internal/streams/destroy":360,"./internal/streams/from":362,"./internal/streams/state":364,"./internal/streams/stream":365,"_process":171,"buffer":67,"dup":55,"events":108,"inherits":345,"string_decoder/":377,"util":24}],356:[function(require,module,exports){
40561
40539
  arguments[4][56][0].apply(exports,arguments)
40562
- },{"../errors":353,"./_stream_duplex":354,"dup":56,"inherits":346}],358:[function(require,module,exports){
40540
+ },{"../errors":352,"./_stream_duplex":353,"dup":56,"inherits":345}],357:[function(require,module,exports){
40563
40541
  arguments[4][57][0].apply(exports,arguments)
40564
- },{"../errors":353,"./_stream_duplex":354,"./internal/streams/destroy":361,"./internal/streams/state":365,"./internal/streams/stream":366,"_process":171,"buffer":67,"dup":57,"inherits":346,"util-deprecate":385}],359:[function(require,module,exports){
40542
+ },{"../errors":352,"./_stream_duplex":353,"./internal/streams/destroy":360,"./internal/streams/state":364,"./internal/streams/stream":365,"_process":171,"buffer":67,"dup":57,"inherits":345,"util-deprecate":384}],358:[function(require,module,exports){
40565
40543
  arguments[4][58][0].apply(exports,arguments)
40566
- },{"./end-of-stream":362,"_process":171,"dup":58}],360:[function(require,module,exports){
40544
+ },{"./end-of-stream":361,"_process":171,"dup":58}],359:[function(require,module,exports){
40567
40545
  arguments[4][59][0].apply(exports,arguments)
40568
- },{"buffer":67,"dup":59,"util":24}],361:[function(require,module,exports){
40546
+ },{"buffer":67,"dup":59,"util":24}],360:[function(require,module,exports){
40569
40547
  arguments[4][60][0].apply(exports,arguments)
40570
- },{"_process":171,"dup":60}],362:[function(require,module,exports){
40548
+ },{"_process":171,"dup":60}],361:[function(require,module,exports){
40571
40549
  arguments[4][61][0].apply(exports,arguments)
40572
- },{"../../../errors":353,"dup":61}],363:[function(require,module,exports){
40550
+ },{"../../../errors":352,"dup":61}],362:[function(require,module,exports){
40573
40551
  arguments[4][62][0].apply(exports,arguments)
40574
- },{"dup":62}],364:[function(require,module,exports){
40552
+ },{"dup":62}],363:[function(require,module,exports){
40575
40553
  arguments[4][63][0].apply(exports,arguments)
40576
- },{"../../../errors":353,"./end-of-stream":362,"dup":63}],365:[function(require,module,exports){
40554
+ },{"../../../errors":352,"./end-of-stream":361,"dup":63}],364:[function(require,module,exports){
40577
40555
  arguments[4][64][0].apply(exports,arguments)
40578
- },{"../../../errors":353,"dup":64}],366:[function(require,module,exports){
40556
+ },{"../../../errors":352,"dup":64}],365:[function(require,module,exports){
40579
40557
  arguments[4][65][0].apply(exports,arguments)
40580
- },{"dup":65,"events":108}],367:[function(require,module,exports){
40558
+ },{"dup":65,"events":108}],366:[function(require,module,exports){
40581
40559
  arguments[4][66][0].apply(exports,arguments)
40582
- },{"./lib/_stream_duplex.js":354,"./lib/_stream_passthrough.js":355,"./lib/_stream_readable.js":356,"./lib/_stream_transform.js":357,"./lib/_stream_writable.js":358,"./lib/internal/streams/end-of-stream.js":362,"./lib/internal/streams/pipeline.js":364,"dup":66}],368:[function(require,module,exports){
40560
+ },{"./lib/_stream_duplex.js":353,"./lib/_stream_passthrough.js":354,"./lib/_stream_readable.js":355,"./lib/_stream_transform.js":356,"./lib/_stream_writable.js":357,"./lib/internal/streams/end-of-stream.js":361,"./lib/internal/streams/pipeline.js":363,"dup":66}],367:[function(require,module,exports){
40583
40561
  arguments[4][181][0].apply(exports,arguments)
40584
- },{"buffer":67,"dup":181,"hash-base":332,"inherits":346}],369:[function(require,module,exports){
40562
+ },{"buffer":67,"dup":181,"hash-base":331,"inherits":345}],368:[function(require,module,exports){
40585
40563
  arguments[4][182][0].apply(exports,arguments)
40586
- },{"buffer":67,"dup":182}],370:[function(require,module,exports){
40564
+ },{"buffer":67,"dup":182}],369:[function(require,module,exports){
40587
40565
  arguments[4][184][0].apply(exports,arguments)
40588
- },{"dup":184,"safe-buffer":369}],371:[function(require,module,exports){
40566
+ },{"dup":184,"safe-buffer":368}],370:[function(require,module,exports){
40589
40567
  arguments[4][185][0].apply(exports,arguments)
40590
- },{"./sha":372,"./sha1":373,"./sha224":374,"./sha256":375,"./sha384":376,"./sha512":377,"dup":185}],372:[function(require,module,exports){
40568
+ },{"./sha":371,"./sha1":372,"./sha224":373,"./sha256":374,"./sha384":375,"./sha512":376,"dup":185}],371:[function(require,module,exports){
40591
40569
  arguments[4][186][0].apply(exports,arguments)
40592
- },{"./hash":370,"dup":186,"inherits":346,"safe-buffer":369}],373:[function(require,module,exports){
40570
+ },{"./hash":369,"dup":186,"inherits":345,"safe-buffer":368}],372:[function(require,module,exports){
40593
40571
  arguments[4][187][0].apply(exports,arguments)
40594
- },{"./hash":370,"dup":187,"inherits":346,"safe-buffer":369}],374:[function(require,module,exports){
40572
+ },{"./hash":369,"dup":187,"inherits":345,"safe-buffer":368}],373:[function(require,module,exports){
40595
40573
  arguments[4][188][0].apply(exports,arguments)
40596
- },{"./hash":370,"./sha256":375,"dup":188,"inherits":346,"safe-buffer":369}],375:[function(require,module,exports){
40574
+ },{"./hash":369,"./sha256":374,"dup":188,"inherits":345,"safe-buffer":368}],374:[function(require,module,exports){
40597
40575
  arguments[4][189][0].apply(exports,arguments)
40598
- },{"./hash":370,"dup":189,"inherits":346,"safe-buffer":369}],376:[function(require,module,exports){
40576
+ },{"./hash":369,"dup":189,"inherits":345,"safe-buffer":368}],375:[function(require,module,exports){
40599
40577
  arguments[4][190][0].apply(exports,arguments)
40600
- },{"./hash":370,"./sha512":377,"dup":190,"inherits":346,"safe-buffer":369}],377:[function(require,module,exports){
40578
+ },{"./hash":369,"./sha512":376,"dup":190,"inherits":345,"safe-buffer":368}],376:[function(require,module,exports){
40601
40579
  arguments[4][191][0].apply(exports,arguments)
40602
- },{"./hash":370,"dup":191,"inherits":346,"safe-buffer":369}],378:[function(require,module,exports){
40580
+ },{"./hash":369,"dup":191,"inherits":345,"safe-buffer":368}],377:[function(require,module,exports){
40603
40581
  arguments[4][207][0].apply(exports,arguments)
40604
- },{"dup":207,"safe-buffer":369}],379:[function(require,module,exports){
40582
+ },{"dup":207,"safe-buffer":368}],378:[function(require,module,exports){
40605
40583
  (function (Buffer){(function (){
40606
40584
  const BN = require('bn.js')
40607
40585
  const EC = require('elliptic').ec
@@ -40887,7 +40865,7 @@ module.exports = {
40887
40865
  }
40888
40866
 
40889
40867
  }).call(this)}).call(this,require("buffer").Buffer)
40890
- },{"./rfc6979":380,"bn.js":306,"buffer":67,"elliptic":316}],380:[function(require,module,exports){
40868
+ },{"./rfc6979":379,"bn.js":305,"buffer":67,"elliptic":315}],379:[function(require,module,exports){
40891
40869
  (function (Buffer){(function (){
40892
40870
  const createHmac = require('create-hmac')
40893
40871
 
@@ -40953,7 +40931,7 @@ function deterministicGenerateK (hash, x, checkSig, isPrivate, extraEntropy) {
40953
40931
  module.exports = deterministicGenerateK
40954
40932
 
40955
40933
  }).call(this)}).call(this,require("buffer").Buffer)
40956
- },{"buffer":67,"create-hmac":314}],381:[function(require,module,exports){
40934
+ },{"buffer":67,"create-hmac":313}],380:[function(require,module,exports){
40957
40935
  var native = require('./native')
40958
40936
 
40959
40937
  function getTypeName (fn) {
@@ -41065,7 +41043,7 @@ module.exports = {
41065
41043
  getValueTypeName: getValueTypeName
41066
41044
  }
41067
41045
 
41068
- },{"./native":384}],382:[function(require,module,exports){
41046
+ },{"./native":383}],381:[function(require,module,exports){
41069
41047
  (function (Buffer){(function (){
41070
41048
  var NATIVE = require('./native')
41071
41049
  var ERRORS = require('./errors')
@@ -41160,7 +41138,7 @@ for (var typeName in types) {
41160
41138
  module.exports = types
41161
41139
 
41162
41140
  }).call(this)}).call(this,{"isBuffer":require("../../../../node_modules/is-buffer/index.js")})
41163
- },{"../../../../node_modules/is-buffer/index.js":150,"./errors":381,"./native":384}],383:[function(require,module,exports){
41141
+ },{"../../../../node_modules/is-buffer/index.js":150,"./errors":380,"./native":383}],382:[function(require,module,exports){
41164
41142
  var ERRORS = require('./errors')
41165
41143
  var NATIVE = require('./native')
41166
41144
 
@@ -41422,7 +41400,7 @@ typeforce.TfPropertyTypeError = TfPropertyTypeError
41422
41400
 
41423
41401
  module.exports = typeforce
41424
41402
 
41425
- },{"./errors":381,"./extra":382,"./native":384}],384:[function(require,module,exports){
41403
+ },{"./errors":380,"./extra":381,"./native":383}],383:[function(require,module,exports){
41426
41404
  var types = {
41427
41405
  Array: function (value) { return value !== null && value !== undefined && value.constructor === Array },
41428
41406
  Boolean: function (value) { return typeof value === 'boolean' },
@@ -41445,9 +41423,9 @@ for (var typeName in types) {
41445
41423
 
41446
41424
  module.exports = types
41447
41425
 
41448
- },{}],385:[function(require,module,exports){
41426
+ },{}],384:[function(require,module,exports){
41449
41427
  arguments[4][209][0].apply(exports,arguments)
41450
- },{"dup":209}],386:[function(require,module,exports){
41428
+ },{"dup":209}],385:[function(require,module,exports){
41451
41429
  'use strict'
41452
41430
  var Buffer = require('safe-buffer').Buffer
41453
41431
 
@@ -41539,7 +41517,7 @@ function encodingLength (number) {
41539
41517
 
41540
41518
  module.exports = { encode: encode, decode: decode, encodingLength: encodingLength }
41541
41519
 
41542
- },{"safe-buffer":369}],387:[function(require,module,exports){
41520
+ },{"safe-buffer":368}],386:[function(require,module,exports){
41543
41521
  (function (Buffer){(function (){
41544
41522
  var bs58check = require('bs58check')
41545
41523
 
@@ -41606,436 +41584,9 @@ module.exports = {
41606
41584
  }
41607
41585
 
41608
41586
  }).call(this)}).call(this,require("buffer").Buffer)
41609
- },{"bs58check":310,"buffer":67}],388:[function(require,module,exports){
41610
- "use strict";
41611
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41612
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
41613
- return new (P || (P = Promise))(function (resolve, reject) {
41614
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
41615
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41616
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41617
- step((generator = generator.apply(thisArg, _arguments || [])).next());
41618
- });
41619
- };
41620
- var __generator = (this && this.__generator) || function (thisArg, body) {
41621
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41622
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
41623
- function verb(n) { return function (v) { return step([n, v]); }; }
41624
- function step(op) {
41625
- if (f) throw new TypeError("Generator is already executing.");
41626
- while (_) try {
41627
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
41628
- if (y = 0, t) op = [op[0] & 2, t.value];
41629
- switch (op[0]) {
41630
- case 0: case 1: t = op; break;
41631
- case 4: _.label++; return { value: op[1], done: false };
41632
- case 5: _.label++; y = op[1]; op = [0]; continue;
41633
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
41634
- default:
41635
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
41636
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
41637
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
41638
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41639
- if (t[2]) _.ops.pop();
41640
- _.trys.pop(); continue;
41641
- }
41642
- op = body.call(thisArg, _);
41643
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
41644
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
41645
- }
41646
- };
41647
- Object.defineProperty(exports, "__esModule", { value: true });
41648
- exports.Action = exports.ActionState = void 0;
41649
- var errors_1 = require("../errors");
41650
- var coinlib_error_1 = require("../errors/coinlib-error");
41651
- var StateMachine_1 = require("./StateMachine");
41652
- var ActionState;
41653
- (function (ActionState) {
41654
- ActionState[ActionState["READY"] = 0] = "READY";
41655
- ActionState[ActionState["EXECUTING"] = 1] = "EXECUTING";
41656
- ActionState[ActionState["COMPLETED"] = 2] = "COMPLETED";
41657
- ActionState[ActionState["CANCELLED"] = 3] = "CANCELLED";
41658
- })(ActionState = exports.ActionState || (exports.ActionState = {}));
41659
- var Action = /** @class */ (function () {
41660
- function Action(context) {
41661
- this.stateMachine = new StateMachine_1.StateMachine(ActionState.READY, new Map([
41662
- [ActionState.READY, []],
41663
- [ActionState.EXECUTING, [ActionState.READY]],
41664
- [ActionState.COMPLETED, [ActionState.EXECUTING]],
41665
- [ActionState.CANCELLED, [ActionState.READY, ActionState.EXECUTING]]
41666
- ]));
41667
- this.context = context;
41668
- }
41669
- Object.defineProperty(Action.prototype, "identifier", {
41670
- get: function () {
41671
- return 'action';
41672
- },
41673
- enumerable: false,
41674
- configurable: true
41675
- });
41676
- Action.prototype.getState = function () {
41677
- return this.stateMachine.getState();
41678
- };
41679
- Action.prototype.start = function () {
41680
- return __awaiter(this, void 0, void 0, function () {
41681
- var result, error_1;
41682
- return __generator(this, function (_a) {
41683
- switch (_a.label) {
41684
- case 0:
41685
- _a.trys.push([0, 2, , 3]);
41686
- this.stateMachine.transitionTo(ActionState.EXECUTING);
41687
- return [4 /*yield*/, this.perform()];
41688
- case 1:
41689
- result = _a.sent();
41690
- this.handleSuccess(result);
41691
- return [3 /*break*/, 3];
41692
- case 2:
41693
- error_1 = _a.sent();
41694
- this.handleError(error_1);
41695
- return [3 /*break*/, 3];
41696
- case 3: return [2 /*return*/];
41697
- }
41698
- });
41699
- });
41700
- };
41701
- Action.prototype.cancel = function () {
41702
- this.stateMachine.transitionTo(ActionState.CANCELLED);
41703
- if (this.onCancel) {
41704
- this.onCancel();
41705
- }
41706
- };
41707
- Action.prototype.addValidTransition = function (from, to) {
41708
- this.stateMachine.addValidStateTransition(from, to);
41709
- };
41710
- Action.prototype.handleSuccess = function (result) {
41711
- this.result = result;
41712
- this.stateMachine.transitionTo(ActionState.COMPLETED);
41713
- if (this.onComplete) {
41714
- this.onComplete(result);
41715
- }
41716
- };
41717
- Action.prototype.handleError = function (error) {
41718
- this.error = error;
41719
- this.stateMachine.transitionTo(ActionState.COMPLETED);
41720
- if (this.onError) {
41721
- this.onError(error);
41722
- }
41723
- throw new errors_1.InvalidValueError(coinlib_error_1.Domain.ACTIONS, error.message);
41724
- };
41725
- return Action;
41726
- }());
41727
- exports.Action = Action;
41728
-
41729
- },{"../errors":582,"../errors/coinlib-error":581,"./StateMachine":392}],389:[function(require,module,exports){
41730
- "use strict";
41731
- var __extends = (this && this.__extends) || (function () {
41732
- var extendStatics = function (d, b) {
41733
- extendStatics = Object.setPrototypeOf ||
41734
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
41735
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
41736
- return extendStatics(d, b);
41737
- };
41738
- return function (d, b) {
41739
- extendStatics(d, b);
41740
- function __() { this.constructor = d; }
41741
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41742
- };
41743
- })();
41744
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41745
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
41746
- return new (P || (P = Promise))(function (resolve, reject) {
41747
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
41748
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41749
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41750
- step((generator = generator.apply(thisArg, _arguments || [])).next());
41751
- });
41752
- };
41753
- var __generator = (this && this.__generator) || function (thisArg, body) {
41754
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41755
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
41756
- function verb(n) { return function (v) { return step([n, v]); }; }
41757
- function step(op) {
41758
- if (f) throw new TypeError("Generator is already executing.");
41759
- while (_) try {
41760
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
41761
- if (y = 0, t) op = [op[0] & 2, t.value];
41762
- switch (op[0]) {
41763
- case 0: case 1: t = op; break;
41764
- case 4: _.label++; return { value: op[1], done: false };
41765
- case 5: _.label++; y = op[1]; op = [0]; continue;
41766
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
41767
- default:
41768
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
41769
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
41770
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
41771
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41772
- if (t[2]) _.ops.pop();
41773
- _.trys.pop(); continue;
41774
- }
41775
- op = body.call(thisArg, _);
41776
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
41777
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
41778
- }
41779
- };
41780
- Object.defineProperty(exports, "__esModule", { value: true });
41781
- exports.LinkedAction = void 0;
41782
- var Action_1 = require("./Action");
41783
- var LinkedAction = /** @class */ (function (_super) {
41784
- __extends(LinkedAction, _super);
41785
- function LinkedAction(action, linkedActionType) {
41786
- var _this = _super.call(this) || this;
41787
- _this.linkedActionType = linkedActionType;
41788
- _this.action = action;
41789
- return _this;
41790
- }
41791
- LinkedAction.prototype.getLinkedAction = function () {
41792
- return this.linkedAction;
41793
- };
41794
- LinkedAction.prototype.perform = function () {
41795
- return __awaiter(this, void 0, void 0, function () {
41796
- return __generator(this, function (_a) {
41797
- switch (_a.label) {
41798
- case 0: return [4 /*yield*/, this.action.start()];
41799
- case 1:
41800
- _a.sent();
41801
- this.linkedAction = new this.linkedActionType(this.action.result);
41802
- return [4 /*yield*/, this.linkedAction.start()];
41803
- case 2:
41804
- _a.sent();
41805
- return [2 /*return*/, this.linkedAction.result];
41806
- }
41807
- });
41808
- });
41809
- };
41810
- LinkedAction.prototype.cancel = function () {
41811
- if (this.action.getState() === Action_1.ActionState.EXECUTING) {
41812
- this.action.cancel();
41813
- }
41814
- else if (this.linkedAction !== undefined && this.linkedAction.getState() === Action_1.ActionState.EXECUTING) {
41815
- this.linkedAction.cancel();
41816
- }
41817
- _super.prototype.cancel.call(this);
41818
- };
41819
- return LinkedAction;
41820
- }(Action_1.Action));
41821
- exports.LinkedAction = LinkedAction;
41822
-
41823
- },{"./Action":388}],390:[function(require,module,exports){
41824
- "use strict";
41825
- var __extends = (this && this.__extends) || (function () {
41826
- var extendStatics = function (d, b) {
41827
- extendStatics = Object.setPrototypeOf ||
41828
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
41829
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
41830
- return extendStatics(d, b);
41831
- };
41832
- return function (d, b) {
41833
- extendStatics(d, b);
41834
- function __() { this.constructor = d; }
41835
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41836
- };
41837
- })();
41838
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41839
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
41840
- return new (P || (P = Promise))(function (resolve, reject) {
41841
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
41842
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41843
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41844
- step((generator = generator.apply(thisArg, _arguments || [])).next());
41845
- });
41846
- };
41847
- var __generator = (this && this.__generator) || function (thisArg, body) {
41848
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41849
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
41850
- function verb(n) { return function (v) { return step([n, v]); }; }
41851
- function step(op) {
41852
- if (f) throw new TypeError("Generator is already executing.");
41853
- while (_) try {
41854
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
41855
- if (y = 0, t) op = [op[0] & 2, t.value];
41856
- switch (op[0]) {
41857
- case 0: case 1: t = op; break;
41858
- case 4: _.label++; return { value: op[1], done: false };
41859
- case 5: _.label++; y = op[1]; op = [0]; continue;
41860
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
41861
- default:
41862
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
41863
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
41864
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
41865
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41866
- if (t[2]) _.ops.pop();
41867
- _.trys.pop(); continue;
41868
- }
41869
- op = body.call(thisArg, _);
41870
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
41871
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
41872
- }
41873
- };
41874
- Object.defineProperty(exports, "__esModule", { value: true });
41875
- exports.RepeatableAction = void 0;
41876
- var Action_1 = require("./Action");
41877
- var RepeatableAction = /** @class */ (function (_super) {
41878
- __extends(RepeatableAction, _super);
41879
- function RepeatableAction(context, actionFactory) {
41880
- var _this = _super.call(this, context) || this;
41881
- _this.actionFactory = actionFactory;
41882
- _this.addValidTransition(Action_1.ActionState.EXECUTING, Action_1.ActionState.EXECUTING);
41883
- _this.addValidTransition(Action_1.ActionState.COMPLETED, Action_1.ActionState.EXECUTING);
41884
- _this.addValidTransition(Action_1.ActionState.CANCELLED, Action_1.ActionState.EXECUTING);
41885
- return _this;
41886
- }
41887
- RepeatableAction.prototype.perform = function () {
41888
- return __awaiter(this, void 0, void 0, function () {
41889
- return __generator(this, function (_a) {
41890
- switch (_a.label) {
41891
- case 0:
41892
- if (this.innerAction !== undefined && this.innerAction.getState() === Action_1.ActionState.EXECUTING) {
41893
- this.innerAction.cancel();
41894
- }
41895
- this.innerAction = this.actionFactory();
41896
- return [4 /*yield*/, this.innerAction.start()];
41897
- case 1:
41898
- _a.sent();
41899
- return [2 /*return*/, this.innerAction.result];
41900
- }
41901
- });
41902
- });
41903
- };
41904
- RepeatableAction.prototype.cancel = function () {
41905
- if (this.innerAction !== undefined && this.innerAction.getState() === Action_1.ActionState.EXECUTING) {
41906
- this.innerAction.cancel();
41907
- }
41908
- _super.prototype.cancel.call(this);
41909
- };
41910
- return RepeatableAction;
41911
- }(Action_1.Action));
41912
- exports.RepeatableAction = RepeatableAction;
41913
-
41914
- },{"./Action":388}],391:[function(require,module,exports){
41915
- "use strict";
41916
- var __extends = (this && this.__extends) || (function () {
41917
- var extendStatics = function (d, b) {
41918
- extendStatics = Object.setPrototypeOf ||
41919
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
41920
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
41921
- return extendStatics(d, b);
41922
- };
41923
- return function (d, b) {
41924
- extendStatics(d, b);
41925
- function __() { this.constructor = d; }
41926
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41927
- };
41928
- })();
41929
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41930
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
41931
- return new (P || (P = Promise))(function (resolve, reject) {
41932
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
41933
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41934
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41935
- step((generator = generator.apply(thisArg, _arguments || [])).next());
41936
- });
41937
- };
41938
- var __generator = (this && this.__generator) || function (thisArg, body) {
41939
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41940
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
41941
- function verb(n) { return function (v) { return step([n, v]); }; }
41942
- function step(op) {
41943
- if (f) throw new TypeError("Generator is already executing.");
41944
- while (_) try {
41945
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
41946
- if (y = 0, t) op = [op[0] & 2, t.value];
41947
- switch (op[0]) {
41948
- case 0: case 1: t = op; break;
41949
- case 4: _.label++; return { value: op[1], done: false };
41950
- case 5: _.label++; y = op[1]; op = [0]; continue;
41951
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
41952
- default:
41953
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
41954
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
41955
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
41956
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41957
- if (t[2]) _.ops.pop();
41958
- _.trys.pop(); continue;
41959
- }
41960
- op = body.call(thisArg, _);
41961
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
41962
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
41963
- }
41964
- };
41965
- Object.defineProperty(exports, "__esModule", { value: true });
41966
- exports.SimpleAction = void 0;
41967
- var Action_1 = require("./Action");
41968
- var SimpleAction = /** @class */ (function (_super) {
41969
- __extends(SimpleAction, _super);
41970
- function SimpleAction(promise) {
41971
- var _this = _super.call(this) || this;
41972
- _this.promise = promise;
41973
- return _this;
41974
- }
41975
- Object.defineProperty(SimpleAction.prototype, "identifier", {
41976
- get: function () {
41977
- return 'simple-action';
41978
- },
41979
- enumerable: false,
41980
- configurable: true
41981
- });
41982
- SimpleAction.prototype.perform = function () {
41983
- return __awaiter(this, void 0, void 0, function () {
41984
- return __generator(this, function (_a) {
41985
- return [2 /*return*/, this.promise()];
41986
- });
41987
- });
41988
- };
41989
- return SimpleAction;
41990
- }(Action_1.Action));
41991
- exports.SimpleAction = SimpleAction;
41992
-
41993
- },{"./Action":388}],392:[function(require,module,exports){
41994
- "use strict";
41995
- Object.defineProperty(exports, "__esModule", { value: true });
41996
- exports.StateMachine = void 0;
41997
- var errors_1 = require("../errors");
41998
- var coinlib_error_1 = require("../errors/coinlib-error");
41999
- var StateMachine = /** @class */ (function () {
42000
- function StateMachine(initialState, validTransitions) {
42001
- this.state = initialState;
42002
- this.validTransitions = validTransitions;
42003
- }
42004
- StateMachine.prototype.transitionTo = function (state) {
42005
- if (this.canTransitionTo(state)) {
42006
- this.state = state;
42007
- }
42008
- else {
42009
- throw new errors_1.OperationFailedError(coinlib_error_1.Domain.ACTIONS, "Invalid state transition: " + this.state + " -> " + state);
42010
- }
42011
- };
42012
- StateMachine.prototype.getState = function () {
42013
- return this.state;
42014
- };
42015
- StateMachine.prototype.addValidStateTransition = function (from, to) {
42016
- var states = this.validTransitions.get(to);
42017
- if (states !== undefined && states.indexOf(from) === -1) {
42018
- states.push(from);
42019
- this.validTransitions.set(to, states);
42020
- }
42021
- else {
42022
- this.validTransitions.set(to, [from]);
42023
- }
42024
- };
42025
- StateMachine.prototype.canTransitionTo = function (state) {
42026
- var states = this.validTransitions.get(state);
42027
- if (states !== undefined) {
42028
- return states.indexOf(this.state) !== -1;
42029
- }
42030
- return false;
42031
- };
42032
- return StateMachine;
42033
- }());
42034
- exports.StateMachine = StateMachine;
42035
-
42036
- },{"../errors":582,"../errors/coinlib-error":581}],393:[function(require,module,exports){
41587
+ },{"bs58check":309,"buffer":67}],387:[function(require,module,exports){
42037
41588
  module.exports = require('./lib/axios');
42038
- },{"./lib/axios":395}],394:[function(require,module,exports){
41589
+ },{"./lib/axios":389}],388:[function(require,module,exports){
42039
41590
  'use strict';
42040
41591
 
42041
41592
  var utils = require('./../utils');
@@ -42211,7 +41762,7 @@ module.exports = function xhrAdapter(config) {
42211
41762
  });
42212
41763
  };
42213
41764
 
42214
- },{"../core/createError":401,"./../core/settle":405,"./../helpers/buildURL":409,"./../helpers/cookies":411,"./../helpers/isURLSameOrigin":413,"./../helpers/parseHeaders":415,"./../utils":417}],395:[function(require,module,exports){
41765
+ },{"../core/createError":395,"./../core/settle":399,"./../helpers/buildURL":403,"./../helpers/cookies":405,"./../helpers/isURLSameOrigin":407,"./../helpers/parseHeaders":409,"./../utils":411}],389:[function(require,module,exports){
42215
41766
  'use strict';
42216
41767
 
42217
41768
  var utils = require('./utils');
@@ -42266,7 +41817,7 @@ module.exports = axios;
42266
41817
  // Allow use of default import syntax in TypeScript
42267
41818
  module.exports.default = axios;
42268
41819
 
42269
- },{"./cancel/Cancel":396,"./cancel/CancelToken":397,"./cancel/isCancel":398,"./core/Axios":399,"./core/mergeConfig":404,"./defaults":407,"./helpers/bind":408,"./helpers/spread":416,"./utils":417}],396:[function(require,module,exports){
41820
+ },{"./cancel/Cancel":390,"./cancel/CancelToken":391,"./cancel/isCancel":392,"./core/Axios":393,"./core/mergeConfig":398,"./defaults":401,"./helpers/bind":402,"./helpers/spread":410,"./utils":411}],390:[function(require,module,exports){
42270
41821
  'use strict';
42271
41822
 
42272
41823
  /**
@@ -42287,7 +41838,7 @@ Cancel.prototype.__CANCEL__ = true;
42287
41838
 
42288
41839
  module.exports = Cancel;
42289
41840
 
42290
- },{}],397:[function(require,module,exports){
41841
+ },{}],391:[function(require,module,exports){
42291
41842
  'use strict';
42292
41843
 
42293
41844
  var Cancel = require('./Cancel');
@@ -42346,14 +41897,14 @@ CancelToken.source = function source() {
42346
41897
 
42347
41898
  module.exports = CancelToken;
42348
41899
 
42349
- },{"./Cancel":396}],398:[function(require,module,exports){
41900
+ },{"./Cancel":390}],392:[function(require,module,exports){
42350
41901
  'use strict';
42351
41902
 
42352
41903
  module.exports = function isCancel(value) {
42353
41904
  return !!(value && value.__CANCEL__);
42354
41905
  };
42355
41906
 
42356
- },{}],399:[function(require,module,exports){
41907
+ },{}],393:[function(require,module,exports){
42357
41908
  'use strict';
42358
41909
 
42359
41910
  var utils = require('./../utils');
@@ -42441,7 +41992,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
42441
41992
 
42442
41993
  module.exports = Axios;
42443
41994
 
42444
- },{"../helpers/buildURL":409,"./../utils":417,"./InterceptorManager":400,"./dispatchRequest":402,"./mergeConfig":404}],400:[function(require,module,exports){
41995
+ },{"../helpers/buildURL":403,"./../utils":411,"./InterceptorManager":394,"./dispatchRequest":396,"./mergeConfig":398}],394:[function(require,module,exports){
42445
41996
  'use strict';
42446
41997
 
42447
41998
  var utils = require('./../utils');
@@ -42495,7 +42046,7 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
42495
42046
 
42496
42047
  module.exports = InterceptorManager;
42497
42048
 
42498
- },{"./../utils":417}],401:[function(require,module,exports){
42049
+ },{"./../utils":411}],395:[function(require,module,exports){
42499
42050
  'use strict';
42500
42051
 
42501
42052
  var enhanceError = require('./enhanceError');
@@ -42515,7 +42066,7 @@ module.exports = function createError(message, config, code, request, response)
42515
42066
  return enhanceError(error, config, code, request, response);
42516
42067
  };
42517
42068
 
42518
- },{"./enhanceError":403}],402:[function(require,module,exports){
42069
+ },{"./enhanceError":397}],396:[function(require,module,exports){
42519
42070
  'use strict';
42520
42071
 
42521
42072
  var utils = require('./../utils');
@@ -42603,7 +42154,7 @@ module.exports = function dispatchRequest(config) {
42603
42154
  });
42604
42155
  };
42605
42156
 
42606
- },{"../cancel/isCancel":398,"../defaults":407,"./../helpers/combineURLs":410,"./../helpers/isAbsoluteURL":412,"./../utils":417,"./transformData":406}],403:[function(require,module,exports){
42157
+ },{"../cancel/isCancel":392,"../defaults":401,"./../helpers/combineURLs":404,"./../helpers/isAbsoluteURL":406,"./../utils":411,"./transformData":400}],397:[function(require,module,exports){
42607
42158
  'use strict';
42608
42159
 
42609
42160
  /**
@@ -42647,7 +42198,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
42647
42198
  return error;
42648
42199
  };
42649
42200
 
42650
- },{}],404:[function(require,module,exports){
42201
+ },{}],398:[function(require,module,exports){
42651
42202
  'use strict';
42652
42203
 
42653
42204
  var utils = require('../utils');
@@ -42700,7 +42251,7 @@ module.exports = function mergeConfig(config1, config2) {
42700
42251
  return config;
42701
42252
  };
42702
42253
 
42703
- },{"../utils":417}],405:[function(require,module,exports){
42254
+ },{"../utils":411}],399:[function(require,module,exports){
42704
42255
  'use strict';
42705
42256
 
42706
42257
  var createError = require('./createError');
@@ -42727,7 +42278,7 @@ module.exports = function settle(resolve, reject, response) {
42727
42278
  }
42728
42279
  };
42729
42280
 
42730
- },{"./createError":401}],406:[function(require,module,exports){
42281
+ },{"./createError":395}],400:[function(require,module,exports){
42731
42282
  'use strict';
42732
42283
 
42733
42284
  var utils = require('./../utils');
@@ -42749,7 +42300,7 @@ module.exports = function transformData(data, headers, fns) {
42749
42300
  return data;
42750
42301
  };
42751
42302
 
42752
- },{"./../utils":417}],407:[function(require,module,exports){
42303
+ },{"./../utils":411}],401:[function(require,module,exports){
42753
42304
  (function (process){(function (){
42754
42305
  'use strict';
42755
42306
 
@@ -42851,7 +42402,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
42851
42402
  module.exports = defaults;
42852
42403
 
42853
42404
  }).call(this)}).call(this,require('_process'))
42854
- },{"./adapters/http":394,"./adapters/xhr":394,"./helpers/normalizeHeaderName":414,"./utils":417,"_process":171}],408:[function(require,module,exports){
42405
+ },{"./adapters/http":388,"./adapters/xhr":388,"./helpers/normalizeHeaderName":408,"./utils":411,"_process":171}],402:[function(require,module,exports){
42855
42406
  'use strict';
42856
42407
 
42857
42408
  module.exports = function bind(fn, thisArg) {
@@ -42864,7 +42415,7 @@ module.exports = function bind(fn, thisArg) {
42864
42415
  };
42865
42416
  };
42866
42417
 
42867
- },{}],409:[function(require,module,exports){
42418
+ },{}],403:[function(require,module,exports){
42868
42419
  'use strict';
42869
42420
 
42870
42421
  var utils = require('./../utils');
@@ -42937,7 +42488,7 @@ module.exports = function buildURL(url, params, paramsSerializer) {
42937
42488
  return url;
42938
42489
  };
42939
42490
 
42940
- },{"./../utils":417}],410:[function(require,module,exports){
42491
+ },{"./../utils":411}],404:[function(require,module,exports){
42941
42492
  'use strict';
42942
42493
 
42943
42494
  /**
@@ -42953,7 +42504,7 @@ module.exports = function combineURLs(baseURL, relativeURL) {
42953
42504
  : baseURL;
42954
42505
  };
42955
42506
 
42956
- },{}],411:[function(require,module,exports){
42507
+ },{}],405:[function(require,module,exports){
42957
42508
  'use strict';
42958
42509
 
42959
42510
  var utils = require('./../utils');
@@ -43008,7 +42559,7 @@ module.exports = (
43008
42559
  })()
43009
42560
  );
43010
42561
 
43011
- },{"./../utils":417}],412:[function(require,module,exports){
42562
+ },{"./../utils":411}],406:[function(require,module,exports){
43012
42563
  'use strict';
43013
42564
 
43014
42565
  /**
@@ -43024,7 +42575,7 @@ module.exports = function isAbsoluteURL(url) {
43024
42575
  return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
43025
42576
  };
43026
42577
 
43027
- },{}],413:[function(require,module,exports){
42578
+ },{}],407:[function(require,module,exports){
43028
42579
  'use strict';
43029
42580
 
43030
42581
  var utils = require('./../utils');
@@ -43094,7 +42645,7 @@ module.exports = (
43094
42645
  })()
43095
42646
  );
43096
42647
 
43097
- },{"./../utils":417}],414:[function(require,module,exports){
42648
+ },{"./../utils":411}],408:[function(require,module,exports){
43098
42649
  'use strict';
43099
42650
 
43100
42651
  var utils = require('../utils');
@@ -43108,7 +42659,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
43108
42659
  });
43109
42660
  };
43110
42661
 
43111
- },{"../utils":417}],415:[function(require,module,exports){
42662
+ },{"../utils":411}],409:[function(require,module,exports){
43112
42663
  'use strict';
43113
42664
 
43114
42665
  var utils = require('./../utils');
@@ -43163,7 +42714,7 @@ module.exports = function parseHeaders(headers) {
43163
42714
  return parsed;
43164
42715
  };
43165
42716
 
43166
- },{"./../utils":417}],416:[function(require,module,exports){
42717
+ },{"./../utils":411}],410:[function(require,module,exports){
43167
42718
  'use strict';
43168
42719
 
43169
42720
  /**
@@ -43192,7 +42743,7 @@ module.exports = function spread(callback) {
43192
42743
  };
43193
42744
  };
43194
42745
 
43195
- },{}],417:[function(require,module,exports){
42746
+ },{}],411:[function(require,module,exports){
43196
42747
  'use strict';
43197
42748
 
43198
42749
  var bind = require('./helpers/bind');
@@ -43528,7 +43079,7 @@ module.exports = {
43528
43079
  trim: trim
43529
43080
  };
43530
43081
 
43531
- },{"../../is-buffer-2.0.3/index":541,"./helpers/bind":408}],418:[function(require,module,exports){
43082
+ },{"../../is-buffer-2.0.3/index":535,"./helpers/bind":402}],412:[function(require,module,exports){
43532
43083
  'use strict'
43533
43084
  // base-x encoding / decoding
43534
43085
  // Copyright (c) 2018 base-x contributors
@@ -43650,7 +43201,7 @@ function base (ALPHABET) {
43650
43201
  }
43651
43202
  module.exports = base
43652
43203
 
43653
- },{"../../safe-buffer-5.2.0/index":556}],419:[function(require,module,exports){
43204
+ },{"../../safe-buffer-5.2.0/index":550}],413:[function(require,module,exports){
43654
43205
  'use strict'
43655
43206
  let ALPHABET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'
43656
43207
 
@@ -43791,7 +43342,7 @@ function fromWords (words) {
43791
43342
 
43792
43343
  module.exports = { decode, encode, toWords, fromWords }
43793
43344
 
43794
- },{}],420:[function(require,module,exports){
43345
+ },{}],414:[function(require,module,exports){
43795
43346
  'use strict'
43796
43347
  var ALPHABET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'
43797
43348
 
@@ -43940,7 +43491,7 @@ module.exports = {
43940
43491
  fromWords: fromWords
43941
43492
  }
43942
43493
 
43943
- },{}],421:[function(require,module,exports){
43494
+ },{}],415:[function(require,module,exports){
43944
43495
  // (public) Constructor
43945
43496
  function BigInteger(a, b, c) {
43946
43497
  if (!(this instanceof BigInteger))
@@ -45451,7 +45002,7 @@ BigInteger.valueOf = nbv
45451
45002
 
45452
45003
  module.exports = BigInteger
45453
45004
 
45454
- },{"../package.json":424}],422:[function(require,module,exports){
45005
+ },{"../package.json":418}],416:[function(require,module,exports){
45455
45006
  (function (Buffer){(function (){
45456
45007
  // FIXME: Kind of a weird way to throw exceptions, consider removing
45457
45008
  var assert = require('assert')
@@ -45546,14 +45097,14 @@ BigInteger.prototype.toHex = function(size) {
45546
45097
  }
45547
45098
 
45548
45099
  }).call(this)}).call(this,require("buffer").Buffer)
45549
- },{"./bigi":421,"assert":16,"buffer":67}],423:[function(require,module,exports){
45100
+ },{"./bigi":415,"assert":16,"buffer":67}],417:[function(require,module,exports){
45550
45101
  var BigInteger = require('./bigi')
45551
45102
 
45552
45103
  //addons
45553
45104
  require('./convert')
45554
45105
 
45555
45106
  module.exports = BigInteger
45556
- },{"./bigi":421,"./convert":422}],424:[function(require,module,exports){
45107
+ },{"./bigi":415,"./convert":416}],418:[function(require,module,exports){
45557
45108
  module.exports={
45558
45109
  "name": "bigi",
45559
45110
  "version": "1.4.2",
@@ -45609,7 +45160,7 @@ module.exports={
45609
45160
  ]
45610
45161
  }
45611
45162
  }
45612
- },{}],425:[function(require,module,exports){
45163
+ },{}],419:[function(require,module,exports){
45613
45164
  ;(function (globalObject) {
45614
45165
  'use strict';
45615
45166
 
@@ -48513,7 +48064,7 @@ module.exports={
48513
48064
  }
48514
48065
  })(this);
48515
48066
 
48516
- },{}],426:[function(require,module,exports){
48067
+ },{}],420:[function(require,module,exports){
48517
48068
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
48518
48069
  var createHash = require('../create-hash-1.2.0/browser')
48519
48070
  var pbkdf2 = require('../pbkdf2-3.0.17/index').pbkdf2Sync
@@ -48668,7 +48219,7 @@ module.exports = {
48668
48219
  }
48669
48220
  }
48670
48221
 
48671
- },{"../create-hash-1.2.0/browser":489,"../pbkdf2-3.0.17/index":548,"../randombytes-2.1.0/browser":554,"../safe-buffer-5.2.0/index":556,"../unorm-1.6.0/lib/unorm":578,"./wordlists/chinese_simplified.json":427,"./wordlists/chinese_traditional.json":428,"./wordlists/english.json":429,"./wordlists/french.json":430,"./wordlists/italian.json":431,"./wordlists/japanese.json":432,"./wordlists/korean.json":433,"./wordlists/spanish.json":434}],427:[function(require,module,exports){
48222
+ },{"../create-hash-1.2.0/browser":483,"../pbkdf2-3.0.17/index":542,"../randombytes-2.1.0/browser":548,"../safe-buffer-5.2.0/index":550,"../unorm-1.6.0/lib/unorm":572,"./wordlists/chinese_simplified.json":421,"./wordlists/chinese_traditional.json":422,"./wordlists/english.json":423,"./wordlists/french.json":424,"./wordlists/italian.json":425,"./wordlists/japanese.json":426,"./wordlists/korean.json":427,"./wordlists/spanish.json":428}],421:[function(require,module,exports){
48672
48223
  module.exports=[
48673
48224
  "的",
48674
48225
  "一",
@@ -50719,7 +50270,7 @@ module.exports=[
50719
50270
  "矮",
50720
50271
  "歇"
50721
50272
  ]
50722
- },{}],428:[function(require,module,exports){
50273
+ },{}],422:[function(require,module,exports){
50723
50274
  module.exports=[
50724
50275
  "的",
50725
50276
  "一",
@@ -52770,7 +52321,7 @@ module.exports=[
52770
52321
  "矮",
52771
52322
  "歇"
52772
52323
  ]
52773
- },{}],429:[function(require,module,exports){
52324
+ },{}],423:[function(require,module,exports){
52774
52325
  module.exports=[
52775
52326
  "abandon",
52776
52327
  "ability",
@@ -54821,7 +54372,7 @@ module.exports=[
54821
54372
  "zone",
54822
54373
  "zoo"
54823
54374
  ]
54824
- },{}],430:[function(require,module,exports){
54375
+ },{}],424:[function(require,module,exports){
54825
54376
  module.exports=[
54826
54377
  "abaisser",
54827
54378
  "abandon",
@@ -56872,7 +56423,7 @@ module.exports=[
56872
56423
  "zeste",
56873
56424
  "zoologie"
56874
56425
  ]
56875
- },{}],431:[function(require,module,exports){
56426
+ },{}],425:[function(require,module,exports){
56876
56427
  module.exports=[
56877
56428
  "abaco",
56878
56429
  "abbaglio",
@@ -58923,7 +58474,7 @@ module.exports=[
58923
58474
  "zulu",
58924
58475
  "zuppa"
58925
58476
  ]
58926
- },{}],432:[function(require,module,exports){
58477
+ },{}],426:[function(require,module,exports){
58927
58478
  module.exports=[
58928
58479
  "あいこくしん",
58929
58480
  "あいさつ",
@@ -60974,7 +60525,7 @@ module.exports=[
60974
60525
  "わらう",
60975
60526
  "われる"
60976
60527
  ]
60977
- },{}],433:[function(require,module,exports){
60528
+ },{}],427:[function(require,module,exports){
60978
60529
  module.exports=[
60979
60530
  "가격",
60980
60531
  "가끔",
@@ -63025,7 +62576,7 @@ module.exports=[
63025
62576
  "흰색",
63026
62577
  "힘껏"
63027
62578
  ]
63028
- },{}],434:[function(require,module,exports){
62579
+ },{}],428:[function(require,module,exports){
63029
62580
  module.exports=[
63030
62581
  "ábaco",
63031
62582
  "abdomen",
@@ -65076,7 +64627,7 @@ module.exports=[
65076
64627
  "zumo",
65077
64628
  "zurdo"
65078
64629
  ]
65079
- },{}],435:[function(require,module,exports){
64630
+ },{}],429:[function(require,module,exports){
65080
64631
  // Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
65081
64632
  // Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S]
65082
64633
  // NOTE: SIGHASH byte ignored AND restricted, truncate before use
@@ -65191,7 +64742,7 @@ module.exports = {
65191
64742
  encode: encode
65192
64743
  }
65193
64744
 
65194
- },{"../safe-buffer-5.2.0/index":556}],436:[function(require,module,exports){
64745
+ },{"../safe-buffer-5.2.0/index":550}],430:[function(require,module,exports){
65195
64746
  module.exports={
65196
64747
  "OP_FALSE": 0,
65197
64748
  "OP_0": 0,
@@ -65312,9 +64863,9 @@ module.exports={
65312
64863
  "OP_PUBKEY": 254,
65313
64864
  "OP_INVALIDOPCODE": 255
65314
64865
  }
65315
- },{}],437:[function(require,module,exports){
65316
- arguments[4][260][0].apply(exports,arguments)
65317
- },{"./index.json":436,"dup":260}],438:[function(require,module,exports){
64866
+ },{}],431:[function(require,module,exports){
64867
+ arguments[4][259][0].apply(exports,arguments)
64868
+ },{"./index.json":430,"dup":259}],432:[function(require,module,exports){
65318
64869
  (function (Buffer){(function (){
65319
64870
  const bs58check = require('../bs58check-2.1.2/index')
65320
64871
  const bech32 = require('../bech32-1.1.3/index')
@@ -65475,7 +65026,7 @@ module.exports = {
65475
65026
  }
65476
65027
 
65477
65028
  }).call(this)}).call(this,require("buffer").Buffer)
65478
- },{"../bech32-1.1.3/index":420,"../bs58check-2.1.2/index":486,"../buffer-equals-1.0.4/index":487,"../create-hash-1.2.0/browser":489,"../secp256k1-3.7.1/elliptic":557,"../varuint-bitcoin-1.1.2/index":579,"buffer":67}],439:[function(require,module,exports){
65029
+ },{"../bech32-1.1.3/index":414,"../bs58check-2.1.2/index":480,"../buffer-equals-1.0.4/index":481,"../create-hash-1.2.0/browser":483,"../secp256k1-3.7.1/elliptic":551,"../varuint-bitcoin-1.1.2/index":573,"buffer":67}],433:[function(require,module,exports){
65479
65030
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
65480
65031
  var bech32 = require('../../bech32-0.0.3/index')
65481
65032
  var bs58check = require('../../bs58check-2.1.2/index')
@@ -65586,7 +65137,7 @@ module.exports = {
65586
65137
  toOutputScript: toOutputScript
65587
65138
  }
65588
65139
 
65589
- },{"../../bech32-0.0.3/index":419,"../../bs58check-2.1.2/base":485,"../../bs58check-2.1.2/index":486,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"./networks":451,"./script":452,"./templates":454,"./types":478}],440:[function(require,module,exports){
65140
+ },{"../../bech32-0.0.3/index":413,"../../bs58check-2.1.2/base":479,"../../bs58check-2.1.2/index":480,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"./networks":445,"./script":446,"./templates":448,"./types":472}],434:[function(require,module,exports){
65590
65141
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
65591
65142
  var bcrypto = require('./crypto')
65592
65143
  var fastMerkleRoot = require('../../merkle-lib-2.0.10/fastRoot')
@@ -65822,7 +65373,7 @@ Block.prototype.checkProofOfWork = function () {
65822
65373
 
65823
65374
  module.exports = Block
65824
65375
 
65825
- },{"../../merkle-lib-2.0.10/fastRoot":543,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"../../varuint-bitcoin-1.1.2/index":579,"./coins":443,"./crypto":444,"./networks":451,"./transaction":476,"./types":478}],441:[function(require,module,exports){
65376
+ },{"../../merkle-lib-2.0.10/fastRoot":537,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"../../varuint-bitcoin-1.1.2/index":573,"./coins":437,"./crypto":438,"./networks":445,"./transaction":470,"./types":472}],435:[function(require,module,exports){
65826
65377
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
65827
65378
  var bufferutils = require('./bufferutils')
65828
65379
  var varuint = require('../../varuint-bitcoin-1.1.2/index')
@@ -65864,7 +65415,7 @@ BufferWriter.prototype.writeVarSlice = function (slice) {
65864
65415
 
65865
65416
  module.exports = BufferWriter
65866
65417
 
65867
- },{"../../safe-buffer-5.2.0/index":556,"../../varuint-bitcoin-1.1.2/index":579,"./bufferutils":442}],442:[function(require,module,exports){
65418
+ },{"../../safe-buffer-5.2.0/index":550,"../../varuint-bitcoin-1.1.2/index":573,"./bufferutils":436}],436:[function(require,module,exports){
65868
65419
  var pushdata = require('../../pushdata-bitcoin-1.0.1/index')
65869
65420
  var varuint = require('../../varuint-bitcoin-1.1.2/index')
65870
65421
 
@@ -65931,7 +65482,7 @@ module.exports = {
65931
65482
  writeVarInt: writeVarInt
65932
65483
  }
65933
65484
 
65934
- },{"../../pushdata-bitcoin-1.0.1/index":553,"../../varuint-bitcoin-1.1.2/index":579}],443:[function(require,module,exports){
65485
+ },{"../../pushdata-bitcoin-1.0.1/index":547,"../../varuint-bitcoin-1.1.2/index":573}],437:[function(require,module,exports){
65935
65486
  // Coins supported by bitgo-bitcoinjs-lib
65936
65487
  const typeforce = require('../../typeforce-1.18.0/index')
65937
65488
 
@@ -65986,7 +65537,7 @@ coins.isValidCoin = typeforce.oneOf(
65986
65537
 
65987
65538
  module.exports = coins
65988
65539
 
65989
- },{"../../typeforce-1.18.0/index":576}],444:[function(require,module,exports){
65540
+ },{"../../typeforce-1.18.0/index":570}],438:[function(require,module,exports){
65990
65541
  (function (Buffer){(function (){
65991
65542
  var createHash = require('../../create-hash-1.2.0/browser')
65992
65543
  var groestlhash = require('../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index')
@@ -66033,7 +65584,7 @@ module.exports = {
66033
65584
  }
66034
65585
 
66035
65586
  }).call(this)}).call(this,require("buffer").Buffer)
66036
- },{"../../create-hash-1.2.0/browser":489,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":521,"buffer":67,"crypto":78}],445:[function(require,module,exports){
65587
+ },{"../../create-hash-1.2.0/browser":483,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":515,"buffer":67,"crypto":78}],439:[function(require,module,exports){
66037
65588
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
66038
65589
  var createHmac = require('../../create-hmac-1.1.4/browser')
66039
65590
  var typeforce = require('../../typeforce-1.18.0/index')
@@ -66196,7 +65747,7 @@ module.exports = {
66196
65747
  __curve: secp256k1
66197
65748
  }
66198
65749
 
66199
- },{"../../bigi-1.4.2/lib/index":423,"../../create-hmac-1.1.4/browser":491,"../../ecurve-1.0.6/lib/index":501,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"./ecsignature":447,"./types":478}],446:[function(require,module,exports){
65750
+ },{"../../bigi-1.4.2/lib/index":417,"../../create-hmac-1.1.4/browser":485,"../../ecurve-1.0.6/lib/index":495,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"./ecsignature":441,"./types":472}],440:[function(require,module,exports){
66200
65751
  (function (Buffer){(function (){
66201
65752
  var baddress = require('./address')
66202
65753
  var bcrypto = require('./crypto')
@@ -66355,7 +65906,7 @@ ECPair.prototype.verify = function (hash, signature) {
66355
65906
  module.exports = ECPair
66356
65907
 
66357
65908
  }).call(this)}).call(this,require("buffer").Buffer)
66358
- },{"../../bigi-1.4.2/lib/index":423,"../../ecurve-1.0.6/lib/index":501,"../../randombytes-2.1.0/browser":554,"../../typeforce-1.18.0/index":576,"../../wif-2.0.6/index":580,"./address":439,"./crypto":444,"./ecdsa":445,"./fastcurve":448,"./networks":451,"./types":478,"buffer":67}],447:[function(require,module,exports){
65909
+ },{"../../bigi-1.4.2/lib/index":417,"../../ecurve-1.0.6/lib/index":495,"../../randombytes-2.1.0/browser":548,"../../typeforce-1.18.0/index":570,"../../wif-2.0.6/index":574,"./address":433,"./crypto":438,"./ecdsa":439,"./fastcurve":442,"./networks":445,"./types":472,"buffer":67}],441:[function(require,module,exports){
66359
65910
  (function (Buffer){(function (){
66360
65911
  var bip66 = require('../../bip66-1.1.5/index')
66361
65912
  var typeforce = require('../../typeforce-1.18.0/index')
@@ -66456,7 +66007,7 @@ ECSignature.prototype.toScriptSignature = function (hashType) {
66456
66007
  module.exports = ECSignature
66457
66008
 
66458
66009
  }).call(this)}).call(this,require("buffer").Buffer)
66459
- },{"../../bigi-1.4.2/lib/index":423,"../../bip66-1.1.5/index":435,"../../typeforce-1.18.0/index":576,"./types":478,"buffer":67}],448:[function(require,module,exports){
66010
+ },{"../../bigi-1.4.2/lib/index":417,"../../bip66-1.1.5/index":429,"../../typeforce-1.18.0/index":570,"./types":472,"buffer":67}],442:[function(require,module,exports){
66460
66011
  var typeforce = require('../../typeforce-1.18.0/index')
66461
66012
 
66462
66013
  var ECSignature = require('./ecsignature')
@@ -66550,7 +66101,7 @@ module.exports = {
66550
66101
  verify: verify
66551
66102
  }
66552
66103
 
66553
- },{"../../secp256k1-3.7.1/elliptic":557,"../../typeforce-1.18.0/index":576,"./ecsignature":447,"./types":478}],449:[function(require,module,exports){
66104
+ },{"../../secp256k1-3.7.1/elliptic":551,"../../typeforce-1.18.0/index":570,"./ecsignature":441,"./types":472}],443:[function(require,module,exports){
66554
66105
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
66555
66106
  var base58check = require('../../bs58check-2.1.2/index')
66556
66107
  var bcrypto = require('./crypto')
@@ -66915,7 +66466,7 @@ HDNode.prototype.cloneKeypair = function () {
66915
66466
 
66916
66467
  module.exports = HDNode
66917
66468
 
66918
- },{"../../bigi-1.4.2/lib/index":423,"../../bs58check-2.1.2/base":485,"../../bs58check-2.1.2/index":486,"../../create-hmac-1.1.4/browser":491,"../../ecurve-1.0.6/lib/index":501,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"./crypto":444,"./ecpair":446,"./fastcurve":448,"./networks":451,"./types":478}],450:[function(require,module,exports){
66469
+ },{"../../bigi-1.4.2/lib/index":417,"../../bs58check-2.1.2/base":479,"../../bs58check-2.1.2/index":480,"../../create-hmac-1.1.4/browser":485,"../../ecurve-1.0.6/lib/index":495,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"./crypto":438,"./ecpair":440,"./fastcurve":442,"./networks":445,"./types":472}],444:[function(require,module,exports){
66919
66470
  var script = require('./script')
66920
66471
 
66921
66472
  var templates = require('./templates')
@@ -66941,7 +66492,7 @@ module.exports = {
66941
66492
  script: script
66942
66493
  }
66943
66494
 
66944
- },{"../../bitcoin-ops-1.4.1/index.json":436,"./address":439,"./block":440,"./bufferutils":442,"./coins":443,"./crypto":444,"./ecpair":446,"./ecsignature":447,"./hdnode":449,"./networks":451,"./script":452,"./templates":454,"./transaction":476,"./transaction_builder":477}],451:[function(require,module,exports){
66495
+ },{"../../bitcoin-ops-1.4.1/index.json":430,"./address":433,"./block":434,"./bufferutils":436,"./coins":437,"./crypto":438,"./ecpair":440,"./ecsignature":441,"./hdnode":443,"./networks":445,"./script":446,"./templates":448,"./transaction":470,"./transaction_builder":471}],445:[function(require,module,exports){
66945
66496
  // https://en.bitcoin.it/wiki/List_of_address_prefixes
66946
66497
  // Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
66947
66498
  var coins = require('./coins')
@@ -67157,7 +66708,7 @@ module.exports = {
67157
66708
  }
67158
66709
  }
67159
66710
 
67160
- },{"./coins":443,"./crypto":444}],452:[function(require,module,exports){
66711
+ },{"./coins":437,"./crypto":438}],446:[function(require,module,exports){
67161
66712
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
67162
66713
  var bip66 = require('../../bip66-1.1.5/index')
67163
66714
  var pushdata = require('../../pushdata-bitcoin-1.0.1/index')
@@ -67373,7 +66924,7 @@ module.exports = {
67373
66924
  isDefinedHashType: isDefinedHashType
67374
66925
  }
67375
66926
 
67376
- },{"../../bip66-1.1.5/index":435,"../../bitcoin-ops-1.4.1/index.json":436,"../../bitcoin-ops-1.4.1/map":437,"../../pushdata-bitcoin-1.0.1/index":553,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"./script_number":453,"./types":478}],453:[function(require,module,exports){
66927
+ },{"../../bip66-1.1.5/index":429,"../../bitcoin-ops-1.4.1/index.json":430,"../../bitcoin-ops-1.4.1/map":431,"../../pushdata-bitcoin-1.0.1/index":547,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"./script_number":447,"./types":472}],447:[function(require,module,exports){
67377
66928
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
67378
66929
 
67379
66930
  function decode (buffer, maxLength, minimal) {
@@ -67443,7 +66994,7 @@ module.exports = {
67443
66994
  encode: encode
67444
66995
  }
67445
66996
 
67446
- },{"../../safe-buffer-5.2.0/index":556}],454:[function(require,module,exports){
66997
+ },{"../../safe-buffer-5.2.0/index":550}],448:[function(require,module,exports){
67447
66998
  var decompile = require('../script').decompile
67448
66999
  var multisig = require('./multisig')
67449
67000
  var nullData = require('./nulldata')
@@ -67519,13 +67070,13 @@ module.exports = {
67519
67070
  types: types
67520
67071
  }
67521
67072
 
67522
- },{"../script":452,"./multisig":455,"./nulldata":458,"./pubkey":459,"./pubkeyhash":462,"./scripthash":465,"./witnesscommitment":468,"./witnesspubkeyhash":470,"./witnessscripthash":473}],455:[function(require,module,exports){
67073
+ },{"../script":446,"./multisig":449,"./nulldata":452,"./pubkey":453,"./pubkeyhash":456,"./scripthash":459,"./witnesscommitment":462,"./witnesspubkeyhash":464,"./witnessscripthash":467}],449:[function(require,module,exports){
67523
67074
  module.exports = {
67524
67075
  input: require('./input'),
67525
67076
  output: require('./output')
67526
67077
  }
67527
67078
 
67528
- },{"./input":456,"./output":457}],456:[function(require,module,exports){
67079
+ },{"./input":450,"./output":451}],450:[function(require,module,exports){
67529
67080
  // OP_0 [signatures ...]
67530
67081
 
67531
67082
  var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
@@ -67598,7 +67149,7 @@ module.exports = {
67598
67149
  encodeStack: encodeStack
67599
67150
  }
67600
67151
 
67601
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../safe-buffer-5.2.0/index":556,"../../../../typeforce-1.18.0/index":576,"../../script":452,"./output":457}],457:[function(require,module,exports){
67152
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../safe-buffer-5.2.0/index":550,"../../../../typeforce-1.18.0/index":570,"../../script":446,"./output":451}],451:[function(require,module,exports){
67602
67153
  // m [pubKeys ...] n OP_CHECKMULTISIG
67603
67154
 
67604
67155
  var bscript = require('../../script')
@@ -67664,7 +67215,7 @@ module.exports = {
67664
67215
  encode: encode
67665
67216
  }
67666
67217
 
67667
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478}],458:[function(require,module,exports){
67218
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472}],452:[function(require,module,exports){
67668
67219
  // OP_RETURN {data}
67669
67220
 
67670
67221
  var bscript = require('../script')
@@ -67705,9 +67256,9 @@ module.exports = {
67705
67256
  }
67706
67257
  }
67707
67258
 
67708
- },{"../../../bitcoin-ops-1.4.1/index.json":436,"../../../typeforce-1.18.0/index":576,"../script":452,"../types":478}],459:[function(require,module,exports){
67709
- arguments[4][455][0].apply(exports,arguments)
67710
- },{"./input":460,"./output":461,"dup":455}],460:[function(require,module,exports){
67259
+ },{"../../../bitcoin-ops-1.4.1/index.json":430,"../../../typeforce-1.18.0/index":570,"../script":446,"../types":472}],453:[function(require,module,exports){
67260
+ arguments[4][449][0].apply(exports,arguments)
67261
+ },{"./input":454,"./output":455,"dup":449}],454:[function(require,module,exports){
67711
67262
  // {signature}
67712
67263
 
67713
67264
  var bscript = require('../../script')
@@ -67748,7 +67299,7 @@ module.exports = {
67748
67299
  encodeStack: encodeStack
67749
67300
  }
67750
67301
 
67751
- },{"../../../../typeforce-1.18.0/index":576,"../../script":452}],461:[function(require,module,exports){
67302
+ },{"../../../../typeforce-1.18.0/index":570,"../../script":446}],455:[function(require,module,exports){
67752
67303
  // {pubKey} OP_CHECKSIG
67753
67304
 
67754
67305
  var bscript = require('../../script')
@@ -67783,9 +67334,9 @@ module.exports = {
67783
67334
  encode: encode
67784
67335
  }
67785
67336
 
67786
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../typeforce-1.18.0/index":576,"../../script":452}],462:[function(require,module,exports){
67787
- arguments[4][455][0].apply(exports,arguments)
67788
- },{"./input":463,"./output":464,"dup":455}],463:[function(require,module,exports){
67337
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":570,"../../script":446}],456:[function(require,module,exports){
67338
+ arguments[4][449][0].apply(exports,arguments)
67339
+ },{"./input":457,"./output":458,"dup":449}],457:[function(require,module,exports){
67789
67340
  // {signature} {pubKey}
67790
67341
 
67791
67342
  var bscript = require('../../script')
@@ -67838,7 +67389,7 @@ module.exports = {
67838
67389
  encodeStack: encodeStack
67839
67390
  }
67840
67391
 
67841
- },{"../../../../typeforce-1.18.0/index":576,"../../script":452}],464:[function(require,module,exports){
67392
+ },{"../../../../typeforce-1.18.0/index":570,"../../script":446}],458:[function(require,module,exports){
67842
67393
  // OP_DUP OP_HASH160 {pubKeyHash} OP_EQUALVERIFY OP_CHECKSIG
67843
67394
 
67844
67395
  var bscript = require('../../script')
@@ -67882,9 +67433,9 @@ module.exports = {
67882
67433
  encode: encode
67883
67434
  }
67884
67435
 
67885
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478}],465:[function(require,module,exports){
67886
- arguments[4][455][0].apply(exports,arguments)
67887
- },{"./input":466,"./output":467,"dup":455}],466:[function(require,module,exports){
67436
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472}],459:[function(require,module,exports){
67437
+ arguments[4][449][0].apply(exports,arguments)
67438
+ },{"./input":460,"./output":461,"dup":449}],460:[function(require,module,exports){
67888
67439
  // <scriptSig> {serialized scriptPubKey script}
67889
67440
 
67890
67441
  var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
@@ -67970,7 +67521,7 @@ module.exports = {
67970
67521
  encodeStack: encodeStack
67971
67522
  }
67972
67523
 
67973
- },{"../../../../safe-buffer-5.2.0/index":556,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../multisig/":455,"../pubkey/":459,"../pubkeyhash/":462,"../witnesspubkeyhash/output":472,"../witnessscripthash/output":475}],467:[function(require,module,exports){
67524
+ },{"../../../../safe-buffer-5.2.0/index":550,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../multisig/":449,"../pubkey/":453,"../pubkeyhash/":456,"../witnesspubkeyhash/output":466,"../witnessscripthash/output":469}],461:[function(require,module,exports){
67974
67525
  // OP_HASH160 {scriptHash} OP_EQUAL
67975
67526
 
67976
67527
  var bscript = require('../../script')
@@ -68006,12 +67557,12 @@ module.exports = {
68006
67557
  encode: encode
68007
67558
  }
68008
67559
 
68009
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478}],468:[function(require,module,exports){
67560
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472}],462:[function(require,module,exports){
68010
67561
  module.exports = {
68011
67562
  output: require('./output')
68012
67563
  }
68013
67564
 
68014
- },{"./output":469}],469:[function(require,module,exports){
67565
+ },{"./output":463}],463:[function(require,module,exports){
68015
67566
  // OP_RETURN {aa21a9ed} {commitment}
68016
67567
 
68017
67568
  var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
@@ -68055,9 +67606,9 @@ module.exports = {
68055
67606
  encode: encode
68056
67607
  }
68057
67608
 
68058
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../safe-buffer-5.2.0/index":556,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478}],470:[function(require,module,exports){
68059
- arguments[4][455][0].apply(exports,arguments)
68060
- },{"./input":471,"./output":472,"dup":455}],471:[function(require,module,exports){
67609
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../safe-buffer-5.2.0/index":550,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472}],464:[function(require,module,exports){
67610
+ arguments[4][449][0].apply(exports,arguments)
67611
+ },{"./input":465,"./output":466,"dup":449}],465:[function(require,module,exports){
68061
67612
  // {signature} {pubKey}
68062
67613
 
68063
67614
  var bscript = require('../../script')
@@ -68103,7 +67654,7 @@ module.exports = {
68103
67654
  encodeStack: encodeStack
68104
67655
  }
68105
67656
 
68106
- },{"../../../../typeforce-1.18.0/index":576,"../../script":452}],472:[function(require,module,exports){
67657
+ },{"../../../../typeforce-1.18.0/index":570,"../../script":446}],466:[function(require,module,exports){
68107
67658
  // OP_0 {pubKeyHash}
68108
67659
 
68109
67660
  var bscript = require('../../script')
@@ -68138,9 +67689,9 @@ module.exports = {
68138
67689
  encode: encode
68139
67690
  }
68140
67691
 
68141
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478}],473:[function(require,module,exports){
68142
- arguments[4][455][0].apply(exports,arguments)
68143
- },{"./input":474,"./output":475,"dup":455}],474:[function(require,module,exports){
67692
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472}],467:[function(require,module,exports){
67693
+ arguments[4][449][0].apply(exports,arguments)
67694
+ },{"./input":468,"./output":469,"dup":449}],468:[function(require,module,exports){
68144
67695
  (function (Buffer){(function (){
68145
67696
  // <scriptSig> {serialized scriptPubKey script}
68146
67697
 
@@ -68207,7 +67758,7 @@ module.exports = {
68207
67758
  }
68208
67759
 
68209
67760
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../../../node_modules/is-buffer/index.js")})
68210
- },{"../../../../../../../../../node_modules/is-buffer/index.js":150,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478,"../multisig/":455,"../pubkey/":459,"../pubkeyhash/":462}],475:[function(require,module,exports){
67761
+ },{"../../../../../../../../../node_modules/is-buffer/index.js":150,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472,"../multisig/":449,"../pubkey/":453,"../pubkeyhash/":456}],469:[function(require,module,exports){
68211
67762
  // OP_0 {scriptHash}
68212
67763
 
68213
67764
  var bscript = require('../../script')
@@ -68242,7 +67793,7 @@ module.exports = {
68242
67793
  encode: encode
68243
67794
  }
68244
67795
 
68245
- },{"../../../../bitcoin-ops-1.4.1/index.json":436,"../../../../typeforce-1.18.0/index":576,"../../script":452,"../../types":478}],476:[function(require,module,exports){
67796
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":570,"../../script":446,"../../types":472}],470:[function(require,module,exports){
68246
67797
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
68247
67798
  var BufferWriter = require('./bufferWriter')
68248
67799
  var bcrypto = require('./crypto')
@@ -69369,7 +68920,7 @@ Transaction.prototype.setWitness = function (index, witness) {
69369
68920
 
69370
68921
  module.exports = Transaction
69371
68922
 
69372
- },{"../../bitcoin-ops-1.4.1/index.json":436,"../../blake2b-6268e6dd678661e0acc4359e9171b97eb1ebf8ac/index":479,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"../../varuint-bitcoin-1.1.2/index":579,"./bufferWriter":441,"./bufferutils":442,"./coins":443,"./crypto":444,"./networks":451,"./script":452,"./types":478}],477:[function(require,module,exports){
68923
+ },{"../../bitcoin-ops-1.4.1/index.json":430,"../../blake2b-6268e6dd678661e0acc4359e9171b97eb1ebf8ac/index":473,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"../../varuint-bitcoin-1.1.2/index":573,"./bufferWriter":435,"./bufferutils":436,"./coins":437,"./crypto":438,"./networks":445,"./script":446,"./types":472}],471:[function(require,module,exports){
69373
68924
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
69374
68925
  var baddress = require('./address')
69375
68926
  var bcrypto = require('./crypto')
@@ -70263,7 +69814,7 @@ TransactionBuilder.prototype.__overMaximumFees = function (bytes) {
70263
69814
 
70264
69815
  module.exports = TransactionBuilder
70265
69816
 
70266
- },{"../../bitcoin-ops-1.4.1/index.json":436,"../../debug-3.1.0/src/browser":492,"../../safe-buffer-5.2.0/index":556,"../../typeforce-1.18.0/index":576,"./address":439,"./coins":443,"./crypto":444,"./ecpair":446,"./ecsignature":447,"./networks":451,"./script":452,"./templates":454,"./transaction":476,"./types":478}],478:[function(require,module,exports){
69817
+ },{"../../bitcoin-ops-1.4.1/index.json":430,"../../debug-3.1.0/src/browser":486,"../../safe-buffer-5.2.0/index":550,"../../typeforce-1.18.0/index":570,"./address":433,"./coins":437,"./crypto":438,"./ecpair":440,"./ecsignature":441,"./networks":445,"./script":446,"./templates":448,"./transaction":470,"./types":472}],472:[function(require,module,exports){
70267
69818
  var typeforce = require('../../typeforce-1.18.0/index')
70268
69819
 
70269
69820
  var UINT31_MAX = Math.pow(2, 31) - 1
@@ -70320,7 +69871,7 @@ for (var typeName in typeforce) {
70320
69871
 
70321
69872
  module.exports = types
70322
69873
 
70323
- },{"../../typeforce-1.18.0/index":576}],479:[function(require,module,exports){
69874
+ },{"../../typeforce-1.18.0/index":570}],473:[function(require,module,exports){
70324
69875
  var assert = require('../nanoassert-1.1.0/index')
70325
69876
  var b2wasm = require('../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index')
70326
69877
 
@@ -70635,7 +70186,7 @@ b2wasm.ready(function (err) {
70635
70186
  }
70636
70187
  })
70637
70188
 
70638
- },{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":481,"../nanoassert-1.1.0/index":547}],480:[function(require,module,exports){
70189
+ },{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":475,"../nanoassert-1.1.0/index":541}],474:[function(require,module,exports){
70639
70190
 
70640
70191
  module.exports = loadWebAssembly
70641
70192
 
@@ -70700,7 +70251,7 @@ function charCodeAt (c) {
70700
70251
  return c.charCodeAt(0)
70701
70252
  }
70702
70253
 
70703
- },{}],481:[function(require,module,exports){
70254
+ },{}],475:[function(require,module,exports){
70704
70255
  var assert = require('../nanoassert-1.1.0/index')
70705
70256
  var wasm = require('./blake2b')()
70706
70257
 
@@ -70830,7 +70381,7 @@ function toHex (n) {
70830
70381
  return n.toString(16)
70831
70382
  }
70832
70383
 
70833
- },{"../nanoassert-1.1.0/index":547,"./blake2b":480}],482:[function(require,module,exports){
70384
+ },{"../nanoassert-1.1.0/index":541,"./blake2b":474}],476:[function(require,module,exports){
70834
70385
  (function (module, exports) {
70835
70386
  'use strict';
70836
70387
 
@@ -74259,15 +73810,15 @@ function toHex (n) {
74259
73810
  };
74260
73811
  })(typeof module === 'undefined' || module, this);
74261
73812
 
74262
- },{"buffer":67}],483:[function(require,module,exports){
73813
+ },{"buffer":67}],477:[function(require,module,exports){
74263
73814
  arguments[4][23][0].apply(exports,arguments)
74264
- },{"crypto":78,"dup":23}],484:[function(require,module,exports){
73815
+ },{"crypto":78,"dup":23}],478:[function(require,module,exports){
74265
73816
  var basex = require('../base-x-3.0.7/src/index')
74266
73817
  var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
74267
73818
 
74268
73819
  module.exports = basex(ALPHABET)
74269
73820
 
74270
- },{"../base-x-3.0.7/src/index":418}],485:[function(require,module,exports){
73821
+ },{"../base-x-3.0.7/src/index":412}],479:[function(require,module,exports){
74271
73822
  'use strict'
74272
73823
 
74273
73824
  var base58 = require('../bs58-4.0.1/index')
@@ -74319,7 +73870,7 @@ module.exports = function (checksumFn) {
74319
73870
  }
74320
73871
  }
74321
73872
 
74322
- },{"../bs58-4.0.1/index":484,"../safe-buffer-5.2.0/index":556}],486:[function(require,module,exports){
73873
+ },{"../bs58-4.0.1/index":478,"../safe-buffer-5.2.0/index":550}],480:[function(require,module,exports){
74323
73874
  'use strict'
74324
73875
 
74325
73876
  var createHash = require('../create-hash-1.2.0/browser')
@@ -74333,7 +73884,7 @@ function sha256x2 (buffer) {
74333
73884
 
74334
73885
  module.exports = bs58checkBase(sha256x2)
74335
73886
 
74336
- },{"../create-hash-1.2.0/browser":489,"./base":485}],487:[function(require,module,exports){
73887
+ },{"../create-hash-1.2.0/browser":483,"./base":479}],481:[function(require,module,exports){
74337
73888
  (function (Buffer){(function (){
74338
73889
  'use strict';
74339
73890
  module.exports = function (a, b) {
@@ -74363,7 +73914,7 @@ module.exports = function (a, b) {
74363
73914
  };
74364
73915
 
74365
73916
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
74366
- },{"../../../../../../node_modules/is-buffer/index.js":150}],488:[function(require,module,exports){
73917
+ },{"../../../../../../node_modules/is-buffer/index.js":150}],482:[function(require,module,exports){
74367
73918
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
74368
73919
  var Transform = require('stream').Transform
74369
73920
  var StringDecoder = require('string_decoder').StringDecoder
@@ -74464,7 +74015,7 @@ CipherBase.prototype._toString = function (value, enc, fin) {
74464
74015
 
74465
74016
  module.exports = CipherBase
74466
74017
 
74467
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"stream":192,"string_decoder":207}],489:[function(require,module,exports){
74018
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"stream":192,"string_decoder":207}],483:[function(require,module,exports){
74468
74019
  'use strict'
74469
74020
  var inherits = require('../inherits-2.0.4/inherits')
74470
74021
  var MD5 = require('../md5.js-1.3.5/index')
@@ -74496,10 +74047,10 @@ module.exports = function createHash (alg) {
74496
74047
  return new Hash(sha(alg))
74497
74048
  }
74498
74049
 
74499
- },{"../cipher-base-1.0.4/index":488,"../inherits-2.0.4/inherits":539,"../md5.js-1.3.5/index":542,"../ripemd160-2.0.2/index":555,"../sha.js-2.4.11/index":567}],490:[function(require,module,exports){
74050
+ },{"../cipher-base-1.0.4/index":482,"../inherits-2.0.4/inherits":533,"../md5.js-1.3.5/index":536,"../ripemd160-2.0.2/index":549,"../sha.js-2.4.11/index":561}],484:[function(require,module,exports){
74500
74051
  module.exports = require('crypto').createHash
74501
74052
 
74502
- },{"crypto":78}],491:[function(require,module,exports){
74053
+ },{"crypto":78}],485:[function(require,module,exports){
74503
74054
  (function (Buffer){(function (){
74504
74055
  'use strict';
74505
74056
  var createHash = require('../create-hash-1.2.0/browser')
@@ -74571,7 +74122,7 @@ module.exports = function createHmac(alg, key) {
74571
74122
  }
74572
74123
 
74573
74124
  }).call(this)}).call(this,require("buffer").Buffer)
74574
- },{"../create-hash-1.2.0/browser":489,"../inherits-2.0.4/inherits":539,"buffer":67,"stream":192}],492:[function(require,module,exports){
74125
+ },{"../create-hash-1.2.0/browser":483,"../inherits-2.0.4/inherits":533,"buffer":67,"stream":192}],486:[function(require,module,exports){
74575
74126
  (function (process){(function (){
74576
74127
  /**
74577
74128
  * This is the web browser implementation of `debug()`.
@@ -74770,7 +74321,7 @@ function localstorage() {
74770
74321
  }
74771
74322
 
74772
74323
  }).call(this)}).call(this,require('_process'))
74773
- },{"./debug":493,"_process":171}],493:[function(require,module,exports){
74324
+ },{"./debug":487,"_process":171}],487:[function(require,module,exports){
74774
74325
 
74775
74326
  /**
74776
74327
  * This is the common logic for both the Node.js and web browser
@@ -74997,7 +74548,7 @@ function coerce(val) {
74997
74548
  return val;
74998
74549
  }
74999
74550
 
75000
- },{"../../ms-2.1.2/index":546}],494:[function(require,module,exports){
74551
+ },{"../../ms-2.1.2/index":540}],488:[function(require,module,exports){
75001
74552
  (function (Buffer){(function (){
75002
74553
  "use strict";
75003
74554
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -75031,7 +74582,7 @@ exports.utils = {
75031
74582
  };
75032
74583
 
75033
74584
  }).call(this)}).call(this,require("buffer").Buffer)
75034
- },{"./keys":497,"./utils":498,"buffer":67}],495:[function(require,module,exports){
74585
+ },{"./keys":491,"./utils":492,"buffer":67}],489:[function(require,module,exports){
75035
74586
  (function (Buffer){(function (){
75036
74587
  "use strict";
75037
74588
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -75092,7 +74643,7 @@ var PrivateKey = /** @class */ (function () {
75092
74643
  exports.default = PrivateKey;
75093
74644
 
75094
74645
  }).call(this)}).call(this,require("buffer").Buffer)
75095
- },{"../../../futoin-hkdf-1.3.3/hkdf.js":520,"../../../secp256k1-4.0.2/elliptic":563,"../utils":498,"./PublicKey":496,"buffer":67}],496:[function(require,module,exports){
74646
+ },{"../../../futoin-hkdf-1.3.3/hkdf.js":514,"../../../secp256k1-4.0.2/elliptic":557,"../utils":492,"./PublicKey":490,"buffer":67}],490:[function(require,module,exports){
75096
74647
  (function (Buffer){(function (){
75097
74648
  "use strict";
75098
74649
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -75156,7 +74707,7 @@ var PublicKey = /** @class */ (function () {
75156
74707
  exports.default = PublicKey;
75157
74708
 
75158
74709
  }).call(this)}).call(this,require("buffer").Buffer)
75159
- },{"../../../futoin-hkdf-1.3.3/hkdf.js":520,"../../../secp256k1-4.0.2/elliptic":563,"../utils":498,"buffer":67}],497:[function(require,module,exports){
74710
+ },{"../../../futoin-hkdf-1.3.3/hkdf.js":514,"../../../secp256k1-4.0.2/elliptic":557,"../utils":492,"buffer":67}],491:[function(require,module,exports){
75160
74711
  "use strict";
75161
74712
  var __importDefault = (this && this.__importDefault) || function (mod) {
75162
74713
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -75168,7 +74719,7 @@ Object.defineProperty(exports, "PrivateKey", { enumerable: true, get: function (
75168
74719
  var PublicKey_1 = require("./PublicKey");
75169
74720
  Object.defineProperty(exports, "PublicKey", { enumerable: true, get: function () { return __importDefault(PublicKey_1).default; } });
75170
74721
 
75171
- },{"./PrivateKey":495,"./PublicKey":496}],498:[function(require,module,exports){
74722
+ },{"./PrivateKey":489,"./PublicKey":490}],492:[function(require,module,exports){
75172
74723
  (function (Buffer){(function (){
75173
74724
  "use strict";
75174
74725
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -75232,7 +74783,7 @@ function aesDecrypt(key, cipherText) {
75232
74783
  exports.aesDecrypt = aesDecrypt;
75233
74784
 
75234
74785
  }).call(this)}).call(this,require("buffer").Buffer)
75235
- },{"../../secp256k1-4.0.2/elliptic":563,"buffer":67,"crypto":78}],499:[function(require,module,exports){
74786
+ },{"../../secp256k1-4.0.2/elliptic":557,"buffer":67,"crypto":78}],493:[function(require,module,exports){
75236
74787
  var assert = require('assert')
75237
74788
  var BigInteger = require('../../bigi-1.4.2/lib/index')
75238
74789
 
@@ -75311,7 +74862,7 @@ Curve.prototype.validate = function (Q) {
75311
74862
 
75312
74863
  module.exports = Curve
75313
74864
 
75314
- },{"../../bigi-1.4.2/lib/index":423,"./point":503,"assert":16}],500:[function(require,module,exports){
74865
+ },{"../../bigi-1.4.2/lib/index":417,"./point":497,"assert":16}],494:[function(require,module,exports){
75315
74866
  module.exports={
75316
74867
  "secp128r1": {
75317
74868
  "p": "fffffffdffffffffffffffffffffffff",
@@ -75377,7 +74928,7 @@ module.exports={
75377
74928
  "Gy": "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"
75378
74929
  }
75379
74930
  }
75380
- },{}],501:[function(require,module,exports){
74931
+ },{}],495:[function(require,module,exports){
75381
74932
  var Point = require('./point')
75382
74933
  var Curve = require('./curve')
75383
74934
 
@@ -75389,7 +74940,7 @@ module.exports = {
75389
74940
  getCurveByName: getCurveByName
75390
74941
  }
75391
74942
 
75392
- },{"./curve":499,"./names":502,"./point":503}],502:[function(require,module,exports){
74943
+ },{"./curve":493,"./names":496,"./point":497}],496:[function(require,module,exports){
75393
74944
  var BigInteger = require('../../bigi-1.4.2/lib/index')
75394
74945
 
75395
74946
  var curves = require('./curves.json')
@@ -75412,7 +74963,7 @@ function getCurveByName (name) {
75412
74963
 
75413
74964
  module.exports = getCurveByName
75414
74965
 
75415
- },{"../../bigi-1.4.2/lib/index":423,"./curve":499,"./curves.json":500}],503:[function(require,module,exports){
74966
+ },{"../../bigi-1.4.2/lib/index":417,"./curve":493,"./curves.json":494}],497:[function(require,module,exports){
75416
74967
  var assert = require('assert')
75417
74968
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
75418
74969
  var BigInteger = require('../../bigi-1.4.2/lib/index')
@@ -75658,7 +75209,7 @@ Point.prototype.toString = function () {
75658
75209
 
75659
75210
  module.exports = Point
75660
75211
 
75661
- },{"../../bigi-1.4.2/lib/index":423,"../../safe-buffer-5.2.0/index":556,"assert":16}],504:[function(require,module,exports){
75212
+ },{"../../bigi-1.4.2/lib/index":417,"../../safe-buffer-5.2.0/index":550,"assert":16}],498:[function(require,module,exports){
75662
75213
  'use strict';
75663
75214
 
75664
75215
  var elliptic = exports;
@@ -75673,7 +75224,7 @@ elliptic.curves = require('./elliptic/curves');
75673
75224
  elliptic.ec = require('./elliptic/ec');
75674
75225
  elliptic.eddsa = require('./elliptic/eddsa');
75675
75226
 
75676
- },{"../../brorand-1.1.0/index":483,"../package.json":519,"./elliptic/curve":507,"./elliptic/curves":510,"./elliptic/ec":511,"./elliptic/eddsa":514,"./elliptic/utils":518}],505:[function(require,module,exports){
75227
+ },{"../../brorand-1.1.0/index":477,"../package.json":513,"./elliptic/curve":501,"./elliptic/curves":504,"./elliptic/ec":505,"./elliptic/eddsa":508,"./elliptic/utils":512}],499:[function(require,module,exports){
75677
75228
  'use strict';
75678
75229
 
75679
75230
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -76051,7 +75602,7 @@ BasePoint.prototype.dblp = function dblp(k) {
76051
75602
  return r;
76052
75603
  };
76053
75604
 
76054
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":518}],506:[function(require,module,exports){
75605
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":512}],500:[function(require,module,exports){
76055
75606
  'use strict';
76056
75607
 
76057
75608
  var utils = require('../utils');
@@ -76485,9 +76036,9 @@ Point.prototype.eqXToP = function eqXToP(x) {
76485
76036
  Point.prototype.toP = Point.prototype.normalize;
76486
76037
  Point.prototype.mixedAdd = Point.prototype.add;
76487
76038
 
76488
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../inherits-2.0.4/inherits":539,"../utils":518,"./base":505}],507:[function(require,module,exports){
76039
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../inherits-2.0.4/inherits":533,"../utils":512,"./base":499}],501:[function(require,module,exports){
76489
76040
  arguments[4][93][0].apply(exports,arguments)
76490
- },{"./base":505,"./edwards":506,"./mont":508,"./short":509,"dup":93}],508:[function(require,module,exports){
76041
+ },{"./base":499,"./edwards":500,"./mont":502,"./short":503,"dup":93}],502:[function(require,module,exports){
76491
76042
  'use strict';
76492
76043
 
76493
76044
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -76667,7 +76218,7 @@ Point.prototype.getX = function getX() {
76667
76218
  return this.x.fromRed();
76668
76219
  };
76669
76220
 
76670
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../inherits-2.0.4/inherits":539,"../utils":518,"./base":505}],509:[function(require,module,exports){
76221
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../inherits-2.0.4/inherits":533,"../utils":512,"./base":499}],503:[function(require,module,exports){
76671
76222
  'use strict';
76672
76223
 
76673
76224
  var utils = require('../utils');
@@ -77606,7 +77157,7 @@ JPoint.prototype.isInfinity = function isInfinity() {
77606
77157
  return this.z.cmpn(0) === 0;
77607
77158
  };
77608
77159
 
77609
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../inherits-2.0.4/inherits":539,"../utils":518,"./base":505}],510:[function(require,module,exports){
77160
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../inherits-2.0.4/inherits":533,"../utils":512,"./base":499}],504:[function(require,module,exports){
77610
77161
  'use strict';
77611
77162
 
77612
77163
  var curves = exports;
@@ -77814,7 +77365,7 @@ defineCurve('secp256k1', {
77814
77365
  ]
77815
77366
  });
77816
77367
 
77817
- },{"../../../hash.js-1.1.7/lib/hash":526,"./curve":507,"./precomputed/secp256k1":517,"./utils":518}],511:[function(require,module,exports){
77368
+ },{"../../../hash.js-1.1.7/lib/hash":520,"./curve":501,"./precomputed/secp256k1":511,"./utils":512}],505:[function(require,module,exports){
77818
77369
  'use strict';
77819
77370
 
77820
77371
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78057,7 +77608,7 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) {
78057
77608
  throw new Error('Unable to find valid recovery factor');
78058
77609
  };
78059
77610
 
78060
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../brorand-1.1.0/index":483,"../../../../hmac-drbg-1.0.1/lib/hmac-drbg":538,"../curves":510,"../utils":518,"./key":512,"./signature":513}],512:[function(require,module,exports){
77611
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../brorand-1.1.0/index":477,"../../../../hmac-drbg-1.0.1/lib/hmac-drbg":532,"../curves":504,"../utils":512,"./key":506,"./signature":507}],506:[function(require,module,exports){
78061
77612
  'use strict';
78062
77613
 
78063
77614
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78177,7 +77728,7 @@ KeyPair.prototype.inspect = function inspect() {
78177
77728
  ' pub: ' + (this.pub && this.pub.inspect()) + ' >';
78178
77729
  };
78179
77730
 
78180
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":518}],513:[function(require,module,exports){
77731
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":512}],507:[function(require,module,exports){
78181
77732
  'use strict';
78182
77733
 
78183
77734
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78345,7 +77896,7 @@ Signature.prototype.toDER = function toDER(enc) {
78345
77896
  return utils.encode(res, enc);
78346
77897
  };
78347
77898
 
78348
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":518}],514:[function(require,module,exports){
77899
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":512}],508:[function(require,module,exports){
78349
77900
  'use strict';
78350
77901
 
78351
77902
  var hash = require('../../../../hash.js-1.1.7/lib/hash');
@@ -78465,9 +78016,9 @@ EDDSA.prototype.isPoint = function isPoint(val) {
78465
78016
  return val instanceof this.pointClass;
78466
78017
  };
78467
78018
 
78468
- },{"../../../../hash.js-1.1.7/lib/hash":526,"../curves":510,"../utils":518,"./key":515,"./signature":516}],515:[function(require,module,exports){
78019
+ },{"../../../../hash.js-1.1.7/lib/hash":520,"../curves":504,"../utils":512,"./key":509,"./signature":510}],509:[function(require,module,exports){
78469
78020
  arguments[4][101][0].apply(exports,arguments)
78470
- },{"../utils":518,"dup":101}],516:[function(require,module,exports){
78021
+ },{"../utils":512,"dup":101}],510:[function(require,module,exports){
78471
78022
  'use strict';
78472
78023
 
78473
78024
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78534,7 +78085,7 @@ Signature.prototype.toHex = function toHex() {
78534
78085
 
78535
78086
  module.exports = Signature;
78536
78087
 
78537
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":518}],517:[function(require,module,exports){
78088
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":512}],511:[function(require,module,exports){
78538
78089
  module.exports = {
78539
78090
  doubles: {
78540
78091
  step: 4,
@@ -79316,7 +78867,7 @@ module.exports = {
79316
78867
  }
79317
78868
  };
79318
78869
 
79319
- },{}],518:[function(require,module,exports){
78870
+ },{}],512:[function(require,module,exports){
79320
78871
  'use strict';
79321
78872
 
79322
78873
  var utils = exports;
@@ -79437,7 +78988,7 @@ function intFromLE(bytes) {
79437
78988
  utils.intFromLE = intFromLE;
79438
78989
 
79439
78990
 
79440
- },{"../../../bn.js-4.11.8/lib/bn":482,"../../../minimalistic-assert-1.0.1/index":544,"../../../minimalistic-crypto-utils-1.0.1/lib/utils":545}],519:[function(require,module,exports){
78991
+ },{"../../../bn.js-4.11.8/lib/bn":476,"../../../minimalistic-assert-1.0.1/index":538,"../../../minimalistic-crypto-utils-1.0.1/lib/utils":539}],513:[function(require,module,exports){
79441
78992
  module.exports={
79442
78993
  "name": "elliptic",
79443
78994
  "version": "6.5.3",
@@ -79493,7 +79044,7 @@ module.exports={
79493
79044
  "minimalistic-crypto-utils": "^1.0.0"
79494
79045
  }
79495
79046
  }
79496
- },{}],520:[function(require,module,exports){
79047
+ },{}],514:[function(require,module,exports){
79497
79048
  (function (Buffer){(function (){
79498
79049
  'use strict';
79499
79050
 
@@ -79671,7 +79222,7 @@ Object.defineProperties( hkdf, {
79671
79222
  module.exports = hkdf;
79672
79223
 
79673
79224
  }).call(this)}).call(this,require("buffer").Buffer)
79674
- },{"buffer":67,"crypto":78}],521:[function(require,module,exports){
79225
+ },{"buffer":67,"crypto":78}],515:[function(require,module,exports){
79675
79226
  'use strict';
79676
79227
 
79677
79228
  var groestl = require('./lib/groestl');
@@ -79711,7 +79262,7 @@ module.exports.groestl_2 = function(str,format, output) {
79711
79262
  return h.int32ArrayToHexString(a);
79712
79263
  }
79713
79264
  }
79714
- },{"./lib/groestl":522,"./lib/helper":523}],522:[function(require,module,exports){
79265
+ },{"./lib/groestl":516,"./lib/helper":517}],516:[function(require,module,exports){
79715
79266
  /////////////////////////////////////
79716
79267
  //////////// groestl ///////////////
79717
79268
 
@@ -80960,7 +80511,7 @@ module.exports = function(input, format, output) {
80960
80511
  }
80961
80512
  return out;
80962
80513
  }
80963
- },{"./helper":523,"./op":524}],523:[function(require,module,exports){
80514
+ },{"./helper":517,"./op":518}],517:[function(require,module,exports){
80964
80515
  'use strict';
80965
80516
  // String functions
80966
80517
 
@@ -81214,7 +80765,7 @@ module.exports.b64Decode = function(input) {
81214
80765
  }
81215
80766
  return output;
81216
80767
  };
81217
- },{"./op.js":524}],524:[function(require,module,exports){
80768
+ },{"./op.js":518}],518:[function(require,module,exports){
81218
80769
  'use strict';
81219
80770
  //the right shift is important, it has to do with 32 bit operations in javascript, it will make things faster
81220
80771
  function u64(h, l) {
@@ -81678,7 +81229,7 @@ module.exports.xORTable = function(d, s1, s2, len) {
81678
81229
  }
81679
81230
  }
81680
81231
 
81681
- },{}],525:[function(require,module,exports){
81232
+ },{}],519:[function(require,module,exports){
81682
81233
  'use strict'
81683
81234
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
81684
81235
  var Transform = require('stream').Transform
@@ -81775,9 +81326,9 @@ HashBase.prototype._digest = function () {
81775
81326
 
81776
81327
  module.exports = HashBase
81777
81328
 
81778
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"stream":192}],526:[function(require,module,exports){
81329
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"stream":192}],520:[function(require,module,exports){
81779
81330
  arguments[4][134][0].apply(exports,arguments)
81780
- },{"./hash/common":527,"./hash/hmac":528,"./hash/ripemd":529,"./hash/sha":530,"./hash/utils":537,"dup":134}],527:[function(require,module,exports){
81331
+ },{"./hash/common":521,"./hash/hmac":522,"./hash/ripemd":523,"./hash/sha":524,"./hash/utils":531,"dup":134}],521:[function(require,module,exports){
81781
81332
  'use strict';
81782
81333
 
81783
81334
  var utils = require('./utils');
@@ -81871,7 +81422,7 @@ BlockHash.prototype._pad = function pad() {
81871
81422
  return res;
81872
81423
  };
81873
81424
 
81874
- },{"../../../minimalistic-assert-1.0.1/index":544,"./utils":537}],528:[function(require,module,exports){
81425
+ },{"../../../minimalistic-assert-1.0.1/index":538,"./utils":531}],522:[function(require,module,exports){
81875
81426
  'use strict';
81876
81427
 
81877
81428
  var utils = require('./utils');
@@ -81920,15 +81471,15 @@ Hmac.prototype.digest = function digest(enc) {
81920
81471
  return this.outer.digest(enc);
81921
81472
  };
81922
81473
 
81923
- },{"../../../minimalistic-assert-1.0.1/index":544,"./utils":537}],529:[function(require,module,exports){
81474
+ },{"../../../minimalistic-assert-1.0.1/index":538,"./utils":531}],523:[function(require,module,exports){
81924
81475
  arguments[4][137][0].apply(exports,arguments)
81925
- },{"./common":527,"./utils":537,"dup":137}],530:[function(require,module,exports){
81476
+ },{"./common":521,"./utils":531,"dup":137}],524:[function(require,module,exports){
81926
81477
  arguments[4][138][0].apply(exports,arguments)
81927
- },{"./sha/1":531,"./sha/224":532,"./sha/256":533,"./sha/384":534,"./sha/512":535,"dup":138}],531:[function(require,module,exports){
81478
+ },{"./sha/1":525,"./sha/224":526,"./sha/256":527,"./sha/384":528,"./sha/512":529,"dup":138}],525:[function(require,module,exports){
81928
81479
  arguments[4][139][0].apply(exports,arguments)
81929
- },{"../common":527,"../utils":537,"./common":536,"dup":139}],532:[function(require,module,exports){
81480
+ },{"../common":521,"../utils":531,"./common":530,"dup":139}],526:[function(require,module,exports){
81930
81481
  arguments[4][140][0].apply(exports,arguments)
81931
- },{"../utils":537,"./256":533,"dup":140}],533:[function(require,module,exports){
81482
+ },{"../utils":531,"./256":527,"dup":140}],527:[function(require,module,exports){
81932
81483
  'use strict';
81933
81484
 
81934
81485
  var utils = require('../utils');
@@ -82035,9 +81586,9 @@ SHA256.prototype._digest = function digest(enc) {
82035
81586
  return utils.split32(this.h, 'big');
82036
81587
  };
82037
81588
 
82038
- },{"../../../../minimalistic-assert-1.0.1/index":544,"../common":527,"../utils":537,"./common":536}],534:[function(require,module,exports){
81589
+ },{"../../../../minimalistic-assert-1.0.1/index":538,"../common":521,"../utils":531,"./common":530}],528:[function(require,module,exports){
82039
81590
  arguments[4][142][0].apply(exports,arguments)
82040
- },{"../utils":537,"./512":535,"dup":142}],535:[function(require,module,exports){
81591
+ },{"../utils":531,"./512":529,"dup":142}],529:[function(require,module,exports){
82041
81592
  'use strict';
82042
81593
 
82043
81594
  var utils = require('../utils');
@@ -82369,9 +81920,9 @@ function g1_512_lo(xh, xl) {
82369
81920
  return r;
82370
81921
  }
82371
81922
 
82372
- },{"../../../../minimalistic-assert-1.0.1/index":544,"../common":527,"../utils":537}],536:[function(require,module,exports){
81923
+ },{"../../../../minimalistic-assert-1.0.1/index":538,"../common":521,"../utils":531}],530:[function(require,module,exports){
82373
81924
  arguments[4][144][0].apply(exports,arguments)
82374
- },{"../utils":537,"dup":144}],537:[function(require,module,exports){
81925
+ },{"../utils":531,"dup":144}],531:[function(require,module,exports){
82375
81926
  'use strict';
82376
81927
 
82377
81928
  var assert = require('../../../minimalistic-assert-1.0.1/index');
@@ -82651,7 +82202,7 @@ function shr64_lo(ah, al, num) {
82651
82202
  }
82652
82203
  exports.shr64_lo = shr64_lo;
82653
82204
 
82654
- },{"../../../inherits-2.0.4/inherits":539,"../../../minimalistic-assert-1.0.1/index":544}],538:[function(require,module,exports){
82205
+ },{"../../../inherits-2.0.4/inherits":533,"../../../minimalistic-assert-1.0.1/index":538}],532:[function(require,module,exports){
82655
82206
  'use strict';
82656
82207
 
82657
82208
  var hash = require('../../hash.js-1.1.7/lib/hash');
@@ -82766,7 +82317,7 @@ HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) {
82766
82317
  return utils.encode(res, enc);
82767
82318
  };
82768
82319
 
82769
- },{"../../hash.js-1.1.7/lib/hash":526,"../../minimalistic-assert-1.0.1/index":544,"../../minimalistic-crypto-utils-1.0.1/lib/utils":545}],539:[function(require,module,exports){
82320
+ },{"../../hash.js-1.1.7/lib/hash":520,"../../minimalistic-assert-1.0.1/index":538,"../../minimalistic-crypto-utils-1.0.1/lib/utils":539}],533:[function(require,module,exports){
82770
82321
  try {
82771
82322
  var util = require('util');
82772
82323
  /* istanbul ignore next */
@@ -82777,9 +82328,9 @@ try {
82777
82328
  module.exports = require('./inherits_browser.js');
82778
82329
  }
82779
82330
 
82780
- },{"./inherits_browser.js":540,"util":212}],540:[function(require,module,exports){
82331
+ },{"./inherits_browser.js":534,"util":212}],534:[function(require,module,exports){
82781
82332
  arguments[4][148][0].apply(exports,arguments)
82782
- },{"dup":148}],541:[function(require,module,exports){
82333
+ },{"dup":148}],535:[function(require,module,exports){
82783
82334
  /*!
82784
82335
  * Determine if an object is a Buffer
82785
82336
  *
@@ -82792,7 +82343,7 @@ module.exports = function isBuffer (obj) {
82792
82343
  typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
82793
82344
  }
82794
82345
 
82795
- },{}],542:[function(require,module,exports){
82346
+ },{}],536:[function(require,module,exports){
82796
82347
  'use strict'
82797
82348
  var inherits = require('../inherits-2.0.4/inherits')
82798
82349
  var HashBase = require('../hash-base-3.0.4/index')
@@ -82940,13 +82491,13 @@ function fnI (a, b, c, d, m, k, s) {
82940
82491
 
82941
82492
  module.exports = MD5
82942
82493
 
82943
- },{"../hash-base-3.0.4/index":525,"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556}],543:[function(require,module,exports){
82944
- arguments[4][348][0].apply(exports,arguments)
82945
- },{"buffer":67,"dup":348}],544:[function(require,module,exports){
82494
+ },{"../hash-base-3.0.4/index":519,"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550}],537:[function(require,module,exports){
82495
+ arguments[4][347][0].apply(exports,arguments)
82496
+ },{"buffer":67,"dup":347}],538:[function(require,module,exports){
82946
82497
  arguments[4][157][0].apply(exports,arguments)
82947
- },{"dup":157}],545:[function(require,module,exports){
82498
+ },{"dup":157}],539:[function(require,module,exports){
82948
82499
  arguments[4][158][0].apply(exports,arguments)
82949
- },{"dup":158}],546:[function(require,module,exports){
82500
+ },{"dup":158}],540:[function(require,module,exports){
82950
82501
  /**
82951
82502
  * Helpers.
82952
82503
  */
@@ -83110,7 +82661,7 @@ function plural(ms, msAbs, n, name) {
83110
82661
  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
83111
82662
  }
83112
82663
 
83113
- },{}],547:[function(require,module,exports){
82664
+ },{}],541:[function(require,module,exports){
83114
82665
  assert.notEqual = notEqual
83115
82666
  assert.notOk = notOk
83116
82667
  assert.equal = equal
@@ -83134,7 +82685,7 @@ function assert (t, m) {
83134
82685
  if (!t) throw new Error(m || 'AssertionError')
83135
82686
  }
83136
82687
 
83137
- },{}],548:[function(require,module,exports){
82688
+ },{}],542:[function(require,module,exports){
83138
82689
  var checkParameters = require('./lib/precondition')
83139
82690
  var native = require('crypto')
83140
82691
 
@@ -83167,7 +82718,7 @@ if (!native.pbkdf2Sync || native.pbkdf2Sync.toString().indexOf('keylen, digest')
83167
82718
  exports.pbkdf2 = nativePBKDF2
83168
82719
  }
83169
82720
 
83170
- },{"./lib/async":549,"./lib/precondition":551,"./lib/sync":552,"crypto":78}],549:[function(require,module,exports){
82721
+ },{"./lib/async":543,"./lib/precondition":545,"./lib/sync":546,"crypto":78}],543:[function(require,module,exports){
83171
82722
  (function (process,global){(function (){
83172
82723
  var checkParameters = require('./precondition')
83173
82724
  var defaultEncoding = require('./default-encoding')
@@ -83271,7 +82822,7 @@ module.exports = function (password, salt, iterations, keylen, digest, callback)
83271
82822
  }
83272
82823
 
83273
82824
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
83274
- },{"../../safe-buffer-5.2.0/index":556,"./default-encoding":550,"./precondition":551,"./sync":552,"_process":171}],550:[function(require,module,exports){
82825
+ },{"../../safe-buffer-5.2.0/index":550,"./default-encoding":544,"./precondition":545,"./sync":546,"_process":171}],544:[function(require,module,exports){
83275
82826
  (function (process){(function (){
83276
82827
  var defaultEncoding
83277
82828
  /* istanbul ignore next */
@@ -83285,7 +82836,7 @@ if (process.browser) {
83285
82836
  module.exports = defaultEncoding
83286
82837
 
83287
82838
  }).call(this)}).call(this,require('_process'))
83288
- },{"_process":171}],551:[function(require,module,exports){
82839
+ },{"_process":171}],545:[function(require,module,exports){
83289
82840
  (function (Buffer){(function (){
83290
82841
  var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs
83291
82842
 
@@ -83317,7 +82868,7 @@ module.exports = function (password, salt, iterations, keylen) {
83317
82868
  }
83318
82869
 
83319
82870
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
83320
- },{"../../../../../../../node_modules/is-buffer/index.js":150}],552:[function(require,module,exports){
82871
+ },{"../../../../../../../node_modules/is-buffer/index.js":150}],546:[function(require,module,exports){
83321
82872
  var sizes = {
83322
82873
  md5: 16,
83323
82874
  sha1: 20,
@@ -83370,7 +82921,7 @@ function pbkdf2 (password, salt, iterations, keylen, digest) {
83370
82921
 
83371
82922
  module.exports = pbkdf2
83372
82923
 
83373
- },{"../../create-hmac-1.1.4/browser":491,"../../safe-buffer-5.2.0/index":556,"../lib/default-encoding":550,"../lib/precondition":551}],553:[function(require,module,exports){
82924
+ },{"../../create-hmac-1.1.4/browser":485,"../../safe-buffer-5.2.0/index":550,"../lib/default-encoding":544,"../lib/precondition":545}],547:[function(require,module,exports){
83374
82925
  var OPS = require('../bitcoin-ops-1.4.1/index.json')
83375
82926
 
83376
82927
  function encodingLength (i) {
@@ -83449,7 +83000,7 @@ module.exports = {
83449
83000
  decode: decode
83450
83001
  }
83451
83002
 
83452
- },{"../bitcoin-ops-1.4.1/index.json":436}],554:[function(require,module,exports){
83003
+ },{"../bitcoin-ops-1.4.1/index.json":430}],548:[function(require,module,exports){
83453
83004
  (function (process,global){(function (){
83454
83005
  'use strict'
83455
83006
 
@@ -83503,7 +83054,7 @@ function randomBytes (size, cb) {
83503
83054
  }
83504
83055
 
83505
83056
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
83506
- },{"../safe-buffer-5.2.0/index":556,"_process":171}],555:[function(require,module,exports){
83057
+ },{"../safe-buffer-5.2.0/index":550,"_process":171}],549:[function(require,module,exports){
83507
83058
  'use strict'
83508
83059
  var Buffer = require('buffer').Buffer
83509
83060
  var inherits = require('../inherits-2.0.4/inherits')
@@ -83668,7 +83219,7 @@ function fn5 (a, b, c, d, e, m, k, s) {
83668
83219
 
83669
83220
  module.exports = RIPEMD160
83670
83221
 
83671
- },{"../hash-base-3.0.4/index":525,"../inherits-2.0.4/inherits":539,"buffer":67}],556:[function(require,module,exports){
83222
+ },{"../hash-base-3.0.4/index":519,"../inherits-2.0.4/inherits":533,"buffer":67}],550:[function(require,module,exports){
83672
83223
  /* eslint-disable node/no-deprecated-api */
83673
83224
  var buffer = require('buffer')
83674
83225
  var Buffer = buffer.Buffer
@@ -83734,11 +83285,11 @@ SafeBuffer.allocUnsafeSlow = function (size) {
83734
83285
  return buffer.SlowBuffer(size)
83735
83286
  }
83736
83287
 
83737
- },{"buffer":67}],557:[function(require,module,exports){
83288
+ },{"buffer":67}],551:[function(require,module,exports){
83738
83289
  'use strict'
83739
83290
  module.exports = require('./lib')(require('./lib/elliptic'))
83740
83291
 
83741
- },{"./lib":561,"./lib/elliptic":560}],558:[function(require,module,exports){
83292
+ },{"./lib":555,"./lib/elliptic":554}],552:[function(require,module,exports){
83742
83293
  (function (Buffer){(function (){
83743
83294
  'use strict'
83744
83295
  var toString = Object.prototype.toString
@@ -83786,7 +83337,7 @@ exports.isNumberInInterval = function (number, x, y, message) {
83786
83337
  }
83787
83338
 
83788
83339
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
83789
- },{"../../../../../../../node_modules/is-buffer/index.js":150}],559:[function(require,module,exports){
83340
+ },{"../../../../../../../node_modules/is-buffer/index.js":150}],553:[function(require,module,exports){
83790
83341
  'use strict'
83791
83342
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
83792
83343
  var bip66 = require('../../bip66-1.1.5/index')
@@ -83981,7 +83532,7 @@ exports.signatureImportLax = function (sig) {
83981
83532
  return { r: r, s: s }
83982
83533
  }
83983
83534
 
83984
- },{"../../bip66-1.1.5/index":435,"../../safe-buffer-5.2.0/index":556}],560:[function(require,module,exports){
83535
+ },{"../../bip66-1.1.5/index":429,"../../safe-buffer-5.2.0/index":550}],554:[function(require,module,exports){
83985
83536
  'use strict'
83986
83537
  var Buffer = require('../../../safe-buffer-5.2.0/index').Buffer
83987
83538
  var createHash = require('../../../create-hash-1.2.0/browser')
@@ -84246,7 +83797,7 @@ exports.ecdhUnsafe = function (publicKey, privateKey, compressed) {
84246
83797
  return Buffer.from(pair.pub.mul(scalar).encode(true, compressed))
84247
83798
  }
84248
83799
 
84249
- },{"../../../bn.js-4.11.8/lib/bn":482,"../../../create-hash-1.2.0/browser":489,"../../../elliptic-6.5.3/lib/elliptic":504,"../../../safe-buffer-5.2.0/index":556,"../messages.json":562}],561:[function(require,module,exports){
83800
+ },{"../../../bn.js-4.11.8/lib/bn":476,"../../../create-hash-1.2.0/browser":483,"../../../elliptic-6.5.3/lib/elliptic":498,"../../../safe-buffer-5.2.0/index":550,"../messages.json":556}],555:[function(require,module,exports){
84250
83801
  'use strict'
84251
83802
  var assert = require('./assert')
84252
83803
  var der = require('./der')
@@ -84493,7 +84044,7 @@ module.exports = function (secp256k1) {
84493
84044
  }
84494
84045
  }
84495
84046
 
84496
- },{"./assert":558,"./der":559,"./messages.json":562}],562:[function(require,module,exports){
84047
+ },{"./assert":552,"./der":553,"./messages.json":556}],556:[function(require,module,exports){
84497
84048
  module.exports={
84498
84049
  "COMPRESSED_TYPE_INVALID": "compressed should be a boolean",
84499
84050
  "EC_PRIVATE_KEY_TYPE_INVALID": "private key should be a Buffer",
@@ -84531,10 +84082,10 @@ module.exports={
84531
84082
  "TWEAK_TYPE_INVALID": "tweak should be a Buffer",
84532
84083
  "TWEAK_LENGTH_INVALID": "tweak length is invalid"
84533
84084
  }
84534
- },{}],563:[function(require,module,exports){
84085
+ },{}],557:[function(require,module,exports){
84535
84086
  module.exports = require('./lib')(require('./lib/elliptic'))
84536
84087
 
84537
- },{"./lib":565,"./lib/elliptic":564}],564:[function(require,module,exports){
84088
+ },{"./lib":559,"./lib/elliptic":558}],558:[function(require,module,exports){
84538
84089
  const EC = require('../../elliptic-6.5.3/lib/elliptic').ec
84539
84090
 
84540
84091
  const ec = new EC('secp256k1')
@@ -84938,7 +84489,7 @@ module.exports = {
84938
84489
  }
84939
84490
  }
84940
84491
 
84941
- },{"../../elliptic-6.5.3/lib/elliptic":504}],565:[function(require,module,exports){
84492
+ },{"../../elliptic-6.5.3/lib/elliptic":498}],559:[function(require,module,exports){
84942
84493
  const errors = {
84943
84494
  IMPOSSIBLE_CASE: 'Impossible case. Please create issue.',
84944
84495
  TWEAK_ADD:
@@ -85276,7 +84827,7 @@ module.exports = (secp256k1) => {
85276
84827
  }
85277
84828
  }
85278
84829
 
85279
- },{}],566:[function(require,module,exports){
84830
+ },{}],560:[function(require,module,exports){
85280
84831
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
85281
84832
 
85282
84833
  // prototype class for hash functions
@@ -85359,7 +84910,7 @@ Hash.prototype._update = function () {
85359
84910
 
85360
84911
  module.exports = Hash
85361
84912
 
85362
- },{"../safe-buffer-5.2.0/index":556}],567:[function(require,module,exports){
84913
+ },{"../safe-buffer-5.2.0/index":550}],561:[function(require,module,exports){
85363
84914
  'use strict'
85364
84915
  var exports = (module.exports = function SHA(algorithm) {
85365
84916
  algorithm = algorithm.toLowerCase()
@@ -85377,7 +84928,7 @@ exports.sha256 = require('./sha256')
85377
84928
  exports.sha384 = require('./sha384')
85378
84929
  exports.sha512 = require('./sha512')
85379
84930
 
85380
- },{"./sha":568,"./sha1":569,"./sha224":570,"./sha256":571,"./sha384":572,"./sha512":573}],568:[function(require,module,exports){
84931
+ },{"./sha":562,"./sha1":563,"./sha224":564,"./sha256":565,"./sha384":566,"./sha512":567}],562:[function(require,module,exports){
85381
84932
  /*
85382
84933
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined
85383
84934
  * in FIPS PUB 180-1
@@ -85473,7 +85024,7 @@ Sha.prototype._hash = function () {
85473
85024
 
85474
85025
  module.exports = Sha
85475
85026
 
85476
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"./hash":566}],569:[function(require,module,exports){
85027
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"./hash":560}],563:[function(require,module,exports){
85477
85028
  /*
85478
85029
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
85479
85030
  * in FIPS PUB 180-1
@@ -85574,7 +85125,7 @@ Sha1.prototype._hash = function () {
85574
85125
 
85575
85126
  module.exports = Sha1
85576
85127
 
85577
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"./hash":566}],570:[function(require,module,exports){
85128
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"./hash":560}],564:[function(require,module,exports){
85578
85129
  /**
85579
85130
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
85580
85131
  * in FIPS 180-2
@@ -85629,7 +85180,7 @@ Sha224.prototype._hash = function () {
85629
85180
 
85630
85181
  module.exports = Sha224
85631
85182
 
85632
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"./hash":566,"./sha256":571}],571:[function(require,module,exports){
85183
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"./hash":560,"./sha256":565}],565:[function(require,module,exports){
85633
85184
  /**
85634
85185
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
85635
85186
  * in FIPS 180-2
@@ -85766,7 +85317,7 @@ Sha256.prototype._hash = function () {
85766
85317
 
85767
85318
  module.exports = Sha256
85768
85319
 
85769
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"./hash":566}],572:[function(require,module,exports){
85320
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"./hash":560}],566:[function(require,module,exports){
85770
85321
  var inherits = require('../inherits-2.0.4/inherits')
85771
85322
  var SHA512 = require('./sha512')
85772
85323
  var Hash = require('./hash')
@@ -85825,7 +85376,7 @@ Sha384.prototype._hash = function () {
85825
85376
 
85826
85377
  module.exports = Sha384
85827
85378
 
85828
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"./hash":566,"./sha512":573}],573:[function(require,module,exports){
85379
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"./hash":560,"./sha512":567}],567:[function(require,module,exports){
85829
85380
  var inherits = require('../inherits-2.0.4/inherits')
85830
85381
  var Hash = require('./hash')
85831
85382
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
@@ -86087,9 +85638,9 @@ Sha512.prototype._hash = function () {
86087
85638
 
86088
85639
  module.exports = Sha512
86089
85640
 
86090
- },{"../inherits-2.0.4/inherits":539,"../safe-buffer-5.2.0/index":556,"./hash":566}],574:[function(require,module,exports){
86091
- arguments[4][381][0].apply(exports,arguments)
86092
- },{"./native":577,"dup":381}],575:[function(require,module,exports){
85641
+ },{"../inherits-2.0.4/inherits":533,"../safe-buffer-5.2.0/index":550,"./hash":560}],568:[function(require,module,exports){
85642
+ arguments[4][380][0].apply(exports,arguments)
85643
+ },{"./native":571,"dup":380}],569:[function(require,module,exports){
86093
85644
  (function (Buffer){(function (){
86094
85645
  var NATIVE = require('./native')
86095
85646
  var ERRORS = require('./errors')
@@ -86184,11 +85735,11 @@ for (var typeName in types) {
86184
85735
  module.exports = types
86185
85736
 
86186
85737
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
86187
- },{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":574,"./native":577}],576:[function(require,module,exports){
85738
+ },{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":568,"./native":571}],570:[function(require,module,exports){
85739
+ arguments[4][382][0].apply(exports,arguments)
85740
+ },{"./errors":568,"./extra":569,"./native":571,"dup":382}],571:[function(require,module,exports){
86188
85741
  arguments[4][383][0].apply(exports,arguments)
86189
- },{"./errors":574,"./extra":575,"./native":577,"dup":383}],577:[function(require,module,exports){
86190
- arguments[4][384][0].apply(exports,arguments)
86191
- },{"dup":384}],578:[function(require,module,exports){
85742
+ },{"dup":383}],572:[function(require,module,exports){
86192
85743
  (function (root) {
86193
85744
  "use strict";
86194
85745
 
@@ -86642,7 +86193,7 @@ UChar.udata={
86642
86193
  }
86643
86194
  }(this));
86644
86195
 
86645
- },{}],579:[function(require,module,exports){
86196
+ },{}],573:[function(require,module,exports){
86646
86197
  'use strict'
86647
86198
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
86648
86199
 
@@ -86734,7 +86285,7 @@ function encodingLength (number) {
86734
86285
 
86735
86286
  module.exports = { encode: encode, decode: decode, encodingLength: encodingLength }
86736
86287
 
86737
- },{"../safe-buffer-5.2.0/index":556}],580:[function(require,module,exports){
86288
+ },{"../safe-buffer-5.2.0/index":550}],574:[function(require,module,exports){
86738
86289
  (function (Buffer){(function (){
86739
86290
  var bs58check = require('../bs58check-2.1.2/index')
86740
86291
 
@@ -86801,7 +86352,7 @@ module.exports = {
86801
86352
  }
86802
86353
 
86803
86354
  }).call(this)}).call(this,require("buffer").Buffer)
86804
- },{"../bs58check-2.1.2/index":486,"buffer":67}],581:[function(require,module,exports){
86355
+ },{"../bs58check-2.1.2/index":480,"buffer":67}],575:[function(require,module,exports){
86805
86356
  "use strict";
86806
86357
  var __extends = (this && this.__extends) || (function () {
86807
86358
  var extendStatics = function (d, b) {
@@ -86861,7 +86412,7 @@ var CoinlibAssertionError = /** @class */ (function (_super) {
86861
86412
  }(Error));
86862
86413
  exports.CoinlibAssertionError = CoinlibAssertionError;
86863
86414
 
86864
- },{}],582:[function(require,module,exports){
86415
+ },{}],576:[function(require,module,exports){
86865
86416
  "use strict";
86866
86417
  var __extends = (this && this.__extends) || (function () {
86867
86418
  var extendStatics = function (d, b) {
@@ -87140,63 +86691,7 @@ var InvalidString = /** @class */ (function (_super) {
87140
86691
  }(SerializerError));
87141
86692
  exports.InvalidString = InvalidString;
87142
86693
 
87143
- },{"./coinlib-error":581}],583:[function(require,module,exports){
87144
- "use strict";
87145
- Object.defineProperty(exports, "__esModule", { value: true });
87146
- exports.bufferFrom = exports.assertNever = exports.SubProtocolType = exports.TimeInterval = exports.Domain = exports.TransactionError = exports.BalanceError = exports.ProtocolErrorType = exports.SerializerErrorType = exports.CoinlibError = exports.NetworkError = exports.ProtocolNotSupported = exports.SerializerVersionMismatch = exports.TypeNotSupported = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.isProtocolSymbol = exports.isNetworkEqual = exports.SimpleAction = exports.LinkedAction = exports.RepeatableAction = exports.Action = exports.NetworkType = exports.SubProtocolSymbols = exports.MainProtocolSymbols = exports.ProtocolNetwork = exports.ProtocolBlockExplorer = exports.CryptoClient = exports.AirGapNFTWallet = exports.AirGapWalletStatus = exports.AirGapCoinWallet = exports.AirGapMarketWallet = exports.AirGapWallet = void 0;
87147
- var Action_1 = require("./actions/Action");
87148
- Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return Action_1.Action; } });
87149
- var LinkedAction_1 = require("./actions/LinkedAction");
87150
- Object.defineProperty(exports, "LinkedAction", { enumerable: true, get: function () { return LinkedAction_1.LinkedAction; } });
87151
- var RepeatableAction_1 = require("./actions/RepeatableAction");
87152
- Object.defineProperty(exports, "RepeatableAction", { enumerable: true, get: function () { return RepeatableAction_1.RepeatableAction; } });
87153
- var SimpleAction_1 = require("./actions/SimpleAction");
87154
- Object.defineProperty(exports, "SimpleAction", { enumerable: true, get: function () { return SimpleAction_1.SimpleAction; } });
87155
- var errors_1 = require("./errors");
87156
- Object.defineProperty(exports, "BalanceError", { enumerable: true, get: function () { return errors_1.BalanceError; } });
87157
- Object.defineProperty(exports, "NetworkError", { enumerable: true, get: function () { return errors_1.NetworkError; } });
87158
- Object.defineProperty(exports, "ProtocolErrorType", { enumerable: true, get: function () { return errors_1.ProtocolErrorType; } });
87159
- Object.defineProperty(exports, "ProtocolNotSupported", { enumerable: true, get: function () { return errors_1.ProtocolNotSupported; } });
87160
- Object.defineProperty(exports, "SerializerErrorType", { enumerable: true, get: function () { return errors_1.SerializerErrorType; } });
87161
- Object.defineProperty(exports, "SerializerVersionMismatch", { enumerable: true, get: function () { return errors_1.SerializerVersionMismatch; } });
87162
- Object.defineProperty(exports, "TransactionError", { enumerable: true, get: function () { return errors_1.TransactionError; } });
87163
- Object.defineProperty(exports, "TypeNotSupported", { enumerable: true, get: function () { return errors_1.TypeNotSupported; } });
87164
- var coinlib_error_1 = require("./errors/coinlib-error");
87165
- Object.defineProperty(exports, "CoinlibError", { enumerable: true, get: function () { return coinlib_error_1.CoinlibError; } });
87166
- Object.defineProperty(exports, "Domain", { enumerable: true, get: function () { return coinlib_error_1.Domain; } });
87167
- var CryptoClient_1 = require("./protocols/CryptoClient");
87168
- Object.defineProperty(exports, "CryptoClient", { enumerable: true, get: function () { return CryptoClient_1.CryptoClient; } });
87169
- var ICoinSubProtocol_1 = require("./protocols/ICoinSubProtocol");
87170
- Object.defineProperty(exports, "SubProtocolType", { enumerable: true, get: function () { return ICoinSubProtocol_1.SubProtocolType; } });
87171
- var assert_1 = require("./utils/assert");
87172
- Object.defineProperty(exports, "assertNever", { enumerable: true, get: function () { return assert_1.assertNever; } });
87173
- var buffer_1 = require("./utils/buffer");
87174
- Object.defineProperty(exports, "bufferFrom", { enumerable: true, get: function () { return buffer_1.bufferFrom; } });
87175
- var Network_1 = require("./utils/Network");
87176
- Object.defineProperty(exports, "isNetworkEqual", { enumerable: true, get: function () { return Network_1.isNetworkEqual; } });
87177
- var ProtocolBlockExplorer_1 = require("./utils/ProtocolBlockExplorer");
87178
- Object.defineProperty(exports, "ProtocolBlockExplorer", { enumerable: true, get: function () { return ProtocolBlockExplorer_1.ProtocolBlockExplorer; } });
87179
- var ProtocolNetwork_1 = require("./utils/ProtocolNetwork");
87180
- Object.defineProperty(exports, "NetworkType", { enumerable: true, get: function () { return ProtocolNetwork_1.NetworkType; } });
87181
- Object.defineProperty(exports, "ProtocolNetwork", { enumerable: true, get: function () { return ProtocolNetwork_1.ProtocolNetwork; } });
87182
- var ProtocolSymbols_1 = require("./utils/ProtocolSymbols");
87183
- Object.defineProperty(exports, "isMainProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isMainProtocolSymbol; } });
87184
- Object.defineProperty(exports, "isProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isProtocolSymbol; } });
87185
- Object.defineProperty(exports, "isSubProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isSubProtocolSymbol; } });
87186
- Object.defineProperty(exports, "MainProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.MainProtocolSymbols; } });
87187
- Object.defineProperty(exports, "SubProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.SubProtocolSymbols; } });
87188
- var AirGapCoinWallet_1 = require("./wallet/AirGapCoinWallet");
87189
- Object.defineProperty(exports, "AirGapCoinWallet", { enumerable: true, get: function () { return AirGapCoinWallet_1.AirGapCoinWallet; } });
87190
- Object.defineProperty(exports, "TimeInterval", { enumerable: true, get: function () { return AirGapCoinWallet_1.TimeInterval; } });
87191
- var AirGapMarketWallet_1 = require("./wallet/AirGapMarketWallet");
87192
- Object.defineProperty(exports, "AirGapMarketWallet", { enumerable: true, get: function () { return AirGapMarketWallet_1.AirGapMarketWallet; } });
87193
- var AirGapNFTWallet_1 = require("./wallet/AirGapNFTWallet");
87194
- Object.defineProperty(exports, "AirGapNFTWallet", { enumerable: true, get: function () { return AirGapNFTWallet_1.AirGapNFTWallet; } });
87195
- var AirGapWallet_1 = require("./wallet/AirGapWallet");
87196
- Object.defineProperty(exports, "AirGapWallet", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWallet; } });
87197
- Object.defineProperty(exports, "AirGapWalletStatus", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWalletStatus; } });
87198
-
87199
- },{"./actions/Action":388,"./actions/LinkedAction":389,"./actions/RepeatableAction":390,"./actions/SimpleAction":391,"./errors":582,"./errors/coinlib-error":581,"./protocols/CryptoClient":584,"./protocols/ICoinSubProtocol":585,"./utils/Network":588,"./utils/ProtocolBlockExplorer":589,"./utils/ProtocolNetwork":590,"./utils/ProtocolSymbols":591,"./utils/assert":592,"./utils/buffer":593,"./wallet/AirGapCoinWallet":596,"./wallet/AirGapMarketWallet":597,"./wallet/AirGapNFTWallet":598,"./wallet/AirGapWallet":599}],584:[function(require,module,exports){
86694
+ },{"./coinlib-error":575}],577:[function(require,module,exports){
87200
86695
  "use strict";
87201
86696
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
87202
86697
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -87281,17 +86776,7 @@ var CryptoClient = /** @class */ (function () {
87281
86776
  }());
87282
86777
  exports.CryptoClient = CryptoClient;
87283
86778
 
87284
- },{"../errors":582,"../errors/coinlib-error":581,"../utils/AES":587}],585:[function(require,module,exports){
87285
- "use strict";
87286
- Object.defineProperty(exports, "__esModule", { value: true });
87287
- exports.SubProtocolType = void 0;
87288
- var SubProtocolType;
87289
- (function (SubProtocolType) {
87290
- SubProtocolType["ACCOUNT"] = "account";
87291
- SubProtocolType["TOKEN"] = "token";
87292
- })(SubProtocolType = exports.SubProtocolType || (exports.SubProtocolType = {}));
87293
-
87294
- },{}],586:[function(require,module,exports){
86779
+ },{"../errors":576,"../errors/coinlib-error":575,"../utils/AES":579}],578:[function(require,module,exports){
87295
86780
  (function (Buffer){(function (){
87296
86781
  "use strict";
87297
86782
  var __extends = (this && this.__extends) || (function () {
@@ -87371,7 +86856,7 @@ var Secp256k1CryptoClient = /** @class */ (function (_super) {
87371
86856
  exports.Secp256k1CryptoClient = Secp256k1CryptoClient;
87372
86857
 
87373
86858
  }).call(this)}).call(this,require("buffer").Buffer)
87374
- },{"../dependencies/src/eciesjs-0.3.9/src/index":494,"./CryptoClient":584,"buffer":67}],587:[function(require,module,exports){
86859
+ },{"../dependencies/src/eciesjs-0.3.9/src/index":488,"./CryptoClient":577,"buffer":67}],579:[function(require,module,exports){
87375
86860
  (function (Buffer){(function (){
87376
86861
  "use strict";
87377
86862
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -87535,28 +87020,7 @@ var AES = /** @class */ (function () {
87535
87020
  exports.AES = AES;
87536
87021
 
87537
87022
  }).call(this)}).call(this,require("buffer").Buffer)
87538
- },{"../errors":582,"../errors/coinlib-error":581,"./hex":594,"buffer":67,"crypto":78}],588:[function(require,module,exports){
87539
- "use strict";
87540
- Object.defineProperty(exports, "__esModule", { value: true });
87541
- exports.isNetworkEqual = void 0;
87542
- var isNetworkEqual = function (network1, network2) {
87543
- return network1.name === network2.name && network1.type === network2.type && network1.rpcUrl === network2.rpcUrl;
87544
- };
87545
- exports.isNetworkEqual = isNetworkEqual;
87546
-
87547
- },{}],589:[function(require,module,exports){
87548
- "use strict";
87549
- Object.defineProperty(exports, "__esModule", { value: true });
87550
- exports.ProtocolBlockExplorer = void 0;
87551
- var ProtocolBlockExplorer = /** @class */ (function () {
87552
- function ProtocolBlockExplorer(blockExplorer) {
87553
- this.blockExplorer = blockExplorer;
87554
- }
87555
- return ProtocolBlockExplorer;
87556
- }());
87557
- exports.ProtocolBlockExplorer = ProtocolBlockExplorer;
87558
-
87559
- },{}],590:[function(require,module,exports){
87023
+ },{"../errors":576,"../errors/coinlib-error":575,"./hex":582,"buffer":67,"crypto":78}],580:[function(require,module,exports){
87560
87024
  "use strict";
87561
87025
  Object.defineProperty(exports, "__esModule", { value: true });
87562
87026
  exports.ProtocolNetwork = exports.NetworkType = void 0;
@@ -87592,7 +87056,7 @@ var ProtocolNetwork = /** @class */ (function () {
87592
87056
  }());
87593
87057
  exports.ProtocolNetwork = ProtocolNetwork;
87594
87058
 
87595
- },{"../dependencies/src/create-hash-1.2.0/index":490}],591:[function(require,module,exports){
87059
+ },{"../dependencies/src/create-hash-1.2.0/index":484}],581:[function(require,module,exports){
87596
87060
  "use strict";
87597
87061
  Object.defineProperty(exports, "__esModule", { value: true });
87598
87062
  exports.isProtocolSymbol = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.SubProtocolSymbols = exports.MainProtocolSymbols = void 0;
@@ -87651,39 +87115,7 @@ function isProtocolSymbol(identifier) {
87651
87115
  }
87652
87116
  exports.isProtocolSymbol = isProtocolSymbol;
87653
87117
 
87654
- },{}],592:[function(require,module,exports){
87655
- "use strict";
87656
- Object.defineProperty(exports, "__esModule", { value: true });
87657
- exports.assertFields = exports.assertNever = void 0;
87658
- var errors_1 = require("../errors");
87659
- var coinlib_error_1 = require("../errors/coinlib-error");
87660
- var assertNever = function (x) { return undefined; };
87661
- exports.assertNever = assertNever;
87662
- function assertFields(name, object) {
87663
- var fields = [];
87664
- for (var _i = 2; _i < arguments.length; _i++) {
87665
- fields[_i - 2] = arguments[_i];
87666
- }
87667
- fields.forEach(function (field) {
87668
- if (object[field] === undefined || object[field] === null) {
87669
- throw new errors_1.ConditionViolationError(coinlib_error_1.Domain.UTILS, name + ", required: " + fields.join(', ') + ", but " + field + " is missing.");
87670
- }
87671
- });
87672
- }
87673
- exports.assertFields = assertFields;
87674
-
87675
- },{"../errors":582,"../errors/coinlib-error":581}],593:[function(require,module,exports){
87676
- (function (Buffer){(function (){
87677
- "use strict";
87678
- Object.defineProperty(exports, "__esModule", { value: true });
87679
- exports.bufferFrom = void 0;
87680
- var bufferFrom = function (data, encoding) {
87681
- return Buffer.from(data, encoding);
87682
- };
87683
- exports.bufferFrom = bufferFrom;
87684
-
87685
- }).call(this)}).call(this,require("buffer").Buffer)
87686
- },{"buffer":67}],594:[function(require,module,exports){
87118
+ },{}],582:[function(require,module,exports){
87687
87119
  (function (Buffer){(function (){
87688
87120
  "use strict";
87689
87121
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -87798,7 +87230,7 @@ function fillToTargetLength(hexString, bitLength) {
87798
87230
  }
87799
87231
 
87800
87232
  }).call(this)}).call(this,require("buffer").Buffer)
87801
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"./padStart":595,"buffer":67}],595:[function(require,module,exports){
87233
+ },{"../dependencies/src/bignumber.js-9.0.0/bignumber":419,"./padStart":583,"buffer":67}],583:[function(require,module,exports){
87802
87234
  "use strict";
87803
87235
  Object.defineProperty(exports, "__esModule", { value: true });
87804
87236
  exports.padStart = void 0;
@@ -87819,741 +87251,5 @@ function padStart(targetString, targetLength, padString) {
87819
87251
  }
87820
87252
  exports.padStart = padStart;
87821
87253
 
87822
- },{}],596:[function(require,module,exports){
87823
- "use strict";
87824
- var __extends = (this && this.__extends) || (function () {
87825
- var extendStatics = function (d, b) {
87826
- extendStatics = Object.setPrototypeOf ||
87827
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
87828
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
87829
- return extendStatics(d, b);
87830
- };
87831
- return function (d, b) {
87832
- extendStatics(d, b);
87833
- function __() { this.constructor = d; }
87834
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
87835
- };
87836
- })();
87837
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
87838
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
87839
- return new (P || (P = Promise))(function (resolve, reject) {
87840
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
87841
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
87842
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
87843
- step((generator = generator.apply(thisArg, _arguments || [])).next());
87844
- });
87845
- };
87846
- var __generator = (this && this.__generator) || function (thisArg, body) {
87847
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
87848
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87849
- function verb(n) { return function (v) { return step([n, v]); }; }
87850
- function step(op) {
87851
- if (f) throw new TypeError("Generator is already executing.");
87852
- while (_) try {
87853
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
87854
- if (y = 0, t) op = [op[0] & 2, t.value];
87855
- switch (op[0]) {
87856
- case 0: case 1: t = op; break;
87857
- case 4: _.label++; return { value: op[1], done: false };
87858
- case 5: _.label++; y = op[1]; op = [0]; continue;
87859
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
87860
- default:
87861
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
87862
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
87863
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
87864
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
87865
- if (t[2]) _.ops.pop();
87866
- _.trys.pop(); continue;
87867
- }
87868
- op = body.call(thisArg, _);
87869
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
87870
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
87871
- }
87872
- };
87873
- var __importDefault = (this && this.__importDefault) || function (mod) {
87874
- return (mod && mod.__esModule) ? mod : { "default": mod };
87875
- };
87876
- Object.defineProperty(exports, "__esModule", { value: true });
87877
- exports.AirGapCoinWallet = exports.TimeInterval = void 0;
87878
- var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
87879
- var ProtocolNetwork_1 = require("../utils/ProtocolNetwork");
87880
- var ProtocolSymbols_1 = require("../utils/ProtocolSymbols");
87881
- var AirGapMarketWallet_1 = require("./AirGapMarketWallet");
87882
- var TimeInterval;
87883
- (function (TimeInterval) {
87884
- TimeInterval["HOURS"] = "24h";
87885
- TimeInterval["DAYS"] = "7d";
87886
- TimeInterval["MONTH"] = "30d";
87887
- })(TimeInterval = exports.TimeInterval || (exports.TimeInterval = {}));
87888
- var AirGapCoinWallet = /** @class */ (function (_super) {
87889
- __extends(AirGapCoinWallet, _super);
87890
- function AirGapCoinWallet() {
87891
- return _super !== null && _super.apply(this, arguments) || this;
87892
- }
87893
- AirGapCoinWallet.prototype.getCurrentBalance = function () {
87894
- return this.currentBalance;
87895
- };
87896
- AirGapCoinWallet.prototype.setCurrentBalance = function (balance) {
87897
- this.currentBalance = balance;
87898
- };
87899
- AirGapCoinWallet.prototype.getCurrentMarketPrice = function () {
87900
- return this.currentMarketPrice;
87901
- };
87902
- AirGapCoinWallet.prototype.setCurrentMarketPrice = function (marketPrice) {
87903
- return __awaiter(this, void 0, void 0, function () {
87904
- var _a;
87905
- return __generator(this, function (_b) {
87906
- switch (_b.label) {
87907
- case 0:
87908
- _a = this;
87909
- return [4 /*yield*/, this.protocol.getOptions()];
87910
- case 1:
87911
- _a.currentMarketPrice = (_b.sent()).network.type === ProtocolNetwork_1.NetworkType.MAINNET ? marketPrice : new bignumber_1.default(0);
87912
- return [2 /*return*/];
87913
- }
87914
- });
87915
- });
87916
- };
87917
- AirGapCoinWallet.prototype._synchronize = function () {
87918
- return __awaiter(this, void 0, void 0, function () {
87919
- var _a, balance, marketPrice;
87920
- return __generator(this, function (_b) {
87921
- switch (_b.label) {
87922
- case 0: return [4 /*yield*/, Promise.all([this.balanceOf(), this.fetchCurrentMarketPrice()])];
87923
- case 1:
87924
- _a = _b.sent(), balance = _a[0], marketPrice = _a[1];
87925
- this.setCurrentBalance(balance);
87926
- return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice)];
87927
- case 2:
87928
- _b.sent();
87929
- return [2 /*return*/];
87930
- }
87931
- });
87932
- });
87933
- };
87934
- AirGapCoinWallet.prototype.reset = function () {
87935
- this.currentBalance = undefined;
87936
- this.currentMarketPrice = undefined;
87937
- };
87938
- AirGapCoinWallet.prototype.fetchCurrentMarketPrice = function (baseSymbol) {
87939
- if (baseSymbol === void 0) { baseSymbol = 'USD'; }
87940
- return __awaiter(this, void 0, void 0, function () {
87941
- var marketPrice;
87942
- return __generator(this, function (_a) {
87943
- switch (_a.label) {
87944
- case 0: return [4 /*yield*/, this.priceService.getCurrentMarketPrice(this.protocol, baseSymbol)];
87945
- case 1:
87946
- marketPrice = _a.sent();
87947
- return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice)];
87948
- case 2:
87949
- _a.sent();
87950
- return [2 /*return*/, marketPrice];
87951
- }
87952
- });
87953
- });
87954
- };
87955
- AirGapCoinWallet.prototype.balanceOf = function () {
87956
- return __awaiter(this, void 0, void 0, function () {
87957
- var protocolIdentifier, result, _a, _b, _c, _d, _e;
87958
- return __generator(this, function (_f) {
87959
- switch (_f.label) {
87960
- case 0: return [4 /*yield*/, this.protocol.getIdentifier()];
87961
- case 1:
87962
- protocolIdentifier = _f.sent();
87963
- if (!((protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC ||
87964
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC_SEGWIT ||
87965
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.GRS) &&
87966
- this.isExtendedPublicKey)) return [3 /*break*/, 3];
87967
- _a = bignumber_1.default.bind;
87968
- return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
87969
- case 2:
87970
- // TODO: Remove and test
87971
- /*
87972
- We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
87973
-
87974
- The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
87975
- multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
87976
-
87977
- We can also not simply change the order of the following if/else, because then it would use the xPub method for
87978
- BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
87979
- */
87980
- result = new (_a.apply(bignumber_1.default, [void 0, _f.sent()]))();
87981
- return [3 /*break*/, 11];
87982
- case 3:
87983
- if (!(protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.XTZ_SHIELDED) /* TODO: cover ALL sapling protocols */) return [3 /*break*/, 5]; /* TODO: cover ALL sapling protocols */
87984
- _b = bignumber_1.default.bind;
87985
- return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
87986
- case 4:
87987
- result = new (_b.apply(bignumber_1.default, [void 0, _f.sent()]))();
87988
- return [3 /*break*/, 11];
87989
- case 5:
87990
- if (!(this.addresses.length > 0)) return [3 /*break*/, 7];
87991
- _c = bignumber_1.default.bind;
87992
- return [4 /*yield*/, this.protocol.getBalanceOfAddresses(this.addressesToCheck())];
87993
- case 6:
87994
- result = new (_c.apply(bignumber_1.default, [void 0, _f.sent()]))();
87995
- return [3 /*break*/, 11];
87996
- case 7:
87997
- if (!this.isExtendedPublicKey) return [3 /*break*/, 9];
87998
- _d = bignumber_1.default.bind;
87999
- return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
88000
- case 8:
88001
- result = new (_d.apply(bignumber_1.default, [void 0, _f.sent()]))();
88002
- return [3 /*break*/, 11];
88003
- case 9:
88004
- _e = bignumber_1.default.bind;
88005
- return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
88006
- case 10:
88007
- result = new (_e.apply(bignumber_1.default, [void 0, _f.sent()]))();
88008
- _f.label = 11;
88009
- case 11:
88010
- this.setCurrentBalance(result);
88011
- return [2 /*return*/, result];
88012
- }
88013
- });
88014
- });
88015
- };
88016
- return AirGapCoinWallet;
88017
- }(AirGapMarketWallet_1.AirGapMarketWallet));
88018
- exports.AirGapCoinWallet = AirGapCoinWallet;
88019
-
88020
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"../utils/ProtocolNetwork":590,"../utils/ProtocolSymbols":591,"./AirGapMarketWallet":597}],597:[function(require,module,exports){
88021
- "use strict";
88022
- var __extends = (this && this.__extends) || (function () {
88023
- var extendStatics = function (d, b) {
88024
- extendStatics = Object.setPrototypeOf ||
88025
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88026
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88027
- return extendStatics(d, b);
88028
- };
88029
- return function (d, b) {
88030
- extendStatics(d, b);
88031
- function __() { this.constructor = d; }
88032
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88033
- };
88034
- })();
88035
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88036
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88037
- return new (P || (P = Promise))(function (resolve, reject) {
88038
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88039
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88040
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88041
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88042
- });
88043
- };
88044
- var __generator = (this && this.__generator) || function (thisArg, body) {
88045
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88046
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88047
- function verb(n) { return function (v) { return step([n, v]); }; }
88048
- function step(op) {
88049
- if (f) throw new TypeError("Generator is already executing.");
88050
- while (_) try {
88051
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
88052
- if (y = 0, t) op = [op[0] & 2, t.value];
88053
- switch (op[0]) {
88054
- case 0: case 1: t = op; break;
88055
- case 4: _.label++; return { value: op[1], done: false };
88056
- case 5: _.label++; y = op[1]; op = [0]; continue;
88057
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88058
- default:
88059
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88060
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88061
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88062
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88063
- if (t[2]) _.ops.pop();
88064
- _.trys.pop(); continue;
88065
- }
88066
- op = body.call(thisArg, _);
88067
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88068
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88069
- }
88070
- };
88071
- var __importDefault = (this && this.__importDefault) || function (mod) {
88072
- return (mod && mod.__esModule) ? mod : { "default": mod };
88073
- };
88074
- Object.defineProperty(exports, "__esModule", { value: true });
88075
- exports.AirGapMarketWallet = void 0;
88076
- var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
88077
- var ProtocolSymbols_1 = require("../utils/ProtocolSymbols");
88078
- var AirGapWallet_1 = require("./AirGapWallet");
88079
- var AirGapMarketWallet = /** @class */ (function (_super) {
88080
- __extends(AirGapMarketWallet, _super);
88081
- function AirGapMarketWallet(protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, priceService, addressIndex) {
88082
- var _this = _super.call(this, protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, addressIndex) || this;
88083
- _this.protocol = protocol;
88084
- _this.publicKey = publicKey;
88085
- _this.isExtendedPublicKey = isExtendedPublicKey;
88086
- _this.derivationPath = derivationPath;
88087
- _this.masterFingerprint = masterFingerprint;
88088
- _this.status = status;
88089
- _this.priceService = priceService;
88090
- _this.addressIndex = addressIndex;
88091
- return _this;
88092
- }
88093
- AirGapMarketWallet.prototype.addressesToCheck = function () {
88094
- var addressesToReceive = this.addressIndex !== undefined ? [this.addresses[this.addressIndex]] : this.addresses;
88095
- return addressesToReceive;
88096
- };
88097
- AirGapMarketWallet.prototype.setProtocol = function (protocol) {
88098
- return __awaiter(this, void 0, void 0, function () {
88099
- return __generator(this, function (_a) {
88100
- switch (_a.label) {
88101
- case 0: return [4 /*yield*/, _super.prototype.setProtocol.call(this, protocol)];
88102
- case 1:
88103
- _a.sent();
88104
- this.reset();
88105
- return [4 /*yield*/, this.synchronize()];
88106
- case 2:
88107
- _a.sent();
88108
- return [2 /*return*/];
88109
- }
88110
- });
88111
- });
88112
- };
88113
- AirGapMarketWallet.prototype.synchronize = function () {
88114
- var args = [];
88115
- for (var _i = 0; _i < arguments.length; _i++) {
88116
- args[_i] = arguments[_i];
88117
- }
88118
- return __awaiter(this, void 0, void 0, function () {
88119
- var _this = this;
88120
- return __generator(this, function (_a) {
88121
- if (this.synchronizePromise === undefined) {
88122
- this.synchronizePromise = this._synchronize.apply(this, args).finally(function () {
88123
- _this.synchronizePromise = undefined;
88124
- });
88125
- }
88126
- return [2 /*return*/, this.synchronizePromise];
88127
- });
88128
- });
88129
- };
88130
- AirGapMarketWallet.prototype.fetchTransactions = function (limit, cursor) {
88131
- return __awaiter(this, void 0, void 0, function () {
88132
- var protocolIdentifier, transactionResult;
88133
- return __generator(this, function (_a) {
88134
- switch (_a.label) {
88135
- case 0: return [4 /*yield*/, this.protocol.getIdentifier()
88136
- // let transactions: IAirGapTransaction[] = []
88137
- ];
88138
- case 1:
88139
- protocolIdentifier = _a.sent();
88140
- if (!((protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC ||
88141
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC_SEGWIT ||
88142
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.GRS) &&
88143
- this.isExtendedPublicKey)) return [3 /*break*/, 3];
88144
- return [4 /*yield*/, this.protocol.getTransactionsFromExtendedPublicKey(this.publicKey, limit, cursor)];
88145
- case 2:
88146
- // TODO: Remove and test
88147
- /*
88148
- We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
88149
-
88150
- The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
88151
- multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
88152
-
88153
- We can also not simply change the order of the following if/else, because then it would use the xPub method for
88154
- BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
88155
- */
88156
- transactionResult = _a.sent();
88157
- return [3 /*break*/, 11];
88158
- case 3:
88159
- if (!(protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.XTZ_SHIELDED) /* TODO: cover ALL sapling protocols */) return [3 /*break*/, 5]; /* TODO: cover ALL sapling protocols */
88160
- return [4 /*yield*/, this.protocol.getTransactionsFromPublicKey(this.publicKey, limit, cursor)];
88161
- case 4:
88162
- transactionResult = _a.sent();
88163
- return [3 /*break*/, 11];
88164
- case 5:
88165
- if (!(this.addresses.length > 0)) return [3 /*break*/, 7];
88166
- return [4 /*yield*/, this.protocol.getTransactionsFromAddresses(this.addressesToCheck(), limit, cursor)];
88167
- case 6:
88168
- transactionResult = _a.sent();
88169
- return [3 /*break*/, 11];
88170
- case 7:
88171
- if (!this.isExtendedPublicKey) return [3 /*break*/, 9];
88172
- return [4 /*yield*/, this.protocol.getTransactionsFromExtendedPublicKey(this.publicKey, limit, cursor)];
88173
- case 8:
88174
- transactionResult = _a.sent();
88175
- return [3 /*break*/, 11];
88176
- case 9: return [4 /*yield*/, this.protocol.getTransactionsFromPublicKey(this.publicKey, limit, cursor)];
88177
- case 10:
88178
- transactionResult = _a.sent();
88179
- _a.label = 11;
88180
- case 11: return [2 /*return*/, transactionResult];
88181
- }
88182
- });
88183
- });
88184
- };
88185
- AirGapMarketWallet.prototype.prepareTransaction = function (recipients, values, fee, data) {
88186
- if (this.isExtendedPublicKey) {
88187
- return this.protocol.prepareTransactionFromExtendedPublicKey(this.publicKey, 0, recipients, values, fee, data);
88188
- }
88189
- else {
88190
- if (this.addressIndex) {
88191
- data = Object.assign(data, { addressIndex: this.addressIndex });
88192
- }
88193
- return this.protocol.prepareTransactionFromPublicKey(this.publicKey, recipients, values, fee, data);
88194
- }
88195
- };
88196
- AirGapMarketWallet.prototype.getMaxTransferValue = function (recipients, fee, data) {
88197
- return __awaiter(this, void 0, void 0, function () {
88198
- var _a, _b;
88199
- return __generator(this, function (_c) {
88200
- switch (_c.label) {
88201
- case 0:
88202
- if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
88203
- _a = bignumber_1.default.bind;
88204
- return [4 /*yield*/, this.protocol.estimateMaxTransactionValueFromExtendedPublicKey(this.publicKey, recipients, fee, data)];
88205
- case 1: return [2 /*return*/, new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))()];
88206
- case 2:
88207
- if (this.addressIndex) {
88208
- data = Object.assign(data, { addressIndex: this.addressIndex });
88209
- }
88210
- _b = bignumber_1.default.bind;
88211
- return [4 /*yield*/, this.protocol.estimateMaxTransactionValueFromPublicKey(this.publicKey, recipients, fee, data)];
88212
- case 3: return [2 /*return*/, new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))()];
88213
- }
88214
- });
88215
- });
88216
- };
88217
- AirGapMarketWallet.prototype.estimateFees = function (recipients, values, data) {
88218
- return __awaiter(this, void 0, void 0, function () {
88219
- return __generator(this, function (_a) {
88220
- if (this.isExtendedPublicKey) {
88221
- return [2 /*return*/, this.protocol.estimateFeeDefaultsFromExtendedPublicKey(this.publicKey, recipients, values, data)];
88222
- }
88223
- else {
88224
- if (this.addressIndex) {
88225
- data = Object.assign(data, { addressIndex: this.addressIndex });
88226
- }
88227
- return [2 /*return*/, this.protocol.estimateFeeDefaultsFromPublicKey(this.publicKey, recipients, values, data)];
88228
- }
88229
- return [2 /*return*/];
88230
- });
88231
- });
88232
- };
88233
- return AirGapMarketWallet;
88234
- }(AirGapWallet_1.AirGapWallet));
88235
- exports.AirGapMarketWallet = AirGapMarketWallet;
88236
-
88237
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"../utils/ProtocolSymbols":591,"./AirGapWallet":599}],598:[function(require,module,exports){
88238
- "use strict";
88239
- var __extends = (this && this.__extends) || (function () {
88240
- var extendStatics = function (d, b) {
88241
- extendStatics = Object.setPrototypeOf ||
88242
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88243
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88244
- return extendStatics(d, b);
88245
- };
88246
- return function (d, b) {
88247
- extendStatics(d, b);
88248
- function __() { this.constructor = d; }
88249
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88250
- };
88251
- })();
88252
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88253
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88254
- return new (P || (P = Promise))(function (resolve, reject) {
88255
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88256
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88257
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88258
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88259
- });
88260
- };
88261
- var __generator = (this && this.__generator) || function (thisArg, body) {
88262
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88263
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88264
- function verb(n) { return function (v) { return step([n, v]); }; }
88265
- function step(op) {
88266
- if (f) throw new TypeError("Generator is already executing.");
88267
- while (_) try {
88268
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
88269
- if (y = 0, t) op = [op[0] & 2, t.value];
88270
- switch (op[0]) {
88271
- case 0: case 1: t = op; break;
88272
- case 4: _.label++; return { value: op[1], done: false };
88273
- case 5: _.label++; y = op[1]; op = [0]; continue;
88274
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88275
- default:
88276
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88277
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88278
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88279
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88280
- if (t[2]) _.ops.pop();
88281
- _.trys.pop(); continue;
88282
- }
88283
- op = body.call(thisArg, _);
88284
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88285
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88286
- }
88287
- };
88288
- var __importDefault = (this && this.__importDefault) || function (mod) {
88289
- return (mod && mod.__esModule) ? mod : { "default": mod };
88290
- };
88291
- Object.defineProperty(exports, "__esModule", { value: true });
88292
- exports.AirGapNFTWallet = void 0;
88293
- var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
88294
- var ProtocolNetwork_1 = require("../utils/ProtocolNetwork");
88295
- var AirGapMarketWallet_1 = require("./AirGapMarketWallet");
88296
- var AirGapNFTWallet = /** @class */ (function (_super) {
88297
- __extends(AirGapNFTWallet, _super);
88298
- function AirGapNFTWallet() {
88299
- var _this = _super !== null && _super.apply(this, arguments) || this;
88300
- _this.currentBalance = {};
88301
- _this.currentMarketPrice = {};
88302
- return _this;
88303
- }
88304
- AirGapNFTWallet.prototype.getCurrentBalance = function (assetID) {
88305
- return this.currentBalance[assetID];
88306
- };
88307
- AirGapNFTWallet.prototype.setCurrentBalance = function (balance, assetID) {
88308
- this.currentBalance[assetID] = balance;
88309
- };
88310
- AirGapNFTWallet.prototype.getCurrentMarketPrice = function (assetID) {
88311
- return this.currentMarketPrice[assetID];
88312
- };
88313
- AirGapNFTWallet.prototype.setCurrentMarketPrice = function (marketPrice, assetID) {
88314
- return __awaiter(this, void 0, void 0, function () {
88315
- var _a, _b;
88316
- return __generator(this, function (_c) {
88317
- switch (_c.label) {
88318
- case 0:
88319
- _a = this.getCurrentMarketPrice;
88320
- _b = assetID;
88321
- return [4 /*yield*/, this.protocol.getOptions()];
88322
- case 1:
88323
- _a[_b] =
88324
- (_c.sent()).network.type === ProtocolNetwork_1.NetworkType.MAINNET ? marketPrice : new bignumber_1.default(0);
88325
- return [2 /*return*/];
88326
- }
88327
- });
88328
- });
88329
- };
88330
- AirGapNFTWallet.prototype.synchronize = function (assetsID) {
88331
- if (assetsID === void 0) { assetsID = []; }
88332
- return __awaiter(this, void 0, void 0, function () {
88333
- return __generator(this, function (_a) {
88334
- return [2 /*return*/, _super.prototype.synchronize.call(this, assetsID)];
88335
- });
88336
- });
88337
- };
88338
- AirGapNFTWallet.prototype._synchronize = function (assetIDs) {
88339
- if (assetIDs === void 0) { assetIDs = []; }
88340
- return __awaiter(this, void 0, void 0, function () {
88341
- var _this = this;
88342
- return __generator(this, function (_a) {
88343
- switch (_a.label) {
88344
- case 0: return [4 /*yield*/, Promise.all(assetIDs.map(function (assetID) { return __awaiter(_this, void 0, void 0, function () {
88345
- var _a, balance, marketPrice;
88346
- return __generator(this, function (_b) {
88347
- switch (_b.label) {
88348
- case 0: return [4 /*yield*/, Promise.all([this.balanceOf(assetID), this.fetchCurrentMarketPrice(assetID)])];
88349
- case 1:
88350
- _a = _b.sent(), balance = _a[0], marketPrice = _a[1];
88351
- this.setCurrentBalance(balance, assetID);
88352
- return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice, assetID)];
88353
- case 2:
88354
- _b.sent();
88355
- return [2 /*return*/];
88356
- }
88357
- });
88358
- }); }))];
88359
- case 1:
88360
- _a.sent();
88361
- return [2 /*return*/];
88362
- }
88363
- });
88364
- });
88365
- };
88366
- AirGapNFTWallet.prototype.reset = function () {
88367
- this.currentBalance = {};
88368
- this.currentMarketPrice = {};
88369
- };
88370
- AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (assetID, _baseSymbol) {
88371
- if (_baseSymbol === void 0) { _baseSymbol = 'USD'; }
88372
- return __awaiter(this, void 0, void 0, function () {
88373
- var result;
88374
- return __generator(this, function (_a) {
88375
- switch (_a.label) {
88376
- case 0:
88377
- result = new bignumber_1.default(0);
88378
- return [4 /*yield*/, this.setCurrentMarketPrice(result, assetID)];
88379
- case 1:
88380
- _a.sent();
88381
- return [2 /*return*/, result];
88382
- }
88383
- });
88384
- });
88385
- };
88386
- AirGapNFTWallet.prototype.balanceOf = function (assetID) {
88387
- return __awaiter(this, void 0, void 0, function () {
88388
- var result, _a, _b;
88389
- return __generator(this, function (_c) {
88390
- switch (_c.label) {
88391
- case 0:
88392
- if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
88393
- _a = bignumber_1.default.bind;
88394
- return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0, { assetID: assetID })];
88395
- case 1:
88396
- result = new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))();
88397
- return [3 /*break*/, 4];
88398
- case 2:
88399
- _b = bignumber_1.default.bind;
88400
- return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey, { addressIndex: this.addressIndex, assetID: assetID })];
88401
- case 3:
88402
- result = new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))();
88403
- _c.label = 4;
88404
- case 4:
88405
- this.setCurrentBalance(result, assetID);
88406
- return [2 /*return*/, result];
88407
- }
88408
- });
88409
- });
88410
- };
88411
- return AirGapNFTWallet;
88412
- }(AirGapMarketWallet_1.AirGapMarketWallet));
88413
- exports.AirGapNFTWallet = AirGapNFTWallet;
88414
-
88415
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"../utils/ProtocolNetwork":590,"./AirGapMarketWallet":597}],599:[function(require,module,exports){
88416
- "use strict";
88417
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88418
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88419
- return new (P || (P = Promise))(function (resolve, reject) {
88420
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88421
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88422
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88423
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88424
- });
88425
- };
88426
- var __generator = (this && this.__generator) || function (thisArg, body) {
88427
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88428
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88429
- function verb(n) { return function (v) { return step([n, v]); }; }
88430
- function step(op) {
88431
- if (f) throw new TypeError("Generator is already executing.");
88432
- while (_) try {
88433
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
88434
- if (y = 0, t) op = [op[0] & 2, t.value];
88435
- switch (op[0]) {
88436
- case 0: case 1: t = op; break;
88437
- case 4: _.label++; return { value: op[1], done: false };
88438
- case 5: _.label++; y = op[1]; op = [0]; continue;
88439
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88440
- default:
88441
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88442
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88443
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88444
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88445
- if (t[2]) _.ops.pop();
88446
- _.trys.pop(); continue;
88447
- }
88448
- op = body.call(thisArg, _);
88449
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88450
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88451
- }
88452
- };
88453
- Object.defineProperty(exports, "__esModule", { value: true });
88454
- exports.AirGapWallet = exports.AirGapWalletStatus = void 0;
88455
- var errors_1 = require("../errors");
88456
- var coinlib_error_1 = require("../errors/coinlib-error");
88457
- var AirGapWalletStatus;
88458
- (function (AirGapWalletStatus) {
88459
- AirGapWalletStatus["ACTIVE"] = "active";
88460
- AirGapWalletStatus["HIDDEN"] = "hidden";
88461
- AirGapWalletStatus["DELETED"] = "deleted";
88462
- AirGapWalletStatus["TRANSIENT"] = "transient";
88463
- })(AirGapWalletStatus = exports.AirGapWalletStatus || (exports.AirGapWalletStatus = {}));
88464
- var AirGapWallet = /** @class */ (function () {
88465
- function AirGapWallet(protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, addressIndex) {
88466
- this.protocol = protocol;
88467
- this.publicKey = publicKey;
88468
- this.isExtendedPublicKey = isExtendedPublicKey;
88469
- this.derivationPath = derivationPath;
88470
- this.masterFingerprint = masterFingerprint;
88471
- this.status = status;
88472
- this.addressIndex = addressIndex;
88473
- this.addresses = []; // used for cache
88474
- }
88475
- Object.defineProperty(AirGapWallet.prototype, "receivingPublicAddress", {
88476
- get: function () {
88477
- return this.addresses[this.addressIndex !== undefined ? this.addressIndex : 0];
88478
- },
88479
- enumerable: false,
88480
- configurable: true
88481
- });
88482
- AirGapWallet.prototype.setProtocol = function (protocol) {
88483
- return __awaiter(this, void 0, void 0, function () {
88484
- var _a;
88485
- return __generator(this, function (_b) {
88486
- switch (_b.label) {
88487
- case 0: return [4 /*yield*/, this.protocol.getIdentifier()];
88488
- case 1:
88489
- _a = (_b.sent());
88490
- return [4 /*yield*/, protocol.getIdentifier()];
88491
- case 2:
88492
- if (_a !== (_b.sent())) {
88493
- throw new errors_1.ConditionViolationError(coinlib_error_1.Domain.WALLET, 'Can only set same protocol with a different network');
88494
- }
88495
- this.protocol = protocol;
88496
- return [2 /*return*/];
88497
- }
88498
- });
88499
- });
88500
- };
88501
- AirGapWallet.prototype.deriveAddresses = function (amount) {
88502
- if (amount === void 0) { amount = 50; }
88503
- return __awaiter(this, void 0, void 0, function () {
88504
- var addresses, parts, offset;
88505
- return __generator(this, function (_a) {
88506
- switch (_a.label) {
88507
- case 0:
88508
- if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
88509
- parts = this.derivationPath.split('/');
88510
- offset = 0;
88511
- if (!parts[parts.length - 1].endsWith("'")) {
88512
- offset = Number.parseInt(parts[parts.length - 1], 10);
88513
- }
88514
- return [4 /*yield*/, Promise.all([
88515
- this.protocol.getAddressesFromExtendedPublicKey(this.publicKey, 0, amount, offset),
88516
- this.protocol.getAddressesFromExtendedPublicKey(this.publicKey, 1, amount, offset)
88517
- ])];
88518
- case 1:
88519
- addresses = (_a.sent()).reduce(function (flatten, next) { return flatten.concat(next); }, []);
88520
- return [3 /*break*/, 4];
88521
- case 2: return [4 /*yield*/, this.protocol.getAddressesFromPublicKey(this.publicKey)];
88522
- case 3:
88523
- addresses = _a.sent();
88524
- _a.label = 4;
88525
- case 4: return [2 /*return*/, addresses.map(function (address) { return address.address; })];
88526
- }
88527
- });
88528
- });
88529
- };
88530
- AirGapWallet.prototype.toJSON = function () {
88531
- return __awaiter(this, void 0, void 0, function () {
88532
- var _a;
88533
- return __generator(this, function (_b) {
88534
- switch (_b.label) {
88535
- case 0:
88536
- _a = {};
88537
- return [4 /*yield*/, this.protocol.getIdentifier()];
88538
- case 1:
88539
- _a.protocolIdentifier = _b.sent();
88540
- return [4 /*yield*/, this.protocol.getOptions()];
88541
- case 2: return [2 /*return*/, (_a.networkIdentifier = (_b.sent()).network.identifier,
88542
- _a.publicKey = this.publicKey,
88543
- _a.isExtendedPublicKey = this.isExtendedPublicKey,
88544
- _a.derivationPath = this.derivationPath,
88545
- _a.addresses = this.addresses,
88546
- _a.masterFingerprint = this.masterFingerprint,
88547
- _a.status = this.status,
88548
- _a.addressIndex = this.addressIndex,
88549
- _a)];
88550
- }
88551
- });
88552
- });
88553
- };
88554
- return AirGapWallet;
88555
- }());
88556
- exports.AirGapWallet = AirGapWallet;
88557
-
88558
- },{"../errors":582,"../errors/coinlib-error":581}]},{},[214])(214)
87254
+ },{}]},{},[214])(214)
88559
87255
  });