@solana-program/system 0.3.3 → 0.4.0

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 (48) hide show
  1. package/dist/src/index.js +12 -13
  2. package/dist/src/index.js.map +1 -1
  3. package/dist/src/index.mjs +12 -13
  4. package/dist/src/index.mjs.map +1 -1
  5. package/dist/types/generated/accounts/index.d.ts +1 -1
  6. package/dist/types/generated/accounts/nonce.d.ts +3 -3
  7. package/dist/types/generated/accounts/nonce.d.ts.map +1 -1
  8. package/dist/types/generated/errors/index.d.ts +1 -1
  9. package/dist/types/generated/errors/system.d.ts +1 -1
  10. package/dist/types/generated/index.d.ts +1 -1
  11. package/dist/types/generated/instructions/advanceNonceAccount.d.ts +2 -2
  12. package/dist/types/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
  13. package/dist/types/generated/instructions/allocate.d.ts +2 -2
  14. package/dist/types/generated/instructions/allocate.d.ts.map +1 -1
  15. package/dist/types/generated/instructions/allocateWithSeed.d.ts +2 -2
  16. package/dist/types/generated/instructions/allocateWithSeed.d.ts.map +1 -1
  17. package/dist/types/generated/instructions/assign.d.ts +2 -2
  18. package/dist/types/generated/instructions/assign.d.ts.map +1 -1
  19. package/dist/types/generated/instructions/assignWithSeed.d.ts +2 -2
  20. package/dist/types/generated/instructions/assignWithSeed.d.ts.map +1 -1
  21. package/dist/types/generated/instructions/authorizeNonceAccount.d.ts +2 -2
  22. package/dist/types/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
  23. package/dist/types/generated/instructions/createAccount.d.ts +3 -3
  24. package/dist/types/generated/instructions/createAccount.d.ts.map +1 -1
  25. package/dist/types/generated/instructions/createAccountWithSeed.d.ts +2 -2
  26. package/dist/types/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
  27. package/dist/types/generated/instructions/index.d.ts +1 -1
  28. package/dist/types/generated/instructions/initializeNonceAccount.d.ts +2 -2
  29. package/dist/types/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
  30. package/dist/types/generated/instructions/transferSol.d.ts +2 -2
  31. package/dist/types/generated/instructions/transferSol.d.ts.map +1 -1
  32. package/dist/types/generated/instructions/transferSolWithSeed.d.ts +2 -2
  33. package/dist/types/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
  34. package/dist/types/generated/instructions/upgradeNonceAccount.d.ts +2 -2
  35. package/dist/types/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
  36. package/dist/types/generated/instructions/withdrawNonceAccount.d.ts +2 -2
  37. package/dist/types/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
  38. package/dist/types/generated/programs/index.d.ts +1 -1
  39. package/dist/types/generated/programs/system.d.ts +3 -3
  40. package/dist/types/generated/programs/system.d.ts.map +1 -1
  41. package/dist/types/generated/shared/index.d.ts +2 -2
  42. package/dist/types/generated/shared/index.d.ts.map +1 -1
  43. package/dist/types/generated/types/index.d.ts +1 -1
  44. package/dist/types/generated/types/nonceState.d.ts +2 -2
  45. package/dist/types/generated/types/nonceState.d.ts.map +1 -1
  46. package/dist/types/generated/types/nonceVersion.d.ts +2 -2
  47. package/dist/types/generated/types/nonceVersion.d.ts.map +1 -1
  48. package/package.json +11 -10
@@ -3,9 +3,9 @@
3
3
  * Please DO NOT EDIT THIS FILE, instead use visitors
4
4
  * to add features, then rerun kinobi to update it.
5
5
  *
6
- * @see https://github.com/metaplex-foundation/kinobi
6
+ * @see https://github.com/kinobi-so/kinobi
7
7
  */
8
- import { Codec, Decoder, Encoder } from '@solana/web3.js';
8
+ import { type Codec, type Decoder, type Encoder } from '@solana/web3.js';
9
9
  export declare enum NonceVersion {
10
10
  Legacy = 0,
11
11
  Current = 1
@@ -1 +1 @@
1
- {"version":3,"file":"nonceVersion.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceVersion.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAMR,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,YAAY;IACtB,MAAM,IAAA;IACN,OAAO,IAAA;CACR;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAElE;AAED,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,YAAY,CAAC,CAE9D;AAED,wBAAgB,oBAAoB,IAAI,KAAK,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAE5E"}
1
+ {"version":3,"file":"nonceVersion.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceVersion.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,YAAY;IACtB,MAAM,IAAA;IACN,OAAO,IAAA;CACR;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAElE;AAED,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,YAAY,CAAC,CAE9D;AAED,wBAAgB,oBAAoB,IAAI,KAAK,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAE5E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana-program/system",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "JavaScript client for the System program",
5
5
  "sideEffects": false,
6
6
  "module": "./dist/src/index.mjs",
@@ -24,23 +24,24 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "peerDependencies": {
27
- "@solana/web3.js": "2.0.0-preview.3"
27
+ "@solana/web3.js": "2.0.0-preview.4"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@ava/typescript": "^4.1.0",
31
- "@solana/eslint-config-solana": "^3.0.0",
32
- "@solana/web3.js": "tp3",
33
- "@solana/webcrypto-ed25519-polyfill": "tp3",
34
- "@typescript-eslint/eslint-plugin": "^7.3.1",
35
- "@typescript-eslint/parser": "^7.3.1",
36
- "ava": "^6.1.2",
31
+ "@solana/eslint-config-solana": "^3.0.3",
32
+ "@solana/web3.js": "tp4",
33
+ "@solana/webcrypto-ed25519-polyfill": "tp4",
34
+ "@types/node": "^20.14.11",
35
+ "@typescript-eslint/eslint-plugin": "^7.16.1",
36
+ "@typescript-eslint/parser": "^7.16.1",
37
+ "ava": "^6.1.3",
37
38
  "eslint": "^8.57.0",
38
- "prettier": "^3.2.5",
39
+ "prettier": "^3.3.3",
39
40
  "rimraf": "^5.0.5",
40
41
  "tsup": "^8.0.2",
41
42
  "typedoc": "^0.25.12",
42
43
  "typedoc-plugin-missing-exports": "^2.2.0",
43
- "typescript": "^5.4.2"
44
+ "typescript": "^5.5.3"
44
45
  },
45
46
  "ava": {
46
47
  "require": [