@tatumio/celo 2.0.1-alpha.275 → 2.0.1-alpha.276
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/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/celo",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.276",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
|
9
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
|
8
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.276",
|
|
9
|
+
"@tatumio/api-client": "2.0.1-alpha.276",
|
|
10
10
|
"axios": "^0.26.0",
|
|
11
11
|
"form-data": "^4.0.0",
|
|
12
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
|
13
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
|
12
|
+
"@tatumio/shared-core": "2.0.1-alpha.276",
|
|
13
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.276",
|
|
14
14
|
"bignumber.js": "^9.0.2",
|
|
15
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
|
16
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
|
15
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.276",
|
|
16
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.276",
|
|
17
17
|
"ethereumjs-wallet": "^1.0.2",
|
|
18
18
|
"bip39": "^3.0.2",
|
|
19
19
|
"web3": "^1.7.4",
|
|
@@ -5,8 +5,9 @@ const api_client_1 = require("@tatumio/api-client");
|
|
|
5
5
|
const shared_blockchain_evm_based_1 = require("@tatumio/shared-blockchain-evm-based");
|
|
6
6
|
const transactions_1 = require("../transactions");
|
|
7
7
|
const celoTxService = (args) => {
|
|
8
|
+
const nativeTxs = (0, transactions_1.native)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }));
|
|
8
9
|
return {
|
|
9
|
-
native: Object.assign(
|
|
10
|
+
native: Object.assign(Object.assign({}, nativeTxs), { prepare: Object.assign({}, nativeTxs.prepare) }),
|
|
10
11
|
erc721: Object.assign({}, (0, transactions_1.erc721)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
11
12
|
multiToken: Object.assign({}, (0, transactions_1.multiToken)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
12
13
|
custodial: Object.assign({}, (0, shared_blockchain_evm_based_1.custodial)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"celo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.tx.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AAEjD,sFAAmG;AACnG,kDAAkF;AAE3E,MAAM,aAAa,GAAG,CAAC,IAA4D,EAAE,EAAE;IAC5F,
|
|
1
|
+
{"version":3,"file":"celo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.tx.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AAEjD,sFAAmG;AACnG,kDAAkF;AAE3E,MAAM,aAAa,GAAG,CAAC,IAA4D,EAAE,EAAE;IAC5F,MAAM,SAAS,GAAG,IAAA,qBAAM,kCACnB,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CAAA;IAEF,OAAO;QACL,MAAM,kCACD,SAAS,KACZ,OAAO,oBACF,SAAS,CAAC,OAAO,IAEvB;QACD,MAAM,oBACD,IAAA,qBAAM,kCACJ,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,UAAU,oBACL,IAAA,yBAAU,kCACR,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,SAAS,oBACJ,IAAA,uCAAiB,kCACf,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,KAAK,oBACA,IAAA,oBAAK,kCACH,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,aAAa,oBACR,IAAA,4BAAa,kCACX,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;KACF,CAAA;AACH,CAAC,CAAA;AA5CY,QAAA,aAAa,iBA4CzB"}
|