@airgap/wallet 0.13.9-beta.0 → 0.13.9-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/airgap-coinlib-wallet.min.js +56 -118
- package/package.json +3 -3
|
@@ -13189,7 +13189,7 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
13189
13189
|
cb(err);
|
|
13190
13190
|
};
|
|
13191
13191
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
13192
|
-
},{"../errors":47,"./_stream_duplex":48,"./internal/streams/destroy":55,"./internal/streams/state":59,"./internal/streams/stream":60,"_process":149,"buffer":62,"inherits":132,"util-deprecate":
|
|
13192
|
+
},{"../errors":47,"./_stream_duplex":48,"./internal/streams/destroy":55,"./internal/streams/state":59,"./internal/streams/stream":60,"_process":149,"buffer":62,"inherits":132,"util-deprecate":186}],53:[function(require,module,exports){
|
|
13193
13193
|
(function (process){(function (){
|
|
13194
13194
|
'use strict';
|
|
13195
13195
|
|
|
@@ -21890,7 +21890,7 @@ arguments[4][50][0].apply(exports,arguments)
|
|
|
21890
21890
|
arguments[4][51][0].apply(exports,arguments)
|
|
21891
21891
|
},{"../errors":103,"./_stream_duplex":104,"dup":51,"inherits":132}],108:[function(require,module,exports){
|
|
21892
21892
|
arguments[4][52][0].apply(exports,arguments)
|
|
21893
|
-
},{"../errors":103,"./_stream_duplex":104,"./internal/streams/destroy":111,"./internal/streams/state":115,"./internal/streams/stream":116,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":
|
|
21893
|
+
},{"../errors":103,"./_stream_duplex":104,"./internal/streams/destroy":111,"./internal/streams/state":115,"./internal/streams/stream":116,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":186}],109:[function(require,module,exports){
|
|
21894
21894
|
arguments[4][53][0].apply(exports,arguments)
|
|
21895
21895
|
},{"./end-of-stream":112,"_process":149,"dup":53}],110:[function(require,module,exports){
|
|
21896
21896
|
arguments[4][54][0].apply(exports,arguments)
|
|
@@ -26241,7 +26241,7 @@ arguments[4][50][0].apply(exports,arguments)
|
|
|
26241
26241
|
arguments[4][51][0].apply(exports,arguments)
|
|
26242
26242
|
},{"../errors":171,"./_stream_duplex":172,"dup":51,"inherits":132}],176:[function(require,module,exports){
|
|
26243
26243
|
arguments[4][52][0].apply(exports,arguments)
|
|
26244
|
-
},{"../errors":171,"./_stream_duplex":172,"./internal/streams/destroy":179,"./internal/streams/state":183,"./internal/streams/stream":184,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":
|
|
26244
|
+
},{"../errors":171,"./_stream_duplex":172,"./internal/streams/destroy":179,"./internal/streams/state":183,"./internal/streams/stream":184,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":186}],177:[function(require,module,exports){
|
|
26245
26245
|
arguments[4][53][0].apply(exports,arguments)
|
|
26246
26246
|
},{"./end-of-stream":180,"_process":149,"dup":53}],178:[function(require,module,exports){
|
|
26247
26247
|
arguments[4][54][0].apply(exports,arguments)
|
|
@@ -26554,71 +26554,7 @@ function simpleWrite(buf) {
|
|
|
26554
26554
|
function simpleEnd(buf) {
|
|
26555
26555
|
return buf && buf.length ? this.write(buf) : '';
|
|
26556
26556
|
}
|
|
26557
|
-
},{"safe-buffer":
|
|
26558
|
-
/* eslint-disable node/no-deprecated-api */
|
|
26559
|
-
var buffer = require('buffer')
|
|
26560
|
-
var Buffer = buffer.Buffer
|
|
26561
|
-
|
|
26562
|
-
// alternative to using Object.keys for old browsers
|
|
26563
|
-
function copyProps (src, dst) {
|
|
26564
|
-
for (var key in src) {
|
|
26565
|
-
dst[key] = src[key]
|
|
26566
|
-
}
|
|
26567
|
-
}
|
|
26568
|
-
if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
|
|
26569
|
-
module.exports = buffer
|
|
26570
|
-
} else {
|
|
26571
|
-
// Copy properties from require('buffer')
|
|
26572
|
-
copyProps(buffer, exports)
|
|
26573
|
-
exports.Buffer = SafeBuffer
|
|
26574
|
-
}
|
|
26575
|
-
|
|
26576
|
-
function SafeBuffer (arg, encodingOrOffset, length) {
|
|
26577
|
-
return Buffer(arg, encodingOrOffset, length)
|
|
26578
|
-
}
|
|
26579
|
-
|
|
26580
|
-
// Copy static methods from Buffer
|
|
26581
|
-
copyProps(Buffer, SafeBuffer)
|
|
26582
|
-
|
|
26583
|
-
SafeBuffer.from = function (arg, encodingOrOffset, length) {
|
|
26584
|
-
if (typeof arg === 'number') {
|
|
26585
|
-
throw new TypeError('Argument must not be a number')
|
|
26586
|
-
}
|
|
26587
|
-
return Buffer(arg, encodingOrOffset, length)
|
|
26588
|
-
}
|
|
26589
|
-
|
|
26590
|
-
SafeBuffer.alloc = function (size, fill, encoding) {
|
|
26591
|
-
if (typeof size !== 'number') {
|
|
26592
|
-
throw new TypeError('Argument must be a number')
|
|
26593
|
-
}
|
|
26594
|
-
var buf = Buffer(size)
|
|
26595
|
-
if (fill !== undefined) {
|
|
26596
|
-
if (typeof encoding === 'string') {
|
|
26597
|
-
buf.fill(fill, encoding)
|
|
26598
|
-
} else {
|
|
26599
|
-
buf.fill(fill)
|
|
26600
|
-
}
|
|
26601
|
-
} else {
|
|
26602
|
-
buf.fill(0)
|
|
26603
|
-
}
|
|
26604
|
-
return buf
|
|
26605
|
-
}
|
|
26606
|
-
|
|
26607
|
-
SafeBuffer.allocUnsafe = function (size) {
|
|
26608
|
-
if (typeof size !== 'number') {
|
|
26609
|
-
throw new TypeError('Argument must be a number')
|
|
26610
|
-
}
|
|
26611
|
-
return Buffer(size)
|
|
26612
|
-
}
|
|
26613
|
-
|
|
26614
|
-
SafeBuffer.allocUnsafeSlow = function (size) {
|
|
26615
|
-
if (typeof size !== 'number') {
|
|
26616
|
-
throw new TypeError('Argument must be a number')
|
|
26617
|
-
}
|
|
26618
|
-
return buffer.SlowBuffer(size)
|
|
26619
|
-
}
|
|
26620
|
-
|
|
26621
|
-
},{"buffer":62}],187:[function(require,module,exports){
|
|
26557
|
+
},{"safe-buffer":160}],186:[function(require,module,exports){
|
|
26622
26558
|
(function (global){(function (){
|
|
26623
26559
|
|
|
26624
26560
|
/**
|
|
@@ -26689,7 +26625,7 @@ function config (name) {
|
|
|
26689
26625
|
}
|
|
26690
26626
|
|
|
26691
26627
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
26692
|
-
},{}],
|
|
26628
|
+
},{}],187:[function(require,module,exports){
|
|
26693
26629
|
"use strict";
|
|
26694
26630
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26695
26631
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -26809,7 +26745,7 @@ var Action = /** @class */ (function () {
|
|
|
26809
26745
|
}());
|
|
26810
26746
|
exports.Action = Action;
|
|
26811
26747
|
|
|
26812
|
-
},{"../errors":
|
|
26748
|
+
},{"../errors":195,"../errors/coinlib-error":194,"./StateMachine":191}],188:[function(require,module,exports){
|
|
26813
26749
|
"use strict";
|
|
26814
26750
|
var __extends = (this && this.__extends) || (function () {
|
|
26815
26751
|
var extendStatics = function (d, b) {
|
|
@@ -26905,7 +26841,7 @@ var LinkedAction = /** @class */ (function (_super) {
|
|
|
26905
26841
|
}(Action_1.Action));
|
|
26906
26842
|
exports.LinkedAction = LinkedAction;
|
|
26907
26843
|
|
|
26908
|
-
},{"./Action":
|
|
26844
|
+
},{"./Action":187}],189:[function(require,module,exports){
|
|
26909
26845
|
"use strict";
|
|
26910
26846
|
var __extends = (this && this.__extends) || (function () {
|
|
26911
26847
|
var extendStatics = function (d, b) {
|
|
@@ -26998,7 +26934,7 @@ var RepeatableAction = /** @class */ (function (_super) {
|
|
|
26998
26934
|
}(Action_1.Action));
|
|
26999
26935
|
exports.RepeatableAction = RepeatableAction;
|
|
27000
26936
|
|
|
27001
|
-
},{"./Action":
|
|
26937
|
+
},{"./Action":187}],190:[function(require,module,exports){
|
|
27002
26938
|
"use strict";
|
|
27003
26939
|
var __extends = (this && this.__extends) || (function () {
|
|
27004
26940
|
var extendStatics = function (d, b) {
|
|
@@ -27079,7 +27015,7 @@ var SimpleAction = /** @class */ (function (_super) {
|
|
|
27079
27015
|
}(Action_1.Action));
|
|
27080
27016
|
exports.SimpleAction = SimpleAction;
|
|
27081
27017
|
|
|
27082
|
-
},{"./Action":
|
|
27018
|
+
},{"./Action":187}],191:[function(require,module,exports){
|
|
27083
27019
|
"use strict";
|
|
27084
27020
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27085
27021
|
exports.StateMachine = void 0;
|
|
@@ -27122,7 +27058,7 @@ var StateMachine = /** @class */ (function () {
|
|
|
27122
27058
|
}());
|
|
27123
27059
|
exports.StateMachine = StateMachine;
|
|
27124
27060
|
|
|
27125
|
-
},{"../errors":
|
|
27061
|
+
},{"../errors":195,"../errors/coinlib-error":194}],192:[function(require,module,exports){
|
|
27126
27062
|
;(function (globalObject) {
|
|
27127
27063
|
'use strict';
|
|
27128
27064
|
|
|
@@ -30026,10 +29962,10 @@ exports.StateMachine = StateMachine;
|
|
|
30026
29962
|
}
|
|
30027
29963
|
})(this);
|
|
30028
29964
|
|
|
30029
|
-
},{}],
|
|
29965
|
+
},{}],193:[function(require,module,exports){
|
|
30030
29966
|
module.exports = require('crypto').createHash
|
|
30031
29967
|
|
|
30032
|
-
},{"crypto":71}],
|
|
29968
|
+
},{"crypto":71}],194:[function(require,module,exports){
|
|
30033
29969
|
"use strict";
|
|
30034
29970
|
var __extends = (this && this.__extends) || (function () {
|
|
30035
29971
|
var extendStatics = function (d, b) {
|
|
@@ -30064,6 +30000,7 @@ var Domain;
|
|
|
30064
30000
|
Domain["TEZOSFA"] = "TEZOSFA";
|
|
30065
30001
|
Domain["UTILS"] = "UTILS";
|
|
30066
30002
|
Domain["ACTIONS"] = "ACTIONS";
|
|
30003
|
+
Domain["ICP"] = "ICP";
|
|
30067
30004
|
})(Domain = exports.Domain || (exports.Domain = {}));
|
|
30068
30005
|
var CoinlibError = /** @class */ (function (_super) {
|
|
30069
30006
|
__extends(CoinlibError, _super);
|
|
@@ -30091,7 +30028,7 @@ var CoinlibAssertionError = /** @class */ (function (_super) {
|
|
|
30091
30028
|
}(Error));
|
|
30092
30029
|
exports.CoinlibAssertionError = CoinlibAssertionError;
|
|
30093
30030
|
|
|
30094
|
-
},{}],
|
|
30031
|
+
},{}],195:[function(require,module,exports){
|
|
30095
30032
|
"use strict";
|
|
30096
30033
|
var __extends = (this && this.__extends) || (function () {
|
|
30097
30034
|
var extendStatics = function (d, b) {
|
|
@@ -30373,7 +30310,7 @@ var InvalidString = /** @class */ (function (_super) {
|
|
|
30373
30310
|
}(SerializerError));
|
|
30374
30311
|
exports.InvalidString = InvalidString;
|
|
30375
30312
|
|
|
30376
|
-
},{"./coinlib-error":
|
|
30313
|
+
},{"./coinlib-error":194}],196:[function(require,module,exports){
|
|
30377
30314
|
"use strict";
|
|
30378
30315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30379
30316
|
exports.bufferFrom = exports.hasConfigurableContract = exports.implementsInterface = 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;
|
|
@@ -30432,7 +30369,7 @@ var AirGapWallet_1 = require("./wallet/AirGapWallet");
|
|
|
30432
30369
|
Object.defineProperty(exports, "AirGapWallet", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWallet; } });
|
|
30433
30370
|
Object.defineProperty(exports, "AirGapWalletStatus", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWalletStatus; } });
|
|
30434
30371
|
|
|
30435
|
-
},{"./actions/Action":
|
|
30372
|
+
},{"./actions/Action":187,"./actions/LinkedAction":188,"./actions/RepeatableAction":189,"./actions/SimpleAction":190,"./errors":195,"./errors/coinlib-error":194,"./protocols/CryptoClient":197,"./protocols/ICoinSubProtocol":198,"./utils/Network":200,"./utils/ProtocolBlockExplorer":201,"./utils/ProtocolNetwork":202,"./utils/ProtocolSymbols":203,"./utils/assert":204,"./utils/buffer":205,"./utils/interfaces":207,"./wallet/AirGapCoinWallet":209,"./wallet/AirGapMarketWallet":210,"./wallet/AirGapNFTWallet":211,"./wallet/AirGapWallet":212}],197:[function(require,module,exports){
|
|
30436
30373
|
"use strict";
|
|
30437
30374
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30438
30375
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -30517,7 +30454,7 @@ var CryptoClient = /** @class */ (function () {
|
|
|
30517
30454
|
}());
|
|
30518
30455
|
exports.CryptoClient = CryptoClient;
|
|
30519
30456
|
|
|
30520
|
-
},{"../errors":
|
|
30457
|
+
},{"../errors":195,"../errors/coinlib-error":194,"../utils/AES":199}],198:[function(require,module,exports){
|
|
30521
30458
|
"use strict";
|
|
30522
30459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30523
30460
|
exports.SubProtocolType = void 0;
|
|
@@ -30527,7 +30464,7 @@ var SubProtocolType;
|
|
|
30527
30464
|
SubProtocolType["TOKEN"] = "token";
|
|
30528
30465
|
})(SubProtocolType = exports.SubProtocolType || (exports.SubProtocolType = {}));
|
|
30529
30466
|
|
|
30530
|
-
},{}],
|
|
30467
|
+
},{}],199:[function(require,module,exports){
|
|
30531
30468
|
(function (Buffer){(function (){
|
|
30532
30469
|
"use strict";
|
|
30533
30470
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -30695,7 +30632,7 @@ var AES = /** @class */ (function () {
|
|
|
30695
30632
|
exports.AES = AES;
|
|
30696
30633
|
|
|
30697
30634
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
30698
|
-
},{"../errors":
|
|
30635
|
+
},{"../errors":195,"../errors/coinlib-error":194,"./hex":206,"buffer":62,"crypto":71}],200:[function(require,module,exports){
|
|
30699
30636
|
"use strict";
|
|
30700
30637
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30701
30638
|
exports.isNetworkEqual = void 0;
|
|
@@ -30704,7 +30641,7 @@ var isNetworkEqual = function (network1, network2) {
|
|
|
30704
30641
|
};
|
|
30705
30642
|
exports.isNetworkEqual = isNetworkEqual;
|
|
30706
30643
|
|
|
30707
|
-
},{}],
|
|
30644
|
+
},{}],201:[function(require,module,exports){
|
|
30708
30645
|
"use strict";
|
|
30709
30646
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30710
30647
|
exports.ProtocolBlockExplorer = void 0;
|
|
@@ -30716,7 +30653,7 @@ var ProtocolBlockExplorer = /** @class */ (function () {
|
|
|
30716
30653
|
}());
|
|
30717
30654
|
exports.ProtocolBlockExplorer = ProtocolBlockExplorer;
|
|
30718
30655
|
|
|
30719
|
-
},{}],
|
|
30656
|
+
},{}],202:[function(require,module,exports){
|
|
30720
30657
|
"use strict";
|
|
30721
30658
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30722
30659
|
exports.ProtocolNetwork = exports.NetworkType = void 0;
|
|
@@ -30752,7 +30689,7 @@ var ProtocolNetwork = /** @class */ (function () {
|
|
|
30752
30689
|
}());
|
|
30753
30690
|
exports.ProtocolNetwork = ProtocolNetwork;
|
|
30754
30691
|
|
|
30755
|
-
},{"../dependencies/src/create-hash-1.2.0/index":
|
|
30692
|
+
},{"../dependencies/src/create-hash-1.2.0/index":193}],203:[function(require,module,exports){
|
|
30756
30693
|
"use strict";
|
|
30757
30694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30758
30695
|
exports.isProtocolSymbol = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.SubProtocolSymbols = exports.MainProtocolSymbols = void 0;
|
|
@@ -30773,6 +30710,7 @@ var MainProtocolSymbols;
|
|
|
30773
30710
|
MainProtocolSymbols["MOONBEAM"] = "moonbeam";
|
|
30774
30711
|
MainProtocolSymbols["ASTAR"] = "astar";
|
|
30775
30712
|
MainProtocolSymbols["SHIDEN"] = "shiden";
|
|
30713
|
+
MainProtocolSymbols["ICP"] = "icp";
|
|
30776
30714
|
})(MainProtocolSymbols = exports.MainProtocolSymbols || (exports.MainProtocolSymbols = {}));
|
|
30777
30715
|
var SubProtocolSymbols;
|
|
30778
30716
|
(function (SubProtocolSymbols) {
|
|
@@ -30811,7 +30749,7 @@ function isProtocolSymbol(identifier) {
|
|
|
30811
30749
|
}
|
|
30812
30750
|
exports.isProtocolSymbol = isProtocolSymbol;
|
|
30813
30751
|
|
|
30814
|
-
},{}],
|
|
30752
|
+
},{}],204:[function(require,module,exports){
|
|
30815
30753
|
"use strict";
|
|
30816
30754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30817
30755
|
exports.assertFields = exports.assertNever = void 0;
|
|
@@ -30832,7 +30770,7 @@ function assertFields(name, object) {
|
|
|
30832
30770
|
}
|
|
30833
30771
|
exports.assertFields = assertFields;
|
|
30834
30772
|
|
|
30835
|
-
},{"../errors":
|
|
30773
|
+
},{"../errors":195,"../errors/coinlib-error":194}],205:[function(require,module,exports){
|
|
30836
30774
|
(function (Buffer){(function (){
|
|
30837
30775
|
"use strict";
|
|
30838
30776
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -30843,7 +30781,7 @@ var bufferFrom = function (data, encoding) {
|
|
|
30843
30781
|
exports.bufferFrom = bufferFrom;
|
|
30844
30782
|
|
|
30845
30783
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
30846
|
-
},{"buffer":62}],
|
|
30784
|
+
},{"buffer":62}],206:[function(require,module,exports){
|
|
30847
30785
|
(function (Buffer){(function (){
|
|
30848
30786
|
"use strict";
|
|
30849
30787
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -30958,7 +30896,7 @@ function fillToTargetLength(hexString, bitLength) {
|
|
|
30958
30896
|
}
|
|
30959
30897
|
|
|
30960
30898
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
30961
|
-
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
30899
|
+
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":192,"./padStart":208,"buffer":62}],207:[function(require,module,exports){
|
|
30962
30900
|
"use strict";
|
|
30963
30901
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30964
30902
|
exports.hasConfigurableContract = exports.implementsInterface = void 0;
|
|
@@ -30977,7 +30915,7 @@ function hasConfigurableContract(object) {
|
|
|
30977
30915
|
}
|
|
30978
30916
|
exports.hasConfigurableContract = hasConfigurableContract;
|
|
30979
30917
|
|
|
30980
|
-
},{}],
|
|
30918
|
+
},{}],208:[function(require,module,exports){
|
|
30981
30919
|
"use strict";
|
|
30982
30920
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30983
30921
|
exports.padStart = void 0;
|
|
@@ -30998,7 +30936,7 @@ function padStart(targetString, targetLength, padString) {
|
|
|
30998
30936
|
}
|
|
30999
30937
|
exports.padStart = padStart;
|
|
31000
30938
|
|
|
31001
|
-
},{}],
|
|
30939
|
+
},{}],209:[function(require,module,exports){
|
|
31002
30940
|
"use strict";
|
|
31003
30941
|
var __extends = (this && this.__extends) || (function () {
|
|
31004
30942
|
var extendStatics = function (d, b) {
|
|
@@ -31198,7 +31136,7 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
|
|
|
31198
31136
|
}(AirGapMarketWallet_1.AirGapMarketWallet));
|
|
31199
31137
|
exports.AirGapCoinWallet = AirGapCoinWallet;
|
|
31200
31138
|
|
|
31201
|
-
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
31139
|
+
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":192,"../utils/ProtocolNetwork":202,"../utils/ProtocolSymbols":203,"./AirGapMarketWallet":210}],210:[function(require,module,exports){
|
|
31202
31140
|
"use strict";
|
|
31203
31141
|
var __extends = (this && this.__extends) || (function () {
|
|
31204
31142
|
var extendStatics = function (d, b) {
|
|
@@ -31420,7 +31358,7 @@ var AirGapMarketWallet = /** @class */ (function (_super) {
|
|
|
31420
31358
|
}(AirGapWallet_1.AirGapWallet));
|
|
31421
31359
|
exports.AirGapMarketWallet = AirGapMarketWallet;
|
|
31422
31360
|
|
|
31423
|
-
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
31361
|
+
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":192,"../utils/ProtocolSymbols":203,"./AirGapWallet":212}],211:[function(require,module,exports){
|
|
31424
31362
|
"use strict";
|
|
31425
31363
|
var __extends = (this && this.__extends) || (function () {
|
|
31426
31364
|
var extendStatics = function (d, b) {
|
|
@@ -31600,7 +31538,7 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
|
|
|
31600
31538
|
}(AirGapMarketWallet_1.AirGapMarketWallet));
|
|
31601
31539
|
exports.AirGapNFTWallet = AirGapNFTWallet;
|
|
31602
31540
|
|
|
31603
|
-
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
31541
|
+
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":192,"../utils/ProtocolNetwork":202,"./AirGapMarketWallet":210}],212:[function(require,module,exports){
|
|
31604
31542
|
"use strict";
|
|
31605
31543
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31606
31544
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -31743,7 +31681,7 @@ var AirGapWallet = /** @class */ (function () {
|
|
|
31743
31681
|
}());
|
|
31744
31682
|
exports.AirGapWallet = AirGapWallet;
|
|
31745
31683
|
|
|
31746
|
-
},{"../errors":
|
|
31684
|
+
},{"../errors":195,"../errors/coinlib-error":194}],213:[function(require,module,exports){
|
|
31747
31685
|
"use strict";
|
|
31748
31686
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31749
31687
|
exports.newAmount = void 0;
|
|
@@ -31760,7 +31698,7 @@ function newAmount(amount, unitOrUndefined) {
|
|
|
31760
31698
|
}
|
|
31761
31699
|
exports.newAmount = newAmount;
|
|
31762
31700
|
|
|
31763
|
-
},{"../types/amount":
|
|
31701
|
+
},{"../types/amount":221,"../utils/amount":222}],214:[function(require,module,exports){
|
|
31764
31702
|
"use strict";
|
|
31765
31703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31766
31704
|
exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = void 0;
|
|
@@ -31785,7 +31723,7 @@ function newExtendedPublicKey(value, format) {
|
|
|
31785
31723
|
}
|
|
31786
31724
|
exports.newExtendedPublicKey = newExtendedPublicKey;
|
|
31787
31725
|
|
|
31788
|
-
},{}],
|
|
31726
|
+
},{}],215:[function(require,module,exports){
|
|
31789
31727
|
"use strict";
|
|
31790
31728
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31791
31729
|
exports.newSignature = void 0;
|
|
@@ -31795,7 +31733,7 @@ function newSignature(value, format) {
|
|
|
31795
31733
|
}
|
|
31796
31734
|
exports.newSignature = newSignature;
|
|
31797
31735
|
|
|
31798
|
-
},{}],
|
|
31736
|
+
},{}],216:[function(require,module,exports){
|
|
31799
31737
|
"use strict";
|
|
31800
31738
|
var __assign = (this && this.__assign) || function () {
|
|
31801
31739
|
__assign = Object.assign || function(t) {
|
|
@@ -31819,7 +31757,7 @@ function newSignedTransaction(transaction) {
|
|
|
31819
31757
|
}
|
|
31820
31758
|
exports.newSignedTransaction = newSignedTransaction;
|
|
31821
31759
|
|
|
31822
|
-
},{}],
|
|
31760
|
+
},{}],217:[function(require,module,exports){
|
|
31823
31761
|
"use strict";
|
|
31824
31762
|
var __assign = (this && this.__assign) || function () {
|
|
31825
31763
|
__assign = Object.assign || function(t) {
|
|
@@ -31851,7 +31789,7 @@ function newErrorUIAlert(alert) {
|
|
|
31851
31789
|
}
|
|
31852
31790
|
exports.newErrorUIAlert = newErrorUIAlert;
|
|
31853
31791
|
|
|
31854
|
-
},{}],
|
|
31792
|
+
},{}],218:[function(require,module,exports){
|
|
31855
31793
|
"use strict";
|
|
31856
31794
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31857
31795
|
exports.newPlainUIText = void 0;
|
|
@@ -31860,7 +31798,7 @@ function newPlainUIText(text) {
|
|
|
31860
31798
|
}
|
|
31861
31799
|
exports.newPlainUIText = newPlainUIText;
|
|
31862
31800
|
|
|
31863
|
-
},{}],
|
|
31801
|
+
},{}],219:[function(require,module,exports){
|
|
31864
31802
|
"use strict";
|
|
31865
31803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31866
31804
|
exports.normalizeToUndefined = exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.canFetchDataForAddress = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.isOnlineProtocol = exports.isOfflineProtocol = exports.createSupportedProtocols = exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = exports.implementsInterface = exports.isAmount = exports.ModuleNetworkRegistry = exports.newSignedTransaction = exports.newUnsignedTransaction = exports.newSignature = exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = exports.newAmount = exports.newPlainUIText = exports.newErrorUIAlert = exports.newWarningUIAlert = exports.newInfoUIAlert = exports.newSuccessUIAlert = void 0;
|
|
@@ -31917,7 +31855,7 @@ Object.defineProperty(exports, "isSubProtocol", { enumerable: true, get: functio
|
|
|
31917
31855
|
Object.defineProperty(exports, "isTransactionStatusChecker", { enumerable: true, get: function () { return protocol_1.isTransactionStatusChecker; } });
|
|
31918
31856
|
Object.defineProperty(exports, "protocolNetworkIdentifier", { enumerable: true, get: function () { return protocol_1.protocolNetworkIdentifier; } });
|
|
31919
31857
|
|
|
31920
|
-
},{"./factories/amount":
|
|
31858
|
+
},{"./factories/amount":213,"./factories/key":214,"./factories/signature":215,"./factories/transaction":216,"./factories/ui/alert":217,"./factories/ui/text":218,"./module/module-network-registry":220,"./utils/amount":222,"./utils/interface":223,"./utils/key":224,"./utils/module":225,"./utils/normalize":226,"./utils/protocol":227}],220:[function(require,module,exports){
|
|
31921
31859
|
"use strict";
|
|
31922
31860
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31923
31861
|
exports.ModuleNetworkRegistry = void 0;
|
|
@@ -31940,7 +31878,7 @@ var ModuleNetworkRegistry = /** @class */ (function () {
|
|
|
31940
31878
|
}());
|
|
31941
31879
|
exports.ModuleNetworkRegistry = ModuleNetworkRegistry;
|
|
31942
31880
|
|
|
31943
|
-
},{"../utils/protocol":
|
|
31881
|
+
},{"../utils/protocol":227}],221:[function(require,module,exports){
|
|
31944
31882
|
"use strict";
|
|
31945
31883
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
31946
31884
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -31983,7 +31921,7 @@ var AmountEnhanced = /** @class */ (function () {
|
|
|
31983
31921
|
}());
|
|
31984
31922
|
exports.AmountEnhanced = AmountEnhanced;
|
|
31985
31923
|
|
|
31986
|
-
},{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
31924
|
+
},{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":192}],222:[function(require,module,exports){
|
|
31987
31925
|
"use strict";
|
|
31988
31926
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31989
31927
|
exports.isAmount = void 0;
|
|
@@ -31997,7 +31935,7 @@ function isAmount(object) {
|
|
|
31997
31935
|
}
|
|
31998
31936
|
exports.isAmount = isAmount;
|
|
31999
31937
|
|
|
32000
|
-
},{"./interface":
|
|
31938
|
+
},{"./interface":223}],223:[function(require,module,exports){
|
|
32001
31939
|
"use strict";
|
|
32002
31940
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32003
31941
|
exports.implementsInterface = void 0;
|
|
@@ -32009,7 +31947,7 @@ function implementsInterface(object, schema) {
|
|
|
32009
31947
|
}
|
|
32010
31948
|
exports.implementsInterface = implementsInterface;
|
|
32011
31949
|
|
|
32012
|
-
},{}],
|
|
31950
|
+
},{}],224:[function(require,module,exports){
|
|
32013
31951
|
"use strict";
|
|
32014
31952
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32015
31953
|
exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = void 0;
|
|
@@ -32036,7 +31974,7 @@ function isExtendedPublicKey(object) {
|
|
|
32036
31974
|
}
|
|
32037
31975
|
exports.isExtendedPublicKey = isExtendedPublicKey;
|
|
32038
31976
|
|
|
32039
|
-
},{"./interface":
|
|
31977
|
+
},{"./interface":223}],225:[function(require,module,exports){
|
|
32040
31978
|
"use strict";
|
|
32041
31979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32042
31980
|
exports.createSupportedProtocols = void 0;
|
|
@@ -32066,7 +32004,7 @@ function createOnlineProtocolConfiguration(networks) {
|
|
|
32066
32004
|
};
|
|
32067
32005
|
}
|
|
32068
32006
|
|
|
32069
|
-
},{}],
|
|
32007
|
+
},{}],226:[function(require,module,exports){
|
|
32070
32008
|
"use strict";
|
|
32071
32009
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32072
32010
|
exports.normalizeToUndefined = void 0;
|
|
@@ -32075,7 +32013,7 @@ function normalizeToUndefined(value) {
|
|
|
32075
32013
|
}
|
|
32076
32014
|
exports.normalizeToUndefined = normalizeToUndefined;
|
|
32077
32015
|
|
|
32078
|
-
},{}],
|
|
32016
|
+
},{}],227:[function(require,module,exports){
|
|
32079
32017
|
"use strict";
|
|
32080
32018
|
var __assign = (this && this.__assign) || function () {
|
|
32081
32019
|
__assign = Object.assign || function(t) {
|
|
@@ -32244,7 +32182,7 @@ function protocolNetworkIdentifier(network) {
|
|
|
32244
32182
|
}
|
|
32245
32183
|
exports.protocolNetworkIdentifier = protocolNetworkIdentifier;
|
|
32246
32184
|
|
|
32247
|
-
},{"./interface":
|
|
32185
|
+
},{"./interface":223,"@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index":193}],228:[function(require,module,exports){
|
|
32248
32186
|
"use strict";
|
|
32249
32187
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32250
32188
|
exports.TimeInterval = exports.AirGapNFTWallet = exports.AirGapWalletStatus = exports.AirGapCoinWallet = exports.AirGapOnlineWallet = exports.AirGapOfflineWallet = exports.AirGapWallet = void 0;
|
|
@@ -32261,7 +32199,7 @@ Object.defineProperty(exports, "AirGapNFTWallet", { enumerable: true, get: funct
|
|
|
32261
32199
|
var AirGapOnlineWallet_1 = require("./wallet/online/AirGapOnlineWallet");
|
|
32262
32200
|
Object.defineProperty(exports, "AirGapOnlineWallet", { enumerable: true, get: function () { return AirGapOnlineWallet_1.AirGapOnlineWallet; } });
|
|
32263
32201
|
|
|
32264
|
-
},{"./wallet/AirGapWallet":
|
|
32202
|
+
},{"./wallet/AirGapWallet":231,"./wallet/offline/AirGapOfflineWallet":232,"./wallet/online/AirGapCoinWallet":233,"./wallet/online/AirGapNFTWallet":234,"./wallet/online/AirGapOnlineWallet":235}],229:[function(require,module,exports){
|
|
32265
32203
|
"use strict";
|
|
32266
32204
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32267
32205
|
exports.normalizeAddress = void 0;
|
|
@@ -32275,7 +32213,7 @@ function normalizeAddress(address) {
|
|
|
32275
32213
|
}
|
|
32276
32214
|
exports.normalizeAddress = normalizeAddress;
|
|
32277
32215
|
|
|
32278
|
-
},{}],
|
|
32216
|
+
},{}],230:[function(require,module,exports){
|
|
32279
32217
|
"use strict";
|
|
32280
32218
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
32281
32219
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -32340,7 +32278,7 @@ function deriveAddresses(protocol, publicKey, visibilityIndex, amount, offset) {
|
|
|
32340
32278
|
}
|
|
32341
32279
|
exports.deriveAddresses = deriveAddresses;
|
|
32342
32280
|
|
|
32343
|
-
},{"./address":
|
|
32281
|
+
},{"./address":229}],231:[function(require,module,exports){
|
|
32344
32282
|
"use strict";
|
|
32345
32283
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
32346
32284
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -32493,7 +32431,7 @@ var AirGapWallet = /** @class */ (function () {
|
|
|
32493
32431
|
}());
|
|
32494
32432
|
exports.AirGapWallet = AirGapWallet;
|
|
32495
32433
|
|
|
32496
|
-
},{"../utils/address":
|
|
32434
|
+
},{"../utils/address":229,"../utils/protocol":230,"@airgap/coinlib-core/errors":195,"@airgap/coinlib-core/errors/coinlib-error":194,"@airgap/module-kit":219}],232:[function(require,module,exports){
|
|
32497
32435
|
"use strict";
|
|
32498
32436
|
var __extends = (this && this.__extends) || (function () {
|
|
32499
32437
|
var extendStatics = function (d, b) {
|
|
@@ -32525,7 +32463,7 @@ var AirGapOfflineWallet = /** @class */ (function (_super) {
|
|
|
32525
32463
|
}(AirGapWallet_1.AirGapWallet));
|
|
32526
32464
|
exports.AirGapOfflineWallet = AirGapOfflineWallet;
|
|
32527
32465
|
|
|
32528
|
-
},{"../AirGapWallet":
|
|
32466
|
+
},{"../AirGapWallet":231}],233:[function(require,module,exports){
|
|
32529
32467
|
"use strict";
|
|
32530
32468
|
var __extends = (this && this.__extends) || (function () {
|
|
32531
32469
|
var extendStatics = function (d, b) {
|
|
@@ -32729,7 +32667,7 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
|
|
|
32729
32667
|
}(AirGapOnlineWallet_1.AirGapOnlineWallet));
|
|
32730
32668
|
exports.AirGapCoinWallet = AirGapCoinWallet;
|
|
32731
32669
|
|
|
32732
|
-
},{"./AirGapOnlineWallet":
|
|
32670
|
+
},{"./AirGapOnlineWallet":235,"@airgap/coinlib-core":196,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":192,"@airgap/module-kit":219,"@airgap/module-kit/utils/protocol":227}],234:[function(require,module,exports){
|
|
32733
32671
|
"use strict";
|
|
32734
32672
|
var __extends = (this && this.__extends) || (function () {
|
|
32735
32673
|
var extendStatics = function (d, b) {
|
|
@@ -32912,7 +32850,7 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
|
|
|
32912
32850
|
}(AirGapOnlineWallet_1.AirGapOnlineWallet));
|
|
32913
32851
|
exports.AirGapNFTWallet = AirGapNFTWallet;
|
|
32914
32852
|
|
|
32915
|
-
},{"./AirGapOnlineWallet":
|
|
32853
|
+
},{"./AirGapOnlineWallet":235,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":192,"@airgap/module-kit":219}],235:[function(require,module,exports){
|
|
32916
32854
|
"use strict";
|
|
32917
32855
|
var __extends = (this && this.__extends) || (function () {
|
|
32918
32856
|
var extendStatics = function (d, b) {
|
|
@@ -33171,5 +33109,5 @@ var AirGapOnlineWallet = /** @class */ (function (_super) {
|
|
|
33171
33109
|
}(AirGapWallet_1.AirGapWallet));
|
|
33172
33110
|
exports.AirGapOnlineWallet = AirGapOnlineWallet;
|
|
33173
33111
|
|
|
33174
|
-
},{"../AirGapWallet":
|
|
33112
|
+
},{"../AirGapWallet":231,"@airgap/coinlib-core":196,"@airgap/module-kit":219,"@airgap/module-kit/utils/protocol":227}]},{},[228])(228)
|
|
33175
33113
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airgap/wallet",
|
|
3
|
-
"version": "0.13.9-beta.
|
|
3
|
+
"version": "0.13.9-beta.2",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"airgap"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"author": "Papers GmbH <contact@papers.ch> (https://papers.ch)",
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@airgap/coinlib-core": "^0.13.9-beta.
|
|
32
|
-
"@airgap/module-kit": "^0.13.9-beta.
|
|
31
|
+
"@airgap/coinlib-core": "^0.13.9-beta.2",
|
|
32
|
+
"@airgap/module-kit": "^0.13.9-beta.2"
|
|
33
33
|
},
|
|
34
34
|
"nyc": {
|
|
35
35
|
"include": [
|