@tatumio/doge 2.0.1-alpha.249 → 2.0.1-alpha.252

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,26 +1,26 @@
1
1
  {
2
2
  "name": "@tatumio/doge",
3
- "version": "2.0.1-alpha.249",
3
+ "version": "2.0.1-alpha.252",
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.249",
9
- "@tatumio/api-client": "2.0.1-alpha.249",
8
+ "@tatumio/shared-testing-common": "2.0.1-alpha.252",
9
+ "@tatumio/api-client": "2.0.1-alpha.252",
10
10
  "axios": "^0.26.0",
11
11
  "form-data": "^4.0.0",
12
- "@tatumio/shared-testing-btc-based": "2.0.1-alpha.249",
13
- "@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.249",
14
- "@tatumio/shared-core": "2.0.1-alpha.249",
15
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.249",
16
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.249",
12
+ "@tatumio/shared-testing-btc-based": "2.0.1-alpha.252",
13
+ "@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.252",
14
+ "@tatumio/shared-core": "2.0.1-alpha.252",
15
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.252",
16
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.252",
17
17
  "bignumber.js": "^9.0.2",
18
18
  "bip32": "^2.0.5",
19
19
  "bip39": "^3.0.2",
20
20
  "bitcoinjs-lib": "^5.2.0",
21
21
  "hdkey": "^2.0.1",
22
- "bitcore-lib": "^8.25.25",
23
- "bitcore-lib-doge": "^8.25.27"
22
+ "bitcore-lib": "8.25.8",
23
+ "bitcore-lib-doge": "8.25.7"
24
24
  },
25
25
  "peerDependencies": {}
26
26
  }
@@ -1,25 +1,25 @@
1
- import { BlockchainDogecoinService, TatumUrl } from '@tatumio/api-client';
1
+ import { DogecoinService, TatumUrl } from '@tatumio/api-client';
2
2
  export declare const TatumDogeSDK: (args: {
3
3
  apiKey: string;
4
4
  url?: TatumUrl;
5
5
  }) => {
6
6
  transaction: import("@tatumio/shared-blockchain-btc-based").BtcBasedTx<import("./doge.sdk.tx").DogeTransaction>;
7
7
  blockchain: {
8
- mempool: typeof BlockchainDogecoinService.dogeGetMempool;
9
- info: typeof BlockchainDogecoinService.dogeGetBlockChainInfo;
10
- broadcast: typeof BlockchainDogecoinService.dogeBroadcast;
11
- getBlockHash: typeof BlockchainDogecoinService.dogeGetBlockHash;
12
- getBlock: typeof BlockchainDogecoinService.dogeGetBlock;
13
- getUTXO: typeof BlockchainDogecoinService.dogeGetUtxo;
14
- getTransaction: typeof BlockchainDogecoinService.dogeGetRawTransaction;
15
- sendTransaction: typeof BlockchainDogecoinService.dogeTransferBlockchain;
8
+ mempool: typeof DogecoinService.dogeGetMempool;
9
+ info: typeof DogecoinService.dogeGetBlockChainInfo;
10
+ broadcast: typeof DogecoinService.dogeBroadcast;
11
+ getBlockHash: typeof DogecoinService.dogeGetBlockHash;
12
+ getBlock: typeof DogecoinService.dogeGetBlock;
13
+ getUTXO: typeof DogecoinService.dogeGetUtxo;
14
+ getTransaction: typeof DogecoinService.dogeGetRawTransaction;
15
+ sendTransaction: typeof DogecoinService.dogeTransferBlockchain;
16
16
  };
17
17
  kms: {
18
18
  sign(tx: import("@tatumio/shared-core").ChainTransactionKMS, privateKeys: string[]): Promise<string>;
19
19
  getAllPending(signatures?: string): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").PendingTransaction[]>;
20
- get: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.getPendingTransactionToSign;
21
- complete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.completePendingSignature;
22
- delete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.deletePendingTransactionToSign;
20
+ get: typeof import("@tatumio/api-client").KeyManagementSystemService.getPendingTransactionToSign;
21
+ complete: typeof import("@tatumio/api-client").KeyManagementSystemService.completePendingSignature;
22
+ delete: typeof import("@tatumio/api-client").KeyManagementSystemService.deletePendingTransactionToSign;
23
23
  };
24
24
  wallet: {
25
25
  generateAddressFromXPub(xpub: string, i: number, options?: {
@@ -38,51 +38,51 @@ export declare const TatumDogeSDK: (args: {
38
38
  offchain: {
39
39
  depositAddress: {
40
40
  checkExists: (address: string, index?: number) => Promise<import("@tatumio/api-client").Account>;
41
- create: typeof import("@tatumio/api-client").OffChainAccountService.generateDepositAddress;
42
- createMultiple: typeof import("@tatumio/api-client").OffChainAccountService.generateDepositAddressesBatch;
43
- assign: typeof import("@tatumio/api-client").OffChainAccountService.assignAddress;
44
- remove: typeof import("@tatumio/api-client").OffChainAccountService.removeAddress;
45
- getByAccount: typeof import("@tatumio/api-client").OffChainAccountService.getAllDepositAddresses;
41
+ create: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddress;
42
+ createMultiple: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddressesBatch;
43
+ assign: typeof import("@tatumio/api-client").BlockchainAddressesService.assignAddress;
44
+ remove: typeof import("@tatumio/api-client").BlockchainAddressesService.removeAddress;
45
+ getByAccount: typeof import("@tatumio/api-client").BlockchainAddressesService.getAllDepositAddresses;
46
46
  };
47
47
  withdrawal: {
48
48
  getAll: (status?: "InProgress" | "Done" | "Cancelled", pageSize?: number, offset?: number) => Promise<import("@tatumio/api-client").WithdrawalObject[]>;
49
- broadcast: typeof import("@tatumio/api-client").OffChainWithdrawalService.broadcastBlockchainTransaction;
50
- create: typeof import("@tatumio/api-client").OffChainWithdrawalService.storeWithdrawal;
51
- complete: typeof import("@tatumio/api-client").OffChainWithdrawalService.completeWithdrawal;
49
+ broadcast: typeof import("@tatumio/api-client").WithdrawalService.broadcastBlockchainTransaction;
50
+ create: typeof import("@tatumio/api-client").WithdrawalService.storeWithdrawal;
51
+ complete: typeof import("@tatumio/api-client").WithdrawalService.completeWithdrawal;
52
52
  };
53
- storeTokenAddress: typeof import("@tatumio/api-client").OffChainBlockchainService.storeTokenAddress;
53
+ storeTokenAddress: typeof import("@tatumio/api-client").BlockchainOperationsService.storeTokenAddress;
54
54
  };
55
55
  getExchangeRate(basePair?: import("@tatumio/api-client").Fiat): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").ExchangeRate>;
56
56
  storage: {
57
- upload: typeof import("@tatumio/api-client").StorageIpfsService.storeIpfs;
58
- get: typeof import("@tatumio/api-client").StorageIpfsService.getIpfsData;
57
+ upload: typeof import("@tatumio/api-client").IpfsService.storeIpfs;
58
+ get: typeof import("@tatumio/api-client").IpfsService.getIpfsData;
59
59
  };
60
- subscriptions: typeof import("@tatumio/api-client").LedgerSubscriptionService;
60
+ subscriptions: typeof import("@tatumio/api-client").NotificationSubscriptionsService;
61
61
  security: {
62
- checkMaliciousAddress: typeof import("@tatumio/api-client").SecurityAddressService.checkMalicousAddress;
62
+ checkMaliciousAddress: typeof import("@tatumio/api-client").MaliciousAddressService.checkMalicousAddress;
63
63
  };
64
64
  tatum: {
65
- getCredits: typeof import("@tatumio/api-client").TatumServiceService.getCredits;
66
- getVersion: typeof import("@tatumio/api-client").TatumServiceService.getVersion;
67
- freezeApiKey: typeof import("@tatumio/api-client").TatumServiceService.freezeApiKey;
68
- unfreezeApiKey: typeof import("@tatumio/api-client").TatumServiceService.unfreezeApiKey;
65
+ getCredits: typeof import("@tatumio/api-client").ServiceUtilsService.getCredits;
66
+ getVersion: typeof import("@tatumio/api-client").ServiceUtilsService.getVersion;
67
+ freezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.freezeApiKey;
68
+ unfreezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.unfreezeApiKey;
69
69
  };
70
70
  nft: {
71
- deployNFTSmartContract: typeof import("@tatumio/api-client").BlockchainNftService.nftDeployErc721;
72
- addNFTMinter: typeof import("@tatumio/api-client").BlockchainNftService.nftAddMinter;
73
- mintNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftMintErc721;
74
- mintMultipleNFTs: typeof import("@tatumio/api-client").BlockchainNftService.nftMintMultipleErc721;
75
- burnNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftBurnErc721;
76
- transferNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftTransferErc721;
77
- updateNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftUpdateCashbackErc721;
78
- getNFTTransaction: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactErc721;
79
- getNFTTransactionsByToken: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByToken;
80
- getNFTTransactionsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByAddress;
81
- getNFTsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTokensByAddressErc721;
82
- getNFTProvenanceData: typeof import("@tatumio/api-client").BlockchainNftService.nftGetProvenanceDataErc721;
83
- getNFTMetadataURI: typeof import("@tatumio/api-client").BlockchainNftService.nftGetMetadataErc721;
84
- getNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftGetRoyaltyErc721;
85
- getNFTAccountBalance: typeof import("@tatumio/api-client").BlockchainNftService.nftGetBalanceErc721;
71
+ deployNFTSmartContract: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftDeployErc721;
72
+ addNFTMinter: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftAddMinter;
73
+ mintNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintErc721;
74
+ mintMultipleNFTs: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintMultipleErc721;
75
+ burnNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftBurnErc721;
76
+ transferNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftTransferErc721;
77
+ updateNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftUpdateCashbackErc721;
78
+ getNFTTransaction: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactErc721;
79
+ getNFTTransactionsByToken: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactionByToken;
80
+ getNFTTransactionsByAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactionByAddress;
81
+ getNFTsByAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTokensByAddressErc721;
82
+ getNFTProvenanceData: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetProvenanceDataErc721;
83
+ getNFTMetadataURI: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetMetadataErc721;
84
+ getNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetRoyaltyErc721;
85
+ getNFTAccountBalance: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetBalanceErc721;
86
86
  getNFTImage: (chain: "ETH" | "BSC" | "MATIC" | "CELO" | "FLOW" | "TRON" | "ONE" | "KLAY" | "SOL" | "KCS", contractAddress: string, tokenId: string, account?: string) => Promise<{
87
87
  originalUrl: string;
88
88
  publicUrl: string;
@@ -8,14 +8,14 @@ const doge_sdk_tx_1 = require("./doge.sdk.tx");
8
8
  const blockchain = shared_core_1.Blockchain.DOGE;
9
9
  const TatumDogeSDK = (args) => {
10
10
  return Object.assign(Object.assign({}, (0, shared_blockchain_btc_based_1.btcBasedSdk)(Object.assign(Object.assign({}, args), { blockchain }))), { transaction: (0, doge_sdk_tx_1.dogeTransactions)(), blockchain: {
11
- mempool: api_client_1.BlockchainDogecoinService.dogeGetMempool,
12
- info: api_client_1.BlockchainDogecoinService.dogeGetBlockChainInfo,
13
- broadcast: api_client_1.BlockchainDogecoinService.dogeBroadcast,
14
- getBlockHash: api_client_1.BlockchainDogecoinService.dogeGetBlockHash,
15
- getBlock: api_client_1.BlockchainDogecoinService.dogeGetBlock,
16
- getUTXO: api_client_1.BlockchainDogecoinService.dogeGetUtxo,
17
- getTransaction: api_client_1.BlockchainDogecoinService.dogeGetRawTransaction,
18
- sendTransaction: api_client_1.BlockchainDogecoinService.dogeTransferBlockchain,
11
+ mempool: api_client_1.DogecoinService.dogeGetMempool,
12
+ info: api_client_1.DogecoinService.dogeGetBlockChainInfo,
13
+ broadcast: api_client_1.DogecoinService.dogeBroadcast,
14
+ getBlockHash: api_client_1.DogecoinService.dogeGetBlockHash,
15
+ getBlock: api_client_1.DogecoinService.dogeGetBlock,
16
+ getUTXO: api_client_1.DogecoinService.dogeGetUtxo,
17
+ getTransaction: api_client_1.DogecoinService.dogeGetRawTransaction,
18
+ sendTransaction: api_client_1.DogecoinService.dogeTransferBlockchain,
19
19
  } });
20
20
  };
21
21
  exports.TatumDogeSDK = TatumDogeSDK;
@@ -1 +1 @@
1
- {"version":3,"file":"doge.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/doge/src/lib/doge.sdk.ts"],"names":[],"mappings":";;;AAAA,sDAAiD;AACjD,sFAAkE;AAClE,oDAAyE;AACzE,+CAAgD;AAEhD,MAAM,UAAU,GAAG,wBAAU,CAAC,IAAI,CAAA;AAE3B,MAAM,YAAY,GAAG,CAAC,IAAwC,EAAE,EAAE;IACvE,uCACK,IAAA,yCAAW,kCAAM,IAAI,KAAE,UAAU,IAAG,KACvC,WAAW,EAAE,IAAA,8BAAgB,GAAE,EAC/B,UAAU,EAAE;YACV,OAAO,EAAE,sCAAyB,CAAC,cAAc;YACjD,IAAI,EAAE,sCAAyB,CAAC,qBAAqB;YACrD,SAAS,EAAE,sCAAyB,CAAC,aAAa;YAClD,YAAY,EAAE,sCAAyB,CAAC,gBAAgB;YACxD,QAAQ,EAAE,sCAAyB,CAAC,YAAY;YAChD,OAAO,EAAE,sCAAyB,CAAC,WAAW;YAC9C,cAAc,EAAE,sCAAyB,CAAC,qBAAqB;YAC/D,eAAe,EAAE,sCAAyB,CAAC,sBAAsB;SAClE,IACF;AACH,CAAC,CAAA;AAfY,QAAA,YAAY,gBAexB"}
1
+ {"version":3,"file":"doge.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/doge/src/lib/doge.sdk.ts"],"names":[],"mappings":";;;AAAA,sDAAiD;AACjD,sFAAkE;AAClE,oDAA+D;AAC/D,+CAAgD;AAEhD,MAAM,UAAU,GAAG,wBAAU,CAAC,IAAI,CAAA;AAE3B,MAAM,YAAY,GAAG,CAAC,IAAwC,EAAE,EAAE;IACvE,uCACK,IAAA,yCAAW,kCAAM,IAAI,KAAE,UAAU,IAAG,KACvC,WAAW,EAAE,IAAA,8BAAgB,GAAE,EAC/B,UAAU,EAAE;YACV,OAAO,EAAE,4BAAe,CAAC,cAAc;YACvC,IAAI,EAAE,4BAAe,CAAC,qBAAqB;YAC3C,SAAS,EAAE,4BAAe,CAAC,aAAa;YACxC,YAAY,EAAE,4BAAe,CAAC,gBAAgB;YAC9C,QAAQ,EAAE,4BAAe,CAAC,YAAY;YACtC,OAAO,EAAE,4BAAe,CAAC,WAAW;YACpC,cAAc,EAAE,4BAAe,CAAC,qBAAqB;YACrD,eAAe,EAAE,4BAAe,CAAC,sBAAsB;SACxD,IACF;AACH,CAAC,CAAA;AAfY,QAAA,YAAY,gBAexB"}