@solana/rpc-types 4.0.0 → 5.0.0-canary-20251023185052

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,7 +1,5 @@
1
1
  type CustomProgramError = number;
2
- type InstructionError = 'AccountAlreadyInitialized' | 'AccountBorrowFailed' | 'AccountBorrowOutstanding' | 'AccountDataSizeChanged' | 'AccountDataTooSmall' | 'AccountNotExecutable' | 'AccountNotRentExempt' | 'ArithmeticOverflow' | 'BuiltinProgramsMustConsumeComputeUnits' | 'CallDepth' | 'ComputationalBudgetExceeded' | 'DuplicateAccountIndex' | 'DuplicateAccountOutOfSync' | 'ExecutableAccountNotRentExempt' | 'ExecutableDataModified' | 'ExecutableLamportChange' | 'ExecutableModified' | 'ExternalAccountDataModified' | 'ExternalAccountLamportSpend' | 'GenericError' | 'IllegalOwner' | 'Immutable' | 'IncorrectAuthority' | 'IncorrectProgramId' | 'InsufficientFunds' | 'InvalidAccountData' | 'InvalidAccountOwner' | 'InvalidArgument' | 'InvalidError' | 'InvalidInstructionData' | 'InvalidRealloc' | 'InvalidSeeds' | 'MaxAccountsDataAllocationsExceeded' | 'MaxAccountsExceeded' | 'MaxInstructionTraceLengthExceeded' | 'MaxSeedLengthExceeded' | 'MissingAccount' | 'MissingRequiredSignature' | 'ModifiedProgramId' | 'NotEnoughAccountKeys' | 'PrivilegeEscalation' | 'ProgramEnvironmentSetupFailure' | 'ProgramFailedToCompile' | 'ProgramFailedToComplete' | 'ReadonlyDataModified' | 'ReadonlyLamportChange' | 'ReentrancyNotAllowed' | 'RentEpochModified' | 'UnbalancedInstruction' | 'UninitializedAccount' | 'UnsupportedProgramId' | 'UnsupportedSysvar' | {
3
- BorshIoError: string;
4
- } | {
2
+ type InstructionError = 'AccountAlreadyInitialized' | 'AccountBorrowFailed' | 'AccountBorrowOutstanding' | 'AccountDataSizeChanged' | 'AccountDataTooSmall' | 'AccountNotExecutable' | 'AccountNotRentExempt' | 'ArithmeticOverflow' | 'BorshIoError' | 'BuiltinProgramsMustConsumeComputeUnits' | 'CallDepth' | 'ComputationalBudgetExceeded' | 'DuplicateAccountIndex' | 'DuplicateAccountOutOfSync' | 'ExecutableAccountNotRentExempt' | 'ExecutableDataModified' | 'ExecutableLamportChange' | 'ExecutableModified' | 'ExternalAccountDataModified' | 'ExternalAccountLamportSpend' | 'GenericError' | 'IllegalOwner' | 'Immutable' | 'IncorrectAuthority' | 'IncorrectProgramId' | 'InsufficientFunds' | 'InvalidAccountData' | 'InvalidAccountOwner' | 'InvalidArgument' | 'InvalidError' | 'InvalidInstructionData' | 'InvalidRealloc' | 'InvalidSeeds' | 'MaxAccountsDataAllocationsExceeded' | 'MaxAccountsExceeded' | 'MaxInstructionTraceLengthExceeded' | 'MaxSeedLengthExceeded' | 'MissingAccount' | 'MissingRequiredSignature' | 'ModifiedProgramId' | 'NotEnoughAccountKeys' | 'PrivilegeEscalation' | 'ProgramEnvironmentSetupFailure' | 'ProgramFailedToCompile' | 'ProgramFailedToComplete' | 'ReadonlyDataModified' | 'ReadonlyLamportChange' | 'ReentrancyNotAllowed' | 'RentEpochModified' | 'UnbalancedInstruction' | 'UninitializedAccount' | 'UnsupportedProgramId' | 'UnsupportedSysvar' | {
5
3
  Custom: CustomProgramError;
6
4
  };
7
5
  type InstructionIndex = number;
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-error.d.ts","sourceRoot":"","sources":["../../src/transaction-error.ts"],"names":[],"mappings":"AAAA,KAAK,kBAAkB,GAAG,MAAM,CAAC;AAGjC,KAAK,gBAAgB,GACf,2BAA2B,GAC3B,qBAAqB,GACrB,0BAA0B,GAC1B,wBAAwB,GACxB,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,GACtB,oBAAoB,GACpB,wCAAwC,GACxC,WAAW,GACX,6BAA6B,GAC7B,uBAAuB,GACvB,2BAA2B,GAC3B,gCAAgC,GAChC,wBAAwB,GACxB,yBAAyB,GACzB,oBAAoB,GACpB,6BAA6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AAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAA;CAAE,GAC1D;IAAE,wBAAwB,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,GAC7D;IAAE,qCAAqC,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"transaction-error.d.ts","sourceRoot":"","sources":["../../src/transaction-error.ts"],"names":[],"mappings":"AAAA,KAAK,kBAAkB,GAAG,MAAM,CAAC;AAGjC,KAAK,gBAAgB,GACf,2BAA2B,GAC3B,qBAAqB,GACrB,0BAA0B,GAC1B,wBAAwB,GACxB,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,GACtB,oBAAoB,GACpB,cAAc,GACd,wCAAwC,GACxC,WAAW,GACX,6BAA6B,GAC7B,uBAAuB,GACvB,2BAA2B,GAC3B,gCAAgC,GAChC,wBAAwB,GACxB,yBAAyB,GACzB,oBAAoB,GACpB,6BAA6B,GAC7B,6BAA6B,GAC7B,cAAc,GACd,cAAc,GACd,WAAW,GACX,oBAAoB,GACpB,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,qBAAqB,GACrB,iBAAiB,GACjB,cAAc,GACd,wBAAwB,GACxB,gBAAgB,GAChB,cAAc,GACd,oCAAoC,GACpC,qBAAqB,GACrB,mCAAmC,GACnC,uBAAuB,GACvB,gBAAgB,GAChB,0BAA0B,GAC1B,mBAAmB,GACnB,sBAAsB,GACtB,qBAAqB,GACrB,gCAAgC,GAChC,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,uBAAuB,GACvB,sBAAsB,GACtB,mBAAmB,GACnB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,mBAAmB,GACnB;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAErC,KAAK,gBAAgB,GAAG,MAAM,CAAC;AAC/B,KAAK,YAAY,GAAG,MAAM,CAAC;AAG3B,MAAM,MAAM,gBAAgB,GACtB,0BAA0B,GAC1B,cAAc,GACd,oBAAoB,GACpB,iBAAiB,GACjB,4BAA4B,GAC5B,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,oBAAoB,GACpB,yBAAyB,GACzB,sBAAsB,GACtB,qBAAqB,GACrB,+BAA+B,GAC/B,gCAAgC,GAChC,gCAAgC,GAChC,oCAAoC,GACpC,4BAA4B,GAC5B,0BAA0B,GAC1B,wBAAwB,GACxB,mCAAmC,GACnC,wBAAwB,GACxB,wBAAwB,GACxB,sBAAsB,GACtB,iBAAiB,GACjB,kBAAkB,GAClB,qBAAqB,GACrB,uBAAuB,GACvB,oBAAoB,GACpB,kCAAkC,GAClC,kCAAkC,GAClC,gCAAgC,GAChC,8BAA8B,GAC9B,6BAA6B,GAC7B;IAAE,oBAAoB,EAAE,gBAAgB,CAAA;CAAE,GAC1C;IAAE,gBAAgB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAA;CAAE,GAC1D;IAAE,wBAAwB,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,GAC7D;IAAE,qCAAqC,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/rpc-types",
3
- "version": "4.0.0",
3
+ "version": "5.0.0-canary-20251023185052",
4
4
  "description": "Type definitions for values used in the Solana RPC, and helper functions for working with them",
5
5
  "homepage": "https://www.solanakit.com/api#solanarpc-types",
6
6
  "exports": {
@@ -55,12 +55,12 @@
55
55
  "maintained node versions"
56
56
  ],
57
57
  "dependencies": {
58
- "@solana/addresses": "4.0.0",
59
- "@solana/codecs-core": "4.0.0",
60
- "@solana/codecs-numbers": "4.0.0",
61
- "@solana/codecs-strings": "4.0.0",
62
- "@solana/errors": "4.0.0",
63
- "@solana/nominal-types": "4.0.0"
58
+ "@solana/addresses": "5.0.0-canary-20251023185052",
59
+ "@solana/codecs-numbers": "5.0.0-canary-20251023185052",
60
+ "@solana/codecs-strings": "5.0.0-canary-20251023185052",
61
+ "@solana/codecs-core": "5.0.0-canary-20251023185052",
62
+ "@solana/errors": "5.0.0-canary-20251023185052",
63
+ "@solana/nominal-types": "5.0.0-canary-20251023185052"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "typescript": ">=5.3.3"