@airgap/groestlcoin 0.13.7-beta.13 → 0.13.7-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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":589,"buffer":67}],217:[function(require,module,exports){
30086
+ },{"@airgap/coinlib-core/protocols/Secp256k1CryptoClient":581,"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":585,"@airgap/coinlib-core/errors/coinlib-error":584,"@airgap/coinlib-core/utils/ProtocolSymbols":594,"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":579,"@airgap/coinlib-core/errors/coinlib-error":578,"@airgap/coinlib-core/utils/ProtocolSymbols":584,"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":593}],219:[function(require,module,exports){
31271
+ },{"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":444,"@airgap/coinlib-core/utils/ProtocolNetwork":583}],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":594,"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":584,"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":593}],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":586}],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":583}],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":585,"../errors/coinlib-error":584,"./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":585,"../errors/coinlib-error":584}],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":544,"./helpers/bind":408}],418:[function(require,module,exports){
43082
+ },{"../../is-buffer-2.0.3/index":538,"./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":559}],419:[function(require,module,exports){
43204
+ },{"../../safe-buffer-5.2.0/index":553}],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":491,"../pbkdf2-3.0.17/index":551,"../randombytes-2.1.0/browser":557,"../safe-buffer-5.2.0/index":559,"../unorm-1.6.0/lib/unorm":581,"./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":485,"../pbkdf2-3.0.17/index":545,"../randombytes-2.1.0/browser":551,"../safe-buffer-5.2.0/index":553,"../unorm-1.6.0/lib/unorm":575,"./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":559}],436:[function(require,module,exports){
64745
+ },{"../safe-buffer-5.2.0/index":553}],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":489,"../create-hash-1.2.0/browser":491,"../secp256k1-3.7.1/elliptic":560,"../varuint-bitcoin-1.1.2/index":582,"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":483,"../create-hash-1.2.0/browser":485,"../secp256k1-3.7.1/elliptic":554,"../varuint-bitcoin-1.1.2/index":576,"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":559,"../../typeforce-1.18.0/index":579,"./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":553,"../../typeforce-1.18.0/index":573,"./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":546,"../../safe-buffer-5.2.0/index":559,"../../typeforce-1.18.0/index":579,"../../varuint-bitcoin-1.1.2/index":582,"./coins":443,"./crypto":444,"./networks":451,"./transaction":476,"./types":478}],441:[function(require,module,exports){
65376
+ },{"../../merkle-lib-2.0.10/fastRoot":540,"../../safe-buffer-5.2.0/index":553,"../../typeforce-1.18.0/index":573,"../../varuint-bitcoin-1.1.2/index":576,"./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":559,"../../varuint-bitcoin-1.1.2/index":582,"./bufferutils":442}],442:[function(require,module,exports){
65418
+ },{"../../safe-buffer-5.2.0/index":553,"../../varuint-bitcoin-1.1.2/index":576,"./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":556,"../../varuint-bitcoin-1.1.2/index":582}],443:[function(require,module,exports){
65485
+ },{"../../pushdata-bitcoin-1.0.1/index":550,"../../varuint-bitcoin-1.1.2/index":576}],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":579}],444:[function(require,module,exports){
65540
+ },{"../../typeforce-1.18.0/index":573}],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":491,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":523,"buffer":67,"crypto":78}],445:[function(require,module,exports){
65587
+ },{"../../create-hash-1.2.0/browser":485,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":517,"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":493,"../../ecurve-1.0.6/lib/index":503,"../../safe-buffer-5.2.0/index":559,"../../typeforce-1.18.0/index":579,"./ecsignature":447,"./types":478}],446:[function(require,module,exports){
65750
+ },{"../../bigi-1.4.2/lib/index":417,"../../create-hmac-1.1.4/browser":487,"../../ecurve-1.0.6/lib/index":497,"../../safe-buffer-5.2.0/index":553,"../../typeforce-1.18.0/index":573,"./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":503,"../../randombytes-2.1.0/browser":557,"../../typeforce-1.18.0/index":579,"../../wif-2.0.6/index":583,"./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":497,"../../randombytes-2.1.0/browser":551,"../../typeforce-1.18.0/index":573,"../../wif-2.0.6/index":577,"./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":579,"./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":573,"./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":560,"../../typeforce-1.18.0/index":579,"./ecsignature":447,"./types":478}],449:[function(require,module,exports){
66104
+ },{"../../secp256k1-3.7.1/elliptic":554,"../../typeforce-1.18.0/index":573,"./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":493,"../../ecurve-1.0.6/lib/index":503,"../../safe-buffer-5.2.0/index":559,"../../typeforce-1.18.0/index":579,"./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":487,"../../ecurve-1.0.6/lib/index":497,"../../safe-buffer-5.2.0/index":553,"../../typeforce-1.18.0/index":573,"./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":556,"../../safe-buffer-5.2.0/index":559,"../../typeforce-1.18.0/index":579,"./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":550,"../../safe-buffer-5.2.0/index":553,"../../typeforce-1.18.0/index":573,"./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":559}],454:[function(require,module,exports){
66997
+ },{"../../safe-buffer-5.2.0/index":553}],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":559,"../../../../typeforce-1.18.0/index":579,"../../script":452,"./output":457}],457:[function(require,module,exports){
67152
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../safe-buffer-5.2.0/index":553,"../../../../typeforce-1.18.0/index":573,"../../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":579,"../../script":452,"../../types":478}],458:[function(require,module,exports){
67218
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":573,"../../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":579,"../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":573,"../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":579,"../../script":452}],461:[function(require,module,exports){
67302
+ },{"../../../../typeforce-1.18.0/index":573,"../../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":579,"../../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":573,"../../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":579,"../../script":452}],464:[function(require,module,exports){
67392
+ },{"../../../../typeforce-1.18.0/index":573,"../../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":579,"../../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":573,"../../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":559,"../../../../typeforce-1.18.0/index":579,"../../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":553,"../../../../typeforce-1.18.0/index":573,"../../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":579,"../../script":452,"../../types":478}],468:[function(require,module,exports){
67560
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":573,"../../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":559,"../../../../typeforce-1.18.0/index":579,"../../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":553,"../../../../typeforce-1.18.0/index":573,"../../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":579,"../../script":452}],472:[function(require,module,exports){
67657
+ },{"../../../../typeforce-1.18.0/index":573,"../../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":579,"../../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":573,"../../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":579,"../../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":573,"../../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":579,"../../script":452,"../../types":478}],476:[function(require,module,exports){
67796
+ },{"../../../../bitcoin-ops-1.4.1/index.json":430,"../../../../typeforce-1.18.0/index":573,"../../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":559,"../../typeforce-1.18.0/index":579,"../../varuint-bitcoin-1.1.2/index":582,"./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":553,"../../typeforce-1.18.0/index":573,"../../varuint-bitcoin-1.1.2/index":576,"./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":494,"../../safe-buffer-5.2.0/index":559,"../../typeforce-1.18.0/index":579,"./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":488,"../../safe-buffer-5.2.0/index":553,"../../typeforce-1.18.0/index":573,"./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":579}],479:[function(require,module,exports){
69874
+ },{"../../typeforce-1.18.0/index":573}],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":550}],480:[function(require,module,exports){
70189
+ },{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":475,"../nanoassert-1.1.0/index":544}],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":550,"./blake2b":480}],482:[function(require,module,exports){
70384
+ },{"../nanoassert-1.1.0/index":544,"./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":559}],486:[function(require,module,exports){
73873
+ },{"../bs58-4.0.1/index":478,"../safe-buffer-5.2.0/index":553}],480:[function(require,module,exports){
74323
73874
  'use strict'
74324
73875
 
74325
73876
  var createHash = require('../create-hash-1.2.0/browser')
@@ -74333,9 +73884,9 @@ function sha256x2 (buffer) {
74333
73884
 
74334
73885
  module.exports = bs58checkBase(sha256x2)
74335
73886
 
74336
- },{"../create-hash-1.2.0/browser":491,"./base":485}],487:[function(require,module,exports){
74337
- arguments[4][485][0].apply(exports,arguments)
74338
- },{"../bs58-4.0.1/index":484,"../safe-buffer-5.2.0/index":559,"dup":485}],488:[function(require,module,exports){
73887
+ },{"../create-hash-1.2.0/browser":485,"./base":479}],481:[function(require,module,exports){
73888
+ arguments[4][479][0].apply(exports,arguments)
73889
+ },{"../bs58-4.0.1/index":478,"../safe-buffer-5.2.0/index":553,"dup":479}],482:[function(require,module,exports){
74339
73890
  (function (Buffer){(function (){
74340
73891
  'use strict'
74341
73892
 
@@ -74351,7 +73902,7 @@ function groestl (buffer) {
74351
73902
  module.exports = bs58grscheckBase(groestl)
74352
73903
 
74353
73904
  }).call(this)}).call(this,require("buffer").Buffer)
74354
- },{"../create-hash-1.2.0/browser":491,"../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":523,"./base":487,"buffer":67}],489:[function(require,module,exports){
73905
+ },{"../create-hash-1.2.0/browser":485,"../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":517,"./base":481,"buffer":67}],483:[function(require,module,exports){
74355
73906
  (function (Buffer){(function (){
74356
73907
  'use strict';
74357
73908
  module.exports = function (a, b) {
@@ -74381,7 +73932,7 @@ module.exports = function (a, b) {
74381
73932
  };
74382
73933
 
74383
73934
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
74384
- },{"../../../../../../node_modules/is-buffer/index.js":150}],490:[function(require,module,exports){
73935
+ },{"../../../../../../node_modules/is-buffer/index.js":150}],484:[function(require,module,exports){
74385
73936
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
74386
73937
  var Transform = require('stream').Transform
74387
73938
  var StringDecoder = require('string_decoder').StringDecoder
@@ -74482,7 +74033,7 @@ CipherBase.prototype._toString = function (value, enc, fin) {
74482
74033
 
74483
74034
  module.exports = CipherBase
74484
74035
 
74485
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"stream":192,"string_decoder":207}],491:[function(require,module,exports){
74036
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"stream":192,"string_decoder":207}],485:[function(require,module,exports){
74486
74037
  'use strict'
74487
74038
  var inherits = require('../inherits-2.0.4/inherits')
74488
74039
  var MD5 = require('../md5.js-1.3.5/index')
@@ -74514,10 +74065,10 @@ module.exports = function createHash (alg) {
74514
74065
  return new Hash(sha(alg))
74515
74066
  }
74516
74067
 
74517
- },{"../cipher-base-1.0.4/index":490,"../inherits-2.0.4/inherits":542,"../md5.js-1.3.5/index":545,"../ripemd160-2.0.2/index":558,"../sha.js-2.4.11/index":570}],492:[function(require,module,exports){
74068
+ },{"../cipher-base-1.0.4/index":484,"../inherits-2.0.4/inherits":536,"../md5.js-1.3.5/index":539,"../ripemd160-2.0.2/index":552,"../sha.js-2.4.11/index":564}],486:[function(require,module,exports){
74518
74069
  module.exports = require('crypto').createHash
74519
74070
 
74520
- },{"crypto":78}],493:[function(require,module,exports){
74071
+ },{"crypto":78}],487:[function(require,module,exports){
74521
74072
  (function (Buffer){(function (){
74522
74073
  'use strict';
74523
74074
  var createHash = require('../create-hash-1.2.0/browser')
@@ -74589,7 +74140,7 @@ module.exports = function createHmac(alg, key) {
74589
74140
  }
74590
74141
 
74591
74142
  }).call(this)}).call(this,require("buffer").Buffer)
74592
- },{"../create-hash-1.2.0/browser":491,"../inherits-2.0.4/inherits":542,"buffer":67,"stream":192}],494:[function(require,module,exports){
74143
+ },{"../create-hash-1.2.0/browser":485,"../inherits-2.0.4/inherits":536,"buffer":67,"stream":192}],488:[function(require,module,exports){
74593
74144
  (function (process){(function (){
74594
74145
  /**
74595
74146
  * This is the web browser implementation of `debug()`.
@@ -74788,7 +74339,7 @@ function localstorage() {
74788
74339
  }
74789
74340
 
74790
74341
  }).call(this)}).call(this,require('_process'))
74791
- },{"./debug":495,"_process":171}],495:[function(require,module,exports){
74342
+ },{"./debug":489,"_process":171}],489:[function(require,module,exports){
74792
74343
 
74793
74344
  /**
74794
74345
  * This is the common logic for both the Node.js and web browser
@@ -75015,7 +74566,7 @@ function coerce(val) {
75015
74566
  return val;
75016
74567
  }
75017
74568
 
75018
- },{"../../ms-2.1.2/index":549}],496:[function(require,module,exports){
74569
+ },{"../../ms-2.1.2/index":543}],490:[function(require,module,exports){
75019
74570
  (function (Buffer){(function (){
75020
74571
  "use strict";
75021
74572
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -75049,7 +74600,7 @@ exports.utils = {
75049
74600
  };
75050
74601
 
75051
74602
  }).call(this)}).call(this,require("buffer").Buffer)
75052
- },{"./keys":499,"./utils":500,"buffer":67}],497:[function(require,module,exports){
74603
+ },{"./keys":493,"./utils":494,"buffer":67}],491:[function(require,module,exports){
75053
74604
  (function (Buffer){(function (){
75054
74605
  "use strict";
75055
74606
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -75110,7 +74661,7 @@ var PrivateKey = /** @class */ (function () {
75110
74661
  exports.default = PrivateKey;
75111
74662
 
75112
74663
  }).call(this)}).call(this,require("buffer").Buffer)
75113
- },{"../../../futoin-hkdf-1.3.3/hkdf.js":522,"../../../secp256k1-4.0.2/elliptic":566,"../utils":500,"./PublicKey":498,"buffer":67}],498:[function(require,module,exports){
74664
+ },{"../../../futoin-hkdf-1.3.3/hkdf.js":516,"../../../secp256k1-4.0.2/elliptic":560,"../utils":494,"./PublicKey":492,"buffer":67}],492:[function(require,module,exports){
75114
74665
  (function (Buffer){(function (){
75115
74666
  "use strict";
75116
74667
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -75174,7 +74725,7 @@ var PublicKey = /** @class */ (function () {
75174
74725
  exports.default = PublicKey;
75175
74726
 
75176
74727
  }).call(this)}).call(this,require("buffer").Buffer)
75177
- },{"../../../futoin-hkdf-1.3.3/hkdf.js":522,"../../../secp256k1-4.0.2/elliptic":566,"../utils":500,"buffer":67}],499:[function(require,module,exports){
74728
+ },{"../../../futoin-hkdf-1.3.3/hkdf.js":516,"../../../secp256k1-4.0.2/elliptic":560,"../utils":494,"buffer":67}],493:[function(require,module,exports){
75178
74729
  "use strict";
75179
74730
  var __importDefault = (this && this.__importDefault) || function (mod) {
75180
74731
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -75186,7 +74737,7 @@ Object.defineProperty(exports, "PrivateKey", { enumerable: true, get: function (
75186
74737
  var PublicKey_1 = require("./PublicKey");
75187
74738
  Object.defineProperty(exports, "PublicKey", { enumerable: true, get: function () { return __importDefault(PublicKey_1).default; } });
75188
74739
 
75189
- },{"./PrivateKey":497,"./PublicKey":498}],500:[function(require,module,exports){
74740
+ },{"./PrivateKey":491,"./PublicKey":492}],494:[function(require,module,exports){
75190
74741
  (function (Buffer){(function (){
75191
74742
  "use strict";
75192
74743
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -75250,7 +74801,7 @@ function aesDecrypt(key, cipherText) {
75250
74801
  exports.aesDecrypt = aesDecrypt;
75251
74802
 
75252
74803
  }).call(this)}).call(this,require("buffer").Buffer)
75253
- },{"../../secp256k1-4.0.2/elliptic":566,"buffer":67,"crypto":78}],501:[function(require,module,exports){
74804
+ },{"../../secp256k1-4.0.2/elliptic":560,"buffer":67,"crypto":78}],495:[function(require,module,exports){
75254
74805
  var assert = require('assert')
75255
74806
  var BigInteger = require('../../bigi-1.4.2/lib/index')
75256
74807
 
@@ -75329,7 +74880,7 @@ Curve.prototype.validate = function (Q) {
75329
74880
 
75330
74881
  module.exports = Curve
75331
74882
 
75332
- },{"../../bigi-1.4.2/lib/index":423,"./point":505,"assert":16}],502:[function(require,module,exports){
74883
+ },{"../../bigi-1.4.2/lib/index":417,"./point":499,"assert":16}],496:[function(require,module,exports){
75333
74884
  module.exports={
75334
74885
  "secp128r1": {
75335
74886
  "p": "fffffffdffffffffffffffffffffffff",
@@ -75395,7 +74946,7 @@ module.exports={
75395
74946
  "Gy": "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"
75396
74947
  }
75397
74948
  }
75398
- },{}],503:[function(require,module,exports){
74949
+ },{}],497:[function(require,module,exports){
75399
74950
  var Point = require('./point')
75400
74951
  var Curve = require('./curve')
75401
74952
 
@@ -75407,7 +74958,7 @@ module.exports = {
75407
74958
  getCurveByName: getCurveByName
75408
74959
  }
75409
74960
 
75410
- },{"./curve":501,"./names":504,"./point":505}],504:[function(require,module,exports){
74961
+ },{"./curve":495,"./names":498,"./point":499}],498:[function(require,module,exports){
75411
74962
  var BigInteger = require('../../bigi-1.4.2/lib/index')
75412
74963
 
75413
74964
  var curves = require('./curves.json')
@@ -75430,7 +74981,7 @@ function getCurveByName (name) {
75430
74981
 
75431
74982
  module.exports = getCurveByName
75432
74983
 
75433
- },{"../../bigi-1.4.2/lib/index":423,"./curve":501,"./curves.json":502}],505:[function(require,module,exports){
74984
+ },{"../../bigi-1.4.2/lib/index":417,"./curve":495,"./curves.json":496}],499:[function(require,module,exports){
75434
74985
  var assert = require('assert')
75435
74986
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
75436
74987
  var BigInteger = require('../../bigi-1.4.2/lib/index')
@@ -75676,7 +75227,7 @@ Point.prototype.toString = function () {
75676
75227
 
75677
75228
  module.exports = Point
75678
75229
 
75679
- },{"../../bigi-1.4.2/lib/index":423,"../../safe-buffer-5.2.0/index":559,"assert":16}],506:[function(require,module,exports){
75230
+ },{"../../bigi-1.4.2/lib/index":417,"../../safe-buffer-5.2.0/index":553,"assert":16}],500:[function(require,module,exports){
75680
75231
  'use strict';
75681
75232
 
75682
75233
  var elliptic = exports;
@@ -75691,7 +75242,7 @@ elliptic.curves = require('./elliptic/curves');
75691
75242
  elliptic.ec = require('./elliptic/ec');
75692
75243
  elliptic.eddsa = require('./elliptic/eddsa');
75693
75244
 
75694
- },{"../../brorand-1.1.0/index":483,"../package.json":521,"./elliptic/curve":509,"./elliptic/curves":512,"./elliptic/ec":513,"./elliptic/eddsa":516,"./elliptic/utils":520}],507:[function(require,module,exports){
75245
+ },{"../../brorand-1.1.0/index":477,"../package.json":515,"./elliptic/curve":503,"./elliptic/curves":506,"./elliptic/ec":507,"./elliptic/eddsa":510,"./elliptic/utils":514}],501:[function(require,module,exports){
75695
75246
  'use strict';
75696
75247
 
75697
75248
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -76069,7 +75620,7 @@ BasePoint.prototype.dblp = function dblp(k) {
76069
75620
  return r;
76070
75621
  };
76071
75622
 
76072
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":520}],508:[function(require,module,exports){
75623
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":514}],502:[function(require,module,exports){
76073
75624
  'use strict';
76074
75625
 
76075
75626
  var utils = require('../utils');
@@ -76503,9 +76054,9 @@ Point.prototype.eqXToP = function eqXToP(x) {
76503
76054
  Point.prototype.toP = Point.prototype.normalize;
76504
76055
  Point.prototype.mixedAdd = Point.prototype.add;
76505
76056
 
76506
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../inherits-2.0.4/inherits":542,"../utils":520,"./base":507}],509:[function(require,module,exports){
76057
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../inherits-2.0.4/inherits":536,"../utils":514,"./base":501}],503:[function(require,module,exports){
76507
76058
  arguments[4][93][0].apply(exports,arguments)
76508
- },{"./base":507,"./edwards":508,"./mont":510,"./short":511,"dup":93}],510:[function(require,module,exports){
76059
+ },{"./base":501,"./edwards":502,"./mont":504,"./short":505,"dup":93}],504:[function(require,module,exports){
76509
76060
  'use strict';
76510
76061
 
76511
76062
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -76685,7 +76236,7 @@ Point.prototype.getX = function getX() {
76685
76236
  return this.x.fromRed();
76686
76237
  };
76687
76238
 
76688
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../inherits-2.0.4/inherits":542,"../utils":520,"./base":507}],511:[function(require,module,exports){
76239
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../inherits-2.0.4/inherits":536,"../utils":514,"./base":501}],505:[function(require,module,exports){
76689
76240
  'use strict';
76690
76241
 
76691
76242
  var utils = require('../utils');
@@ -77624,7 +77175,7 @@ JPoint.prototype.isInfinity = function isInfinity() {
77624
77175
  return this.z.cmpn(0) === 0;
77625
77176
  };
77626
77177
 
77627
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../inherits-2.0.4/inherits":542,"../utils":520,"./base":507}],512:[function(require,module,exports){
77178
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../inherits-2.0.4/inherits":536,"../utils":514,"./base":501}],506:[function(require,module,exports){
77628
77179
  'use strict';
77629
77180
 
77630
77181
  var curves = exports;
@@ -77832,7 +77383,7 @@ defineCurve('secp256k1', {
77832
77383
  ]
77833
77384
  });
77834
77385
 
77835
- },{"../../../hash.js-1.1.7/lib/hash":529,"./curve":509,"./precomputed/secp256k1":519,"./utils":520}],513:[function(require,module,exports){
77386
+ },{"../../../hash.js-1.1.7/lib/hash":523,"./curve":503,"./precomputed/secp256k1":513,"./utils":514}],507:[function(require,module,exports){
77836
77387
  'use strict';
77837
77388
 
77838
77389
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78075,7 +77626,7 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) {
78075
77626
  throw new Error('Unable to find valid recovery factor');
78076
77627
  };
78077
77628
 
78078
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../../../../brorand-1.1.0/index":483,"../../../../hmac-drbg-1.0.1/lib/hmac-drbg":541,"../curves":512,"../utils":520,"./key":514,"./signature":515}],514:[function(require,module,exports){
77629
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../../../../brorand-1.1.0/index":477,"../../../../hmac-drbg-1.0.1/lib/hmac-drbg":535,"../curves":506,"../utils":514,"./key":508,"./signature":509}],508:[function(require,module,exports){
78079
77630
  'use strict';
78080
77631
 
78081
77632
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78195,7 +77746,7 @@ KeyPair.prototype.inspect = function inspect() {
78195
77746
  ' pub: ' + (this.pub && this.pub.inspect()) + ' >';
78196
77747
  };
78197
77748
 
78198
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":520}],515:[function(require,module,exports){
77749
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":514}],509:[function(require,module,exports){
78199
77750
  'use strict';
78200
77751
 
78201
77752
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78363,7 +77914,7 @@ Signature.prototype.toDER = function toDER(enc) {
78363
77914
  return utils.encode(res, enc);
78364
77915
  };
78365
77916
 
78366
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":520}],516:[function(require,module,exports){
77917
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":514}],510:[function(require,module,exports){
78367
77918
  'use strict';
78368
77919
 
78369
77920
  var hash = require('../../../../hash.js-1.1.7/lib/hash');
@@ -78483,9 +78034,9 @@ EDDSA.prototype.isPoint = function isPoint(val) {
78483
78034
  return val instanceof this.pointClass;
78484
78035
  };
78485
78036
 
78486
- },{"../../../../hash.js-1.1.7/lib/hash":529,"../curves":512,"../utils":520,"./key":517,"./signature":518}],517:[function(require,module,exports){
78037
+ },{"../../../../hash.js-1.1.7/lib/hash":523,"../curves":506,"../utils":514,"./key":511,"./signature":512}],511:[function(require,module,exports){
78487
78038
  arguments[4][101][0].apply(exports,arguments)
78488
- },{"../utils":520,"dup":101}],518:[function(require,module,exports){
78039
+ },{"../utils":514,"dup":101}],512:[function(require,module,exports){
78489
78040
  'use strict';
78490
78041
 
78491
78042
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -78552,7 +78103,7 @@ Signature.prototype.toHex = function toHex() {
78552
78103
 
78553
78104
  module.exports = Signature;
78554
78105
 
78555
- },{"../../../../bn.js-4.11.8/lib/bn":482,"../utils":520}],519:[function(require,module,exports){
78106
+ },{"../../../../bn.js-4.11.8/lib/bn":476,"../utils":514}],513:[function(require,module,exports){
78556
78107
  module.exports = {
78557
78108
  doubles: {
78558
78109
  step: 4,
@@ -79334,7 +78885,7 @@ module.exports = {
79334
78885
  }
79335
78886
  };
79336
78887
 
79337
- },{}],520:[function(require,module,exports){
78888
+ },{}],514:[function(require,module,exports){
79338
78889
  'use strict';
79339
78890
 
79340
78891
  var utils = exports;
@@ -79455,7 +79006,7 @@ function intFromLE(bytes) {
79455
79006
  utils.intFromLE = intFromLE;
79456
79007
 
79457
79008
 
79458
- },{"../../../bn.js-4.11.8/lib/bn":482,"../../../minimalistic-assert-1.0.1/index":547,"../../../minimalistic-crypto-utils-1.0.1/lib/utils":548}],521:[function(require,module,exports){
79009
+ },{"../../../bn.js-4.11.8/lib/bn":476,"../../../minimalistic-assert-1.0.1/index":541,"../../../minimalistic-crypto-utils-1.0.1/lib/utils":542}],515:[function(require,module,exports){
79459
79010
  module.exports={
79460
79011
  "name": "elliptic",
79461
79012
  "version": "6.5.3",
@@ -79511,7 +79062,7 @@ module.exports={
79511
79062
  "minimalistic-crypto-utils": "^1.0.0"
79512
79063
  }
79513
79064
  }
79514
- },{}],522:[function(require,module,exports){
79065
+ },{}],516:[function(require,module,exports){
79515
79066
  (function (Buffer){(function (){
79516
79067
  'use strict';
79517
79068
 
@@ -79689,7 +79240,7 @@ Object.defineProperties( hkdf, {
79689
79240
  module.exports = hkdf;
79690
79241
 
79691
79242
  }).call(this)}).call(this,require("buffer").Buffer)
79692
- },{"buffer":67,"crypto":78}],523:[function(require,module,exports){
79243
+ },{"buffer":67,"crypto":78}],517:[function(require,module,exports){
79693
79244
  'use strict';
79694
79245
 
79695
79246
  var groestl = require('./lib/groestl');
@@ -79729,7 +79280,7 @@ module.exports.groestl_2 = function(str,format, output) {
79729
79280
  return h.int32ArrayToHexString(a);
79730
79281
  }
79731
79282
  }
79732
- },{"./lib/groestl":524,"./lib/helper":525}],524:[function(require,module,exports){
79283
+ },{"./lib/groestl":518,"./lib/helper":519}],518:[function(require,module,exports){
79733
79284
  /////////////////////////////////////
79734
79285
  //////////// groestl ///////////////
79735
79286
 
@@ -80978,7 +80529,7 @@ module.exports = function(input, format, output) {
80978
80529
  }
80979
80530
  return out;
80980
80531
  }
80981
- },{"./helper":525,"./op":526}],525:[function(require,module,exports){
80532
+ },{"./helper":519,"./op":520}],519:[function(require,module,exports){
80982
80533
  'use strict';
80983
80534
  // String functions
80984
80535
 
@@ -81232,7 +80783,7 @@ module.exports.b64Decode = function(input) {
81232
80783
  }
81233
80784
  return output;
81234
80785
  };
81235
- },{"./op.js":526}],526:[function(require,module,exports){
80786
+ },{"./op.js":520}],520:[function(require,module,exports){
81236
80787
  'use strict';
81237
80788
  //the right shift is important, it has to do with 32 bit operations in javascript, it will make things faster
81238
80789
  function u64(h, l) {
@@ -81696,7 +81247,7 @@ module.exports.xORTable = function(d, s1, s2, len) {
81696
81247
  }
81697
81248
  }
81698
81249
 
81699
- },{}],527:[function(require,module,exports){
81250
+ },{}],521:[function(require,module,exports){
81700
81251
  (function (Buffer){(function (){
81701
81252
  const bs58grscheck = require('../bs58grscheck-2.1.2/index')
81702
81253
  const bech32 = require('../bech32-1.1.3/index')
@@ -81945,7 +81496,7 @@ module.exports = {
81945
81496
  }
81946
81497
 
81947
81498
  }).call(this)}).call(this,require("buffer").Buffer)
81948
- },{"../bech32-1.1.3/index":420,"../bs58grscheck-2.1.2/index":488,"../buffer-equals-1.0.4/index":489,"../create-hash-1.2.0/browser":491,"../secp256k1-3.7.1/elliptic":560,"../varuint-bitcoin-1.1.2/index":582,"buffer":67}],528:[function(require,module,exports){
81499
+ },{"../bech32-1.1.3/index":414,"../bs58grscheck-2.1.2/index":482,"../buffer-equals-1.0.4/index":483,"../create-hash-1.2.0/browser":485,"../secp256k1-3.7.1/elliptic":554,"../varuint-bitcoin-1.1.2/index":576,"buffer":67}],522:[function(require,module,exports){
81949
81500
  'use strict'
81950
81501
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
81951
81502
  var Transform = require('stream').Transform
@@ -82042,9 +81593,9 @@ HashBase.prototype._digest = function () {
82042
81593
 
82043
81594
  module.exports = HashBase
82044
81595
 
82045
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"stream":192}],529:[function(require,module,exports){
81596
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"stream":192}],523:[function(require,module,exports){
82046
81597
  arguments[4][134][0].apply(exports,arguments)
82047
- },{"./hash/common":530,"./hash/hmac":531,"./hash/ripemd":532,"./hash/sha":533,"./hash/utils":540,"dup":134}],530:[function(require,module,exports){
81598
+ },{"./hash/common":524,"./hash/hmac":525,"./hash/ripemd":526,"./hash/sha":527,"./hash/utils":534,"dup":134}],524:[function(require,module,exports){
82048
81599
  'use strict';
82049
81600
 
82050
81601
  var utils = require('./utils');
@@ -82138,7 +81689,7 @@ BlockHash.prototype._pad = function pad() {
82138
81689
  return res;
82139
81690
  };
82140
81691
 
82141
- },{"../../../minimalistic-assert-1.0.1/index":547,"./utils":540}],531:[function(require,module,exports){
81692
+ },{"../../../minimalistic-assert-1.0.1/index":541,"./utils":534}],525:[function(require,module,exports){
82142
81693
  'use strict';
82143
81694
 
82144
81695
  var utils = require('./utils');
@@ -82187,15 +81738,15 @@ Hmac.prototype.digest = function digest(enc) {
82187
81738
  return this.outer.digest(enc);
82188
81739
  };
82189
81740
 
82190
- },{"../../../minimalistic-assert-1.0.1/index":547,"./utils":540}],532:[function(require,module,exports){
81741
+ },{"../../../minimalistic-assert-1.0.1/index":541,"./utils":534}],526:[function(require,module,exports){
82191
81742
  arguments[4][137][0].apply(exports,arguments)
82192
- },{"./common":530,"./utils":540,"dup":137}],533:[function(require,module,exports){
81743
+ },{"./common":524,"./utils":534,"dup":137}],527:[function(require,module,exports){
82193
81744
  arguments[4][138][0].apply(exports,arguments)
82194
- },{"./sha/1":534,"./sha/224":535,"./sha/256":536,"./sha/384":537,"./sha/512":538,"dup":138}],534:[function(require,module,exports){
81745
+ },{"./sha/1":528,"./sha/224":529,"./sha/256":530,"./sha/384":531,"./sha/512":532,"dup":138}],528:[function(require,module,exports){
82195
81746
  arguments[4][139][0].apply(exports,arguments)
82196
- },{"../common":530,"../utils":540,"./common":539,"dup":139}],535:[function(require,module,exports){
81747
+ },{"../common":524,"../utils":534,"./common":533,"dup":139}],529:[function(require,module,exports){
82197
81748
  arguments[4][140][0].apply(exports,arguments)
82198
- },{"../utils":540,"./256":536,"dup":140}],536:[function(require,module,exports){
81749
+ },{"../utils":534,"./256":530,"dup":140}],530:[function(require,module,exports){
82199
81750
  'use strict';
82200
81751
 
82201
81752
  var utils = require('../utils');
@@ -82302,9 +81853,9 @@ SHA256.prototype._digest = function digest(enc) {
82302
81853
  return utils.split32(this.h, 'big');
82303
81854
  };
82304
81855
 
82305
- },{"../../../../minimalistic-assert-1.0.1/index":547,"../common":530,"../utils":540,"./common":539}],537:[function(require,module,exports){
81856
+ },{"../../../../minimalistic-assert-1.0.1/index":541,"../common":524,"../utils":534,"./common":533}],531:[function(require,module,exports){
82306
81857
  arguments[4][142][0].apply(exports,arguments)
82307
- },{"../utils":540,"./512":538,"dup":142}],538:[function(require,module,exports){
81858
+ },{"../utils":534,"./512":532,"dup":142}],532:[function(require,module,exports){
82308
81859
  'use strict';
82309
81860
 
82310
81861
  var utils = require('../utils');
@@ -82636,9 +82187,9 @@ function g1_512_lo(xh, xl) {
82636
82187
  return r;
82637
82188
  }
82638
82189
 
82639
- },{"../../../../minimalistic-assert-1.0.1/index":547,"../common":530,"../utils":540}],539:[function(require,module,exports){
82190
+ },{"../../../../minimalistic-assert-1.0.1/index":541,"../common":524,"../utils":534}],533:[function(require,module,exports){
82640
82191
  arguments[4][144][0].apply(exports,arguments)
82641
- },{"../utils":540,"dup":144}],540:[function(require,module,exports){
82192
+ },{"../utils":534,"dup":144}],534:[function(require,module,exports){
82642
82193
  'use strict';
82643
82194
 
82644
82195
  var assert = require('../../../minimalistic-assert-1.0.1/index');
@@ -82918,7 +82469,7 @@ function shr64_lo(ah, al, num) {
82918
82469
  }
82919
82470
  exports.shr64_lo = shr64_lo;
82920
82471
 
82921
- },{"../../../inherits-2.0.4/inherits":542,"../../../minimalistic-assert-1.0.1/index":547}],541:[function(require,module,exports){
82472
+ },{"../../../inherits-2.0.4/inherits":536,"../../../minimalistic-assert-1.0.1/index":541}],535:[function(require,module,exports){
82922
82473
  'use strict';
82923
82474
 
82924
82475
  var hash = require('../../hash.js-1.1.7/lib/hash');
@@ -83033,7 +82584,7 @@ HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) {
83033
82584
  return utils.encode(res, enc);
83034
82585
  };
83035
82586
 
83036
- },{"../../hash.js-1.1.7/lib/hash":529,"../../minimalistic-assert-1.0.1/index":547,"../../minimalistic-crypto-utils-1.0.1/lib/utils":548}],542:[function(require,module,exports){
82587
+ },{"../../hash.js-1.1.7/lib/hash":523,"../../minimalistic-assert-1.0.1/index":541,"../../minimalistic-crypto-utils-1.0.1/lib/utils":542}],536:[function(require,module,exports){
83037
82588
  try {
83038
82589
  var util = require('util');
83039
82590
  /* istanbul ignore next */
@@ -83044,9 +82595,9 @@ try {
83044
82595
  module.exports = require('./inherits_browser.js');
83045
82596
  }
83046
82597
 
83047
- },{"./inherits_browser.js":543,"util":212}],543:[function(require,module,exports){
82598
+ },{"./inherits_browser.js":537,"util":212}],537:[function(require,module,exports){
83048
82599
  arguments[4][148][0].apply(exports,arguments)
83049
- },{"dup":148}],544:[function(require,module,exports){
82600
+ },{"dup":148}],538:[function(require,module,exports){
83050
82601
  /*!
83051
82602
  * Determine if an object is a Buffer
83052
82603
  *
@@ -83059,7 +82610,7 @@ module.exports = function isBuffer (obj) {
83059
82610
  typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
83060
82611
  }
83061
82612
 
83062
- },{}],545:[function(require,module,exports){
82613
+ },{}],539:[function(require,module,exports){
83063
82614
  'use strict'
83064
82615
  var inherits = require('../inherits-2.0.4/inherits')
83065
82616
  var HashBase = require('../hash-base-3.0.4/index')
@@ -83207,13 +82758,13 @@ function fnI (a, b, c, d, m, k, s) {
83207
82758
 
83208
82759
  module.exports = MD5
83209
82760
 
83210
- },{"../hash-base-3.0.4/index":528,"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559}],546:[function(require,module,exports){
83211
- arguments[4][348][0].apply(exports,arguments)
83212
- },{"buffer":67,"dup":348}],547:[function(require,module,exports){
82761
+ },{"../hash-base-3.0.4/index":522,"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553}],540:[function(require,module,exports){
82762
+ arguments[4][347][0].apply(exports,arguments)
82763
+ },{"buffer":67,"dup":347}],541:[function(require,module,exports){
83213
82764
  arguments[4][157][0].apply(exports,arguments)
83214
- },{"dup":157}],548:[function(require,module,exports){
82765
+ },{"dup":157}],542:[function(require,module,exports){
83215
82766
  arguments[4][158][0].apply(exports,arguments)
83216
- },{"dup":158}],549:[function(require,module,exports){
82767
+ },{"dup":158}],543:[function(require,module,exports){
83217
82768
  /**
83218
82769
  * Helpers.
83219
82770
  */
@@ -83377,7 +82928,7 @@ function plural(ms, msAbs, n, name) {
83377
82928
  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
83378
82929
  }
83379
82930
 
83380
- },{}],550:[function(require,module,exports){
82931
+ },{}],544:[function(require,module,exports){
83381
82932
  assert.notEqual = notEqual
83382
82933
  assert.notOk = notOk
83383
82934
  assert.equal = equal
@@ -83401,7 +82952,7 @@ function assert (t, m) {
83401
82952
  if (!t) throw new Error(m || 'AssertionError')
83402
82953
  }
83403
82954
 
83404
- },{}],551:[function(require,module,exports){
82955
+ },{}],545:[function(require,module,exports){
83405
82956
  var checkParameters = require('./lib/precondition')
83406
82957
  var native = require('crypto')
83407
82958
 
@@ -83434,7 +82985,7 @@ if (!native.pbkdf2Sync || native.pbkdf2Sync.toString().indexOf('keylen, digest')
83434
82985
  exports.pbkdf2 = nativePBKDF2
83435
82986
  }
83436
82987
 
83437
- },{"./lib/async":552,"./lib/precondition":554,"./lib/sync":555,"crypto":78}],552:[function(require,module,exports){
82988
+ },{"./lib/async":546,"./lib/precondition":548,"./lib/sync":549,"crypto":78}],546:[function(require,module,exports){
83438
82989
  (function (process,global){(function (){
83439
82990
  var checkParameters = require('./precondition')
83440
82991
  var defaultEncoding = require('./default-encoding')
@@ -83538,7 +83089,7 @@ module.exports = function (password, salt, iterations, keylen, digest, callback)
83538
83089
  }
83539
83090
 
83540
83091
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
83541
- },{"../../safe-buffer-5.2.0/index":559,"./default-encoding":553,"./precondition":554,"./sync":555,"_process":171}],553:[function(require,module,exports){
83092
+ },{"../../safe-buffer-5.2.0/index":553,"./default-encoding":547,"./precondition":548,"./sync":549,"_process":171}],547:[function(require,module,exports){
83542
83093
  (function (process){(function (){
83543
83094
  var defaultEncoding
83544
83095
  /* istanbul ignore next */
@@ -83552,7 +83103,7 @@ if (process.browser) {
83552
83103
  module.exports = defaultEncoding
83553
83104
 
83554
83105
  }).call(this)}).call(this,require('_process'))
83555
- },{"_process":171}],554:[function(require,module,exports){
83106
+ },{"_process":171}],548:[function(require,module,exports){
83556
83107
  (function (Buffer){(function (){
83557
83108
  var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs
83558
83109
 
@@ -83584,7 +83135,7 @@ module.exports = function (password, salt, iterations, keylen) {
83584
83135
  }
83585
83136
 
83586
83137
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
83587
- },{"../../../../../../../node_modules/is-buffer/index.js":150}],555:[function(require,module,exports){
83138
+ },{"../../../../../../../node_modules/is-buffer/index.js":150}],549:[function(require,module,exports){
83588
83139
  var sizes = {
83589
83140
  md5: 16,
83590
83141
  sha1: 20,
@@ -83637,7 +83188,7 @@ function pbkdf2 (password, salt, iterations, keylen, digest) {
83637
83188
 
83638
83189
  module.exports = pbkdf2
83639
83190
 
83640
- },{"../../create-hmac-1.1.4/browser":493,"../../safe-buffer-5.2.0/index":559,"../lib/default-encoding":553,"../lib/precondition":554}],556:[function(require,module,exports){
83191
+ },{"../../create-hmac-1.1.4/browser":487,"../../safe-buffer-5.2.0/index":553,"../lib/default-encoding":547,"../lib/precondition":548}],550:[function(require,module,exports){
83641
83192
  var OPS = require('../bitcoin-ops-1.4.1/index.json')
83642
83193
 
83643
83194
  function encodingLength (i) {
@@ -83716,7 +83267,7 @@ module.exports = {
83716
83267
  decode: decode
83717
83268
  }
83718
83269
 
83719
- },{"../bitcoin-ops-1.4.1/index.json":436}],557:[function(require,module,exports){
83270
+ },{"../bitcoin-ops-1.4.1/index.json":430}],551:[function(require,module,exports){
83720
83271
  (function (process,global){(function (){
83721
83272
  'use strict'
83722
83273
 
@@ -83770,7 +83321,7 @@ function randomBytes (size, cb) {
83770
83321
  }
83771
83322
 
83772
83323
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
83773
- },{"../safe-buffer-5.2.0/index":559,"_process":171}],558:[function(require,module,exports){
83324
+ },{"../safe-buffer-5.2.0/index":553,"_process":171}],552:[function(require,module,exports){
83774
83325
  'use strict'
83775
83326
  var Buffer = require('buffer').Buffer
83776
83327
  var inherits = require('../inherits-2.0.4/inherits')
@@ -83935,7 +83486,7 @@ function fn5 (a, b, c, d, e, m, k, s) {
83935
83486
 
83936
83487
  module.exports = RIPEMD160
83937
83488
 
83938
- },{"../hash-base-3.0.4/index":528,"../inherits-2.0.4/inherits":542,"buffer":67}],559:[function(require,module,exports){
83489
+ },{"../hash-base-3.0.4/index":522,"../inherits-2.0.4/inherits":536,"buffer":67}],553:[function(require,module,exports){
83939
83490
  /* eslint-disable node/no-deprecated-api */
83940
83491
  var buffer = require('buffer')
83941
83492
  var Buffer = buffer.Buffer
@@ -84001,11 +83552,11 @@ SafeBuffer.allocUnsafeSlow = function (size) {
84001
83552
  return buffer.SlowBuffer(size)
84002
83553
  }
84003
83554
 
84004
- },{"buffer":67}],560:[function(require,module,exports){
83555
+ },{"buffer":67}],554:[function(require,module,exports){
84005
83556
  'use strict'
84006
83557
  module.exports = require('./lib')(require('./lib/elliptic'))
84007
83558
 
84008
- },{"./lib":564,"./lib/elliptic":563}],561:[function(require,module,exports){
83559
+ },{"./lib":558,"./lib/elliptic":557}],555:[function(require,module,exports){
84009
83560
  (function (Buffer){(function (){
84010
83561
  'use strict'
84011
83562
  var toString = Object.prototype.toString
@@ -84053,7 +83604,7 @@ exports.isNumberInInterval = function (number, x, y, message) {
84053
83604
  }
84054
83605
 
84055
83606
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
84056
- },{"../../../../../../../node_modules/is-buffer/index.js":150}],562:[function(require,module,exports){
83607
+ },{"../../../../../../../node_modules/is-buffer/index.js":150}],556:[function(require,module,exports){
84057
83608
  'use strict'
84058
83609
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
84059
83610
  var bip66 = require('../../bip66-1.1.5/index')
@@ -84248,7 +83799,7 @@ exports.signatureImportLax = function (sig) {
84248
83799
  return { r: r, s: s }
84249
83800
  }
84250
83801
 
84251
- },{"../../bip66-1.1.5/index":435,"../../safe-buffer-5.2.0/index":559}],563:[function(require,module,exports){
83802
+ },{"../../bip66-1.1.5/index":429,"../../safe-buffer-5.2.0/index":553}],557:[function(require,module,exports){
84252
83803
  'use strict'
84253
83804
  var Buffer = require('../../../safe-buffer-5.2.0/index').Buffer
84254
83805
  var createHash = require('../../../create-hash-1.2.0/browser')
@@ -84513,7 +84064,7 @@ exports.ecdhUnsafe = function (publicKey, privateKey, compressed) {
84513
84064
  return Buffer.from(pair.pub.mul(scalar).encode(true, compressed))
84514
84065
  }
84515
84066
 
84516
- },{"../../../bn.js-4.11.8/lib/bn":482,"../../../create-hash-1.2.0/browser":491,"../../../elliptic-6.5.3/lib/elliptic":506,"../../../safe-buffer-5.2.0/index":559,"../messages.json":565}],564:[function(require,module,exports){
84067
+ },{"../../../bn.js-4.11.8/lib/bn":476,"../../../create-hash-1.2.0/browser":485,"../../../elliptic-6.5.3/lib/elliptic":500,"../../../safe-buffer-5.2.0/index":553,"../messages.json":559}],558:[function(require,module,exports){
84517
84068
  'use strict'
84518
84069
  var assert = require('./assert')
84519
84070
  var der = require('./der')
@@ -84760,7 +84311,7 @@ module.exports = function (secp256k1) {
84760
84311
  }
84761
84312
  }
84762
84313
 
84763
- },{"./assert":561,"./der":562,"./messages.json":565}],565:[function(require,module,exports){
84314
+ },{"./assert":555,"./der":556,"./messages.json":559}],559:[function(require,module,exports){
84764
84315
  module.exports={
84765
84316
  "COMPRESSED_TYPE_INVALID": "compressed should be a boolean",
84766
84317
  "EC_PRIVATE_KEY_TYPE_INVALID": "private key should be a Buffer",
@@ -84798,10 +84349,10 @@ module.exports={
84798
84349
  "TWEAK_TYPE_INVALID": "tweak should be a Buffer",
84799
84350
  "TWEAK_LENGTH_INVALID": "tweak length is invalid"
84800
84351
  }
84801
- },{}],566:[function(require,module,exports){
84352
+ },{}],560:[function(require,module,exports){
84802
84353
  module.exports = require('./lib')(require('./lib/elliptic'))
84803
84354
 
84804
- },{"./lib":568,"./lib/elliptic":567}],567:[function(require,module,exports){
84355
+ },{"./lib":562,"./lib/elliptic":561}],561:[function(require,module,exports){
84805
84356
  const EC = require('../../elliptic-6.5.3/lib/elliptic').ec
84806
84357
 
84807
84358
  const ec = new EC('secp256k1')
@@ -85205,7 +84756,7 @@ module.exports = {
85205
84756
  }
85206
84757
  }
85207
84758
 
85208
- },{"../../elliptic-6.5.3/lib/elliptic":506}],568:[function(require,module,exports){
84759
+ },{"../../elliptic-6.5.3/lib/elliptic":500}],562:[function(require,module,exports){
85209
84760
  const errors = {
85210
84761
  IMPOSSIBLE_CASE: 'Impossible case. Please create issue.',
85211
84762
  TWEAK_ADD:
@@ -85543,7 +85094,7 @@ module.exports = (secp256k1) => {
85543
85094
  }
85544
85095
  }
85545
85096
 
85546
- },{}],569:[function(require,module,exports){
85097
+ },{}],563:[function(require,module,exports){
85547
85098
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
85548
85099
 
85549
85100
  // prototype class for hash functions
@@ -85626,7 +85177,7 @@ Hash.prototype._update = function () {
85626
85177
 
85627
85178
  module.exports = Hash
85628
85179
 
85629
- },{"../safe-buffer-5.2.0/index":559}],570:[function(require,module,exports){
85180
+ },{"../safe-buffer-5.2.0/index":553}],564:[function(require,module,exports){
85630
85181
  'use strict'
85631
85182
  var exports = (module.exports = function SHA(algorithm) {
85632
85183
  algorithm = algorithm.toLowerCase()
@@ -85644,7 +85195,7 @@ exports.sha256 = require('./sha256')
85644
85195
  exports.sha384 = require('./sha384')
85645
85196
  exports.sha512 = require('./sha512')
85646
85197
 
85647
- },{"./sha":571,"./sha1":572,"./sha224":573,"./sha256":574,"./sha384":575,"./sha512":576}],571:[function(require,module,exports){
85198
+ },{"./sha":565,"./sha1":566,"./sha224":567,"./sha256":568,"./sha384":569,"./sha512":570}],565:[function(require,module,exports){
85648
85199
  /*
85649
85200
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined
85650
85201
  * in FIPS PUB 180-1
@@ -85740,7 +85291,7 @@ Sha.prototype._hash = function () {
85740
85291
 
85741
85292
  module.exports = Sha
85742
85293
 
85743
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"./hash":569}],572:[function(require,module,exports){
85294
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"./hash":563}],566:[function(require,module,exports){
85744
85295
  /*
85745
85296
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
85746
85297
  * in FIPS PUB 180-1
@@ -85841,7 +85392,7 @@ Sha1.prototype._hash = function () {
85841
85392
 
85842
85393
  module.exports = Sha1
85843
85394
 
85844
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"./hash":569}],573:[function(require,module,exports){
85395
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"./hash":563}],567:[function(require,module,exports){
85845
85396
  /**
85846
85397
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
85847
85398
  * in FIPS 180-2
@@ -85896,7 +85447,7 @@ Sha224.prototype._hash = function () {
85896
85447
 
85897
85448
  module.exports = Sha224
85898
85449
 
85899
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"./hash":569,"./sha256":574}],574:[function(require,module,exports){
85450
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"./hash":563,"./sha256":568}],568:[function(require,module,exports){
85900
85451
  /**
85901
85452
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
85902
85453
  * in FIPS 180-2
@@ -86033,7 +85584,7 @@ Sha256.prototype._hash = function () {
86033
85584
 
86034
85585
  module.exports = Sha256
86035
85586
 
86036
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"./hash":569}],575:[function(require,module,exports){
85587
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"./hash":563}],569:[function(require,module,exports){
86037
85588
  var inherits = require('../inherits-2.0.4/inherits')
86038
85589
  var SHA512 = require('./sha512')
86039
85590
  var Hash = require('./hash')
@@ -86092,7 +85643,7 @@ Sha384.prototype._hash = function () {
86092
85643
 
86093
85644
  module.exports = Sha384
86094
85645
 
86095
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"./hash":569,"./sha512":576}],576:[function(require,module,exports){
85646
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"./hash":563,"./sha512":570}],570:[function(require,module,exports){
86096
85647
  var inherits = require('../inherits-2.0.4/inherits')
86097
85648
  var Hash = require('./hash')
86098
85649
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
@@ -86354,9 +85905,9 @@ Sha512.prototype._hash = function () {
86354
85905
 
86355
85906
  module.exports = Sha512
86356
85907
 
86357
- },{"../inherits-2.0.4/inherits":542,"../safe-buffer-5.2.0/index":559,"./hash":569}],577:[function(require,module,exports){
86358
- arguments[4][381][0].apply(exports,arguments)
86359
- },{"./native":580,"dup":381}],578:[function(require,module,exports){
85908
+ },{"../inherits-2.0.4/inherits":536,"../safe-buffer-5.2.0/index":553,"./hash":563}],571:[function(require,module,exports){
85909
+ arguments[4][380][0].apply(exports,arguments)
85910
+ },{"./native":574,"dup":380}],572:[function(require,module,exports){
86360
85911
  (function (Buffer){(function (){
86361
85912
  var NATIVE = require('./native')
86362
85913
  var ERRORS = require('./errors')
@@ -86451,11 +86002,11 @@ for (var typeName in types) {
86451
86002
  module.exports = types
86452
86003
 
86453
86004
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
86454
- },{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":577,"./native":580}],579:[function(require,module,exports){
86005
+ },{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":571,"./native":574}],573:[function(require,module,exports){
86006
+ arguments[4][382][0].apply(exports,arguments)
86007
+ },{"./errors":571,"./extra":572,"./native":574,"dup":382}],574:[function(require,module,exports){
86455
86008
  arguments[4][383][0].apply(exports,arguments)
86456
- },{"./errors":577,"./extra":578,"./native":580,"dup":383}],580:[function(require,module,exports){
86457
- arguments[4][384][0].apply(exports,arguments)
86458
- },{"dup":384}],581:[function(require,module,exports){
86009
+ },{"dup":383}],575:[function(require,module,exports){
86459
86010
  (function (root) {
86460
86011
  "use strict";
86461
86012
 
@@ -86909,7 +86460,7 @@ UChar.udata={
86909
86460
  }
86910
86461
  }(this));
86911
86462
 
86912
- },{}],582:[function(require,module,exports){
86463
+ },{}],576:[function(require,module,exports){
86913
86464
  'use strict'
86914
86465
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
86915
86466
 
@@ -87001,7 +86552,7 @@ function encodingLength (number) {
87001
86552
 
87002
86553
  module.exports = { encode: encode, decode: decode, encodingLength: encodingLength }
87003
86554
 
87004
- },{"../safe-buffer-5.2.0/index":559}],583:[function(require,module,exports){
86555
+ },{"../safe-buffer-5.2.0/index":553}],577:[function(require,module,exports){
87005
86556
  (function (Buffer){(function (){
87006
86557
  var bs58check = require('../bs58check-2.1.2/index')
87007
86558
 
@@ -87068,7 +86619,7 @@ module.exports = {
87068
86619
  }
87069
86620
 
87070
86621
  }).call(this)}).call(this,require("buffer").Buffer)
87071
- },{"../bs58check-2.1.2/index":486,"buffer":67}],584:[function(require,module,exports){
86622
+ },{"../bs58check-2.1.2/index":480,"buffer":67}],578:[function(require,module,exports){
87072
86623
  "use strict";
87073
86624
  var __extends = (this && this.__extends) || (function () {
87074
86625
  var extendStatics = function (d, b) {
@@ -87128,7 +86679,7 @@ var CoinlibAssertionError = /** @class */ (function (_super) {
87128
86679
  }(Error));
87129
86680
  exports.CoinlibAssertionError = CoinlibAssertionError;
87130
86681
 
87131
- },{}],585:[function(require,module,exports){
86682
+ },{}],579:[function(require,module,exports){
87132
86683
  "use strict";
87133
86684
  var __extends = (this && this.__extends) || (function () {
87134
86685
  var extendStatics = function (d, b) {
@@ -87407,63 +86958,7 @@ var InvalidString = /** @class */ (function (_super) {
87407
86958
  }(SerializerError));
87408
86959
  exports.InvalidString = InvalidString;
87409
86960
 
87410
- },{"./coinlib-error":584}],586:[function(require,module,exports){
87411
- "use strict";
87412
- Object.defineProperty(exports, "__esModule", { value: true });
87413
- 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;
87414
- var Action_1 = require("./actions/Action");
87415
- Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return Action_1.Action; } });
87416
- var LinkedAction_1 = require("./actions/LinkedAction");
87417
- Object.defineProperty(exports, "LinkedAction", { enumerable: true, get: function () { return LinkedAction_1.LinkedAction; } });
87418
- var RepeatableAction_1 = require("./actions/RepeatableAction");
87419
- Object.defineProperty(exports, "RepeatableAction", { enumerable: true, get: function () { return RepeatableAction_1.RepeatableAction; } });
87420
- var SimpleAction_1 = require("./actions/SimpleAction");
87421
- Object.defineProperty(exports, "SimpleAction", { enumerable: true, get: function () { return SimpleAction_1.SimpleAction; } });
87422
- var errors_1 = require("./errors");
87423
- Object.defineProperty(exports, "BalanceError", { enumerable: true, get: function () { return errors_1.BalanceError; } });
87424
- Object.defineProperty(exports, "NetworkError", { enumerable: true, get: function () { return errors_1.NetworkError; } });
87425
- Object.defineProperty(exports, "ProtocolErrorType", { enumerable: true, get: function () { return errors_1.ProtocolErrorType; } });
87426
- Object.defineProperty(exports, "ProtocolNotSupported", { enumerable: true, get: function () { return errors_1.ProtocolNotSupported; } });
87427
- Object.defineProperty(exports, "SerializerErrorType", { enumerable: true, get: function () { return errors_1.SerializerErrorType; } });
87428
- Object.defineProperty(exports, "SerializerVersionMismatch", { enumerable: true, get: function () { return errors_1.SerializerVersionMismatch; } });
87429
- Object.defineProperty(exports, "TransactionError", { enumerable: true, get: function () { return errors_1.TransactionError; } });
87430
- Object.defineProperty(exports, "TypeNotSupported", { enumerable: true, get: function () { return errors_1.TypeNotSupported; } });
87431
- var coinlib_error_1 = require("./errors/coinlib-error");
87432
- Object.defineProperty(exports, "CoinlibError", { enumerable: true, get: function () { return coinlib_error_1.CoinlibError; } });
87433
- Object.defineProperty(exports, "Domain", { enumerable: true, get: function () { return coinlib_error_1.Domain; } });
87434
- var CryptoClient_1 = require("./protocols/CryptoClient");
87435
- Object.defineProperty(exports, "CryptoClient", { enumerable: true, get: function () { return CryptoClient_1.CryptoClient; } });
87436
- var ICoinSubProtocol_1 = require("./protocols/ICoinSubProtocol");
87437
- Object.defineProperty(exports, "SubProtocolType", { enumerable: true, get: function () { return ICoinSubProtocol_1.SubProtocolType; } });
87438
- var assert_1 = require("./utils/assert");
87439
- Object.defineProperty(exports, "assertNever", { enumerable: true, get: function () { return assert_1.assertNever; } });
87440
- var buffer_1 = require("./utils/buffer");
87441
- Object.defineProperty(exports, "bufferFrom", { enumerable: true, get: function () { return buffer_1.bufferFrom; } });
87442
- var Network_1 = require("./utils/Network");
87443
- Object.defineProperty(exports, "isNetworkEqual", { enumerable: true, get: function () { return Network_1.isNetworkEqual; } });
87444
- var ProtocolBlockExplorer_1 = require("./utils/ProtocolBlockExplorer");
87445
- Object.defineProperty(exports, "ProtocolBlockExplorer", { enumerable: true, get: function () { return ProtocolBlockExplorer_1.ProtocolBlockExplorer; } });
87446
- var ProtocolNetwork_1 = require("./utils/ProtocolNetwork");
87447
- Object.defineProperty(exports, "NetworkType", { enumerable: true, get: function () { return ProtocolNetwork_1.NetworkType; } });
87448
- Object.defineProperty(exports, "ProtocolNetwork", { enumerable: true, get: function () { return ProtocolNetwork_1.ProtocolNetwork; } });
87449
- var ProtocolSymbols_1 = require("./utils/ProtocolSymbols");
87450
- Object.defineProperty(exports, "isMainProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isMainProtocolSymbol; } });
87451
- Object.defineProperty(exports, "isProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isProtocolSymbol; } });
87452
- Object.defineProperty(exports, "isSubProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isSubProtocolSymbol; } });
87453
- Object.defineProperty(exports, "MainProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.MainProtocolSymbols; } });
87454
- Object.defineProperty(exports, "SubProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.SubProtocolSymbols; } });
87455
- var AirGapCoinWallet_1 = require("./wallet/AirGapCoinWallet");
87456
- Object.defineProperty(exports, "AirGapCoinWallet", { enumerable: true, get: function () { return AirGapCoinWallet_1.AirGapCoinWallet; } });
87457
- Object.defineProperty(exports, "TimeInterval", { enumerable: true, get: function () { return AirGapCoinWallet_1.TimeInterval; } });
87458
- var AirGapMarketWallet_1 = require("./wallet/AirGapMarketWallet");
87459
- Object.defineProperty(exports, "AirGapMarketWallet", { enumerable: true, get: function () { return AirGapMarketWallet_1.AirGapMarketWallet; } });
87460
- var AirGapNFTWallet_1 = require("./wallet/AirGapNFTWallet");
87461
- Object.defineProperty(exports, "AirGapNFTWallet", { enumerable: true, get: function () { return AirGapNFTWallet_1.AirGapNFTWallet; } });
87462
- var AirGapWallet_1 = require("./wallet/AirGapWallet");
87463
- Object.defineProperty(exports, "AirGapWallet", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWallet; } });
87464
- Object.defineProperty(exports, "AirGapWalletStatus", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWalletStatus; } });
87465
-
87466
- },{"./actions/Action":388,"./actions/LinkedAction":389,"./actions/RepeatableAction":390,"./actions/SimpleAction":391,"./errors":585,"./errors/coinlib-error":584,"./protocols/CryptoClient":587,"./protocols/ICoinSubProtocol":588,"./utils/Network":591,"./utils/ProtocolBlockExplorer":592,"./utils/ProtocolNetwork":593,"./utils/ProtocolSymbols":594,"./utils/assert":595,"./utils/buffer":596,"./wallet/AirGapCoinWallet":599,"./wallet/AirGapMarketWallet":600,"./wallet/AirGapNFTWallet":601,"./wallet/AirGapWallet":602}],587:[function(require,module,exports){
86961
+ },{"./coinlib-error":578}],580:[function(require,module,exports){
87467
86962
  "use strict";
87468
86963
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
87469
86964
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -87548,17 +87043,7 @@ var CryptoClient = /** @class */ (function () {
87548
87043
  }());
87549
87044
  exports.CryptoClient = CryptoClient;
87550
87045
 
87551
- },{"../errors":585,"../errors/coinlib-error":584,"../utils/AES":590}],588:[function(require,module,exports){
87552
- "use strict";
87553
- Object.defineProperty(exports, "__esModule", { value: true });
87554
- exports.SubProtocolType = void 0;
87555
- var SubProtocolType;
87556
- (function (SubProtocolType) {
87557
- SubProtocolType["ACCOUNT"] = "account";
87558
- SubProtocolType["TOKEN"] = "token";
87559
- })(SubProtocolType = exports.SubProtocolType || (exports.SubProtocolType = {}));
87560
-
87561
- },{}],589:[function(require,module,exports){
87046
+ },{"../errors":579,"../errors/coinlib-error":578,"../utils/AES":582}],581:[function(require,module,exports){
87562
87047
  (function (Buffer){(function (){
87563
87048
  "use strict";
87564
87049
  var __extends = (this && this.__extends) || (function () {
@@ -87638,7 +87123,7 @@ var Secp256k1CryptoClient = /** @class */ (function (_super) {
87638
87123
  exports.Secp256k1CryptoClient = Secp256k1CryptoClient;
87639
87124
 
87640
87125
  }).call(this)}).call(this,require("buffer").Buffer)
87641
- },{"../dependencies/src/eciesjs-0.3.9/src/index":496,"./CryptoClient":587,"buffer":67}],590:[function(require,module,exports){
87126
+ },{"../dependencies/src/eciesjs-0.3.9/src/index":490,"./CryptoClient":580,"buffer":67}],582:[function(require,module,exports){
87642
87127
  (function (Buffer){(function (){
87643
87128
  "use strict";
87644
87129
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -87802,28 +87287,7 @@ var AES = /** @class */ (function () {
87802
87287
  exports.AES = AES;
87803
87288
 
87804
87289
  }).call(this)}).call(this,require("buffer").Buffer)
87805
- },{"../errors":585,"../errors/coinlib-error":584,"./hex":597,"buffer":67,"crypto":78}],591:[function(require,module,exports){
87806
- "use strict";
87807
- Object.defineProperty(exports, "__esModule", { value: true });
87808
- exports.isNetworkEqual = void 0;
87809
- var isNetworkEqual = function (network1, network2) {
87810
- return network1.name === network2.name && network1.type === network2.type && network1.rpcUrl === network2.rpcUrl;
87811
- };
87812
- exports.isNetworkEqual = isNetworkEqual;
87813
-
87814
- },{}],592:[function(require,module,exports){
87815
- "use strict";
87816
- Object.defineProperty(exports, "__esModule", { value: true });
87817
- exports.ProtocolBlockExplorer = void 0;
87818
- var ProtocolBlockExplorer = /** @class */ (function () {
87819
- function ProtocolBlockExplorer(blockExplorer) {
87820
- this.blockExplorer = blockExplorer;
87821
- }
87822
- return ProtocolBlockExplorer;
87823
- }());
87824
- exports.ProtocolBlockExplorer = ProtocolBlockExplorer;
87825
-
87826
- },{}],593:[function(require,module,exports){
87290
+ },{"../errors":579,"../errors/coinlib-error":578,"./hex":585,"buffer":67,"crypto":78}],583:[function(require,module,exports){
87827
87291
  "use strict";
87828
87292
  Object.defineProperty(exports, "__esModule", { value: true });
87829
87293
  exports.ProtocolNetwork = exports.NetworkType = void 0;
@@ -87859,7 +87323,7 @@ var ProtocolNetwork = /** @class */ (function () {
87859
87323
  }());
87860
87324
  exports.ProtocolNetwork = ProtocolNetwork;
87861
87325
 
87862
- },{"../dependencies/src/create-hash-1.2.0/index":492}],594:[function(require,module,exports){
87326
+ },{"../dependencies/src/create-hash-1.2.0/index":486}],584:[function(require,module,exports){
87863
87327
  "use strict";
87864
87328
  Object.defineProperty(exports, "__esModule", { value: true });
87865
87329
  exports.isProtocolSymbol = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.SubProtocolSymbols = exports.MainProtocolSymbols = void 0;
@@ -87918,39 +87382,7 @@ function isProtocolSymbol(identifier) {
87918
87382
  }
87919
87383
  exports.isProtocolSymbol = isProtocolSymbol;
87920
87384
 
87921
- },{}],595:[function(require,module,exports){
87922
- "use strict";
87923
- Object.defineProperty(exports, "__esModule", { value: true });
87924
- exports.assertFields = exports.assertNever = void 0;
87925
- var errors_1 = require("../errors");
87926
- var coinlib_error_1 = require("../errors/coinlib-error");
87927
- var assertNever = function (x) { return undefined; };
87928
- exports.assertNever = assertNever;
87929
- function assertFields(name, object) {
87930
- var fields = [];
87931
- for (var _i = 2; _i < arguments.length; _i++) {
87932
- fields[_i - 2] = arguments[_i];
87933
- }
87934
- fields.forEach(function (field) {
87935
- if (object[field] === undefined || object[field] === null) {
87936
- throw new errors_1.ConditionViolationError(coinlib_error_1.Domain.UTILS, name + ", required: " + fields.join(', ') + ", but " + field + " is missing.");
87937
- }
87938
- });
87939
- }
87940
- exports.assertFields = assertFields;
87941
-
87942
- },{"../errors":585,"../errors/coinlib-error":584}],596:[function(require,module,exports){
87943
- (function (Buffer){(function (){
87944
- "use strict";
87945
- Object.defineProperty(exports, "__esModule", { value: true });
87946
- exports.bufferFrom = void 0;
87947
- var bufferFrom = function (data, encoding) {
87948
- return Buffer.from(data, encoding);
87949
- };
87950
- exports.bufferFrom = bufferFrom;
87951
-
87952
- }).call(this)}).call(this,require("buffer").Buffer)
87953
- },{"buffer":67}],597:[function(require,module,exports){
87385
+ },{}],585:[function(require,module,exports){
87954
87386
  (function (Buffer){(function (){
87955
87387
  "use strict";
87956
87388
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -88065,7 +87497,7 @@ function fillToTargetLength(hexString, bitLength) {
88065
87497
  }
88066
87498
 
88067
87499
  }).call(this)}).call(this,require("buffer").Buffer)
88068
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"./padStart":598,"buffer":67}],598:[function(require,module,exports){
87500
+ },{"../dependencies/src/bignumber.js-9.0.0/bignumber":419,"./padStart":586,"buffer":67}],586:[function(require,module,exports){
88069
87501
  "use strict";
88070
87502
  Object.defineProperty(exports, "__esModule", { value: true });
88071
87503
  exports.padStart = void 0;
@@ -88086,746 +87518,10 @@ function padStart(targetString, targetLength, padString) {
88086
87518
  }
88087
87519
  exports.padStart = padStart;
88088
87520
 
88089
- },{}],599:[function(require,module,exports){
88090
- "use strict";
88091
- var __extends = (this && this.__extends) || (function () {
88092
- var extendStatics = function (d, b) {
88093
- extendStatics = Object.setPrototypeOf ||
88094
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88095
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88096
- return extendStatics(d, b);
88097
- };
88098
- return function (d, b) {
88099
- extendStatics(d, b);
88100
- function __() { this.constructor = d; }
88101
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88102
- };
88103
- })();
88104
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88105
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88106
- return new (P || (P = Promise))(function (resolve, reject) {
88107
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88108
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88109
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88110
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88111
- });
88112
- };
88113
- var __generator = (this && this.__generator) || function (thisArg, body) {
88114
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88115
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88116
- function verb(n) { return function (v) { return step([n, v]); }; }
88117
- function step(op) {
88118
- if (f) throw new TypeError("Generator is already executing.");
88119
- while (_) try {
88120
- 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;
88121
- if (y = 0, t) op = [op[0] & 2, t.value];
88122
- switch (op[0]) {
88123
- case 0: case 1: t = op; break;
88124
- case 4: _.label++; return { value: op[1], done: false };
88125
- case 5: _.label++; y = op[1]; op = [0]; continue;
88126
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88127
- default:
88128
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88129
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88130
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88131
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88132
- if (t[2]) _.ops.pop();
88133
- _.trys.pop(); continue;
88134
- }
88135
- op = body.call(thisArg, _);
88136
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88137
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88138
- }
88139
- };
88140
- var __importDefault = (this && this.__importDefault) || function (mod) {
88141
- return (mod && mod.__esModule) ? mod : { "default": mod };
88142
- };
88143
- Object.defineProperty(exports, "__esModule", { value: true });
88144
- exports.AirGapCoinWallet = exports.TimeInterval = void 0;
88145
- var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
88146
- var ProtocolNetwork_1 = require("../utils/ProtocolNetwork");
88147
- var ProtocolSymbols_1 = require("../utils/ProtocolSymbols");
88148
- var AirGapMarketWallet_1 = require("./AirGapMarketWallet");
88149
- var TimeInterval;
88150
- (function (TimeInterval) {
88151
- TimeInterval["HOURS"] = "24h";
88152
- TimeInterval["DAYS"] = "7d";
88153
- TimeInterval["MONTH"] = "30d";
88154
- })(TimeInterval = exports.TimeInterval || (exports.TimeInterval = {}));
88155
- var AirGapCoinWallet = /** @class */ (function (_super) {
88156
- __extends(AirGapCoinWallet, _super);
88157
- function AirGapCoinWallet() {
88158
- return _super !== null && _super.apply(this, arguments) || this;
88159
- }
88160
- AirGapCoinWallet.prototype.getCurrentBalance = function () {
88161
- return this.currentBalance;
88162
- };
88163
- AirGapCoinWallet.prototype.setCurrentBalance = function (balance) {
88164
- this.currentBalance = balance;
88165
- };
88166
- AirGapCoinWallet.prototype.getCurrentMarketPrice = function () {
88167
- return this.currentMarketPrice;
88168
- };
88169
- AirGapCoinWallet.prototype.setCurrentMarketPrice = function (marketPrice) {
88170
- return __awaiter(this, void 0, void 0, function () {
88171
- var _a;
88172
- return __generator(this, function (_b) {
88173
- switch (_b.label) {
88174
- case 0:
88175
- _a = this;
88176
- return [4 /*yield*/, this.protocol.getOptions()];
88177
- case 1:
88178
- _a.currentMarketPrice = (_b.sent()).network.type === ProtocolNetwork_1.NetworkType.MAINNET ? marketPrice : new bignumber_1.default(0);
88179
- return [2 /*return*/];
88180
- }
88181
- });
88182
- });
88183
- };
88184
- AirGapCoinWallet.prototype._synchronize = function () {
88185
- return __awaiter(this, void 0, void 0, function () {
88186
- var _a, balance, marketPrice;
88187
- return __generator(this, function (_b) {
88188
- switch (_b.label) {
88189
- case 0: return [4 /*yield*/, Promise.all([this.balanceOf(), this.fetchCurrentMarketPrice()])];
88190
- case 1:
88191
- _a = _b.sent(), balance = _a[0], marketPrice = _a[1];
88192
- this.setCurrentBalance(balance);
88193
- return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice)];
88194
- case 2:
88195
- _b.sent();
88196
- return [2 /*return*/];
88197
- }
88198
- });
88199
- });
88200
- };
88201
- AirGapCoinWallet.prototype.reset = function () {
88202
- this.currentBalance = undefined;
88203
- this.currentMarketPrice = undefined;
88204
- };
88205
- AirGapCoinWallet.prototype.fetchCurrentMarketPrice = function (baseSymbol) {
88206
- if (baseSymbol === void 0) { baseSymbol = 'USD'; }
88207
- return __awaiter(this, void 0, void 0, function () {
88208
- var marketPrice;
88209
- return __generator(this, function (_a) {
88210
- switch (_a.label) {
88211
- case 0: return [4 /*yield*/, this.priceService.getCurrentMarketPrice(this.protocol, baseSymbol)];
88212
- case 1:
88213
- marketPrice = _a.sent();
88214
- return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice)];
88215
- case 2:
88216
- _a.sent();
88217
- return [2 /*return*/, marketPrice];
88218
- }
88219
- });
88220
- });
88221
- };
88222
- AirGapCoinWallet.prototype.balanceOf = function () {
88223
- return __awaiter(this, void 0, void 0, function () {
88224
- var protocolIdentifier, result, _a, _b, _c, _d, _e;
88225
- return __generator(this, function (_f) {
88226
- switch (_f.label) {
88227
- case 0: return [4 /*yield*/, this.protocol.getIdentifier()];
88228
- case 1:
88229
- protocolIdentifier = _f.sent();
88230
- if (!((protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC ||
88231
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC_SEGWIT ||
88232
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.GRS) &&
88233
- this.isExtendedPublicKey)) return [3 /*break*/, 3];
88234
- _a = bignumber_1.default.bind;
88235
- return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
88236
- case 2:
88237
- // TODO: Remove and test
88238
- /*
88239
- We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
88240
-
88241
- The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
88242
- multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
88243
-
88244
- We can also not simply change the order of the following if/else, because then it would use the xPub method for
88245
- BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
88246
- */
88247
- result = new (_a.apply(bignumber_1.default, [void 0, _f.sent()]))();
88248
- return [3 /*break*/, 11];
88249
- case 3:
88250
- if (!(protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.XTZ_SHIELDED) /* TODO: cover ALL sapling protocols */) return [3 /*break*/, 5]; /* TODO: cover ALL sapling protocols */
88251
- _b = bignumber_1.default.bind;
88252
- return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
88253
- case 4:
88254
- result = new (_b.apply(bignumber_1.default, [void 0, _f.sent()]))();
88255
- return [3 /*break*/, 11];
88256
- case 5:
88257
- if (!(this.addresses.length > 0)) return [3 /*break*/, 7];
88258
- _c = bignumber_1.default.bind;
88259
- return [4 /*yield*/, this.protocol.getBalanceOfAddresses(this.addressesToCheck())];
88260
- case 6:
88261
- result = new (_c.apply(bignumber_1.default, [void 0, _f.sent()]))();
88262
- return [3 /*break*/, 11];
88263
- case 7:
88264
- if (!this.isExtendedPublicKey) return [3 /*break*/, 9];
88265
- _d = bignumber_1.default.bind;
88266
- return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
88267
- case 8:
88268
- result = new (_d.apply(bignumber_1.default, [void 0, _f.sent()]))();
88269
- return [3 /*break*/, 11];
88270
- case 9:
88271
- _e = bignumber_1.default.bind;
88272
- return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
88273
- case 10:
88274
- result = new (_e.apply(bignumber_1.default, [void 0, _f.sent()]))();
88275
- _f.label = 11;
88276
- case 11:
88277
- this.setCurrentBalance(result);
88278
- return [2 /*return*/, result];
88279
- }
88280
- });
88281
- });
88282
- };
88283
- return AirGapCoinWallet;
88284
- }(AirGapMarketWallet_1.AirGapMarketWallet));
88285
- exports.AirGapCoinWallet = AirGapCoinWallet;
88286
-
88287
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"../utils/ProtocolNetwork":593,"../utils/ProtocolSymbols":594,"./AirGapMarketWallet":600}],600:[function(require,module,exports){
88288
- "use strict";
88289
- var __extends = (this && this.__extends) || (function () {
88290
- var extendStatics = function (d, b) {
88291
- extendStatics = Object.setPrototypeOf ||
88292
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88293
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88294
- return extendStatics(d, b);
88295
- };
88296
- return function (d, b) {
88297
- extendStatics(d, b);
88298
- function __() { this.constructor = d; }
88299
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88300
- };
88301
- })();
88302
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88303
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88304
- return new (P || (P = Promise))(function (resolve, reject) {
88305
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88306
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88307
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88308
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88309
- });
88310
- };
88311
- var __generator = (this && this.__generator) || function (thisArg, body) {
88312
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88313
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88314
- function verb(n) { return function (v) { return step([n, v]); }; }
88315
- function step(op) {
88316
- if (f) throw new TypeError("Generator is already executing.");
88317
- while (_) try {
88318
- 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;
88319
- if (y = 0, t) op = [op[0] & 2, t.value];
88320
- switch (op[0]) {
88321
- case 0: case 1: t = op; break;
88322
- case 4: _.label++; return { value: op[1], done: false };
88323
- case 5: _.label++; y = op[1]; op = [0]; continue;
88324
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88325
- default:
88326
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88327
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88328
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88329
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88330
- if (t[2]) _.ops.pop();
88331
- _.trys.pop(); continue;
88332
- }
88333
- op = body.call(thisArg, _);
88334
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88335
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88336
- }
88337
- };
88338
- var __importDefault = (this && this.__importDefault) || function (mod) {
88339
- return (mod && mod.__esModule) ? mod : { "default": mod };
88340
- };
88341
- Object.defineProperty(exports, "__esModule", { value: true });
88342
- exports.AirGapMarketWallet = void 0;
88343
- var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
88344
- var ProtocolSymbols_1 = require("../utils/ProtocolSymbols");
88345
- var AirGapWallet_1 = require("./AirGapWallet");
88346
- var AirGapMarketWallet = /** @class */ (function (_super) {
88347
- __extends(AirGapMarketWallet, _super);
88348
- function AirGapMarketWallet(protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, priceService, addressIndex) {
88349
- var _this = _super.call(this, protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, addressIndex) || this;
88350
- _this.protocol = protocol;
88351
- _this.publicKey = publicKey;
88352
- _this.isExtendedPublicKey = isExtendedPublicKey;
88353
- _this.derivationPath = derivationPath;
88354
- _this.masterFingerprint = masterFingerprint;
88355
- _this.status = status;
88356
- _this.priceService = priceService;
88357
- _this.addressIndex = addressIndex;
88358
- return _this;
88359
- }
88360
- AirGapMarketWallet.prototype.addressesToCheck = function () {
88361
- var addressesToReceive = this.addressIndex !== undefined ? [this.addresses[this.addressIndex]] : this.addresses;
88362
- return addressesToReceive;
88363
- };
88364
- AirGapMarketWallet.prototype.setProtocol = function (protocol) {
88365
- return __awaiter(this, void 0, void 0, function () {
88366
- return __generator(this, function (_a) {
88367
- switch (_a.label) {
88368
- case 0: return [4 /*yield*/, _super.prototype.setProtocol.call(this, protocol)];
88369
- case 1:
88370
- _a.sent();
88371
- this.reset();
88372
- return [4 /*yield*/, this.synchronize()];
88373
- case 2:
88374
- _a.sent();
88375
- return [2 /*return*/];
88376
- }
88377
- });
88378
- });
88379
- };
88380
- AirGapMarketWallet.prototype.synchronize = function () {
88381
- var args = [];
88382
- for (var _i = 0; _i < arguments.length; _i++) {
88383
- args[_i] = arguments[_i];
88384
- }
88385
- return __awaiter(this, void 0, void 0, function () {
88386
- var _this = this;
88387
- return __generator(this, function (_a) {
88388
- if (this.synchronizePromise === undefined) {
88389
- this.synchronizePromise = this._synchronize.apply(this, args).finally(function () {
88390
- _this.synchronizePromise = undefined;
88391
- });
88392
- }
88393
- return [2 /*return*/, this.synchronizePromise];
88394
- });
88395
- });
88396
- };
88397
- AirGapMarketWallet.prototype.fetchTransactions = function (limit, cursor) {
88398
- return __awaiter(this, void 0, void 0, function () {
88399
- var protocolIdentifier, transactionResult;
88400
- return __generator(this, function (_a) {
88401
- switch (_a.label) {
88402
- case 0: return [4 /*yield*/, this.protocol.getIdentifier()
88403
- // let transactions: IAirGapTransaction[] = []
88404
- ];
88405
- case 1:
88406
- protocolIdentifier = _a.sent();
88407
- if (!((protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC ||
88408
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC_SEGWIT ||
88409
- protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.GRS) &&
88410
- this.isExtendedPublicKey)) return [3 /*break*/, 3];
88411
- return [4 /*yield*/, this.protocol.getTransactionsFromExtendedPublicKey(this.publicKey, limit, cursor)];
88412
- case 2:
88413
- // TODO: Remove and test
88414
- /*
88415
- We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
88416
-
88417
- The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
88418
- multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
88419
-
88420
- We can also not simply change the order of the following if/else, because then it would use the xPub method for
88421
- BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
88422
- */
88423
- transactionResult = _a.sent();
88424
- return [3 /*break*/, 11];
88425
- case 3:
88426
- if (!(protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.XTZ_SHIELDED) /* TODO: cover ALL sapling protocols */) return [3 /*break*/, 5]; /* TODO: cover ALL sapling protocols */
88427
- return [4 /*yield*/, this.protocol.getTransactionsFromPublicKey(this.publicKey, limit, cursor)];
88428
- case 4:
88429
- transactionResult = _a.sent();
88430
- return [3 /*break*/, 11];
88431
- case 5:
88432
- if (!(this.addresses.length > 0)) return [3 /*break*/, 7];
88433
- return [4 /*yield*/, this.protocol.getTransactionsFromAddresses(this.addressesToCheck(), limit, cursor)];
88434
- case 6:
88435
- transactionResult = _a.sent();
88436
- return [3 /*break*/, 11];
88437
- case 7:
88438
- if (!this.isExtendedPublicKey) return [3 /*break*/, 9];
88439
- return [4 /*yield*/, this.protocol.getTransactionsFromExtendedPublicKey(this.publicKey, limit, cursor)];
88440
- case 8:
88441
- transactionResult = _a.sent();
88442
- return [3 /*break*/, 11];
88443
- case 9: return [4 /*yield*/, this.protocol.getTransactionsFromPublicKey(this.publicKey, limit, cursor)];
88444
- case 10:
88445
- transactionResult = _a.sent();
88446
- _a.label = 11;
88447
- case 11: return [2 /*return*/, transactionResult];
88448
- }
88449
- });
88450
- });
88451
- };
88452
- AirGapMarketWallet.prototype.prepareTransaction = function (recipients, values, fee, data) {
88453
- if (this.isExtendedPublicKey) {
88454
- return this.protocol.prepareTransactionFromExtendedPublicKey(this.publicKey, 0, recipients, values, fee, data);
88455
- }
88456
- else {
88457
- if (this.addressIndex) {
88458
- data = Object.assign(data, { addressIndex: this.addressIndex });
88459
- }
88460
- return this.protocol.prepareTransactionFromPublicKey(this.publicKey, recipients, values, fee, data);
88461
- }
88462
- };
88463
- AirGapMarketWallet.prototype.getMaxTransferValue = function (recipients, fee, data) {
88464
- return __awaiter(this, void 0, void 0, function () {
88465
- var _a, _b;
88466
- return __generator(this, function (_c) {
88467
- switch (_c.label) {
88468
- case 0:
88469
- if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
88470
- _a = bignumber_1.default.bind;
88471
- return [4 /*yield*/, this.protocol.estimateMaxTransactionValueFromExtendedPublicKey(this.publicKey, recipients, fee, data)];
88472
- case 1: return [2 /*return*/, new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))()];
88473
- case 2:
88474
- if (this.addressIndex) {
88475
- data = Object.assign(data, { addressIndex: this.addressIndex });
88476
- }
88477
- _b = bignumber_1.default.bind;
88478
- return [4 /*yield*/, this.protocol.estimateMaxTransactionValueFromPublicKey(this.publicKey, recipients, fee, data)];
88479
- case 3: return [2 /*return*/, new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))()];
88480
- }
88481
- });
88482
- });
88483
- };
88484
- AirGapMarketWallet.prototype.estimateFees = function (recipients, values, data) {
88485
- return __awaiter(this, void 0, void 0, function () {
88486
- return __generator(this, function (_a) {
88487
- if (this.isExtendedPublicKey) {
88488
- return [2 /*return*/, this.protocol.estimateFeeDefaultsFromExtendedPublicKey(this.publicKey, recipients, values, data)];
88489
- }
88490
- else {
88491
- if (this.addressIndex) {
88492
- data = Object.assign(data, { addressIndex: this.addressIndex });
88493
- }
88494
- return [2 /*return*/, this.protocol.estimateFeeDefaultsFromPublicKey(this.publicKey, recipients, values, data)];
88495
- }
88496
- return [2 /*return*/];
88497
- });
88498
- });
88499
- };
88500
- return AirGapMarketWallet;
88501
- }(AirGapWallet_1.AirGapWallet));
88502
- exports.AirGapMarketWallet = AirGapMarketWallet;
88503
-
88504
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"../utils/ProtocolSymbols":594,"./AirGapWallet":602}],601:[function(require,module,exports){
88505
- "use strict";
88506
- var __extends = (this && this.__extends) || (function () {
88507
- var extendStatics = function (d, b) {
88508
- extendStatics = Object.setPrototypeOf ||
88509
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88510
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88511
- return extendStatics(d, b);
88512
- };
88513
- return function (d, b) {
88514
- extendStatics(d, b);
88515
- function __() { this.constructor = d; }
88516
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88517
- };
88518
- })();
88519
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88520
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88521
- return new (P || (P = Promise))(function (resolve, reject) {
88522
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88523
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88524
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88525
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88526
- });
88527
- };
88528
- var __generator = (this && this.__generator) || function (thisArg, body) {
88529
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88530
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88531
- function verb(n) { return function (v) { return step([n, v]); }; }
88532
- function step(op) {
88533
- if (f) throw new TypeError("Generator is already executing.");
88534
- while (_) try {
88535
- 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;
88536
- if (y = 0, t) op = [op[0] & 2, t.value];
88537
- switch (op[0]) {
88538
- case 0: case 1: t = op; break;
88539
- case 4: _.label++; return { value: op[1], done: false };
88540
- case 5: _.label++; y = op[1]; op = [0]; continue;
88541
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88542
- default:
88543
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88544
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88545
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88546
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88547
- if (t[2]) _.ops.pop();
88548
- _.trys.pop(); continue;
88549
- }
88550
- op = body.call(thisArg, _);
88551
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88552
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88553
- }
88554
- };
88555
- var __importDefault = (this && this.__importDefault) || function (mod) {
88556
- return (mod && mod.__esModule) ? mod : { "default": mod };
88557
- };
88558
- Object.defineProperty(exports, "__esModule", { value: true });
88559
- exports.AirGapNFTWallet = void 0;
88560
- var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
88561
- var ProtocolNetwork_1 = require("../utils/ProtocolNetwork");
88562
- var AirGapMarketWallet_1 = require("./AirGapMarketWallet");
88563
- var AirGapNFTWallet = /** @class */ (function (_super) {
88564
- __extends(AirGapNFTWallet, _super);
88565
- function AirGapNFTWallet() {
88566
- var _this = _super !== null && _super.apply(this, arguments) || this;
88567
- _this.currentBalance = {};
88568
- _this.currentMarketPrice = {};
88569
- return _this;
88570
- }
88571
- AirGapNFTWallet.prototype.getCurrentBalance = function (assetID) {
88572
- return this.currentBalance[assetID];
88573
- };
88574
- AirGapNFTWallet.prototype.setCurrentBalance = function (balance, assetID) {
88575
- this.currentBalance[assetID] = balance;
88576
- };
88577
- AirGapNFTWallet.prototype.getCurrentMarketPrice = function (assetID) {
88578
- return this.currentMarketPrice[assetID];
88579
- };
88580
- AirGapNFTWallet.prototype.setCurrentMarketPrice = function (marketPrice, assetID) {
88581
- return __awaiter(this, void 0, void 0, function () {
88582
- var _a, _b;
88583
- return __generator(this, function (_c) {
88584
- switch (_c.label) {
88585
- case 0:
88586
- _a = this.getCurrentMarketPrice;
88587
- _b = assetID;
88588
- return [4 /*yield*/, this.protocol.getOptions()];
88589
- case 1:
88590
- _a[_b] =
88591
- (_c.sent()).network.type === ProtocolNetwork_1.NetworkType.MAINNET ? marketPrice : new bignumber_1.default(0);
88592
- return [2 /*return*/];
88593
- }
88594
- });
88595
- });
88596
- };
88597
- AirGapNFTWallet.prototype.synchronize = function (assetsID) {
88598
- if (assetsID === void 0) { assetsID = []; }
88599
- return __awaiter(this, void 0, void 0, function () {
88600
- return __generator(this, function (_a) {
88601
- return [2 /*return*/, _super.prototype.synchronize.call(this, assetsID)];
88602
- });
88603
- });
88604
- };
88605
- AirGapNFTWallet.prototype._synchronize = function (assetIDs) {
88606
- if (assetIDs === void 0) { assetIDs = []; }
88607
- return __awaiter(this, void 0, void 0, function () {
88608
- var _this = this;
88609
- return __generator(this, function (_a) {
88610
- switch (_a.label) {
88611
- case 0: return [4 /*yield*/, Promise.all(assetIDs.map(function (assetID) { return __awaiter(_this, void 0, void 0, function () {
88612
- var _a, balance, marketPrice;
88613
- return __generator(this, function (_b) {
88614
- switch (_b.label) {
88615
- case 0: return [4 /*yield*/, Promise.all([this.balanceOf(assetID), this.fetchCurrentMarketPrice(assetID)])];
88616
- case 1:
88617
- _a = _b.sent(), balance = _a[0], marketPrice = _a[1];
88618
- this.setCurrentBalance(balance, assetID);
88619
- return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice, assetID)];
88620
- case 2:
88621
- _b.sent();
88622
- return [2 /*return*/];
88623
- }
88624
- });
88625
- }); }))];
88626
- case 1:
88627
- _a.sent();
88628
- return [2 /*return*/];
88629
- }
88630
- });
88631
- });
88632
- };
88633
- AirGapNFTWallet.prototype.reset = function () {
88634
- this.currentBalance = {};
88635
- this.currentMarketPrice = {};
88636
- };
88637
- AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (assetID, _baseSymbol) {
88638
- if (_baseSymbol === void 0) { _baseSymbol = 'USD'; }
88639
- return __awaiter(this, void 0, void 0, function () {
88640
- var result;
88641
- return __generator(this, function (_a) {
88642
- switch (_a.label) {
88643
- case 0:
88644
- result = new bignumber_1.default(0);
88645
- return [4 /*yield*/, this.setCurrentMarketPrice(result, assetID)];
88646
- case 1:
88647
- _a.sent();
88648
- return [2 /*return*/, result];
88649
- }
88650
- });
88651
- });
88652
- };
88653
- AirGapNFTWallet.prototype.balanceOf = function (assetID) {
88654
- return __awaiter(this, void 0, void 0, function () {
88655
- var result, _a, _b;
88656
- return __generator(this, function (_c) {
88657
- switch (_c.label) {
88658
- case 0:
88659
- if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
88660
- _a = bignumber_1.default.bind;
88661
- return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0, { assetID: assetID })];
88662
- case 1:
88663
- result = new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))();
88664
- return [3 /*break*/, 4];
88665
- case 2:
88666
- _b = bignumber_1.default.bind;
88667
- return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey, { addressIndex: this.addressIndex, assetID: assetID })];
88668
- case 3:
88669
- result = new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))();
88670
- _c.label = 4;
88671
- case 4:
88672
- this.setCurrentBalance(result, assetID);
88673
- return [2 /*return*/, result];
88674
- }
88675
- });
88676
- });
88677
- };
88678
- return AirGapNFTWallet;
88679
- }(AirGapMarketWallet_1.AirGapMarketWallet));
88680
- exports.AirGapNFTWallet = AirGapNFTWallet;
88681
-
88682
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":425,"../utils/ProtocolNetwork":593,"./AirGapMarketWallet":600}],602:[function(require,module,exports){
88683
- "use strict";
88684
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
88685
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88686
- return new (P || (P = Promise))(function (resolve, reject) {
88687
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
88688
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
88689
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
88690
- step((generator = generator.apply(thisArg, _arguments || [])).next());
88691
- });
88692
- };
88693
- var __generator = (this && this.__generator) || function (thisArg, body) {
88694
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88695
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
88696
- function verb(n) { return function (v) { return step([n, v]); }; }
88697
- function step(op) {
88698
- if (f) throw new TypeError("Generator is already executing.");
88699
- while (_) try {
88700
- 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;
88701
- if (y = 0, t) op = [op[0] & 2, t.value];
88702
- switch (op[0]) {
88703
- case 0: case 1: t = op; break;
88704
- case 4: _.label++; return { value: op[1], done: false };
88705
- case 5: _.label++; y = op[1]; op = [0]; continue;
88706
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
88707
- default:
88708
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
88709
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
88710
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
88711
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
88712
- if (t[2]) _.ops.pop();
88713
- _.trys.pop(); continue;
88714
- }
88715
- op = body.call(thisArg, _);
88716
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
88717
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
88718
- }
88719
- };
88720
- Object.defineProperty(exports, "__esModule", { value: true });
88721
- exports.AirGapWallet = exports.AirGapWalletStatus = void 0;
88722
- var errors_1 = require("../errors");
88723
- var coinlib_error_1 = require("../errors/coinlib-error");
88724
- var AirGapWalletStatus;
88725
- (function (AirGapWalletStatus) {
88726
- AirGapWalletStatus["ACTIVE"] = "active";
88727
- AirGapWalletStatus["HIDDEN"] = "hidden";
88728
- AirGapWalletStatus["DELETED"] = "deleted";
88729
- AirGapWalletStatus["TRANSIENT"] = "transient";
88730
- })(AirGapWalletStatus = exports.AirGapWalletStatus || (exports.AirGapWalletStatus = {}));
88731
- var AirGapWallet = /** @class */ (function () {
88732
- function AirGapWallet(protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, addressIndex) {
88733
- this.protocol = protocol;
88734
- this.publicKey = publicKey;
88735
- this.isExtendedPublicKey = isExtendedPublicKey;
88736
- this.derivationPath = derivationPath;
88737
- this.masterFingerprint = masterFingerprint;
88738
- this.status = status;
88739
- this.addressIndex = addressIndex;
88740
- this.addresses = []; // used for cache
88741
- }
88742
- Object.defineProperty(AirGapWallet.prototype, "receivingPublicAddress", {
88743
- get: function () {
88744
- return this.addresses[this.addressIndex !== undefined ? this.addressIndex : 0];
88745
- },
88746
- enumerable: false,
88747
- configurable: true
88748
- });
88749
- AirGapWallet.prototype.setProtocol = function (protocol) {
88750
- return __awaiter(this, void 0, void 0, function () {
88751
- var _a;
88752
- return __generator(this, function (_b) {
88753
- switch (_b.label) {
88754
- case 0: return [4 /*yield*/, this.protocol.getIdentifier()];
88755
- case 1:
88756
- _a = (_b.sent());
88757
- return [4 /*yield*/, protocol.getIdentifier()];
88758
- case 2:
88759
- if (_a !== (_b.sent())) {
88760
- throw new errors_1.ConditionViolationError(coinlib_error_1.Domain.WALLET, 'Can only set same protocol with a different network');
88761
- }
88762
- this.protocol = protocol;
88763
- return [2 /*return*/];
88764
- }
88765
- });
88766
- });
88767
- };
88768
- AirGapWallet.prototype.deriveAddresses = function (amount) {
88769
- if (amount === void 0) { amount = 50; }
88770
- return __awaiter(this, void 0, void 0, function () {
88771
- var addresses, parts, offset;
88772
- return __generator(this, function (_a) {
88773
- switch (_a.label) {
88774
- case 0:
88775
- if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
88776
- parts = this.derivationPath.split('/');
88777
- offset = 0;
88778
- if (!parts[parts.length - 1].endsWith("'")) {
88779
- offset = Number.parseInt(parts[parts.length - 1], 10);
88780
- }
88781
- return [4 /*yield*/, Promise.all([
88782
- this.protocol.getAddressesFromExtendedPublicKey(this.publicKey, 0, amount, offset),
88783
- this.protocol.getAddressesFromExtendedPublicKey(this.publicKey, 1, amount, offset)
88784
- ])];
88785
- case 1:
88786
- addresses = (_a.sent()).reduce(function (flatten, next) { return flatten.concat(next); }, []);
88787
- return [3 /*break*/, 4];
88788
- case 2: return [4 /*yield*/, this.protocol.getAddressesFromPublicKey(this.publicKey)];
88789
- case 3:
88790
- addresses = _a.sent();
88791
- _a.label = 4;
88792
- case 4: return [2 /*return*/, addresses.map(function (address) { return address.address; })];
88793
- }
88794
- });
88795
- });
88796
- };
88797
- AirGapWallet.prototype.toJSON = function () {
88798
- return __awaiter(this, void 0, void 0, function () {
88799
- var _a;
88800
- return __generator(this, function (_b) {
88801
- switch (_b.label) {
88802
- case 0:
88803
- _a = {};
88804
- return [4 /*yield*/, this.protocol.getIdentifier()];
88805
- case 1:
88806
- _a.protocolIdentifier = _b.sent();
88807
- return [4 /*yield*/, this.protocol.getOptions()];
88808
- case 2: return [2 /*return*/, (_a.networkIdentifier = (_b.sent()).network.identifier,
88809
- _a.publicKey = this.publicKey,
88810
- _a.isExtendedPublicKey = this.isExtendedPublicKey,
88811
- _a.derivationPath = this.derivationPath,
88812
- _a.addresses = this.addresses,
88813
- _a.masterFingerprint = this.masterFingerprint,
88814
- _a.status = this.status,
88815
- _a.addressIndex = this.addressIndex,
88816
- _a)];
88817
- }
88818
- });
88819
- });
88820
- };
88821
- return AirGapWallet;
88822
- }());
88823
- exports.AirGapWallet = AirGapWallet;
88824
-
88825
- },{"../errors":585,"../errors/coinlib-error":584}],603:[function(require,module,exports){
87521
+ },{}],587:[function(require,module,exports){
88826
87522
  "use strict";
88827
87523
  Object.defineProperty(exports, "__esModule", { value: true });
88828
- exports.createProtocolByIdentifier = exports.GroestlcoinProtocolOptions = exports.GroestlcoinProtocolConfig = exports.GroestlcoinProtocolNetwork = exports.CryptoidBlockExplorer = exports.GroestlcoinProtocolNetworkExtras = exports.GroestlcoinTestnetProtocol = exports.GroestlcoinProtocol = void 0;
87524
+ exports.GroestlcoinProtocolOptions = exports.GroestlcoinProtocolConfig = exports.GroestlcoinProtocolNetwork = exports.CryptoidBlockExplorer = exports.GroestlcoinProtocolNetworkExtras = exports.GroestlcoinTestnetProtocol = exports.GroestlcoinProtocol = void 0;
88829
87525
  var GroestlcoinProtocol_1 = require("./protocol/GroestlcoinProtocol");
88830
87526
  Object.defineProperty(exports, "GroestlcoinProtocol", { enumerable: true, get: function () { return GroestlcoinProtocol_1.GroestlcoinProtocol; } });
88831
87527
  var GroestlcoinProtocolOptions_1 = require("./protocol/GroestlcoinProtocolOptions");
@@ -88836,10 +87532,8 @@ Object.defineProperty(exports, "GroestlcoinProtocolNetworkExtras", { enumerable:
88836
87532
  Object.defineProperty(exports, "GroestlcoinProtocolOptions", { enumerable: true, get: function () { return GroestlcoinProtocolOptions_1.GroestlcoinProtocolOptions; } });
88837
87533
  var GroestlcoinTestnetProtocol_1 = require("./protocol/GroestlcoinTestnetProtocol");
88838
87534
  Object.defineProperty(exports, "GroestlcoinTestnetProtocol", { enumerable: true, get: function () { return GroestlcoinTestnetProtocol_1.GroestlcoinTestnetProtocol; } });
88839
- var create_protocol_1 = require("./utils/create-protocol");
88840
- Object.defineProperty(exports, "createProtocolByIdentifier", { enumerable: true, get: function () { return create_protocol_1.createProtocolByIdentifier; } });
88841
87535
 
88842
- },{"./protocol/GroestlcoinProtocol":604,"./protocol/GroestlcoinProtocolOptions":605,"./protocol/GroestlcoinTestnetProtocol":606,"./utils/create-protocol":607}],604:[function(require,module,exports){
87536
+ },{"./protocol/GroestlcoinProtocol":588,"./protocol/GroestlcoinProtocolOptions":589,"./protocol/GroestlcoinTestnetProtocol":590}],588:[function(require,module,exports){
88843
87537
  "use strict";
88844
87538
  var __extends = (this && this.__extends) || (function () {
88845
87539
  var extendStatics = function (d, b) {
@@ -88922,7 +87616,7 @@ var GroestlcoinProtocol = /** @class */ (function (_super) {
88922
87616
  }(bitcoin_1.BitcoinProtocol));
88923
87617
  exports.GroestlcoinProtocol = GroestlcoinProtocol;
88924
87618
 
88925
- },{"./GroestlcoinProtocolOptions":605,"@airgap/bitcoin":214,"@airgap/coinlib-core/dependencies/src/groestlcoinjs-message-2.1.0/index":527,"@airgap/coinlib-core/utils/ProtocolSymbols":594}],605:[function(require,module,exports){
87619
+ },{"./GroestlcoinProtocolOptions":589,"@airgap/bitcoin":214,"@airgap/coinlib-core/dependencies/src/groestlcoinjs-message-2.1.0/index":521,"@airgap/coinlib-core/utils/ProtocolSymbols":584}],589:[function(require,module,exports){
88926
87620
  "use strict";
88927
87621
  var __extends = (this && this.__extends) || (function () {
88928
87622
  var extendStatics = function (d, b) {
@@ -89065,7 +87759,7 @@ var GroestlcoinProtocolOptions = /** @class */ (function () {
89065
87759
  }());
89066
87760
  exports.GroestlcoinProtocolOptions = GroestlcoinProtocolOptions;
89067
87761
 
89068
- },{"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":450,"@airgap/coinlib-core/utils/ProtocolNetwork":593}],606:[function(require,module,exports){
87762
+ },{"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":444,"@airgap/coinlib-core/utils/ProtocolNetwork":583}],590:[function(require,module,exports){
89069
87763
  "use strict";
89070
87764
  var __extends = (this && this.__extends) || (function () {
89071
87765
  var extendStatics = function (d, b) {
@@ -89115,22 +87809,5 @@ var GroestlcoinTestnetProtocol = /** @class */ (function (_super) {
89115
87809
  }(bitcoin_1.BitcoinProtocol));
89116
87810
  exports.GroestlcoinTestnetProtocol = GroestlcoinTestnetProtocol;
89117
87811
 
89118
- },{"./GroestlcoinProtocolOptions":605,"@airgap/bitcoin":214,"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":450,"@airgap/coinlib-core/utils/ProtocolNetwork":593}],607:[function(require,module,exports){
89119
- "use strict";
89120
- Object.defineProperty(exports, "__esModule", { value: true });
89121
- exports.createProtocolByIdentifier = void 0;
89122
- var coinlib_core_1 = require("@airgap/coinlib-core");
89123
- var GroestlcoinProtocol_1 = require("../protocol/GroestlcoinProtocol");
89124
- // tslint:disable-next-line: cyclomatic-complexity
89125
- function createProtocolByIdentifier(identifier, options) {
89126
- switch (identifier) {
89127
- case coinlib_core_1.MainProtocolSymbols.GRS:
89128
- return new GroestlcoinProtocol_1.GroestlcoinProtocol(options);
89129
- default:
89130
- throw new Error("Unkown protocol identifier " + identifier + ".");
89131
- }
89132
- }
89133
- exports.createProtocolByIdentifier = createProtocolByIdentifier;
89134
-
89135
- },{"../protocol/GroestlcoinProtocol":604,"@airgap/coinlib-core":586}]},{},[603])(603)
87812
+ },{"./GroestlcoinProtocolOptions":589,"@airgap/bitcoin":214,"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index":444,"@airgap/coinlib-core/utils/ProtocolNetwork":583}]},{},[587])(587)
89136
87813
  });