@tatumio/celo 2.2.49 → 2.2.50

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@tatumio/celo",
3
- "version": "2.2.49",
3
+ "version": "2.2.50",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/shared-abstract-sdk": "2.2.49",
9
- "@tatumio/api-client": "2.2.49",
8
+ "@tatumio/shared-abstract-sdk": "2.2.50",
9
+ "@tatumio/api-client": "2.2.50",
10
10
  "axios": "^0.26.0",
11
11
  "form-data": "^4.0.0",
12
- "@tatumio/shared-testing-common": "2.2.49",
12
+ "@tatumio/shared-testing-common": "2.2.50",
13
13
  "bignumber.js": "^9.0.2",
14
- "@tatumio/shared-core": "2.2.49",
14
+ "@tatumio/shared-core": "2.2.50",
15
15
  "lodash": "^4.17.21",
16
- "@tatumio/shared-blockchain-evm-based": "2.2.49",
17
- "@tatumio/shared-blockchain-abstract": "2.2.49",
16
+ "@tatumio/shared-blockchain-evm-based": "2.2.50",
17
+ "@tatumio/shared-blockchain-abstract": "2.2.50",
18
18
  "ethereumjs-wallet": "^1.0.2",
19
19
  "bip39": "^3.0.2",
20
20
  "web3": "^1.7.4",
21
21
  "web3-core": "^1.7.4",
22
22
  "web3-utils": "^1.7.4",
23
- "@tatumio/shared-testing-evm-based": "2.2.49",
23
+ "@tatumio/shared-testing-evm-based": "2.2.50",
24
24
  "@celo-tools/celo-ethers-wrapper": "^0.1.0",
25
25
  "tslib": "^2.0.0"
26
26
  },
@@ -56,7 +56,7 @@ export declare const TatumCeloSDK: (args: SDKArguments) => {
56
56
  getNFTMetadataURI: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetMetadataErc721;
57
57
  getNFTAccountBalance: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetBalanceErc721;
58
58
  getNFTContractAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetContractAddress;
59
- getNFTImage: (chain: "ETH" | "CELO" | "BSC" | "KLAY" | "KCS" | "MATIC" | "ONE" | "FLOW" | "TRON" | "SOL", contractAddress: string, tokenId: string, account?: string) => Promise<{
59
+ getNFTImage: (chain: "CELO" | "BSC" | "ETH" | "KLAY" | "KCS" | "MATIC" | "ONE" | "FLOW" | "TRON" | "SOL", contractAddress: string, tokenId: string, account?: string) => Promise<{
60
60
  originalUrl: string;
61
61
  publicUrl: string;
62
62
  }>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.celoWeb3 = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const shared_blockchain_evm_based_1 = require("@tatumio/shared-blockchain-evm-based");
6
5
  const celoWeb3 = (args) => {
7
6
  const evmBasedWeb3Result = (0, shared_blockchain_evm_based_1.evmBasedWeb3)(args);
@@ -13,12 +12,6 @@ const celoWeb3 = (args) => {
13
12
  web3.eth.defaultAccount = web3.eth.accounts.wallet[0].address;
14
13
  }
15
14
  return web3;
16
- },
17
- getGasPriceInWei() {
18
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
19
- // TODO: SHOULD BE REPLACED TO CELO
20
- return (yield args.apiCalls.getFee('ETH')).medium.toString();
21
- });
22
15
  } });
23
16
  };
24
17
  exports.celoWeb3 = celoWeb3;
@@ -1 +1 @@
1
- {"version":3,"file":"celo.web3.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.web3.ts"],"names":[],"mappings":";;;;AAAA,sFAAmE;AAK5D,MAAM,QAAQ,GAAG,CAAC,IAMxB,EAAE,EAAE;IACH,MAAM,kBAAkB,GAAG,IAAA,0CAAY,EAAC,IAAI,CAAC,CAAA;IAE7C,uCACK,kBAAkB,KACrB,SAAS,CAAC,QAAiB,EAAE,cAAuB;;YAClD,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,kBAAkB,CAAC,SAAS,CAAC,QA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