@airgap/coinlib-core 0.13.9-beta.1 → 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-core.min.js +33 -95
- package/errors/coinlib-error.d.ts +2 -1
- package/errors/coinlib-error.js +1 -0
- package/errors/coinlib-error.js.map +1 -1
- package/package.json +1 -1
- package/utils/ProtocolSymbols.d.ts +2 -1
- package/utils/ProtocolSymbols.js +1 -0
- package/utils/ProtocolSymbols.js.map +1 -1
|
@@ -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,5 +31681,5 @@ var AirGapWallet = /** @class */ (function () {
|
|
|
31743
31681
|
}());
|
|
31744
31682
|
exports.AirGapWallet = AirGapWallet;
|
|
31745
31683
|
|
|
31746
|
-
},{"../errors":
|
|
31684
|
+
},{"../errors":195,"../errors/coinlib-error":194}]},{},[196])(196)
|
|
31747
31685
|
});
|
package/errors/coinlib-error.js
CHANGED
|
@@ -32,6 +32,7 @@ var Domain;
|
|
|
32
32
|
Domain["TEZOSFA"] = "TEZOSFA";
|
|
33
33
|
Domain["UTILS"] = "UTILS";
|
|
34
34
|
Domain["ACTIONS"] = "ACTIONS";
|
|
35
|
+
Domain["ICP"] = "ICP";
|
|
35
36
|
})(Domain = exports.Domain || (exports.Domain = {}));
|
|
36
37
|
var CoinlibError = /** @class */ (function (_super) {
|
|
37
38
|
__extends(CoinlibError, _super);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinlib-error.js","sourceRoot":"","sources":["../../src/errors/coinlib-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"coinlib-error.js","sourceRoot":"","sources":["../../src/errors/coinlib-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAY,MAgBX;AAhBD,WAAY,MAAM;IAChB,mCAAyB,CAAA;IACzB,uCAA6B,CAAA;IAC7B,2BAAiB,CAAA;IACjB,6BAAmB,CAAA;IACnB,+BAAqB,CAAA;IACrB,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,iCAAuB,CAAA;IACvB,iCAAuB,CAAA;IACvB,qCAA2B,CAAA;IAC3B,yBAAe,CAAA;IACf,6BAAmB,CAAA;IACnB,yBAAe,CAAA;IACf,6BAAmB,CAAA;IACnB,qBAAW,CAAA;AACb,CAAC,EAhBW,MAAM,GAAN,cAAM,KAAN,cAAM,QAgBjB;AAED;IAAkC,gCAAK;IACrC,sBAAmB,MAAc,EAAS,IAAY,EAAS,WAAoB;QAAnF,YACE,kBAAM,WAAW,CAAC,CAAC,CAAC,UAAG,MAAM,cAAI,IAAI,gBAAM,WAAW,CAAE,CAAC,CAAC,CAAC,UAAG,MAAM,cAAI,IAAI,MAAG,CAAC,SACjF;QAFkB,YAAM,GAAN,MAAM,CAAQ;QAAS,UAAI,GAAJ,IAAI,CAAQ;QAAS,iBAAW,GAAX,WAAW,CAAS;;IAEnF,CAAC;IACH,mBAAC;AAAD,CAAC,AAJD,CAAkC,KAAK,GAItC;AAJY,oCAAY;AAMzB;IAA2C,yCAAK;IAC9C,+BAAmB,MAAc,EAAS,IAAY,EAAS,QAAgB,EAAS,MAAM;QAA9F,YACE,kBAAM,UAAG,MAAM,cAAI,IAAI,yBAAe,QAAQ,sBAAY,MAAM,MAAG,CAAC,SACrE;QAFkB,YAAM,GAAN,MAAM,CAAQ;QAAS,UAAI,GAAJ,IAAI,CAAQ;QAAS,cAAQ,GAAR,QAAQ,CAAQ;QAAS,YAAM,GAAN,MAAM,CAAA;;IAE9F,CAAC;IACH,4BAAC;AAAD,CAAC,AAJD,CAA2C,KAAK,GAI/C;AAJY,sDAAqB"}
|
package/package.json
CHANGED
package/utils/ProtocolSymbols.js
CHANGED
|
@@ -18,6 +18,7 @@ var MainProtocolSymbols;
|
|
|
18
18
|
MainProtocolSymbols["MOONBEAM"] = "moonbeam";
|
|
19
19
|
MainProtocolSymbols["ASTAR"] = "astar";
|
|
20
20
|
MainProtocolSymbols["SHIDEN"] = "shiden";
|
|
21
|
+
MainProtocolSymbols["ICP"] = "icp";
|
|
21
22
|
})(MainProtocolSymbols = exports.MainProtocolSymbols || (exports.MainProtocolSymbols = {}));
|
|
22
23
|
var SubProtocolSymbols;
|
|
23
24
|
(function (SubProtocolSymbols) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProtocolSymbols.js","sourceRoot":"","sources":["../../src/utils/ProtocolSymbols.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ProtocolSymbols.js","sourceRoot":"","sources":["../../src/utils/ProtocolSymbols.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAiBX;AAjBD,WAAY,mBAAmB;IAC7B,gCAAS,CAAA;IACT,kCAAW,CAAA;IACX,gDAAyB,CAAA;IACzB,kCAAW,CAAA;IACX,kCAAW,CAAA;IACX,oDAA6B,CAAA;IAC7B,kCAAW,CAAA;IACX,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,sCAAe,CAAA;IACf,wCAAiB,CAAA;IACjB,kCAAW,CAAA;AACb,CAAC,EAjBW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAiB9B;AAED,IAAY,kBAsBX;AAtBD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,6CAAuB,CAAA;IACvB,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,+CAAyB,CAAA;IACzB,2CAAqB,CAAA;IACrB,6CAAuB,CAAA;IACvB,2CAAqB,CAAA;IACrB,iDAA2B,CAAA;IAC3B,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,6CAAuB,CAAA;IACvB,uDAAiC,CAAA;AACnC,CAAC,EAtBW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAsB7B;AAID,SAAgB,oBAAoB,CAAC,UAAkB;IACrD,OAAO,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,UAAiC,CAAC,CAAA;AACvF,CAAC;AAFD,oDAEC;AAED,SAAgB,mBAAmB,CAAC,UAAkB;IACpD,OAAO,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,UAAgC,CAAC,CAAA;AACrF,CAAC;AAFD,kDAEC;AAED,SAAgB,gBAAgB,CAAC,UAAkB;IACjD,OAAO,oBAAoB,CAAC,UAAU,CAAC,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAA;AAC5E,CAAC;AAFD,4CAEC"}
|