@enkryptcom/swap 0.0.7 → 0.0.8
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/dist/index.cjs +7 -1
- package/dist/index.js +7 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8126,6 +8126,10 @@ var Swap = /*#__PURE__*/ function(_import_eventemitter3_default) {
|
|
|
8126
8126
|
];
|
|
8127
8127
|
case 3:
|
|
8128
8128
|
_1.topTokenInfo = _state.sent();
|
|
8129
|
+
if (!(this.walletId === "enkrypt" /* enkrypt */ )) return [
|
|
8130
|
+
3,
|
|
8131
|
+
5
|
|
8132
|
+
];
|
|
8129
8133
|
_2 = this;
|
|
8130
8134
|
return [
|
|
8131
8135
|
4,
|
|
@@ -8166,6 +8170,8 @@ var Swap = /*#__PURE__*/ function(_import_eventemitter3_default) {
|
|
|
8166
8170
|
];
|
|
8167
8171
|
case 4:
|
|
8168
8172
|
_2.rwaFilterList = _state.sent();
|
|
8173
|
+
_state.label = 5;
|
|
8174
|
+
case 5:
|
|
8169
8175
|
this.tokenList.all = this.tokenList.all.filter(function(t) {
|
|
8170
8176
|
return !_this.rwaFilterList.includes(t.address);
|
|
8171
8177
|
});
|
|
@@ -8201,7 +8207,7 @@ var Swap = /*#__PURE__*/ function(_import_eventemitter3_default) {
|
|
|
8201
8207
|
return Provider.init(_this.tokenList.all);
|
|
8202
8208
|
}))
|
|
8203
8209
|
];
|
|
8204
|
-
case
|
|
8210
|
+
case 6:
|
|
8205
8211
|
_state.sent();
|
|
8206
8212
|
allFromTokens = {};
|
|
8207
8213
|
_to_consumable_array(this.providers).reverse().forEach(function(p) {
|
package/dist/index.js
CHANGED
|
@@ -8023,6 +8023,10 @@ var Swap = /*#__PURE__*/ function(EventEmitter) {
|
|
|
8023
8023
|
];
|
|
8024
8024
|
case 3:
|
|
8025
8025
|
_1.topTokenInfo = _state.sent();
|
|
8026
|
+
if (!(this.walletId === "enkrypt" /* enkrypt */ )) return [
|
|
8027
|
+
3,
|
|
8028
|
+
5
|
|
8029
|
+
];
|
|
8026
8030
|
_2 = this;
|
|
8027
8031
|
return [
|
|
8028
8032
|
4,
|
|
@@ -8063,6 +8067,8 @@ var Swap = /*#__PURE__*/ function(EventEmitter) {
|
|
|
8063
8067
|
];
|
|
8064
8068
|
case 4:
|
|
8065
8069
|
_2.rwaFilterList = _state.sent();
|
|
8070
|
+
_state.label = 5;
|
|
8071
|
+
case 5:
|
|
8066
8072
|
this.tokenList.all = this.tokenList.all.filter(function(t) {
|
|
8067
8073
|
return !_this.rwaFilterList.includes(t.address);
|
|
8068
8074
|
});
|
|
@@ -8098,7 +8104,7 @@ var Swap = /*#__PURE__*/ function(EventEmitter) {
|
|
|
8098
8104
|
return Provider.init(_this.tokenList.all);
|
|
8099
8105
|
}))
|
|
8100
8106
|
];
|
|
8101
|
-
case
|
|
8107
|
+
case 6:
|
|
8102
8108
|
_state.sent();
|
|
8103
8109
|
allFromTokens = {};
|
|
8104
8110
|
_to_consumable_array(this.providers).reverse().forEach(function(p) {
|