@tatumio/celo 2.0.1-alpha.327 → 2.0.1-alpha.328
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 +8 -8
- package/src/lib/celo.sdk.d.ts +59 -0
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/celo",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.328",
|
|
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.0.1-alpha.
|
|
9
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
|
8
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.328",
|
|
9
|
+
"@tatumio/api-client": "2.0.1-alpha.328",
|
|
10
10
|
"axios": "^0.26.0",
|
|
11
11
|
"form-data": "^4.0.0",
|
|
12
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
|
12
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.328",
|
|
13
13
|
"bignumber.js": "^9.0.2",
|
|
14
14
|
"lodash": "^4.17.21",
|
|
15
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
|
16
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
|
17
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
|
15
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.328",
|
|
16
|
+
"@tatumio/shared-core": "2.0.1-alpha.328",
|
|
17
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.328",
|
|
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.0.1-alpha.
|
|
23
|
+
"@tatumio/shared-testing-evm-based": "2.0.1-alpha.328",
|
|
24
24
|
"@celo-tools/celo-ethers-wrapper": "^0.1.0",
|
|
25
25
|
"tslib": "^2.0.0"
|
|
26
26
|
},
|
package/src/lib/celo.sdk.d.ts
CHANGED
|
@@ -255,4 +255,63 @@ export declare const TatumCeloSDK: (args: SDKArguments) => {
|
|
|
255
255
|
delete: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialDeleteWallet;
|
|
256
256
|
get: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallet;
|
|
257
257
|
};
|
|
258
|
+
ledger: {
|
|
259
|
+
customer: {
|
|
260
|
+
get: typeof import("@tatumio/api-client").CustomerService.getCustomerByExternalOrInternalId;
|
|
261
|
+
getAll: typeof import("@tatumio/api-client").CustomerService.findAllCustomers;
|
|
262
|
+
update: typeof import("@tatumio/api-client").CustomerService.updateCustomer;
|
|
263
|
+
activate: typeof import("@tatumio/api-client").CustomerService.activateCustomer;
|
|
264
|
+
deactivate: typeof import("@tatumio/api-client").CustomerService.deactivateCustomer;
|
|
265
|
+
enable: typeof import("@tatumio/api-client").CustomerService.enableCustomer;
|
|
266
|
+
disable: typeof import("@tatumio/api-client").CustomerService.disableCustomer;
|
|
267
|
+
};
|
|
268
|
+
orderBook: {
|
|
269
|
+
getHistorical: typeof import("@tatumio/api-client").OrderBookService.getHistoricalTradesBody;
|
|
270
|
+
getActiveBuyTrades: typeof import("@tatumio/api-client").OrderBookService.getBuyTradesBody;
|
|
271
|
+
getActiveSellTrades: typeof import("@tatumio/api-client").OrderBookService.getSellTradesBody;
|
|
272
|
+
newTrade: typeof import("@tatumio/api-client").OrderBookService.storeTrade;
|
|
273
|
+
get: typeof import("@tatumio/api-client").OrderBookService.getTradeById;
|
|
274
|
+
cancel: typeof import("@tatumio/api-client").OrderBookService.deleteTrade;
|
|
275
|
+
cancelByAccount: typeof import("@tatumio/api-client").OrderBookService.deleteAccountTrades;
|
|
276
|
+
};
|
|
277
|
+
transaction: {
|
|
278
|
+
send: typeof import("@tatumio/api-client").TransactionService.sendTransaction;
|
|
279
|
+
sendMultiple: typeof import("@tatumio/api-client").TransactionService.sendTransactionBatch;
|
|
280
|
+
getAll: typeof import("@tatumio/api-client").TransactionService.getTransactions;
|
|
281
|
+
getAllByAccount: typeof import("@tatumio/api-client").TransactionService.getTransactionsByAccountId;
|
|
282
|
+
getAllByCustomer: typeof import("@tatumio/api-client").TransactionService.getTransactionsByCustomerId;
|
|
283
|
+
getAllByReference: typeof import("@tatumio/api-client").TransactionService.getTransactionsByReference;
|
|
284
|
+
countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
285
|
+
countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
286
|
+
};
|
|
287
|
+
virtualCurrency: {
|
|
288
|
+
create: typeof import("@tatumio/api-client").VirtualCurrencyService.createCurrency;
|
|
289
|
+
mint: typeof import("@tatumio/api-client").VirtualCurrencyService.mintCurrency;
|
|
290
|
+
revoke: typeof import("@tatumio/api-client").VirtualCurrencyService.revokeCurrency;
|
|
291
|
+
getByName: typeof import("@tatumio/api-client").VirtualCurrencyService.getCurrency;
|
|
292
|
+
update: typeof import("@tatumio/api-client").VirtualCurrencyService.updateCurrency;
|
|
293
|
+
};
|
|
294
|
+
blockAmount: {
|
|
295
|
+
block: typeof import("@tatumio/api-client").AccountService.blockAmount;
|
|
296
|
+
unblock: typeof import("@tatumio/api-client").AccountService.deleteBlockAmount;
|
|
297
|
+
unblockWithTransaction: typeof import("@tatumio/api-client").AccountService.unblockAmountWithTransaction;
|
|
298
|
+
};
|
|
299
|
+
account: {
|
|
300
|
+
get: typeof import("@tatumio/api-client").AccountService.getAccountByAccountId;
|
|
301
|
+
getAll: typeof import("@tatumio/api-client").AccountService.getAccounts;
|
|
302
|
+
getByCustomerId: typeof import("@tatumio/api-client").AccountService.getAccountsByCustomerId;
|
|
303
|
+
getBalance: typeof import("@tatumio/api-client").AccountService.getAccountBalance;
|
|
304
|
+
create: typeof import("@tatumio/api-client").AccountService.createAccount;
|
|
305
|
+
createMultiple: typeof import("@tatumio/api-client").AccountService.createAccountBatch;
|
|
306
|
+
update: typeof import("@tatumio/api-client").AccountService.updateAccountByAccountId;
|
|
307
|
+
getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").AccountService.getBlockAmountById;
|
|
308
|
+
activate: typeof import("@tatumio/api-client").AccountService.activateAccount;
|
|
309
|
+
deactivate: typeof import("@tatumio/api-client").AccountService.deactivateAccount;
|
|
310
|
+
freeze: typeof import("@tatumio/api-client").AccountService.freezeAccount;
|
|
311
|
+
unfreeze: typeof import("@tatumio/api-client").AccountService.unfreezeAccount;
|
|
312
|
+
generate: (account: import("@tatumio/api-client").CreateAccount & {
|
|
313
|
+
xpub?: string;
|
|
314
|
+
}, generateNewWalletFn: any, generateNewWallet?: boolean, testnet?: boolean, webhookUrl?: string) => Promise<any>;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
258
317
|
};
|