@tatumio/ltc 2.0.1-alpha.250 → 2.0.1-alpha.253

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,25 +1,25 @@
1
1
  {
2
2
  "name": "@tatumio/ltc",
3
- "version": "2.0.1-alpha.250",
3
+ "version": "2.0.1-alpha.253",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.250",
9
- "@tatumio/api-client": "2.0.1-alpha.250",
8
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.253",
9
+ "@tatumio/api-client": "2.0.1-alpha.253",
10
10
  "axios": "^0.26.0",
11
11
  "form-data": "^4.0.0",
12
- "@tatumio/shared-testing-common": "2.0.1-alpha.250",
12
+ "@tatumio/shared-testing-common": "2.0.1-alpha.253",
13
13
  "bignumber.js": "^9.0.2",
14
- "@tatumio/shared-core": "2.0.1-alpha.250",
15
- "@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.250",
16
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.250",
14
+ "@tatumio/shared-core": "2.0.1-alpha.253",
15
+ "@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.253",
16
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.253",
17
17
  "bip32": "^2.0.5",
18
18
  "bip39": "^3.0.2",
19
19
  "bitcoinjs-lib": "^5.2.0",
20
20
  "hdkey": "^2.0.1",
21
21
  "bitcore-lib": "8.25.8",
22
- "@tatumio/shared-testing-btc-based": "2.0.1-alpha.250",
22
+ "@tatumio/shared-testing-btc-based": "2.0.1-alpha.253",
23
23
  "bitcore-lib-ltc": "8.25.27"
24
24
  },
25
25
  "peerDependencies": {}
@@ -1,25 +1,25 @@
1
- import { BlockchainLitecoinService } from '@tatumio/api-client';
1
+ import { LitecoinService } from '@tatumio/api-client';
2
2
  import { SDKArguments } from '@tatumio/shared-abstract-sdk';
3
3
  export declare const TatumLtcSDK: (args: SDKArguments) => {
4
4
  transaction: import("@tatumio/shared-blockchain-btc-based").BtcBasedTx<import("@tatumio/api-client").LtcTransactionAddress | import("@tatumio/api-client").LtcTransactionAddressKMS | import("@tatumio/api-client").LtcTransactionUTXO | import("@tatumio/api-client").LtcTransactionUTXOKMS>;
5
5
  blockchain: {
6
- info: typeof BlockchainLitecoinService.ltcGetBlockChainInfo;
7
- mempool: typeof BlockchainLitecoinService.ltcGetMempool;
8
- broadcast: typeof BlockchainLitecoinService.ltcBroadcast;
9
- getBlockHash: typeof BlockchainLitecoinService.ltcGetBlockHash;
10
- getBlock: typeof BlockchainLitecoinService.ltcGetBlock;
11
- getUTXO: typeof BlockchainLitecoinService.ltcGetUtxo;
12
- getBlockchainAccountBalance: typeof BlockchainLitecoinService.ltcGetBalanceOfAddress;
13
- getTxForAccount: typeof BlockchainLitecoinService.ltcGetTxByAddress;
14
- getTransaction: typeof BlockchainLitecoinService.ltcGetRawTransaction;
15
- send: typeof BlockchainLitecoinService.ltcTransferBlockchain;
6
+ info: typeof LitecoinService.ltcGetBlockChainInfo;
7
+ mempool: typeof LitecoinService.ltcGetMempool;
8
+ broadcast: typeof LitecoinService.ltcBroadcast;
9
+ getBlockHash: typeof LitecoinService.ltcGetBlockHash;
10
+ getBlock: typeof LitecoinService.ltcGetBlock;
11
+ getUTXO: typeof LitecoinService.ltcGetUtxo;
12
+ getBlockchainAccountBalance: typeof LitecoinService.ltcGetBalanceOfAddress;
13
+ getTxForAccount: typeof LitecoinService.ltcGetTxByAddress;
14
+ getTransaction: typeof LitecoinService.ltcGetRawTransaction;
15
+ send: typeof LitecoinService.ltcTransferBlockchain;
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 TatumLtcSDK: (args: SDKArguments) => {
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,16 +8,16 @@ const ltc_tx_1 = require("./transaction/ltc.tx");
8
8
  const blockchain = shared_core_1.Blockchain.LTC;
9
9
  const TatumLtcSDK = (args) => {
10
10
  return Object.assign(Object.assign({}, (0, shared_blockchain_btc_based_1.btcBasedSdk)(Object.assign(Object.assign({}, args), { blockchain }))), { transaction: (0, ltc_tx_1.ltcTransactions)(), blockchain: {
11
- info: api_client_1.BlockchainLitecoinService.ltcGetBlockChainInfo,
12
- mempool: api_client_1.BlockchainLitecoinService.ltcGetMempool,
13
- broadcast: api_client_1.BlockchainLitecoinService.ltcBroadcast,
14
- getBlockHash: api_client_1.BlockchainLitecoinService.ltcGetBlockHash,
15
- getBlock: api_client_1.BlockchainLitecoinService.ltcGetBlock,
16
- getUTXO: api_client_1.BlockchainLitecoinService.ltcGetUtxo,
17
- getBlockchainAccountBalance: api_client_1.BlockchainLitecoinService.ltcGetBalanceOfAddress,
18
- getTxForAccount: api_client_1.BlockchainLitecoinService.ltcGetTxByAddress,
19
- getTransaction: api_client_1.BlockchainLitecoinService.ltcGetRawTransaction,
20
- send: api_client_1.BlockchainLitecoinService.ltcTransferBlockchain,
11
+ info: api_client_1.LitecoinService.ltcGetBlockChainInfo,
12
+ mempool: api_client_1.LitecoinService.ltcGetMempool,
13
+ broadcast: api_client_1.LitecoinService.ltcBroadcast,
14
+ getBlockHash: api_client_1.LitecoinService.ltcGetBlockHash,
15
+ getBlock: api_client_1.LitecoinService.ltcGetBlock,
16
+ getUTXO: api_client_1.LitecoinService.ltcGetUtxo,
17
+ getBlockchainAccountBalance: api_client_1.LitecoinService.ltcGetBalanceOfAddress,
18
+ getTxForAccount: api_client_1.LitecoinService.ltcGetTxByAddress,
19
+ getTransaction: api_client_1.LitecoinService.ltcGetRawTransaction,
20
+ send: api_client_1.LitecoinService.ltcTransferBlockchain,
21
21
  } });
22
22
  };
23
23
  exports.TatumLtcSDK = TatumLtcSDK;
@@ -1 +1 @@
1
- {"version":3,"file":"ltc.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/ltc/src/lib/ltc.sdk.ts"],"names":[],"mappings":";;;AAAA,sDAAiD;AACjD,sFAAkE;AAClE,oDAA+D;AAC/D,iDAAsD;AAGtD,MAAM,UAAU,GAAG,wBAAU,CAAC,GAAG,CAAA;AAE1B,MAAM,WAAW,GAAG,CAAC,IAAkB,EAAE,EAAE;IAChD,uCACK,IAAA,yCAAW,kCAAM,IAAI,KAAE,UAAU,IAAG,KACvC,WAAW,EAAE,IAAA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