@solana/rpc-types 2.0.0-experimental.16f8db8 → 2.0.0-experimental.19341fc
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,5 @@
|
|
|
1
1
|
type CustomProgramError = number;
|
|
2
|
-
type InstructionError = 'GenericError' | 'InvalidArgument' | 'InvalidInstructionData' | 'InvalidAccountData' | 'AccountDataTooSmall' | 'InsufficientFunds' | 'IncorrectProgramId' | 'MissingRequiredSignature' | 'AccountAlreadyInitialized' | 'UninitializedAccount' | 'UnbalancedInstruction' | 'ModifiedProgramId' | 'ExternalAccountLamportSpend' | 'ExternalAccountDataModified' | 'ReadonlyLamportChange' | 'ReadonlyDataModified' | 'DuplicateAccountIndex' | 'ExecutableModified' | 'RentEpochModified' | 'NotEnoughAccountKeys' | 'AccountNotExecutable' | 'AccountBorrowFailed' | 'AccountBorrowOutstanding' | 'DuplicateAccountOutOfSync' | {
|
|
2
|
+
type InstructionError = 'GenericError' | 'InvalidArgument' | 'InvalidInstructionData' | 'InvalidAccountData' | 'AccountDataTooSmall' | 'InsufficientFunds' | 'IncorrectProgramId' | 'MissingRequiredSignature' | 'AccountAlreadyInitialized' | 'UninitializedAccount' | 'UnbalancedInstruction' | 'ModifiedProgramId' | 'ExternalAccountLamportSpend' | 'ExternalAccountDataModified' | 'ReadonlyLamportChange' | 'ReadonlyDataModified' | 'DuplicateAccountIndex' | 'ExecutableModified' | 'RentEpochModified' | 'NotEnoughAccountKeys' | 'AccountDataSizeChanged' | 'AccountNotExecutable' | 'AccountBorrowFailed' | 'AccountBorrowOutstanding' | 'DuplicateAccountOutOfSync' | {
|
|
3
3
|
Custom: CustomProgramError;
|
|
4
4
|
} | 'InvalidError' | 'ExecutableDataModified' | 'ExecutableLamportChange' | 'ExecutableAccountNotRentExempt' | 'UnsupportedProgramId' | 'CallDepth' | 'MissingAccount' | 'ReentrancyNotAllowed' | 'MaxSeedLengthExceeded' | 'InvalidSeeds' | 'InvalidRealloc' | 'ComputationalBudgetExceeded' | 'PrivilegeEscalation' | 'ProgramEnvironmentSetupFailure' | 'ProgramFailedToComplete' | 'ProgramFailedToCompile' | 'Immutable' | 'IncorrectAuthority' | {
|
|
5
5
|
BorshIoError: string;
|
|
@@ -14,6 +14,10 @@ export type TransactionError = 'AccountInUse' | 'AccountLoadedTwice' | 'AccountN
|
|
|
14
14
|
InsufficientFundsForRent: {
|
|
15
15
|
account_index: AccountIndex;
|
|
16
16
|
};
|
|
17
|
-
} | 'MaxLoadedAccountsDataSizeExceeded' | 'InvalidLoadedAccountsDataSizeLimit'
|
|
17
|
+
} | 'MaxLoadedAccountsDataSizeExceeded' | 'InvalidLoadedAccountsDataSizeLimit' | 'ResanitizationNeeded' | {
|
|
18
|
+
ProgramExecutionTemporarilyRestricted: {
|
|
19
|
+
account_index: AccountIndex;
|
|
20
|
+
};
|
|
21
|
+
} | 'UnbalancedTransaction';
|
|
18
22
|
export {};
|
|
19
23
|
//# sourceMappingURL=transaction-error.d.ts.map
|
|
@@ -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,cAAc,GACd,iBAAiB,GACjB,wBAAwB,GACxB,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,GACnB,oBAAoB,GACpB,0BAA0B,GAC1B,2BAA2B,GAC3B,sBAAsB,GACtB,uBAAuB,GACvB,mBAAmB,GACnB,6BAA6B,GAC7B,6BAA6B,GAC7B,uBAAuB,GACvB,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,GACpB,mBAAmB,GACnB,sBAAsB,GACtB,sBAAsB,GACtB,qBAAqB,GACrB,0BAA0B,GAC1B,2BAA2B,GAC3B;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,GAC9B,cAAc,GACd,wBAAwB,GACxB,yBAAyB,GACzB,gCAAgC,GAChC,sBAAsB,GACtB,WAAW,GACX,gBAAgB,GAChB,sBAAsB,GACtB,uBAAuB,GACvB,cAAc,GACd,gBAAgB,GAChB,6BAA6B,GAC7B,qBAAqB,GACrB,gCAAgC,GAChC,yBAAyB,GACzB,wBAAwB,GACxB,WAAW,GACX,oBAAoB,GACpB;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,GACxB,sBAAsB,GACtB,qBAAqB,GACrB,oBAAoB,GACpB,mBAAmB,GACnB,cAAc,GACd,oCAAoC,GACpC,qBAAqB,GACrB,mCAAmC,GACnC,wCAAwC,CAAC;AAE/C,KAAK,gBAAgB,GAAG,MAAM,CAAC;AAC/B,KAAK,YAAY,GAAG,MAAM,CAAC;AAG3B,MAAM,MAAM,gBAAgB,GACtB,cAAc,GACd,oBAAoB,GACpB,iBAAiB,GACjB,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,kBAAkB,GAClB,mBAAmB,GACnB;IAAE,gBAAgB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAA;CAAE,GAC1D,kBAAkB,GAClB,wBAAwB,GACxB,qBAAqB,GACrB,kBAAkB,GAClB,4BAA4B,GAC5B,iBAAiB,GACjB,oBAAoB,GACpB,0BAA0B,GAC1B,8BAA8B,GAC9B,oBAAoB,GACpB,wBAAwB,GACxB,gCAAgC,GAChC,kCAAkC,GAClC,qBAAqB,GACrB,4BAA4B,GAC5B,gCAAgC,GAChC,+BAA+B,GAC/B,gCAAgC,GAChC,0BAA0B,GAC1B,6BAA6B,GAC7B,kCAAkC,GAClC;IAAE,oBAAoB,EAAE,gBAAgB,CAAA;CAAE,GAC1C;IAAE,wBAAwB,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,GAC7D,mCAAmC,GACnC,oCAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"transaction-error.d.ts","sourceRoot":"","sources":["../../src/transaction-error.ts"],"names":[],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GACrB,kBAAkB,GAClB,4BAA4B,GAC5B,iBAAiB,GACjB,oBAAoB,GACpB,0BAA0B,GAC1B,8BAA8B,GAC9B,oBAAoB,GACpB,wBAAwB,GACxB,gCAAgC,GAChC,kCAAkC,GAClC,qBAAqB,GACrB,4BAA4B,GAC5B,gCAAgC,GAChC,+BAA+B,GAC/B,gCAAgC,GAChC,0BAA0B,GAC1B,6BAA6B,GAC7B,kCAAkC,GAClC;IAAE,oBAAoB,EAAE,gBAAgB,CAAA;CAAE,GAC1C;IAAE,wBAAwB,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,GAC7D,mCAAmC,GACnC,oCAAoC,GACpC,sBAAsB,GACtB;IAAE,qCAAqC,EAAE;QAAE,aAAa,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,GAC1E,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/rpc-types",
|
|
3
|
-
"version": "2.0.0-experimental.
|
|
3
|
+
"version": "2.0.0-experimental.19341fc",
|
|
4
4
|
"description": "Type definitions for values used in the Solana RPC, and helper functions for working with them",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"maintained node versions"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@solana/addresses": "2.0.0-experimental.
|
|
50
|
-
"@solana/codecs-strings": "2.0.0-experimental.
|
|
49
|
+
"@solana/addresses": "2.0.0-experimental.19341fc",
|
|
50
|
+
"@solana/codecs-strings": "2.0.0-experimental.19341fc"
|
|
51
51
|
},
|
|
52
52
|
"bundlewatch": {
|
|
53
53
|
"defaultCompression": "gzip",
|