@notifi-network/fusion-sdk 0.0.7 → 0.0.9

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.
@@ -1,5 +1,4 @@
1
1
  import { EthCallRequest, EthCallResponse, GetAccountBalanceRequest, GetAccountBalanceResponse, BcmGetSuiAccountBalanceRequest, BcmGetSuiAccountBalanceResponse, BcmRunSuiTransactionCallRequest, BcmRunSuiTransactionCallResponse, BcmGetSuiObjectRequest, BcmGetSuiObjectResponse, BcmGetSolanaBalanceRequest, BcmGetSolanaBalanceResponse, BcmGetSolanaAccountInfoRequest, BcmGetSolanaAccountInfoResponse, BcmGetSolanaSlotRequest, BcmGetSolanaSlotResponse } from "../protos_gen/services/blockchain_manager/v1/blockchain_manager.js";
2
- import { BlockchainType } from "../protos_gen/notifi/common/v1/types.js";
3
2
  /**
4
3
  * Class for interacting with the Fusion EVM RPC service.
5
4
  * Provides methods to perform Ethereum-specific blockchain operations.
@@ -7,10 +6,6 @@ import { BlockchainType } from "../protos_gen/notifi/common/v1/types.js";
7
6
  export declare class FusionEvmRpcWrapper {
8
7
  private client;
9
8
  private contextId;
10
- /**
11
- * Expose BlockchainType enum for external usage.
12
- */
13
- static BlockchainType: typeof BlockchainType;
14
9
  /**
15
10
  * Creates an instance of FusionEvmRpc.
16
11
  * @param contextId - The context ID for the gRPC requests.
@@ -1,6 +1,5 @@
1
1
  import { FusionEvmRpcClient, FusionSuiRpcClient, FusionSolanaRpcClient } from "../protos_gen/services/blockchain_manager/v1/blockchain_manager.js";
2
2
  import { Metadata, credentials } from "@grpc/grpc-js";
3
- import { BlockchainType } from "../protos_gen/notifi/common/v1/types.js";
4
3
  const DEFAULT_EVM_ADDRESS = process.env.EVM_RPC_ADDRESS || "localhost:50054";
5
4
  const DEFAULT_SOLANA_ADDRESS = process.env.SOLANA_RPC_ADDRESS || "localhost:50055";
6
5
  const DEFAULT_SUI_ADDRESS = process.env.SUI_RPC_ADDRESS || "localhost:50057";
@@ -11,10 +10,6 @@ const DEFAULT_SUI_ADDRESS = process.env.SUI_RPC_ADDRESS || "localhost:50057";
11
10
  export class FusionEvmRpcWrapper {
12
11
  client;
13
12
  contextId;
14
- /**
15
- * Expose BlockchainType enum for external usage.
16
- */
17
- static BlockchainType = BlockchainType;
18
13
  /**
19
14
  * Creates an instance of FusionEvmRpc.
20
15
  * @param contextId - The context ID for the gRPC requests.
package/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export { FusionSolanaRpcWrapper as SolanaRpc } from './fusion_wrappers/blockchai
5
5
  export { PersistentStorageWrapper as PersistentStorage } from './fusion_wrappers/storage.js';
6
6
  export { EphemeralStorageWrapper as EphemeralStorage } from './fusion_wrappers/storage.js';
7
7
  export { SubscriptionsWrapper as Subscriptions } from './fusion_wrappers/subscriptions.js';
8
+ export { BlockchainType } from './protos_gen/notifi/common/v1/types.js';
package/dist/index.js CHANGED
@@ -5,3 +5,4 @@ export { FusionSolanaRpcWrapper as SolanaRpc } from './fusion_wrappers/blockchai
5
5
  export { PersistentStorageWrapper as PersistentStorage } from './fusion_wrappers/storage.js';
6
6
  export { EphemeralStorageWrapper as EphemeralStorage } from './fusion_wrappers/storage.js';
7
7
  export { SubscriptionsWrapper as Subscriptions } from './fusion_wrappers/subscriptions.js';
8
+ export { BlockchainType } from './protos_gen/notifi/common/v1/types.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notifi-network/fusion-sdk",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "SDK utils for Notifi Fusion parser development. This includes types and helpers for accessing ephemeral/persistent storage, RPCs for different chains, and other utilities.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",