@airgap/coinlib-core 0.12.8-beta.2 → 0.12.8-beta.3
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.
|
@@ -163108,7 +163108,7 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
|
|
|
163108
163108
|
};
|
|
163109
163109
|
AirGapCoinWallet.prototype.balanceOf = function () {
|
|
163110
163110
|
return __awaiter(this, void 0, void 0, function () {
|
|
163111
|
-
var _a, _b, _c, _d, _e;
|
|
163111
|
+
var result, _a, _b, _c, _d, _e;
|
|
163112
163112
|
return __generator(this, function (_f) {
|
|
163113
163113
|
switch (_f.label) {
|
|
163114
163114
|
case 0:
|
|
@@ -163118,37 +163118,49 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
|
|
|
163118
163118
|
this.isExtendedPublicKey)) return [3 /*break*/, 2];
|
|
163119
163119
|
_a = bignumber_1.default.bind;
|
|
163120
163120
|
return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
|
|
163121
|
-
case 1:
|
|
163122
|
-
|
|
163123
|
-
|
|
163124
|
-
|
|
163125
|
-
|
|
163126
|
-
|
|
163127
|
-
|
|
163128
|
-
|
|
163129
|
-
|
|
163130
|
-
|
|
163131
|
-
|
|
163132
|
-
|
|
163121
|
+
case 1:
|
|
163122
|
+
// TODO: Remove and test
|
|
163123
|
+
/*
|
|
163124
|
+
We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
|
|
163125
|
+
|
|
163126
|
+
The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
|
|
163127
|
+
multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
|
|
163128
|
+
|
|
163129
|
+
We can also not simply change the order of the following if/else, because then it would use the xPub method for
|
|
163130
|
+
BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
|
|
163131
|
+
*/
|
|
163132
|
+
result = new (_a.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
163133
|
+
return [3 /*break*/, 10];
|
|
163133
163134
|
case 2:
|
|
163134
163135
|
if (!(this.protocol instanceof TezosSaplingProtocol_1.TezosSaplingProtocol)) return [3 /*break*/, 4];
|
|
163135
163136
|
_b = bignumber_1.default.bind;
|
|
163136
163137
|
return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
|
|
163137
|
-
case 3:
|
|
163138
|
+
case 3:
|
|
163139
|
+
result = new (_b.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
163140
|
+
return [3 /*break*/, 10];
|
|
163138
163141
|
case 4:
|
|
163139
163142
|
if (!(this.addresses.length > 0)) return [3 /*break*/, 6];
|
|
163140
163143
|
_c = bignumber_1.default.bind;
|
|
163141
163144
|
return [4 /*yield*/, this.protocol.getBalanceOfAddresses(this.addressesToCheck())];
|
|
163142
|
-
case 5:
|
|
163145
|
+
case 5:
|
|
163146
|
+
result = new (_c.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
163147
|
+
return [3 /*break*/, 10];
|
|
163143
163148
|
case 6:
|
|
163144
163149
|
if (!this.isExtendedPublicKey) return [3 /*break*/, 8];
|
|
163145
163150
|
_d = bignumber_1.default.bind;
|
|
163146
163151
|
return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
|
|
163147
|
-
case 7:
|
|
163152
|
+
case 7:
|
|
163153
|
+
result = new (_d.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
163154
|
+
return [3 /*break*/, 10];
|
|
163148
163155
|
case 8:
|
|
163149
163156
|
_e = bignumber_1.default.bind;
|
|
163150
163157
|
return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
|
|
163151
|
-
case 9:
|
|
163158
|
+
case 9:
|
|
163159
|
+
result = new (_e.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
163160
|
+
_f.label = 10;
|
|
163161
|
+
case 10:
|
|
163162
|
+
this.setCurrentBalance(result);
|
|
163163
|
+
return [2 /*return*/, result];
|
|
163152
163164
|
}
|
|
163153
163165
|
});
|
|
163154
163166
|
});
|
|
@@ -163488,29 +163500,38 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
|
|
|
163488
163500
|
this.currentBalance = {};
|
|
163489
163501
|
this.currentMarketPrice = {};
|
|
163490
163502
|
};
|
|
163491
|
-
AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (
|
|
163503
|
+
AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (assetID, _baseSymbol) {
|
|
163492
163504
|
if (_baseSymbol === void 0) { _baseSymbol = 'USD'; }
|
|
163493
163505
|
return __awaiter(this, void 0, void 0, function () {
|
|
163506
|
+
var result;
|
|
163494
163507
|
return __generator(this, function (_a) {
|
|
163495
|
-
|
|
163496
|
-
|
|
163508
|
+
result = new bignumber_1.default(0);
|
|
163509
|
+
this.setCurrentMarketPrice(result, assetID);
|
|
163510
|
+
return [2 /*return*/, result];
|
|
163497
163511
|
});
|
|
163498
163512
|
});
|
|
163499
163513
|
};
|
|
163500
163514
|
AirGapNFTWallet.prototype.balanceOf = function (assetID) {
|
|
163501
163515
|
return __awaiter(this, void 0, void 0, function () {
|
|
163502
|
-
var _a, _b;
|
|
163516
|
+
var result, _a, _b;
|
|
163503
163517
|
return __generator(this, function (_c) {
|
|
163504
163518
|
switch (_c.label) {
|
|
163505
163519
|
case 0:
|
|
163506
163520
|
if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
|
|
163507
163521
|
_a = bignumber_1.default.bind;
|
|
163508
163522
|
return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0, { assetID: assetID })];
|
|
163509
|
-
case 1:
|
|
163523
|
+
case 1:
|
|
163524
|
+
result = new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))();
|
|
163525
|
+
return [3 /*break*/, 4];
|
|
163510
163526
|
case 2:
|
|
163511
163527
|
_b = bignumber_1.default.bind;
|
|
163512
163528
|
return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey, { addressIndex: this.addressIndex, assetID: assetID })];
|
|
163513
|
-
case 3:
|
|
163529
|
+
case 3:
|
|
163530
|
+
result = new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))();
|
|
163531
|
+
_c.label = 4;
|
|
163532
|
+
case 4:
|
|
163533
|
+
this.setCurrentBalance(result, assetID);
|
|
163534
|
+
return [2 /*return*/, result];
|
|
163514
163535
|
}
|
|
163515
163536
|
});
|
|
163516
163537
|
});
|
package/package.json
CHANGED
|
@@ -117,7 +117,7 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
|
|
|
117
117
|
};
|
|
118
118
|
AirGapCoinWallet.prototype.balanceOf = function () {
|
|
119
119
|
return __awaiter(this, void 0, void 0, function () {
|
|
120
|
-
var _a, _b, _c, _d, _e;
|
|
120
|
+
var result, _a, _b, _c, _d, _e;
|
|
121
121
|
return __generator(this, function (_f) {
|
|
122
122
|
switch (_f.label) {
|
|
123
123
|
case 0:
|
|
@@ -127,37 +127,49 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
|
|
|
127
127
|
this.isExtendedPublicKey)) return [3 /*break*/, 2];
|
|
128
128
|
_a = bignumber_1.default.bind;
|
|
129
129
|
return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
|
|
130
|
-
case 1:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
130
|
+
case 1:
|
|
131
|
+
// TODO: Remove and test
|
|
132
|
+
/*
|
|
133
|
+
We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
|
|
134
|
+
|
|
135
|
+
The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
|
|
136
|
+
multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
|
|
137
|
+
|
|
138
|
+
We can also not simply change the order of the following if/else, because then it would use the xPub method for
|
|
139
|
+
BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
|
|
140
|
+
*/
|
|
141
|
+
result = new (_a.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
142
|
+
return [3 /*break*/, 10];
|
|
142
143
|
case 2:
|
|
143
144
|
if (!(this.protocol instanceof TezosSaplingProtocol_1.TezosSaplingProtocol)) return [3 /*break*/, 4];
|
|
144
145
|
_b = bignumber_1.default.bind;
|
|
145
146
|
return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
|
|
146
|
-
case 3:
|
|
147
|
+
case 3:
|
|
148
|
+
result = new (_b.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
149
|
+
return [3 /*break*/, 10];
|
|
147
150
|
case 4:
|
|
148
151
|
if (!(this.addresses.length > 0)) return [3 /*break*/, 6];
|
|
149
152
|
_c = bignumber_1.default.bind;
|
|
150
153
|
return [4 /*yield*/, this.protocol.getBalanceOfAddresses(this.addressesToCheck())];
|
|
151
|
-
case 5:
|
|
154
|
+
case 5:
|
|
155
|
+
result = new (_c.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
156
|
+
return [3 /*break*/, 10];
|
|
152
157
|
case 6:
|
|
153
158
|
if (!this.isExtendedPublicKey) return [3 /*break*/, 8];
|
|
154
159
|
_d = bignumber_1.default.bind;
|
|
155
160
|
return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
|
|
156
|
-
case 7:
|
|
161
|
+
case 7:
|
|
162
|
+
result = new (_d.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
163
|
+
return [3 /*break*/, 10];
|
|
157
164
|
case 8:
|
|
158
165
|
_e = bignumber_1.default.bind;
|
|
159
166
|
return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
|
|
160
|
-
case 9:
|
|
167
|
+
case 9:
|
|
168
|
+
result = new (_e.apply(bignumber_1.default, [void 0, _f.sent()]))();
|
|
169
|
+
_f.label = 10;
|
|
170
|
+
case 10:
|
|
171
|
+
this.setCurrentBalance(result);
|
|
172
|
+
return [2 /*return*/, result];
|
|
161
173
|
}
|
|
162
174
|
});
|
|
163
175
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirGapCoinWallet.js","sourceRoot":"","sources":["../../src/wallet/AirGapCoinWallet.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+FAAwE;AACxE,wFAAsF;AACtF,4DAAsD;AACtD,4DAA8D;AAE9D,2DAAyD;AAEzD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,6BAAa,CAAA;AACf,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED;IAAsC,oCAAkB;IAAxD;;
|
|
1
|
+
{"version":3,"file":"AirGapCoinWallet.js","sourceRoot":"","sources":["../../src/wallet/AirGapCoinWallet.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+FAAwE;AACxE,wFAAsF;AACtF,4DAAsD;AACtD,4DAA8D;AAE9D,2DAAyD;AAEzD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,6BAAa,CAAA;AACf,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED;IAAsC,oCAAkB;IAAxD;;IAsEA,CAAC;IAnEQ,4CAAiB,GAAxB;QACE,OAAO,IAAI,CAAC,cAAc,CAAA;IAC5B,CAAC;IAEM,4CAAiB,GAAxB,UAAyB,OAA8B;QACrD,IAAI,CAAC,cAAc,GAAG,OAAO,CAAA;IAC/B,CAAC;IAIM,gDAAqB,GAA5B;QACE,OAAO,IAAI,CAAC,kBAAkB,CAAA;IAChC,CAAC;IAEM,gDAAq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gB"}
|
|
@@ -10,6 +10,6 @@ export declare class AirGapNFTWallet extends AirGapMarketWallet {
|
|
|
10
10
|
synchronize(assetsID?: string[]): Promise<void>;
|
|
11
11
|
protected _synchronize(assetIDs?: string[]): Promise<void>;
|
|
12
12
|
protected reset(): void;
|
|
13
|
-
fetchCurrentMarketPrice(
|
|
13
|
+
fetchCurrentMarketPrice(assetID: string, _baseSymbol?: string): Promise<BigNumber>;
|
|
14
14
|
balanceOf(assetID: string): Promise<BigNumber>;
|
|
15
15
|
}
|
|
@@ -114,29 +114,38 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
|
|
|
114
114
|
this.currentBalance = {};
|
|
115
115
|
this.currentMarketPrice = {};
|
|
116
116
|
};
|
|
117
|
-
AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (
|
|
117
|
+
AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (assetID, _baseSymbol) {
|
|
118
118
|
if (_baseSymbol === void 0) { _baseSymbol = 'USD'; }
|
|
119
119
|
return __awaiter(this, void 0, void 0, function () {
|
|
120
|
+
var result;
|
|
120
121
|
return __generator(this, function (_a) {
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
result = new bignumber_1.default(0);
|
|
123
|
+
this.setCurrentMarketPrice(result, assetID);
|
|
124
|
+
return [2 /*return*/, result];
|
|
123
125
|
});
|
|
124
126
|
});
|
|
125
127
|
};
|
|
126
128
|
AirGapNFTWallet.prototype.balanceOf = function (assetID) {
|
|
127
129
|
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
-
var _a, _b;
|
|
130
|
+
var result, _a, _b;
|
|
129
131
|
return __generator(this, function (_c) {
|
|
130
132
|
switch (_c.label) {
|
|
131
133
|
case 0:
|
|
132
134
|
if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
|
|
133
135
|
_a = bignumber_1.default.bind;
|
|
134
136
|
return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0, { assetID: assetID })];
|
|
135
|
-
case 1:
|
|
137
|
+
case 1:
|
|
138
|
+
result = new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))();
|
|
139
|
+
return [3 /*break*/, 4];
|
|
136
140
|
case 2:
|
|
137
141
|
_b = bignumber_1.default.bind;
|
|
138
142
|
return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey, { addressIndex: this.addressIndex, assetID: assetID })];
|
|
139
|
-
case 3:
|
|
143
|
+
case 3:
|
|
144
|
+
result = new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))();
|
|
145
|
+
_c.label = 4;
|
|
146
|
+
case 4:
|
|
147
|
+
this.setCurrentBalance(result, assetID);
|
|
148
|
+
return [2 /*return*/, result];
|
|
140
149
|
}
|
|
141
150
|
});
|
|
142
151
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirGapNFTWallet.js","sourceRoot":"","sources":["../../src/wallet/AirGapNFTWallet.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+FAAwE;AACxE,4DAAsD;AAEtD,2DAAyD;AAEzD;IAAqC,mCAAkB;IAAvD;QAAA,
|
|
1
|
+
{"version":3,"file":"AirGapNFTWallet.js","sourceRoot":"","sources":["../../src/wallet/AirGapNFTWallet.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+FAAwE;AACxE,4DAAsD;AAEtD,2DAAyD;AAEzD;IAAqC,mCAAkB;IAAvD;QAAA,qEA0DC;QAzDS,oBAAc,GAA0C,EAAE,CAAA;QAU1D,wBAAkB,GAA0C,EAAE,CAAA;;IA+CxE,CAAC;IAvDQ,2CAAiB,GAAxB,UAAyB,OAAe;QACtC,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;IACrC,CAAC;IAEM,2CAAiB,GAAxB,UAAyB,OAA8B,EAAE,OAAe;QACtE,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