@avalabs/hvm-module 1.6.2 → 1.7.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.
package/dist/index.d.cts CHANGED
@@ -1,14 +1,14 @@
1
- import * as _avalabs_vm_module_types_dist_common from '@avalabs/vm-module-types/dist/common';
2
- import * as hypersdk_client from 'hypersdk-client';
1
+ import * as _avalabs_vm_module_types from '@avalabs/vm-module-types';
3
2
  import { Module, ConstructorParams, Network, Manifest, BuildDerivationPathParams, DeriveAddressParams, GetAddressParams, GetAddressResponse, GetBalancesParams, GetBalancesResponse, RpcRequest, RpcResponse, GetTransactionHistory, TransactionHistoryResponse, NetworkFees } from '@avalabs/vm-module-types';
3
+ import * as hypersdk_client from 'hypersdk-client';
4
4
 
5
5
  declare class HvmModule implements Module {
6
6
  #private;
7
7
  constructor({ approvalController }: ConstructorParams);
8
8
  getProvider(network: Network): Promise<hypersdk_client.HyperSDKClient>;
9
9
  getManifest(): Manifest | undefined;
10
- buildDerivationPath(params: BuildDerivationPathParams): Pick<Partial<Record<_avalabs_vm_module_types_dist_common.NetworkVMType, string>>, _avalabs_vm_module_types_dist_common.NetworkVMType.HVM>;
11
- deriveAddress(params: DeriveAddressParams): Promise<Partial<Record<_avalabs_vm_module_types_dist_common.NetworkVMType, string>>>;
10
+ buildDerivationPath(params: BuildDerivationPathParams): Pick<Partial<Record<_avalabs_vm_module_types.NetworkVMType, string>>, _avalabs_vm_module_types.NetworkVMType.HVM>;
11
+ deriveAddress(params: DeriveAddressParams): Promise<Partial<Record<_avalabs_vm_module_types.NetworkVMType, string>>>;
12
12
  getAddress(_params: GetAddressParams): Promise<GetAddressResponse>;
13
13
  getBalances(params: GetBalancesParams): Promise<GetBalancesResponse>;
14
14
  onRpcRequest(request: RpcRequest, network: Network): Promise<RpcResponse>;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import * as _avalabs_vm_module_types_dist_common from '@avalabs/vm-module-types/dist/common';
2
- import * as hypersdk_client from 'hypersdk-client';
1
+ import * as _avalabs_vm_module_types from '@avalabs/vm-module-types';
3
2
  import { Module, ConstructorParams, Network, Manifest, BuildDerivationPathParams, DeriveAddressParams, GetAddressParams, GetAddressResponse, GetBalancesParams, GetBalancesResponse, RpcRequest, RpcResponse, GetTransactionHistory, TransactionHistoryResponse, NetworkFees } from '@avalabs/vm-module-types';
3
+ import * as hypersdk_client from 'hypersdk-client';
4
4
 
5
5
  declare class HvmModule implements Module {
6
6
  #private;
7
7
  constructor({ approvalController }: ConstructorParams);
8
8
  getProvider(network: Network): Promise<hypersdk_client.HyperSDKClient>;
9
9
  getManifest(): Manifest | undefined;
10
- buildDerivationPath(params: BuildDerivationPathParams): Pick<Partial<Record<_avalabs_vm_module_types_dist_common.NetworkVMType, string>>, _avalabs_vm_module_types_dist_common.NetworkVMType.HVM>;
11
- deriveAddress(params: DeriveAddressParams): Promise<Partial<Record<_avalabs_vm_module_types_dist_common.NetworkVMType, string>>>;
10
+ buildDerivationPath(params: BuildDerivationPathParams): Pick<Partial<Record<_avalabs_vm_module_types.NetworkVMType, string>>, _avalabs_vm_module_types.NetworkVMType.HVM>;
11
+ deriveAddress(params: DeriveAddressParams): Promise<Partial<Record<_avalabs_vm_module_types.NetworkVMType, string>>>;
12
12
  getAddress(_params: GetAddressParams): Promise<GetAddressResponse>;
13
13
  getBalances(params: GetBalancesParams): Promise<GetBalancesResponse>;
14
14
  onRpcRequest(request: RpcRequest, network: Network): Promise<RpcResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avalabs/hvm-module",
3
- "version": "1.6.2",
3
+ "version": "1.7.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "@avalabs/core-utils-sdk": "3.1.0-alpha.44",
18
18
  "@metamask/rpc-errors": "6.3.0",
19
19
  "zod": "3.23.8",
20
- "@avalabs/vm-module-types": "1.6.2"
20
+ "@avalabs/vm-module-types": "1.7.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/big.js": "6.2.2",