@tatumio/tron 2.0.1-alpha.360 → 2.0.1-alpha.362
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tatumio/tron",
|
3
|
-
"version": "2.0.1-alpha.
|
3
|
+
"version": "2.0.1-alpha.362",
|
4
4
|
"type": "commonjs",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "./src/index.js",
|
7
7
|
"types": "./src/index.d.ts",
|
8
8
|
"dependencies": {
|
9
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
10
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
9
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.362",
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.362",
|
11
11
|
"axios": "^0.26.0",
|
12
12
|
"form-data": "^4.0.0",
|
13
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
14
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
13
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.362",
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.362",
|
15
15
|
"bignumber.js": "^9.0.2",
|
16
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
17
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
16
|
+
"@tatumio/shared-core": "2.0.1-alpha.362",
|
17
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.362",
|
18
18
|
"ethereumjs-wallet": "^1.0.2",
|
19
19
|
"bip39": "^3.0.2",
|
20
20
|
"web3": "^1.7.4",
|
@@ -10,8 +10,7 @@ const tronWeb = () => {
|
|
10
10
|
return {
|
11
11
|
getClient: (provider) => {
|
12
12
|
var _a;
|
13
|
-
const endpoint = provider ||
|
14
|
-
`${process.env['TATUM_API_URL'] || api_client_1.TATUM_API_CONSTANTS.URL}/v3/tron/node/${api_client_1.TATUM_API_CONSTANTS.API_KEY}`;
|
13
|
+
const endpoint = provider || `${api_client_1.OpenAPI.BASE}/v3/tron/node/${api_client_1.TATUM_API_CONSTANTS.API_KEY}`;
|
15
14
|
const HttpProvider = tronweb_1.default.providers.HttpProvider;
|
16
15
|
const fullNode = new HttpProvider(endpoint);
|
17
16
|
const solidityNode = new HttpProvider(endpoint);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tron.web.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/tron/src/lib/services/tron.web.ts"],"names":[],"mappings":";;;;AAAA,
|
1
|
+
{"version":3,"file":"tron.web.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/tron/src/lib/services/tron.web.ts"],"names":[],"mappings":";;;;AAAA,oDAAkE;AAClE,yDAAyD;AACzD,aAAa;AACb,8DAA6B;AAStB,MAAM,OAAO,GAAG,GAAa,EAAE;IACpC,OAAO;QACL,SAAS,EAAE,CAAC,QAAiB,EAAiB,EAAE;;YAC9C,MAAM,QAAQ,GAAG,QAAQ,IAAI,GAAG,oBAAO,CAAC,IAAI,iBAAiB,gCAAmB,CAAC,OAAO,EAAE,CAAA;YAE1F,MAAM,YAAY,GAAG,iBAAO,CAAC,SAAS,CAAC,YAAY,CAAA;YAEnD,MAAM,QAAQ,GAAG,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAA;YAC3C,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAA;YAC/C,MAAM,WAAW,GAAG,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAA;YAE9C,MAAM,cAAc,GAAG,IAAI,iBAAO,CAAC,QAAQ,EAAE,YAAY,EAAE,WAAW,CAAC,CAAA;YAEvE,cAAc,CAAC,SAAS,CAAC;gBACvB,kBAAkB,EAAE,MAAA,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,mCAAI,gCAAmB,CAAC,gBAAgB;aAC5F,CAAC,CAAA;YAEF,OAAO,cAAc,CAAA;QACvB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AApBY,QAAA,OAAO,WAoBnB"}
|