@xelis/sdk 0.11.43 → 0.12.0

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.
Files changed (45) hide show
  1. package/dist/cjs/address/index.spec.js +34 -0
  2. package/dist/cjs/daemon/rpc.js +17 -2
  3. package/dist/cjs/daemon/rpc.spec.js +640 -0
  4. package/dist/cjs/daemon/types.js +8 -3
  5. package/dist/cjs/daemon/websocket.js +16 -1
  6. package/dist/cjs/daemon/websocket.spec.js +103 -0
  7. package/dist/cjs/data/element.spec.js +67 -0
  8. package/dist/cjs/rpc/parse_json/parse_json.spec.js +24 -0
  9. package/dist/cjs/rpc/websocket.js +8 -3
  10. package/dist/cjs/wallet/rpc.js +24 -0
  11. package/dist/cjs/wallet/rpc.spec.js +270 -0
  12. package/dist/cjs/wallet/types.js +10 -1
  13. package/dist/cjs/wallet/websocket.js +26 -2
  14. package/dist/cjs/wallet/websocket.spec.js +20 -0
  15. package/dist/cjs/xswd/websocket.spec.js +34 -0
  16. package/dist/esm/address/index.spec.js +29 -0
  17. package/dist/esm/daemon/rpc.js +17 -2
  18. package/dist/esm/daemon/rpc.spec.js +635 -0
  19. package/dist/esm/daemon/types.js +8 -3
  20. package/dist/esm/daemon/websocket.js +16 -1
  21. package/dist/esm/daemon/websocket.spec.js +98 -0
  22. package/dist/esm/data/element.spec.js +65 -0
  23. package/dist/esm/rpc/parse_json/parse_json.spec.js +19 -0
  24. package/dist/esm/rpc/websocket.js +8 -3
  25. package/dist/esm/wallet/rpc.js +24 -0
  26. package/dist/esm/wallet/rpc.spec.js +265 -0
  27. package/dist/esm/wallet/types.js +10 -1
  28. package/dist/esm/wallet/websocket.js +26 -2
  29. package/dist/esm/wallet/websocket.spec.js +15 -0
  30. package/dist/esm/xswd/websocket.spec.js +29 -0
  31. package/dist/types/address/index.spec.d.ts +1 -0
  32. package/dist/types/daemon/rpc.d.ts +7 -2
  33. package/dist/types/daemon/rpc.spec.d.ts +1 -0
  34. package/dist/types/daemon/types.d.ts +56 -4
  35. package/dist/types/daemon/websocket.d.ts +8 -9
  36. package/dist/types/daemon/websocket.spec.d.ts +1 -0
  37. package/dist/types/data/element.spec.d.ts +1 -0
  38. package/dist/types/rpc/parse_json/parse_json.spec.d.ts +1 -0
  39. package/dist/types/wallet/rpc.d.ts +8 -0
  40. package/dist/types/wallet/rpc.spec.d.ts +1 -0
  41. package/dist/types/wallet/types.d.ts +46 -1
  42. package/dist/types/wallet/websocket.d.ts +12 -0
  43. package/dist/types/wallet/websocket.spec.d.ts +1 -0
  44. package/dist/types/xswd/websocket.spec.d.ts +1 -0
  45. package/package.json +1 -1
@@ -0,0 +1,29 @@
1
+ import { to } from 'await-to-js';
2
+ import { LOCAL_XSWD_WS } from '../config.js';
3
+ import XSWD from '../xswd/websocket.js';
4
+ describe('XSWD_WS', () => {
5
+ test(`connect`, async () => {
6
+ const xswd = new XSWD(LOCAL_XSWD_WS);
7
+ xswd.socket.addEventListener(`open`, async () => {
8
+ const app = {
9
+ id: "9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08",
10
+ name: "Test App",
11
+ description: "This is a test app.",
12
+ permissions: ["get_address"] // register wallet methods beforehand
13
+ };
14
+ const [err2, res2] = await to(xswd.authorize(app));
15
+ expect(err2).toBeNull();
16
+ console.log(res2);
17
+ expect(res2);
18
+ const [err3, res3] = await to(xswd.wallet.getAddress());
19
+ expect(err3).toBeNull();
20
+ console.log(res3);
21
+ expect(res3);
22
+ const [err4, res4] = await to(xswd.daemon.getInfo());
23
+ expect(err4).toBeNull();
24
+ console.log(res4);
25
+ expect(res4);
26
+ xswd.socket.close();
27
+ });
28
+ }, 10000);
29
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -38,7 +38,7 @@ export declare class RPC extends HttpRPC {
38
38
  countAccounts(): Promise<number>;
39
39
  countContracts(): Promise<number>;
40
40
  submitTransaction(hexData: string): Promise<boolean>;
41
- getTransationExecutor(hash: string): Promise<types.GetTransactionExecutorResult>;
41
+ getTransactionExecutor(hash: string): Promise<types.GetTransactionExecutorResult>;
42
42
  getTransaction(hash: string): Promise<types.TransactionResponse>;
43
43
  getTransactions(txHashes: string[]): Promise<types.TransactionResponse[]>;
44
44
  getTransactionsSummary(params: types.GetTransactionsParams): Promise<types.TransactionSummary[]>;
@@ -47,7 +47,7 @@ export declare class RPC extends HttpRPC {
47
47
  getPeers(): Promise<types.GetPeersResult>;
48
48
  getMemPool(params?: types.GetMempoolParams): Promise<types.GetMempoolResult>;
49
49
  getMempoolSummary(params?: types.GetMempoolParams): Promise<types.GetMempoolSummaryResult>;
50
- getMempoolCache(address: String): Promise<types.GetMempoolCacheResult>;
50
+ getMempoolCache(address: string): Promise<types.GetMempoolCacheResult>;
51
51
  getEstimatedFeeRates(): Promise<types.FeeRatesEstimated>;
52
52
  getEstimatedFeePerKB(): Promise<types.PredicatedBaseFeeResult>;
53
53
  getDAGOrder(params?: types.TopoheightRangeParams): Promise<string[]>;
@@ -84,5 +84,10 @@ export declare class RPC extends HttpRPC {
84
84
  getBlockTemplate(address: string): Promise<types.GetBlockTemplateResult>;
85
85
  getMinerWork(params: types.GetMinerWorkParams): Promise<types.GetMinerWorkResult>;
86
86
  submitBlock(params: types.SubmitBlockParams): Promise<boolean>;
87
+ getContractTransactions(params: types.GetContractTransactionsParams): Promise<types.GetContractTransactionsResult>;
88
+ simulateContractInvoke(params: types.SimulateContractInvokeParams): Promise<types.SimulateContractInvokeResult>;
89
+ rewindChain(params: types.RewindChainParams): Promise<types.RewindChainResult>;
90
+ clearCaches(): Promise<types.ClearCachesResult>;
91
+ pruneChain(params: types.PruneChainParams): Promise<types.PruneChainResult>;
87
92
  }
88
93
  export default RPC;
@@ -0,0 +1 @@
1
+ export {};
@@ -887,6 +887,53 @@ export interface PredicatedBaseFeeResult {
887
887
  fee_per_kb: number;
888
888
  predicated_fee_per_kb: number;
889
889
  }
890
+ export interface GetContractTransactionsParams {
891
+ contract: string;
892
+ skip?: number;
893
+ maximum?: number;
894
+ }
895
+ export interface GetContractTransactionsResult {
896
+ tx_hashes: string[];
897
+ }
898
+ export interface SimulateContractInvokeParams {
899
+ source: string;
900
+ contract: string;
901
+ deposits: {
902
+ [asset: string]: {
903
+ public: number;
904
+ };
905
+ };
906
+ entry_id: number;
907
+ parameters: any[];
908
+ permission?: InterContractPermission;
909
+ }
910
+ export interface SimulateContractInvokeResult {
911
+ base_fee: number;
912
+ result: {
913
+ used_gas: number;
914
+ burned_gas: number;
915
+ fee_gas: number;
916
+ vm_max_gas: number;
917
+ exit_value?: any;
918
+ logs?: any[];
919
+ };
920
+ }
921
+ export interface RewindChainParams {
922
+ count: number;
923
+ until_stable_height?: boolean;
924
+ }
925
+ export interface RewindChainResult {
926
+ topoheight: number;
927
+ txs: string[];
928
+ }
929
+ export interface ClearCachesResult {
930
+ }
931
+ export interface PruneChainParams {
932
+ topoheight: number;
933
+ }
934
+ export interface PruneChainResult {
935
+ pruned_topoheight: number;
936
+ }
890
937
  export interface GetContractDataEntriesParams {
891
938
  contract: string;
892
939
  minimum_topoheight?: number;
@@ -982,9 +1029,15 @@ export declare enum RPCMethod {
982
1029
  GetContractDataEntries = "get_contract_data_entries",
983
1030
  GetBlockTemplate = "get_block_template",
984
1031
  GetMinerWork = "get_miner_work",
985
- SubmitBlock = "submit_block"
1032
+ SubmitBlock = "submit_block",
1033
+ GetContractTransactions = "get_contract_transactions",
1034
+ SimulateContractInvoke = "simulate_contract_invoke",
1035
+ RewindChain = "rewind_chain",
1036
+ ClearCaches = "clear_caches",
1037
+ PruneChain = "prune_chain"
986
1038
  }
987
1039
  export declare enum RPCEvent {
1040
+ NewTopoHeight = "new_topo_height",
988
1041
  NewBlock = "new_block",
989
1042
  BlockOrdered = "block_ordered",
990
1043
  BlockOrphaned = "block_orphaned",
@@ -993,11 +1046,10 @@ export declare enum RPCEvent {
993
1046
  TransactionOrphaned = "transaction_orphaned",
994
1047
  TransactionAddedInMempool = "transaction_added_in_mempool",
995
1048
  TransactionExecuted = "transaction_executed",
996
- InvokeContract = "invoke_contract",
1049
+ ContractInvoke = "contract_invoke",
997
1050
  ContractTransfers = "contract_transfers",
998
- InvokeContractError = "invoke_contract_error",
999
1051
  ContractEvent = "contract_event",
1000
- DeployContract = "deploy_contract",
1052
+ ContractDeploy = "contract_deploy",
1001
1053
  NewAsset = "new_asset",
1002
1054
  PeerConnected = "peer_connected",
1003
1055
  PeerDisconnected = "peer_disconnected",
@@ -34,7 +34,7 @@ export interface DaemonEventsData {
34
34
  params: null;
35
35
  returnType: types.TransactionExecuted;
36
36
  };
37
- [RPCEvent.InvokeContract]: {
37
+ [RPCEvent.ContractInvoke]: {
38
38
  params: {
39
39
  contract: string;
40
40
  };
@@ -46,12 +46,6 @@ export interface DaemonEventsData {
46
46
  };
47
47
  returnType: types.ContractTransfers;
48
48
  };
49
- [RPCEvent.InvokeContractError]: {
50
- params: {
51
- address: string;
52
- };
53
- returnType: null;
54
- };
55
49
  [RPCEvent.ContractEvent]: {
56
50
  params: {
57
51
  contract: string;
@@ -59,7 +53,7 @@ export interface DaemonEventsData {
59
53
  };
60
54
  returnType: types.ContractEvent;
61
55
  };
62
- [RPCEvent.DeployContract]: {
56
+ [RPCEvent.ContractDeploy]: {
63
57
  params: null;
64
58
  returnType: types.NewContract;
65
59
  };
@@ -155,7 +149,7 @@ export declare class DaemonMethods {
155
149
  getAccountAssets(params: types.GetAccountAssetsParams): Promise<string[]>;
156
150
  getAccounts(params: types.GetAccountsParams): Promise<string[]>;
157
151
  isAccountRegistered(params: types.IsAccountRegisteredParams): Promise<boolean>;
158
- getAccountRegistrationTopoheight(address: String): Promise<number>;
152
+ getAccountRegistrationTopoheight(address: string): Promise<number>;
159
153
  validateAddress(params: types.ValidateAddressParams): Promise<types.ValidateAddressResult>;
160
154
  splitAddress(params: types.SplitAddressParams): Promise<types.SplitAddressResult>;
161
155
  extractKeyFromAddress(params: types.ExtractKeyFromAddressParams): Promise<string | number[]>;
@@ -182,6 +176,11 @@ export declare class DaemonMethods {
182
176
  getBlockTemplate(address: string): Promise<string>;
183
177
  getMinerWork(params: types.GetMinerWorkParams): Promise<types.GetMinerWorkResult>;
184
178
  submitBlock(params: types.SubmitBlockParams): Promise<boolean>;
179
+ getContractTransactions(params: types.GetContractTransactionsParams): Promise<types.GetContractTransactionsResult>;
180
+ simulateContractInvoke(params: types.SimulateContractInvokeParams): Promise<types.SimulateContractInvokeResult>;
181
+ rewindChain(params: types.RewindChainParams): Promise<types.RewindChainResult>;
182
+ clearCaches(): Promise<types.ClearCachesResult>;
183
+ pruneChain(params: types.PruneChainParams): Promise<types.PruneChainResult>;
185
184
  }
186
185
  export declare class WS extends WSRPC {
187
186
  methods: DaemonMethods;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -14,6 +14,9 @@ export declare class RPC extends HttpRPC {
14
14
  getBalance(asset?: string): Promise<number>;
15
15
  hasBalance(asset?: string): Promise<daemonTypes.HasBalanceResult>;
16
16
  getTrackedAssets(): Promise<string[]>;
17
+ isAssetTracked(asset: string): Promise<boolean>;
18
+ trackAsset(params: types.TrackAsset): Promise<boolean>;
19
+ untrackAsset(params: types.UntrackAsset): Promise<boolean>;
17
20
  getAssetPrecision(params: daemonTypes.GetAssetParams): Promise<number>;
18
21
  getAssets(): Promise<{
19
22
  [key: string]: types.Asset;
@@ -27,17 +30,22 @@ export declare class RPC extends HttpRPC {
27
30
  buildUnsignedTransaction(params: types.BuildTransactionParams): Promise<types.UnsignedTransactionResponse>;
28
31
  signUnsignedTransaction(params: types.SignUnsignedTransactionParams): Promise<daemonTypes.SignatureId>;
29
32
  finalizeUnsignedTransaction(params: types.FinalizeUnsignedTransactionParams): Promise<types.TransactionResponse>;
33
+ getPendingTransactions(): Promise<types.NewPendingTransactionResult[]>;
30
34
  clearTxCache(): Promise<boolean>;
31
35
  listTransactions(params?: types.ListTransactionParams): Promise<types.TransactionEntry[]>;
32
36
  isOnline(): Promise<boolean>;
33
37
  setOnlineMode(params: types.SetOnlineModeParams): Promise<boolean>;
34
38
  setOfflineMode(): Promise<boolean>;
35
39
  signData(data: Element): Promise<string>;
40
+ verifySignedData(params: types.VerifySignedDataParams): Promise<boolean>;
36
41
  estimateFees(params: types.EstimateFeesParams): Promise<number>;
37
42
  estimateExtraDataSize(params: types.EstimateExtraDataSizeParams): Promise<types.EstimateExtraDataSizeResult>;
38
43
  networkInfo(): Promise<types.NetworkInfoResult>;
39
44
  decryptExtraData(params: types.DecryptExtraDataParams): Promise<types.PlaintextCiphertext>;
40
45
  decryptCiphertext(params: types.DecryptCiphertextParams): Promise<number>;
46
+ createOwnershipProof(params: types.CreateOwnershipProofParams): Promise<string>;
47
+ createBalanceProof(params: types.CreateBalanceProofParams): Promise<string>;
48
+ verifyHumanReadableProof(params: types.VerifyHumanReadableProofParams): Promise<boolean>;
41
49
  getMatchingKeys(params: types.GetMatchingKeysParams): Promise<any>;
42
50
  countMatchingEntries(params: types.CountMatchingKeysParams): Promise<number>;
43
51
  getValueFromKey(params: types.GetValueFromKeyParams): Promise<any>;
@@ -0,0 +1 @@
1
+ export {};
@@ -31,6 +31,7 @@ export interface DeployContractInvokeBuilder {
31
31
  };
32
32
  }
33
33
  export interface DeployContractBuilder {
34
+ contract_version: "v0" | "v1";
34
35
  module: string;
35
36
  invoke?: DeployContractInvokeBuilder;
36
37
  }
@@ -106,13 +107,20 @@ export interface UnsignedTransactionResponse extends UnsignedTransaction {
106
107
  tx_as_hex?: string;
107
108
  }
108
109
  export interface ListTransactionParams {
110
+ asset?: string;
109
111
  min_topoheight?: number;
110
112
  max_topoheight?: number;
113
+ min_timestamp?: number;
114
+ max_timestamp?: number;
111
115
  address?: string;
112
116
  accept_incoming?: boolean;
113
117
  accept_outgoing?: boolean;
114
118
  accept_coinbase?: boolean;
115
119
  accept_burn?: boolean;
120
+ accept_blob?: boolean;
121
+ query?: Query;
122
+ limit?: number;
123
+ skip?: number;
116
124
  }
117
125
  export interface Signature {
118
126
  s: number[];
@@ -210,6 +218,7 @@ export interface PlaintextCiphertext {
210
218
  }
211
219
  export interface DecryptCiphertextParams {
212
220
  ciphertext: CompressedCiphertext;
221
+ max_supply?: number;
213
222
  }
214
223
  export interface SignUnsignedTransactionParams {
215
224
  hash: string;
@@ -224,9 +233,29 @@ export interface FinalizeUnsignedTransactionParams {
224
233
  export interface HistorySyncedResult {
225
234
  topoheight: number;
226
235
  }
236
+ export interface VerifySignedDataParams {
237
+ data: any;
238
+ signature: string;
239
+ address: string;
240
+ }
241
+ export interface CreateOwnershipProofParams {
242
+ asset: string;
243
+ topoheight?: number;
244
+ amount: number;
245
+ }
246
+ export interface CreateBalanceProofParams {
247
+ asset: string;
248
+ topoheight?: number;
249
+ }
250
+ export interface VerifyHumanReadableProofParams {
251
+ proof: string;
252
+ address: string;
253
+ }
227
254
  export interface GetMatchingKeysParams {
228
255
  tree: string;
229
256
  query?: Query;
257
+ limit?: number;
258
+ skip?: number;
230
259
  }
231
260
  export interface CountMatchingKeysParams {
232
261
  tree: string;
@@ -255,6 +284,8 @@ export interface QueryDBParams {
255
284
  key?: Query;
256
285
  value?: Query;
257
286
  return_on_first: boolean;
287
+ limit?: number;
288
+ skip?: number;
258
289
  }
259
290
  export interface QueryResult {
260
291
  entries: {
@@ -327,6 +358,11 @@ export interface TrackAsset {
327
358
  export interface UntrackAsset {
328
359
  asset: string;
329
360
  }
361
+ export interface NewPendingTransactionResult {
362
+ hash: string;
363
+ timestamp: number;
364
+ outgoing: Outgoing;
365
+ }
330
366
  export declare enum RPCMethod {
331
367
  GetVersion = "get_version",
332
368
  GetNetwork = "get_network",
@@ -338,6 +374,9 @@ export declare enum RPCMethod {
338
374
  GetBalance = "get_balance",
339
375
  HasBalance = "has_balance",
340
376
  GetTrackedAssets = "get_tracked_assets",
377
+ IsAssetTracked = "is_asset_tracked",
378
+ TrackAsset = "track_asset",
379
+ UntrackAsset = "untrack_asset",
341
380
  GetAssetPrecision = "get_asset_precision",
342
381
  GetAssets = "get_assets",
343
382
  GetAsset = "get_asset",
@@ -349,17 +388,22 @@ export declare enum RPCMethod {
349
388
  BuildUnsignedTransaction = "build_unsigned_transaction",
350
389
  FinalizeUnsignedTransaction = "finalize_unsigned_transaction",
351
390
  SignUnsignedTransaction = "sign_unsigned_transaction",
391
+ GetPendingTransactions = "get_pending_transactions",
352
392
  ClearTxCache = "clear_tx_cache",
353
393
  ListTransactions = "list_transactions",
354
394
  IsOnline = "is_online",
355
395
  SetOnlineMode = "set_online_mode",
356
396
  SetOfflineMode = "set_offline_mode",
357
397
  SignData = "sign_data",
398
+ VerifySignedData = "verify_signed_data",
358
399
  EstimateFees = "estimate_fees",
359
400
  EstimateExtraDataSize = "estimate_extra_data_size",
360
401
  NetworkInfo = "network_info",
361
402
  DecryptExtraData = "decrypt_extra_data",
362
403
  DecryptCiphertext = "decrypt_ciphertext",
404
+ CreateOwnershipProof = "create_ownership_proof",
405
+ CreateBalanceProof = "create_balance_proof",
406
+ VerifyHumanReadableProof = "verify_human_readable_proof",
363
407
  GetMatchingKeys = "get_matching_keys",
364
408
  CountMatchingEntries = "count_matching_entries",
365
409
  GetValueFromKey = "get_value_from_key",
@@ -370,9 +414,10 @@ export declare enum RPCMethod {
370
414
  QueryDB = "query_db"
371
415
  }
372
416
  export declare enum RPCEvent {
373
- NewTopoheight = "new_topoheight",
417
+ NewTopoheight = "new_topo_height",
374
418
  NewAsset = "new_asset",
375
419
  NewTransaction = "new_transaction",
420
+ NewPendingTransaction = "new_pending_transaction",
376
421
  BalanceChanged = "balance_changed",
377
422
  Rescan = "rescan",
378
423
  HistorySynced = "history_synced",
@@ -16,6 +16,10 @@ export interface WalletEventsData {
16
16
  params: null;
17
17
  returnType: types.TransactionEntry;
18
18
  };
19
+ [RPCEvent.NewPendingTransaction]: {
20
+ params: null;
21
+ returnType: types.NewPendingTransactionResult;
22
+ };
19
23
  [RPCEvent.BalanceChanged]: {
20
24
  params: null;
21
25
  returnType: types.BalanceChangedResult;
@@ -66,6 +70,9 @@ export declare class WalletMethods {
66
70
  getBalance(asset: string): Promise<number>;
67
71
  hasBalance(asset: string): Promise<daemonTypes.HasBalanceResult>;
68
72
  getTrackedAssets(): Promise<string[]>;
73
+ isAssetTracked(asset: string): Promise<boolean>;
74
+ trackAsset(params: types.TrackAsset): Promise<boolean>;
75
+ untrackAsset(params: types.UntrackAsset): Promise<boolean>;
69
76
  getAssetPrecision(params: daemonTypes.GetAssetParams): Promise<number>;
70
77
  getAssets(): Promise<{
71
78
  [key: string]: types.Asset;
@@ -79,17 +86,22 @@ export declare class WalletMethods {
79
86
  buildUnsignedTransaction(params: types.BuildTransactionParams): Promise<types.UnsignedTransactionResponse>;
80
87
  signUnsignedTransaction(params: types.SignUnsignedTransactionParams): Promise<daemonTypes.SignatureId>;
81
88
  finalizeUnsignedTransaction(params: types.FinalizeUnsignedTransactionParams): Promise<types.TransactionResponse>;
89
+ getPendingTransactions(): Promise<types.NewPendingTransactionResult[]>;
82
90
  clearTxCache(): Promise<boolean>;
83
91
  listTransactions(params?: types.ListTransactionParams): Promise<types.TransactionEntry[]>;
84
92
  isOnline(): Promise<boolean>;
85
93
  setOnlineMode(params: types.SetOnlineModeParams): Promise<boolean>;
86
94
  setOfflineMode(): Promise<boolean>;
87
95
  signData(data: Element): Promise<string>;
96
+ verifySignedData(params: types.VerifySignedDataParams): Promise<boolean>;
88
97
  estimateFees(params: types.EstimateFeesParams): Promise<number>;
89
98
  estimateExtraDataSize(params: types.EstimateExtraDataSizeParams): Promise<types.EstimateExtraDataSizeResult>;
90
99
  networkInfo(): Promise<types.NetworkInfoResult>;
91
100
  decryptExtraData(params: types.DecryptExtraDataParams): Promise<types.PlaintextCiphertext>;
92
101
  decryptCiphertext(params: types.DecryptCiphertextParams): Promise<number>;
102
+ createOwnershipProof(params: types.CreateOwnershipProofParams): Promise<string>;
103
+ createBalanceProof(params: types.CreateBalanceProofParams): Promise<string>;
104
+ verifyHumanReadableProof(params: types.VerifyHumanReadableProofParams): Promise<boolean>;
93
105
  getMatchingKeys(params: types.GetMatchingKeysParams): Promise<any>;
94
106
  countMatchingEntries(params: types.CountMatchingKeysParams): Promise<number>;
95
107
  getValueFromKey(params: types.GetValueFromKeyParams): Promise<any>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.11.43",
2
+ "version": "0.12.0",
3
3
  "name": "@xelis/sdk",
4
4
  "description": "Xelis software development kit for JS",
5
5
  "exports": {