@xelis/sdk 0.11.8 → 0.11.10

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.
@@ -44,11 +44,11 @@ export declare class RPC extends HttpRPC {
44
44
  getDAGOrder(params?: types.TopoheightRangeParams): Promise<string[]>;
45
45
  getBlocksRangeByTopoheight(params: types.TopoheightRangeParams): Promise<types.Block[]>;
46
46
  getBlocksRangeByHeight(params: types.HeightRangeParams): Promise<types.Block[]>;
47
- getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.AccounHistory[]>;
47
+ getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.AccountHistory[]>;
48
48
  getAccountAssets(address: string): Promise<string[]>;
49
49
  getAccounts(params: types.GetAccountsParams): Promise<string[]>;
50
50
  isAccountRegistered(params: types.IsAccountRegisteredParams): Promise<boolean>;
51
- getAccountRegistrationTopoheight(address: String): Promise<Number>;
51
+ getAccountRegistrationTopoheight(address: String): Promise<number>;
52
52
  validateAddress(params: types.ValidateAddressParams): Promise<types.ValidateAddressResult>;
53
53
  splitAddress(params: types.SplitAddressParams): Promise<types.SplitAddressResult>;
54
54
  extractKeyFromAddress(params: types.ExtractKeyFromAddressParams): Promise<string | number[]>;
@@ -254,7 +254,7 @@ export interface GetAccountHistoryParams {
254
254
  minimum_topoheight?: number;
255
255
  maximum_topoheight?: number;
256
256
  }
257
- export interface AccounHistory {
257
+ export interface AccountHistory {
258
258
  topoheight: number;
259
259
  hash: string;
260
260
  mining?: {
@@ -72,11 +72,11 @@ export declare class DaemonMethods {
72
72
  getDAGOrder(params: types.TopoheightRangeParams): Promise<string[]>;
73
73
  getBlocksRangeByTopoheight(params: types.TopoheightRangeParams): Promise<types.Block[]>;
74
74
  getBlocksRangeByHeight(params: types.HeightRangeParams): Promise<types.Block[]>;
75
- getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.AccounHistory[]>;
75
+ getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.AccountHistory[]>;
76
76
  getAccountAssets(address: string): Promise<string[]>;
77
77
  getAccounts(params: types.GetAccountsParams): Promise<string[]>;
78
78
  isAccountRegistered(params: types.IsAccountRegisteredParams): Promise<boolean>;
79
- getAccountRegistrationTopoheight(address: String): Promise<Number>;
79
+ getAccountRegistrationTopoheight(address: String): Promise<number>;
80
80
  validateAddress(params: types.ValidateAddressParams): Promise<types.ValidateAddressResult>;
81
81
  splitAddress(params: types.SplitAddressParams): Promise<types.SplitAddressResult>;
82
82
  extractKeyFromAddress(params: types.ExtractKeyFromAddressParams): Promise<string | number[]>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.11.8",
2
+ "version": "0.11.10",
3
3
  "name": "@xelis/sdk",
4
4
  "description": "Xelis software development kit for JS",
5
5
  "exports": {