@notifi-network/fusion-sdk 0.0.5 → 0.0.7

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,6 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
3
- import { AccountInfoDataSlice, BlockchainType, FusionRpcOption, ObjectDataOptions, ProgramAccountsFilter, SuiObjectDataFilters, TransactionBlockResponseOptions } from "../../../notifi/common/v1/types.js";
3
+ import { AccountInfoDataSlice, BlockchainType, ObjectDataOptions, ProgramAccountsFilter, SuiObjectDataFilters, TransactionBlockResponseOptions } from "../../../notifi/common/v1/types.js";
4
4
  export declare const protobufPackage = "services.blockchain_manager.v1";
5
5
  export declare enum ResponseCode {
6
6
  RESPONSE_CODE_UNSPECIFIED = 0,
@@ -56,7 +56,6 @@ export interface BcmRunSuiTransactionCallResponse {
56
56
  }
57
57
  export interface BcmGetSuiTransactionBlockRequest {
58
58
  contextId: string;
59
- fusionRpcOption?: FusionRpcOption | undefined;
60
59
  digest: string;
61
60
  transactionResponseOptions: TransactionBlockResponseOptions | undefined;
62
61
  }
@@ -6,7 +6,7 @@
6
6
  /* eslint-disable */
7
7
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
8
  import { makeGenericClientConstructor, } from "@grpc/grpc-js";
9
- import { AccountInfoDataSlice, blockchainTypeFromJSON, blockchainTypeToJSON, fusionRpcOptionFromJSON, fusionRpcOptionToJSON, ObjectDataOptions, ProgramAccountsFilter, SuiObjectDataFilters, TransactionBlockResponseOptions, } from "../../../notifi/common/v1/types.js";
9
+ import { AccountInfoDataSlice, blockchainTypeFromJSON, blockchainTypeToJSON, ObjectDataOptions, ProgramAccountsFilter, SuiObjectDataFilters, TransactionBlockResponseOptions, } from "../../../notifi/common/v1/types.js";
10
10
  export const protobufPackage = "services.blockchain_manager.v1";
11
11
  export var ResponseCode;
12
12
  (function (ResponseCode) {
@@ -767,16 +767,13 @@ export const BcmRunSuiTransactionCallResponse = {
767
767
  },
768
768
  };
769
769
  function createBaseBcmGetSuiTransactionBlockRequest() {
770
- return { contextId: "", fusionRpcOption: undefined, digest: "", transactionResponseOptions: undefined };
770
+ return { contextId: "", digest: "", transactionResponseOptions: undefined };
771
771
  }
772
772
  export const BcmGetSuiTransactionBlockRequest = {
773
773
  encode(message, writer = new BinaryWriter()) {
774
774
  if (message.contextId !== "") {
775
775
  writer.uint32(10).string(message.contextId);
776
776
  }
777
- if (message.fusionRpcOption !== undefined) {
778
- writer.uint32(16).int32(message.fusionRpcOption);
779
- }
780
777
  if (message.digest !== "") {
781
778
  writer.uint32(26).string(message.digest);
782
779
  }
@@ -799,13 +796,6 @@ export const BcmGetSuiTransactionBlockRequest = {
799
796
  message.contextId = reader.string();
800
797
  continue;
801
798
  }
802
- case 2: {
803
- if (tag !== 16) {
804
- break;
805
- }
806
- message.fusionRpcOption = reader.int32();
807
- continue;
808
- }
809
799
  case 3: {
810
800
  if (tag !== 26) {
811
801
  break;
@@ -831,7 +821,6 @@ export const BcmGetSuiTransactionBlockRequest = {
831
821
  fromJSON(object) {
832
822
  return {
833
823
  contextId: isSet(object.contextId) ? globalThis.String(object.contextId) : "",
834
- fusionRpcOption: isSet(object.fusionRpcOption) ? fusionRpcOptionFromJSON(object.fusionRpcOption) : undefined,
835
824
  digest: isSet(object.digest) ? globalThis.String(object.digest) : "",
836
825
  transactionResponseOptions: isSet(object.transactionResponseOptions)
837
826
  ? TransactionBlockResponseOptions.fromJSON(object.transactionResponseOptions)
@@ -843,9 +832,6 @@ export const BcmGetSuiTransactionBlockRequest = {
843
832
  if (message.contextId !== "") {
844
833
  obj.contextId = message.contextId;
845
834
  }
846
- if (message.fusionRpcOption !== undefined) {
847
- obj.fusionRpcOption = fusionRpcOptionToJSON(message.fusionRpcOption);
848
- }
849
835
  if (message.digest !== "") {
850
836
  obj.digest = message.digest;
851
837
  }
@@ -860,7 +846,6 @@ export const BcmGetSuiTransactionBlockRequest = {
860
846
  fromPartial(object) {
861
847
  const message = createBaseBcmGetSuiTransactionBlockRequest();
862
848
  message.contextId = object.contextId ?? "";
863
- message.fusionRpcOption = object.fusionRpcOption ?? undefined;
864
849
  message.digest = object.digest ?? "";
865
850
  message.transactionResponseOptions =
866
851
  (object.transactionResponseOptions !== undefined && object.transactionResponseOptions !== null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notifi-network/fusion-sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
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",