@solana-program/system 0.1.0 → 0.1.1
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/src/index.js +125 -128
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +1 -4
- package/dist/src/index.mjs.map +1 -1
- package/dist/types/src/generated/accounts/nonce.d.ts +1 -1
- package/dist/types/src/generated/accounts/nonce.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts +1 -1
- package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/allocate.d.ts +1 -1
- package/dist/types/src/generated/instructions/allocate.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/allocateWithSeed.d.ts +1 -1
- package/dist/types/src/generated/instructions/allocateWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/assign.d.ts +1 -1
- package/dist/types/src/generated/instructions/assign.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/assignWithSeed.d.ts +1 -1
- package/dist/types/src/generated/instructions/assignWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts +1 -1
- package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/createAccount.d.ts +1 -1
- package/dist/types/src/generated/instructions/createAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts +1 -1
- package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts +1 -1
- package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/transferSol.d.ts +1 -1
- package/dist/types/src/generated/instructions/transferSol.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts +1 -1
- package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts +1 -1
- package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts +1 -1
- package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/types/nonceState.d.ts +1 -1
- package/dist/types/src/generated/types/nonceState.d.ts.map +1 -1
- package/dist/types/src/generated/types/nonceVersion.d.ts +1 -1
- package/dist/types/src/generated/types/nonceVersion.d.ts.map +1 -1
- package/dist/types/test/_setup.d.ts +1 -0
- package/dist/types/test/_setup.d.ts.map +1 -1
- package/dist/types/test/advanceNonceAccount.test.d.ts +2 -0
- package/dist/types/test/advanceNonceAccount.test.d.ts.map +1 -0
- package/dist/types/test/createAccount.test.d.ts +2 -0
- package/dist/types/test/createAccount.test.d.ts.map +1 -0
- package/package.json +7 -13
package/dist/src/index.mjs
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { decodeAccount, assertAccountExists, fetchEncodedAccount, assertAccountsExist, fetchEncodedAccounts, BASE_ACCOUNT_SIZE } from '@solana/accounts';
|
|
2
2
|
import { getAddressEncoder, getAddressDecoder, isProgramDerivedAddress } from '@solana/addresses';
|
|
3
|
-
import { combineCodec, mapEncoder } from '@solana/codecs
|
|
4
|
-
import { getScalarEnumEncoder, getScalarEnumDecoder, getStructEncoder, getStructDecoder } from '@solana/codecs-data-structures';
|
|
5
|
-
import { getU32Encoder, getU32Decoder, getU64Encoder, getU64Decoder } from '@solana/codecs-numbers';
|
|
3
|
+
import { getScalarEnumEncoder, getU32Encoder, getScalarEnumDecoder, getU32Decoder, combineCodec, getStructEncoder, getU64Encoder, getStructDecoder, getU64Decoder, mapEncoder, getStringEncoder, getStringDecoder } from '@solana/codecs';
|
|
6
4
|
import { AccountRole, upgradeRoleToSigner } from '@solana/instructions';
|
|
7
5
|
import { isTransactionSigner as isTransactionSigner$1 } from '@solana/signers';
|
|
8
|
-
import { getStringEncoder, getStringDecoder } from '@solana/codecs-strings';
|
|
9
6
|
|
|
10
7
|
// env-shim.ts
|
|
11
8
|
var __DEV__ = /* @__PURE__ */ (() => process["env"].NODE_ENV === "development")();
|