@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.
Files changed (43) hide show
  1. package/dist/src/index.js +125 -128
  2. package/dist/src/index.js.map +1 -1
  3. package/dist/src/index.mjs +1 -4
  4. package/dist/src/index.mjs.map +1 -1
  5. package/dist/types/src/generated/accounts/nonce.d.ts +1 -1
  6. package/dist/types/src/generated/accounts/nonce.d.ts.map +1 -1
  7. package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts +1 -1
  8. package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
  9. package/dist/types/src/generated/instructions/allocate.d.ts +1 -1
  10. package/dist/types/src/generated/instructions/allocate.d.ts.map +1 -1
  11. package/dist/types/src/generated/instructions/allocateWithSeed.d.ts +1 -1
  12. package/dist/types/src/generated/instructions/allocateWithSeed.d.ts.map +1 -1
  13. package/dist/types/src/generated/instructions/assign.d.ts +1 -1
  14. package/dist/types/src/generated/instructions/assign.d.ts.map +1 -1
  15. package/dist/types/src/generated/instructions/assignWithSeed.d.ts +1 -1
  16. package/dist/types/src/generated/instructions/assignWithSeed.d.ts.map +1 -1
  17. package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts +1 -1
  18. package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
  19. package/dist/types/src/generated/instructions/createAccount.d.ts +1 -1
  20. package/dist/types/src/generated/instructions/createAccount.d.ts.map +1 -1
  21. package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts +1 -1
  22. package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
  23. package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts +1 -1
  24. package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
  25. package/dist/types/src/generated/instructions/transferSol.d.ts +1 -1
  26. package/dist/types/src/generated/instructions/transferSol.d.ts.map +1 -1
  27. package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts +1 -1
  28. package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
  29. package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts +1 -1
  30. package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
  31. package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts +1 -1
  32. package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
  33. package/dist/types/src/generated/types/nonceState.d.ts +1 -1
  34. package/dist/types/src/generated/types/nonceState.d.ts.map +1 -1
  35. package/dist/types/src/generated/types/nonceVersion.d.ts +1 -1
  36. package/dist/types/src/generated/types/nonceVersion.d.ts.map +1 -1
  37. package/dist/types/test/_setup.d.ts +1 -0
  38. package/dist/types/test/_setup.d.ts.map +1 -1
  39. package/dist/types/test/advanceNonceAccount.test.d.ts +2 -0
  40. package/dist/types/test/advanceNonceAccount.test.d.ts.map +1 -0
  41. package/dist/types/test/createAccount.test.d.ts +2 -0
  42. package/dist/types/test/createAccount.test.d.ts.map +1 -0
  43. package/package.json +7 -13
@@ -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-core';
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")();