@shapeshiftoss/unchained-client 8.0.0 → 8.0.1
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.
|
@@ -25,7 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.TransactionParser = void 0;
|
|
27
27
|
const caip_1 = require("@shapeshiftoss/caip");
|
|
28
|
-
const src_1 = require("@shapeshiftoss/caip/src");
|
|
29
28
|
const bignumber_js_1 = require("bignumber.js");
|
|
30
29
|
const ethers_1 = require("ethers");
|
|
31
30
|
const types_1 = require("../../types");
|
|
@@ -43,7 +42,7 @@ class TransactionParser {
|
|
|
43
42
|
this.assetId = (0, caip_1.toAssetId)({
|
|
44
43
|
...(0, caip_1.fromChainId)(this.chainId),
|
|
45
44
|
assetNamespace: 'slip44',
|
|
46
|
-
assetReference:
|
|
45
|
+
assetReference: caip_1.ASSET_REFERENCE.Ethereum
|
|
47
46
|
});
|
|
48
47
|
const provider = new ethers_1.ethers.providers.JsonRpcProvider(args.rpcUrl);
|
|
49
48
|
this.thor = new thor.Parser({ chainId: this.chainId, rpcUrl: args.rpcUrl });
|
|
@@ -155,7 +154,7 @@ class TransactionParser {
|
|
|
155
154
|
(0, caip_1.toAssetId)({
|
|
156
155
|
...(0, caip_1.fromChainId)(this.chainId),
|
|
157
156
|
assetNamespace: 'slip44',
|
|
158
|
-
assetReference:
|
|
157
|
+
assetReference: caip_1.ASSET_REFERENCE.Ethereum
|
|
159
158
|
}),
|
|
160
159
|
internalTx.from,
|
|
161
160
|
internalTx.to,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/unchained-client",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"ws": "^8.3.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@shapeshiftoss/caip": "^
|
|
31
|
+
"@shapeshiftoss/caip": "^4.0.0",
|
|
32
32
|
"@shapeshiftoss/logger": "^1.1.2",
|
|
33
33
|
"@shapeshiftoss/types": "^4.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@shapeshiftoss/caip": "^
|
|
36
|
+
"@shapeshiftoss/caip": "^4.0.0",
|
|
37
37
|
"@shapeshiftoss/common-api": "^6.11.0",
|
|
38
38
|
"@shapeshiftoss/logger": "^1.1.2",
|
|
39
39
|
"@shapeshiftoss/types": "^4.0.0",
|