@enkryptcom/swap 0.0.10 → 0.0.11
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 +4 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8205,7 +8205,10 @@ var Swap = /*#__PURE__*/ function(_import_eventemitter3_default) {
|
|
|
8205
8205
|
4,
|
|
8206
8206
|
Promise.all(this.providers.map(function(Provider) {
|
|
8207
8207
|
return Provider.init(_this.tokenList.all).catch(function(e) {
|
|
8208
|
-
console.
|
|
8208
|
+
console.error(e, Provider.name);
|
|
8209
|
+
_this.providers = _this.providers.filter(function(p) {
|
|
8210
|
+
return p.name !== Provider.name;
|
|
8211
|
+
});
|
|
8209
8212
|
});
|
|
8210
8213
|
}))
|
|
8211
8214
|
];
|
package/dist/index.js
CHANGED
|
@@ -8102,7 +8102,10 @@ var Swap = /*#__PURE__*/ function(EventEmitter) {
|
|
|
8102
8102
|
4,
|
|
8103
8103
|
Promise.all(this.providers.map(function(Provider) {
|
|
8104
8104
|
return Provider.init(_this.tokenList.all).catch(function(e) {
|
|
8105
|
-
console.
|
|
8105
|
+
console.error(e, Provider.name);
|
|
8106
|
+
_this.providers = _this.providers.filter(function(p) {
|
|
8107
|
+
return p.name !== Provider.name;
|
|
8108
|
+
});
|
|
8106
8109
|
});
|
|
8107
8110
|
}))
|
|
8108
8111
|
];
|