@tatumio/bch 2.0.1-alpha.327 → 2.0.1-alpha.329

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/bch",
3
- "version": "2.0.1-alpha.327",
3
+ "version": "2.0.1-alpha.329",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/shared-testing-common": "2.0.1-alpha.327",
9
- "@tatumio/api-client": "2.0.1-alpha.327",
8
+ "@tatumio/shared-testing-common": "2.0.1-alpha.329",
9
+ "@tatumio/api-client": "2.0.1-alpha.329",
10
10
  "axios": "^0.26.0",
11
11
  "form-data": "^4.0.0",
12
- "@tatumio/shared-testing-btc-based": "2.0.1-alpha.327",
13
- "@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.327",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.327",
12
+ "@tatumio/shared-testing-btc-based": "2.0.1-alpha.329",
13
+ "@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.329",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.329",
15
15
  "bignumber.js": "^9.0.2",
16
- "@tatumio/shared-core": "2.0.1-alpha.327",
17
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.327",
16
+ "@tatumio/shared-core": "2.0.1-alpha.329",
17
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.329",
18
18
  "bip32": "^2.0.5",
19
19
  "bip39": "^3.0.2",
20
20
  "bitcoinjs-lib": "^5.2.0",
@@ -93,4 +93,63 @@ export declare const TatumBchSDK: (args: SDKArguments) => {
93
93
  }>;
94
94
  prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => string[];
95
95
  };
96
+ ledger: {
97
+ customer: {
98
+ get: typeof import("@tatumio/api-client").CustomerService.getCustomerByExternalOrInternalId;
99
+ getAll: typeof import("@tatumio/api-client").CustomerService.findAllCustomers;
100
+ update: typeof import("@tatumio/api-client").CustomerService.updateCustomer;
101
+ activate: typeof import("@tatumio/api-client").CustomerService.activateCustomer;
102
+ deactivate: typeof import("@tatumio/api-client").CustomerService.deactivateCustomer;
103
+ enable: typeof import("@tatumio/api-client").CustomerService.enableCustomer;
104
+ disable: typeof import("@tatumio/api-client").CustomerService.disableCustomer;
105
+ };
106
+ orderBook: {
107
+ getHistorical: typeof import("@tatumio/api-client").OrderBookService.getHistoricalTradesBody;
108
+ getActiveBuyTrades: typeof import("@tatumio/api-client").OrderBookService.getBuyTradesBody;
109
+ getActiveSellTrades: typeof import("@tatumio/api-client").OrderBookService.getSellTradesBody;
110
+ newTrade: typeof import("@tatumio/api-client").OrderBookService.storeTrade;
111
+ get: typeof import("@tatumio/api-client").OrderBookService.getTradeById;
112
+ cancel: typeof import("@tatumio/api-client").OrderBookService.deleteTrade;
113
+ cancelByAccount: typeof import("@tatumio/api-client").OrderBookService.deleteAccountTrades;
114
+ };
115
+ transaction: {
116
+ send: typeof import("@tatumio/api-client").TransactionService.sendTransaction;
117
+ sendMultiple: typeof import("@tatumio/api-client").TransactionService.sendTransactionBatch;
118
+ getAll: typeof import("@tatumio/api-client").TransactionService.getTransactions;
119
+ getAllByAccount: typeof import("@tatumio/api-client").TransactionService.getTransactionsByAccountId;
120
+ getAllByCustomer: typeof import("@tatumio/api-client").TransactionService.getTransactionsByCustomerId;
121
+ getAllByReference: typeof import("@tatumio/api-client").TransactionService.getTransactionsByReference;
122
+ countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
123
+ countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
124
+ };
125
+ virtualCurrency: {
126
+ create: typeof import("@tatumio/api-client").VirtualCurrencyService.createCurrency;
127
+ mint: typeof import("@tatumio/api-client").VirtualCurrencyService.mintCurrency;
128
+ revoke: typeof import("@tatumio/api-client").VirtualCurrencyService.revokeCurrency;
129
+ getByName: typeof import("@tatumio/api-client").VirtualCurrencyService.getCurrency;
130
+ update: typeof import("@tatumio/api-client").VirtualCurrencyService.updateCurrency;
131
+ };
132
+ blockAmount: {
133
+ block: typeof import("@tatumio/api-client").AccountService.blockAmount;
134
+ unblock: typeof import("@tatumio/api-client").AccountService.deleteBlockAmount;
135
+ unblockWithTransaction: typeof import("@tatumio/api-client").AccountService.unblockAmountWithTransaction;
136
+ };
137
+ account: {
138
+ get: typeof import("@tatumio/api-client").AccountService.getAccountByAccountId;
139
+ getAll: typeof import("@tatumio/api-client").AccountService.getAccounts;
140
+ getByCustomerId: typeof import("@tatumio/api-client").AccountService.getAccountsByCustomerId;
141
+ getBalance: typeof import("@tatumio/api-client").AccountService.getAccountBalance;
142
+ create: typeof import("@tatumio/api-client").AccountService.createAccount;
143
+ createMultiple: typeof import("@tatumio/api-client").AccountService.createAccountBatch;
144
+ update: typeof import("@tatumio/api-client").AccountService.updateAccountByAccountId;
145
+ getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").AccountService.getBlockAmountById;
146
+ activate: typeof import("@tatumio/api-client").AccountService.activateAccount;
147
+ deactivate: typeof import("@tatumio/api-client").AccountService.deactivateAccount;
148
+ freeze: typeof import("@tatumio/api-client").AccountService.freezeAccount;
149
+ unfreeze: typeof import("@tatumio/api-client").AccountService.unfreezeAccount;
150
+ generate: (account: import("@tatumio/api-client").CreateAccount & {
151
+ xpub?: string;
152
+ }, generateNewWalletFn: any, generateNewWallet?: boolean, testnet?: boolean, webhookUrl?: string) => Promise<any>;
153
+ };
154
+ };
96
155
  };