@ocap/resolver 1.13.57 → 1.13.61
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/lib/index.js +0 -10
- package/package.json +11 -11
package/lib/index.js
CHANGED
|
@@ -311,11 +311,6 @@ module.exports = class OCAPResolver {
|
|
|
311
311
|
const tokens = await this.formatTokenMap({ [state.tokenAddress]: '0' });
|
|
312
312
|
state.tokenInfo = tokens.find((x) => x.address === state.tokenAddress);
|
|
313
313
|
state.foreignToken = state.tokenInfo.foreignToken;
|
|
314
|
-
|
|
315
|
-
// TODO: deprecate following 3 fields
|
|
316
|
-
state.erc20TokenAddress = state.foreignToken.contractAddress;
|
|
317
|
-
state.foreignChainType = state.foreignToken.chainType;
|
|
318
|
-
state.foreignChainId = state.foreignToken.chainName;
|
|
319
314
|
}
|
|
320
315
|
|
|
321
316
|
return state;
|
|
@@ -396,11 +391,6 @@ module.exports = class OCAPResolver {
|
|
|
396
391
|
if (typeof state.decimal === 'undefined') {
|
|
397
392
|
state.decimal = DEFAULT_TOKEN_DECIMAL;
|
|
398
393
|
}
|
|
399
|
-
|
|
400
|
-
// TODO: deprecate this
|
|
401
|
-
if (state.foreignToken) {
|
|
402
|
-
state.erc20ContractAddress = state.foreignToken.contractAddress;
|
|
403
|
-
}
|
|
404
394
|
}
|
|
405
395
|
|
|
406
396
|
return state;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.61",
|
|
7
7
|
"description": "GraphQL resolver built upon ocap statedb and GQL layer",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"jest": "^27.3.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcblock/did": "1.13.
|
|
26
|
-
"@arcblock/did-util": "1.13.
|
|
27
|
-
"@ocap/config": "1.13.
|
|
28
|
-
"@ocap/indexdb": "1.13.
|
|
29
|
-
"@ocap/mcrypto": "1.13.
|
|
30
|
-
"@ocap/message": "1.13.
|
|
31
|
-
"@ocap/state": "1.13.
|
|
32
|
-
"@ocap/tx-protocols": "1.13.
|
|
33
|
-
"@ocap/util": "1.13.
|
|
25
|
+
"@arcblock/did": "1.13.61",
|
|
26
|
+
"@arcblock/did-util": "1.13.61",
|
|
27
|
+
"@ocap/config": "1.13.61",
|
|
28
|
+
"@ocap/indexdb": "1.13.61",
|
|
29
|
+
"@ocap/mcrypto": "1.13.61",
|
|
30
|
+
"@ocap/message": "1.13.61",
|
|
31
|
+
"@ocap/state": "1.13.61",
|
|
32
|
+
"@ocap/tx-protocols": "1.13.61",
|
|
33
|
+
"@ocap/util": "1.13.61",
|
|
34
34
|
"debug": "^4.3.2",
|
|
35
35
|
"lodash": "^4.17.21"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "79d07bbde4df1d0d37afe76aaa1eaa2f30cc55a7"
|
|
38
38
|
}
|