@toruslabs/ethereum-controllers 6.2.1 → 6.2.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.
|
@@ -201,7 +201,7 @@ class NftsController extends baseControllers.BaseController {
|
|
|
201
201
|
return undefined;
|
|
202
202
|
}
|
|
203
203
|
}));
|
|
204
|
-
const nonZeroTokens = promiseSettledResult.filter(x => x.status === "fulfilled" && x).map(x => x.value);
|
|
204
|
+
const nonZeroTokens = promiseSettledResult.filter(x => x.status === "fulfilled" && x.value).map(x => x.value);
|
|
205
205
|
this.update({
|
|
206
206
|
nfts: {
|
|
207
207
|
[userAddress]: deepmerge(this.userNfts, nonZeroTokens)
|
|
@@ -199,7 +199,7 @@ class NftsController extends BaseController {
|
|
|
199
199
|
return undefined;
|
|
200
200
|
}
|
|
201
201
|
}));
|
|
202
|
-
const nonZeroTokens = promiseSettledResult.filter(x => x.status === "fulfilled" && x).map(x => x.value);
|
|
202
|
+
const nonZeroTokens = promiseSettledResult.filter(x => x.status === "fulfilled" && x.value).map(x => x.value);
|
|
203
203
|
this.update({
|
|
204
204
|
nfts: {
|
|
205
205
|
[userAddress]: deepmerge(this.userNfts, nonZeroTokens)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toruslabs/ethereum-controllers",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"homepage": "https://github.com/torusresearch/controllers#readme",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@ethereumjs/util": "^9.1.0",
|
|
24
|
-
"@toruslabs/base-controllers": "^6.2.
|
|
24
|
+
"@toruslabs/base-controllers": "^6.2.2",
|
|
25
25
|
"@toruslabs/http-helpers": "^7.0.0",
|
|
26
26
|
"@web3auth/auth": "^9.3.3",
|
|
27
27
|
"async-mutex": "^0.5.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "a6981fd60a84757fc1874cb67cb4df4b75d0cc34",
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
|
|
67
67
|
"@nomicfoundation/hardhat-ethers": "^3.0.8",
|