Bläddra i källkod

Bump Kinobi to 0.21.0 and web3.js to tp4 (#9)

Loris Leiva 1 år sedan
förälder
incheckning
7ac83c6cb5
55 ändrade filer med 987 tillägg och 711 borttagningar
  1. 0 3
      clients/js/env-shim.ts
  2. 10 9
      clients/js/package.json
  3. 449 315
      clients/js/pnpm-lock.yaml
  4. 1 1
      clients/js/src/generated/accounts/index.ts
  5. 15 15
      clients/js/src/generated/accounts/nonce.ts
  6. 1 1
      clients/js/src/generated/errors/index.ts
  7. 4 4
      clients/js/src/generated/errors/system.ts
  8. 0 11
      clients/js/src/generated/global.d.ts
  9. 1 1
      clients/js/src/generated/index.ts
  10. 15 15
      clients/js/src/generated/instructions/advanceNonceAccount.ts
  11. 13 13
      clients/js/src/generated/instructions/allocate.ts
  12. 14 14
      clients/js/src/generated/instructions/allocateWithSeed.ts
  13. 13 13
      clients/js/src/generated/instructions/assign.ts
  14. 14 14
      clients/js/src/generated/instructions/assignWithSeed.ts
  15. 14 14
      clients/js/src/generated/instructions/authorizeNonceAccount.ts
  16. 14 14
      clients/js/src/generated/instructions/createAccount.ts
  17. 15 15
      clients/js/src/generated/instructions/createAccountWithSeed.ts
  18. 1 1
      clients/js/src/generated/instructions/index.ts
  19. 12 12
      clients/js/src/generated/instructions/initializeNonceAccount.ts
  20. 14 14
      clients/js/src/generated/instructions/transferSol.ts
  21. 14 14
      clients/js/src/generated/instructions/transferSolWithSeed.ts
  22. 11 11
      clients/js/src/generated/instructions/upgradeNonceAccount.ts
  23. 15 15
      clients/js/src/generated/instructions/withdrawNonceAccount.ts
  24. 1 1
      clients/js/src/generated/programs/index.ts
  25. 15 15
      clients/js/src/generated/programs/system.ts
  26. 6 6
      clients/js/src/generated/shared/index.ts
  27. 1 1
      clients/js/src/generated/types/index.ts
  28. 4 4
      clients/js/src/generated/types/nonceState.ts
  29. 4 4
      clients/js/src/generated/types/nonceVersion.ts
  30. 0 2
      clients/js/tsup.config.ts
  31. 1 1
      clients/rust/src/generated/accounts/mod.rs
  32. 26 1
      clients/rust/src/generated/accounts/nonce.rs
  33. 1 1
      clients/rust/src/generated/errors/mod.rs
  34. 19 19
      clients/rust/src/generated/errors/system.rs
  35. 7 1
      clients/rust/src/generated/instructions/advance_nonce_account.rs
  36. 7 1
      clients/rust/src/generated/instructions/allocate.rs
  37. 7 1
      clients/rust/src/generated/instructions/allocate_with_seed.rs
  38. 7 1
      clients/rust/src/generated/instructions/assign.rs
  39. 7 1
      clients/rust/src/generated/instructions/assign_with_seed.rs
  40. 7 1
      clients/rust/src/generated/instructions/authorize_nonce_account.rs
  41. 7 1
      clients/rust/src/generated/instructions/create_account.rs
  42. 7 1
      clients/rust/src/generated/instructions/create_account_with_seed.rs
  43. 7 1
      clients/rust/src/generated/instructions/initialize_nonce_account.rs
  44. 1 1
      clients/rust/src/generated/instructions/mod.rs
  45. 7 1
      clients/rust/src/generated/instructions/transfer_sol.rs
  46. 7 1
      clients/rust/src/generated/instructions/transfer_sol_with_seed.rs
  47. 7 1
      clients/rust/src/generated/instructions/upgrade_nonce_account.rs
  48. 7 1
      clients/rust/src/generated/instructions/withdraw_nonce_account.rs
  49. 1 1
      clients/rust/src/generated/mod.rs
  50. 1 1
      clients/rust/src/generated/programs.rs
  51. 1 1
      clients/rust/src/generated/types/mod.rs
  52. 11 2
      clients/rust/src/generated/types/nonce_state.rs
  53. 11 2
      clients/rust/src/generated/types/nonce_version.rs
  54. 4 4
      package.json
  55. 128 92
      pnpm-lock.yaml

+ 0 - 3
clients/js/env-shim.ts

@@ -1,3 +0,0 @@
-// Clever obfuscation to prevent the build system from inlining the value of `NODE_ENV`
-export const __DEV__ = /* @__PURE__ */ (() =>
-  (process as any)['en' + 'v'].NODE_ENV === 'development')();

+ 10 - 9
clients/js/package.json

@@ -34,23 +34,24 @@
   },
   "license": "Apache-2.0",
   "peerDependencies": {
-    "@solana/web3.js": "2.0.0-preview.3"
+    "@solana/web3.js": "2.0.0-preview.4"
   },
   "devDependencies": {
     "@ava/typescript": "^4.1.0",
-    "@solana/eslint-config-solana": "^3.0.0",
-    "@solana/web3.js": "tp3",
-    "@solana/webcrypto-ed25519-polyfill": "tp3",
-    "@typescript-eslint/eslint-plugin": "^7.3.1",
-    "@typescript-eslint/parser": "^7.3.1",
-    "ava": "^6.1.2",
+    "@solana/eslint-config-solana": "^3.0.3",
+    "@solana/web3.js": "tp4",
+    "@solana/webcrypto-ed25519-polyfill": "tp4",
+    "@types/node": "^20.14.11",
+    "@typescript-eslint/eslint-plugin": "^7.16.1",
+    "@typescript-eslint/parser": "^7.16.1",
+    "ava": "^6.1.3",
     "eslint": "^8.57.0",
-    "prettier": "^3.2.5",
+    "prettier": "^3.3.3",
     "rimraf": "^5.0.5",
     "tsup": "^8.0.2",
     "typedoc": "^0.25.12",
     "typedoc-plugin-missing-exports": "^2.2.0",
-    "typescript": "^5.4.2"
+    "typescript": "^5.5.3"
   },
   "ava": {
     "require": [

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 449 - 315
clients/js/pnpm-lock.yaml


+ 1 - 1
clients/js/src/generated/accounts/index.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 export * from './nonce';

+ 15 - 15
clients/js/src/generated/accounts/nonce.ts

@@ -3,20 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Account,
-  Address,
-  Codec,
-  Decoder,
-  EncodedAccount,
-  Encoder,
-  FetchAccountConfig,
-  FetchAccountsConfig,
-  MaybeAccount,
-  MaybeEncodedAccount,
   assertAccountExists,
   assertAccountsExist,
   combineCodec,
@@ -29,16 +19,26 @@ import {
   getStructEncoder,
   getU64Decoder,
   getU64Encoder,
+  type Account,
+  type Address,
+  type Codec,
+  type Decoder,
+  type EncodedAccount,
+  type Encoder,
+  type FetchAccountConfig,
+  type FetchAccountsConfig,
+  type MaybeAccount,
+  type MaybeEncodedAccount,
 } from '@solana/web3.js';
 import {
-  NonceState,
-  NonceStateArgs,
-  NonceVersion,
-  NonceVersionArgs,
   getNonceStateDecoder,
   getNonceStateEncoder,
   getNonceVersionDecoder,
   getNonceVersionEncoder,
+  type NonceState,
+  type NonceStateArgs,
+  type NonceVersion,
+  type NonceVersionArgs,
 } from '../types';
 
 export type Nonce = {

+ 1 - 1
clients/js/src/generated/errors/index.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 export * from './system';

+ 4 - 4
clients/js/src/generated/errors/system.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 /** AccountAlreadyInUse: an account with the same address already exists */
@@ -37,7 +37,7 @@ export type SystemError =
   | typeof SYSTEM_ERROR__RESULT_WITH_NEGATIVE_LAMPORTS;
 
 let systemErrorMessages: Record<SystemError, string> | undefined;
-if (__DEV__) {
+if (process.env.NODE_ENV !== 'production') {
   systemErrorMessages = {
     [SYSTEM_ERROR__ACCOUNT_ALREADY_IN_USE]: `an account with the same address already exists`,
     [SYSTEM_ERROR__ADDRESS_WITH_SEED_MISMATCH]: `provided address does not match addressed derived from seed`,
@@ -52,9 +52,9 @@ if (__DEV__) {
 }
 
 export function getSystemErrorMessage(code: SystemError): string {
-  if (__DEV__) {
+  if (process.env.NODE_ENV !== 'production') {
     return (systemErrorMessages as Record<SystemError, string>)[code];
   }
 
-  return 'Error message not available in production bundles. Compile with `__DEV__` set to true to see more information.';
+  return 'Error message not available in production bundles.';
 }

+ 0 - 11
clients/js/src/generated/global.d.ts

@@ -1,11 +0,0 @@
-/**
- * This code was AUTOGENERATED using the kinobi library.
- * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun kinobi to update it.
- *
- * @see https://github.com/metaplex-foundation/kinobi
- */
-
-/** Global variable provided by bundlers telling us if we are building for production or not. */
-// eslint-disable-next-line @typescript-eslint/naming-convention
-declare const __DEV__: boolean;

+ 1 - 1
clients/js/src/generated/index.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 export * from './accounts';

+ 15 - 15
clients/js/src/generated/instructions/advanceNonceAccount.ts

@@ -3,32 +3,32 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlyAccount,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
   combineCodec,
   getStructDecoder,
   getStructEncoder,
   getU32Decoder,
   getU32Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlyAccount,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type AdvanceNonceAccountInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 13 - 13
clients/js/src/generated/instructions/allocate.ts

@@ -3,21 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  TransactionSigner,
-  WritableSignerAccount,
   combineCodec,
   getStructDecoder,
   getStructEncoder,
@@ -26,9 +15,20 @@ import {
   getU64Decoder,
   getU64Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type TransactionSigner,
+  type WritableSignerAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type AllocateInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 14 - 14
clients/js/src/generated/instructions/allocateWithSeed.ts

@@ -3,22 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
   addDecoderSizePrefix,
   addEncoderSizePrefix,
   combineCodec,
@@ -33,9 +21,21 @@ import {
   getUtf8Decoder,
   getUtf8Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type AllocateWithSeedInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 13 - 13
clients/js/src/generated/instructions/assign.ts

@@ -3,21 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  TransactionSigner,
-  WritableSignerAccount,
   combineCodec,
   getAddressDecoder,
   getAddressEncoder,
@@ -26,9 +15,20 @@ import {
   getU32Decoder,
   getU32Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type TransactionSigner,
+  type WritableSignerAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type AssignInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 14 - 14
clients/js/src/generated/instructions/assignWithSeed.ts

@@ -3,22 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
   addDecoderSizePrefix,
   addEncoderSizePrefix,
   combineCodec,
@@ -33,9 +21,21 @@ import {
   getUtf8Decoder,
   getUtf8Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type AssignWithSeedInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 14 - 14
clients/js/src/generated/instructions/authorizeNonceAccount.ts

@@ -3,22 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
   combineCodec,
   getAddressDecoder,
   getAddressEncoder,
@@ -27,9 +15,21 @@ import {
   getU32Decoder,
   getU32Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type AuthorizeNonceAccountInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 14 - 14
clients/js/src/generated/instructions/createAccount.ts

@@ -3,22 +3,11 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
   BASE_ACCOUNT_SIZE,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  TransactionSigner,
-  WritableSignerAccount,
   combineCodec,
   getAddressDecoder,
   getAddressEncoder,
@@ -29,12 +18,23 @@ import {
   getU64Decoder,
   getU64Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type TransactionSigner,
+  type WritableSignerAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
 import {
-  IInstructionWithByteDelta,
-  ResolvedAccount,
   getAccountMetaFactory,
+  type IInstructionWithByteDelta,
+  type ResolvedAccount,
 } from '../shared';
 
 export type CreateAccountInstruction<

+ 15 - 15
clients/js/src/generated/instructions/createAccountWithSeed.ts

@@ -3,23 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
-  WritableSignerAccount,
   addDecoderSizePrefix,
   addEncoderSizePrefix,
   combineCodec,
@@ -34,9 +21,22 @@ import {
   getUtf8Decoder,
   getUtf8Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
+  type WritableSignerAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type CreateAccountWithSeedInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 1 - 1
clients/js/src/generated/instructions/index.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 export * from './advanceNonceAccount';

+ 12 - 12
clients/js/src/generated/instructions/initializeNonceAccount.ts

@@ -3,20 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlyAccount,
-  WritableAccount,
   combineCodec,
   getAddressDecoder,
   getAddressEncoder,
@@ -25,9 +15,19 @@ import {
   getU32Decoder,
   getU32Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlyAccount,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type InitializeNonceAccountInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 14 - 14
clients/js/src/generated/instructions/transferSol.ts

@@ -3,22 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  TransactionSigner,
-  WritableAccount,
-  WritableSignerAccount,
   combineCodec,
   getStructDecoder,
   getStructEncoder,
@@ -27,9 +15,21 @@ import {
   getU64Decoder,
   getU64Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type TransactionSigner,
+  type WritableAccount,
+  type WritableSignerAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type TransferSolInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 14 - 14
clients/js/src/generated/instructions/transferSolWithSeed.ts

@@ -3,22 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
   addDecoderSizePrefix,
   addEncoderSizePrefix,
   combineCodec,
@@ -33,9 +21,21 @@ import {
   getUtf8Decoder,
   getUtf8Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type TransferSolWithSeedInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 11 - 11
clients/js/src/generated/instructions/upgradeNonceAccount.ts

@@ -3,28 +3,28 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  WritableAccount,
   combineCodec,
   getStructDecoder,
   getStructEncoder,
   getU32Decoder,
   getU32Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type UpgradeNonceAccountInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 15 - 15
clients/js/src/generated/instructions/withdrawNonceAccount.ts

@@ -3,23 +3,10 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Address,
-  Codec,
-  Decoder,
-  Encoder,
-  IAccountMeta,
-  IAccountSignerMeta,
-  IInstruction,
-  IInstructionWithAccounts,
-  IInstructionWithData,
-  ReadonlyAccount,
-  ReadonlySignerAccount,
-  TransactionSigner,
-  WritableAccount,
   combineCodec,
   getStructDecoder,
   getStructEncoder,
@@ -28,9 +15,22 @@ import {
   getU64Decoder,
   getU64Encoder,
   transformEncoder,
+  type Address,
+  type Codec,
+  type Decoder,
+  type Encoder,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type IInstruction,
+  type IInstructionWithAccounts,
+  type IInstructionWithData,
+  type ReadonlyAccount,
+  type ReadonlySignerAccount,
+  type TransactionSigner,
+  type WritableAccount,
 } from '@solana/web3.js';
 import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
-import { ResolvedAccount, getAccountMetaFactory } from '../shared';
+import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
 
 export type WithdrawNonceAccountInstruction<
   TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS,

+ 1 - 1
clients/js/src/generated/programs/index.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 export * from './system';

+ 15 - 15
clients/js/src/generated/programs/system.ts

@@ -3,24 +3,24 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
-import { Address, containsBytes, getU32Encoder } from '@solana/web3.js';
+import { containsBytes, getU32Encoder, type Address } from '@solana/web3.js';
 import {
-  ParsedAdvanceNonceAccountInstruction,
-  ParsedAllocateInstruction,
-  ParsedAllocateWithSeedInstruction,
-  ParsedAssignInstruction,
-  ParsedAssignWithSeedInstruction,
-  ParsedAuthorizeNonceAccountInstruction,
-  ParsedCreateAccountInstruction,
-  ParsedCreateAccountWithSeedInstruction,
-  ParsedInitializeNonceAccountInstruction,
-  ParsedTransferSolInstruction,
-  ParsedTransferSolWithSeedInstruction,
-  ParsedUpgradeNonceAccountInstruction,
-  ParsedWithdrawNonceAccountInstruction,
+  type ParsedAdvanceNonceAccountInstruction,
+  type ParsedAllocateInstruction,
+  type ParsedAllocateWithSeedInstruction,
+  type ParsedAssignInstruction,
+  type ParsedAssignWithSeedInstruction,
+  type ParsedAuthorizeNonceAccountInstruction,
+  type ParsedCreateAccountInstruction,
+  type ParsedCreateAccountWithSeedInstruction,
+  type ParsedInitializeNonceAccountInstruction,
+  type ParsedTransferSolInstruction,
+  type ParsedTransferSolWithSeedInstruction,
+  type ParsedUpgradeNonceAccountInstruction,
+  type ParsedWithdrawNonceAccountInstruction,
 } from '../instructions';
 
 export const SYSTEM_PROGRAM_ADDRESS =

+ 6 - 6
clients/js/src/generated/shared/index.ts

@@ -3,18 +3,18 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
   AccountRole,
-  Address,
-  IAccountMeta,
-  IAccountSignerMeta,
-  ProgramDerivedAddress,
-  TransactionSigner,
   isProgramDerivedAddress,
   isTransactionSigner as web3JsIsTransactionSigner,
+  type Address,
+  type IAccountMeta,
+  type IAccountSignerMeta,
+  type ProgramDerivedAddress,
+  type TransactionSigner,
   upgradeRoleToSigner,
 } from '@solana/web3.js';
 

+ 1 - 1
clients/js/src/generated/types/index.ts

@@ -3,7 +3,7 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 export * from './nonceState';

+ 4 - 4
clients/js/src/generated/types/nonceState.ts

@@ -3,18 +3,18 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Codec,
-  Decoder,
-  Encoder,
   combineCodec,
   getEnumDecoder,
   getEnumEncoder,
   getU32Decoder,
   getU32Encoder,
+  type Codec,
+  type Decoder,
+  type Encoder,
 } from '@solana/web3.js';
 
 export enum NonceState {

+ 4 - 4
clients/js/src/generated/types/nonceVersion.ts

@@ -3,18 +3,18 @@
  * Please DO NOT EDIT THIS FILE, instead use visitors
  * to add features, then rerun kinobi to update it.
  *
- * @see https://github.com/metaplex-foundation/kinobi
+ * @see https://github.com/kinobi-so/kinobi
  */
 
 import {
-  Codec,
-  Decoder,
-  Encoder,
   combineCodec,
   getEnumDecoder,
   getEnumEncoder,
   getU32Decoder,
   getU32Encoder,
+  type Codec,
+  type Decoder,
+  type Encoder,
 } from '@solana/web3.js';
 
 export enum NonceVersion {

+ 0 - 2
clients/js/tsup.config.ts

@@ -1,11 +1,9 @@
 import { env } from 'node:process';
-import path from 'path';
 import { defineConfig, Options } from 'tsup';
 
 const SHARED_OPTIONS: Options = {
   define: { __VERSION__: `"${env.npm_package_version}"` },
   entry: ['./src/index.ts'],
-  inject: [path.resolve(__dirname, 'env-shim.ts')],
   outDir: './dist/src',
   outExtension: ({ format }) => ({ js: format === 'cjs' ? '.js' : '.mjs' }),
   sourcemap: true,

+ 1 - 1
clients/rust/src/generated/accounts/mod.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 pub(crate) mod r#nonce;

+ 26 - 1
clients/rust/src/generated/accounts/nonce.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use crate::generated::types::NonceState;
@@ -49,3 +49,28 @@ impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for Nonce {
         Self::deserialize(&mut data)
     }
 }
+
+#[cfg(feature = "anchor")]
+impl anchor_lang::AccountDeserialize for Nonce {
+    fn try_deserialize_unchecked(buf: &mut &[u8]) -> anchor_lang::Result<Self> {
+        Ok(Self::deserialize(buf)?)
+    }
+}
+
+#[cfg(feature = "anchor")]
+impl anchor_lang::AccountSerialize for Nonce {}
+
+#[cfg(feature = "anchor")]
+impl anchor_lang::Owner for Nonce {
+    fn owner() -> Pubkey {
+        crate::SYSTEM_ID
+    }
+}
+
+#[cfg(feature = "anchor-idl-build")]
+impl anchor_lang::IdlBuild for Nonce {}
+
+#[cfg(feature = "anchor-idl-build")]
+impl anchor_lang::Discriminator for Nonce {
+    const DISCRIMINATOR: [u8; 8] = [0; 8];
+}

+ 1 - 1
clients/rust/src/generated/errors/mod.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 pub(crate) mod system;

+ 19 - 19
clients/rust/src/generated/errors/system.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use num_derive::FromPrimitive;
@@ -10,33 +10,33 @@ use thiserror::Error;
 
 #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)]
 pub enum SystemError {
-    /// 0 (0x0) - an account with the same address already exists
+    /// 0 - an account with the same address already exists
     #[error("an account with the same address already exists")]
-    AccountAlreadyInUse,
-    /// 1 (0x1) - account does not have enough SOL to perform the operation
+    AccountAlreadyInUse = 0x0,
+    /// 1 - account does not have enough SOL to perform the operation
     #[error("account does not have enough SOL to perform the operation")]
-    ResultWithNegativeLamports,
-    /// 2 (0x2) - cannot assign account to this program id
+    ResultWithNegativeLamports = 0x1,
+    /// 2 - cannot assign account to this program id
     #[error("cannot assign account to this program id")]
-    InvalidProgramId,
-    /// 3 (0x3) - cannot allocate account data of this length
+    InvalidProgramId = 0x2,
+    /// 3 - cannot allocate account data of this length
     #[error("cannot allocate account data of this length")]
-    InvalidAccountDataLength,
-    /// 4 (0x4) - length of requested seed is too long
+    InvalidAccountDataLength = 0x3,
+    /// 4 - length of requested seed is too long
     #[error("length of requested seed is too long")]
-    MaxSeedLengthExceeded,
-    /// 5 (0x5) - provided address does not match addressed derived from seed
+    MaxSeedLengthExceeded = 0x4,
+    /// 5 - provided address does not match addressed derived from seed
     #[error("provided address does not match addressed derived from seed")]
-    AddressWithSeedMismatch,
-    /// 6 (0x6) - advancing stored nonce requires a populated RecentBlockhashes sysvar
+    AddressWithSeedMismatch = 0x5,
+    /// 6 - advancing stored nonce requires a populated RecentBlockhashes sysvar
     #[error("advancing stored nonce requires a populated RecentBlockhashes sysvar")]
-    NonceNoRecentBlockhashes,
-    /// 7 (0x7) - stored nonce is still in recent_blockhashes
+    NonceNoRecentBlockhashes = 0x6,
+    /// 7 - stored nonce is still in recent_blockhashes
     #[error("stored nonce is still in recent_blockhashes")]
-    NonceBlockhashNotExpired,
-    /// 8 (0x8) - specified nonce does not match stored nonce
+    NonceBlockhashNotExpired = 0x7,
+    /// 8 - specified nonce does not match stored nonce
     #[error("specified nonce does not match stored nonce")]
-    NonceUnexpectedBlockhashValue,
+    NonceUnexpectedBlockhashValue = 0x8,
 }
 
 impl solana_program::program_error::PrintProgramError for SystemError {

+ 7 - 1
clients/rust/src/generated/instructions/advance_nonce_account.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -63,6 +63,12 @@ impl AdvanceNonceAccountInstructionData {
     }
 }
 
+impl Default for AdvanceNonceAccountInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 /// Instruction builder for `AdvanceNonceAccount`.
 ///
 /// ### Accounts:

+ 7 - 1
clients/rust/src/generated/instructions/allocate.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -55,6 +55,12 @@ impl AllocateInstructionData {
     }
 }
 
+impl Default for AllocateInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct AllocateInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/allocate_with_seed.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -63,6 +63,12 @@ impl AllocateWithSeedInstructionData {
     }
 }
 
+impl Default for AllocateWithSeedInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct AllocateWithSeedInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/assign.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -56,6 +56,12 @@ impl AssignInstructionData {
     }
 }
 
+impl Default for AssignInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct AssignInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/assign_with_seed.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -63,6 +63,12 @@ impl AssignWithSeedInstructionData {
     }
 }
 
+impl Default for AssignWithSeedInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct AssignWithSeedInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/authorize_nonce_account.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -64,6 +64,12 @@ impl AuthorizeNonceAccountInstructionData {
     }
 }
 
+impl Default for AuthorizeNonceAccountInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct AuthorizeNonceAccountInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/create_account.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -61,6 +61,12 @@ impl CreateAccountInstructionData {
     }
 }
 
+impl Default for CreateAccountInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct CreateAccountInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/create_account_with_seed.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -70,6 +70,12 @@ impl CreateAccountWithSeedInstructionData {
     }
 }
 
+impl Default for CreateAccountWithSeedInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct CreateAccountWithSeedInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/initialize_nonce_account.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -70,6 +70,12 @@ impl InitializeNonceAccountInstructionData {
     }
 }
 
+impl Default for InitializeNonceAccountInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct InitializeNonceAccountInstructionArgs {

+ 1 - 1
clients/rust/src/generated/instructions/mod.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 pub(crate) mod r#advance_nonce_account;

+ 7 - 1
clients/rust/src/generated/instructions/transfer_sol.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -61,6 +61,12 @@ impl TransferSolInstructionData {
     }
 }
 
+impl Default for TransferSolInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct TransferSolInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/transfer_sol_with_seed.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -71,6 +71,12 @@ impl TransferSolWithSeedInstructionData {
     }
 }
 
+impl Default for TransferSolWithSeedInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct TransferSolWithSeedInstructionArgs {

+ 7 - 1
clients/rust/src/generated/instructions/upgrade_nonce_account.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -51,6 +51,12 @@ impl UpgradeNonceAccountInstructionData {
     }
 }
 
+impl Default for UpgradeNonceAccountInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 /// Instruction builder for `UpgradeNonceAccount`.
 ///
 /// ### Accounts:

+ 7 - 1
clients/rust/src/generated/instructions/withdraw_nonce_account.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -81,6 +81,12 @@ impl WithdrawNonceAccountInstructionData {
     }
 }
 
+impl Default for WithdrawNonceAccountInstructionData {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub struct WithdrawNonceAccountInstructionArgs {

+ 1 - 1
clients/rust/src/generated/mod.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 pub mod accounts;

+ 1 - 1
clients/rust/src/generated/programs.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use solana_program::{pubkey, pubkey::Pubkey};

+ 1 - 1
clients/rust/src/generated/types/mod.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 pub(crate) mod r#nonce_state;

+ 11 - 2
clients/rust/src/generated/types/nonce_state.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -10,7 +10,16 @@ use borsh::BorshSerialize;
 use num_derive::FromPrimitive;
 
 #[derive(
-    BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq, PartialOrd, Hash, FromPrimitive,
+    BorshSerialize,
+    BorshDeserialize,
+    Clone,
+    Debug,
+    Eq,
+    PartialEq,
+    Copy,
+    PartialOrd,
+    Hash,
+    FromPrimitive,
 )]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub enum NonceState {

+ 11 - 2
clients/rust/src/generated/types/nonce_version.rs

@@ -2,7 +2,7 @@
 //! Please DO NOT EDIT THIS FILE, instead use visitors
 //! to add features, then rerun kinobi to update it.
 //!
-//! [https://github.com/metaplex-foundation/kinobi]
+//! <https://github.com/kinobi-so/kinobi>
 //!
 
 use borsh::BorshDeserialize;
@@ -10,7 +10,16 @@ use borsh::BorshSerialize;
 use num_derive::FromPrimitive;
 
 #[derive(
-    BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq, PartialOrd, Hash, FromPrimitive,
+    BorshSerialize,
+    BorshDeserialize,
+    Clone,
+    Debug,
+    Eq,
+    PartialEq,
+    Copy,
+    PartialOrd,
+    Hash,
+    FromPrimitive,
 )]
 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
 pub enum NonceVersion {

+ 4 - 4
package.json

@@ -11,10 +11,10 @@
   },
   "devDependencies": {
     "@iarna/toml": "^2.2.5",
-    "kinobi": "^0.20.1",
-    "@kinobi-so/renderers-js": "^0.20.1",
-    "@kinobi-so/renderers-rust": "^0.20.1",
-    "typescript": "^5.4.2",
+    "kinobi": "^0.21.0",
+    "@kinobi-so/renderers-js": "^0.21.0",
+    "@kinobi-so/renderers-rust": "^0.21.0",
+    "typescript": "^5.5.2",
     "zx": "^7.2.3"
   },
   "packageManager": "pnpm@9.1.0"

+ 128 - 92
pnpm-lock.yaml

@@ -12,17 +12,17 @@ importers:
         specifier: ^2.2.5
         version: 2.2.5
       '@kinobi-so/renderers-js':
-        specifier: ^0.20.1
-        version: 0.20.1(fastestsmallesttextencoderdecoder@1.0.22)
+        specifier: ^0.21.0
+        version: 0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       '@kinobi-so/renderers-rust':
-        specifier: ^0.20.1
-        version: 0.20.1(fastestsmallesttextencoderdecoder@1.0.22)
+        specifier: ^0.21.0
+        version: 0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       kinobi:
-        specifier: ^0.20.1
-        version: 0.20.1
+        specifier: ^0.21.0
+        version: 0.21.0
       typescript:
-        specifier: ^5.4.2
-        version: 5.4.2
+        specifier: ^5.5.2
+        version: 5.5.3
       zx:
         specifier: ^7.2.3
         version: 7.2.3
@@ -32,33 +32,40 @@ packages:
   '@iarna/toml@2.2.5':
     resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==}
 
-  '@kinobi-so/errors@0.20.1':
-    resolution: {integrity: sha512-fXKuaJZpvXSqQmhdxrx8KatS31eFKjyTMTnQ9jkv2h5UQrZzbr6wyWH9ZceM96D8YGw+FopRovu9N1dUILuceA==}
+  '@kinobi-so/errors@0.21.0':
+    resolution: {integrity: sha512-7dPK35L/Y01qzekhVHdKAu+lENmHhuwX39rIx3qNJpNPHKi1VCcorLuOJlfT2F9MPPUjv5pZliL5qQ5IsvtNMw==}
     hasBin: true
 
-  '@kinobi-so/node-types@0.20.1':
-    resolution: {integrity: sha512-xdxJj613WOsS2Vr09uNrmoSkqASkZLhT+CebrMtvhGuCK5ndiHfNjT/7VQYQ7+EbMT9hK76MmVavzyP97uRfkg==}
+  '@kinobi-so/node-types@0.21.0':
+    resolution: {integrity: sha512-UmzjocmsLa1pZ/ExVklGRsWQZNoIvifKBuTEAcpdxlDhg6hmrMWoXwWvRrLI5o7v1WKvTucv7KuM+5GU9UhFDw==}
 
-  '@kinobi-so/nodes@0.20.1':
-    resolution: {integrity: sha512-dRX3kfjrcY81pmt7jAhBiEAygLHwTWVST8R20f7zpXyxm7dFWKmUX57litLsjchg7USEQYCcMAve47BVNO9QxQ==}
+  '@kinobi-so/nodes-from-anchor@0.20.9':
+    resolution: {integrity: sha512-xNlwvJek6Hbfi45Unocwq/lT3rFXhmpZcAZmQJMgdIH8E4iAya9ZQ89j4neRQ+C1KVrK9qFJh0SaJvt9xnJQXA==}
 
-  '@kinobi-so/renderers-core@0.20.1':
-    resolution: {integrity: sha512-bhzoGEPHOHIRK1q6CoRYY1pIy+O4PQ5WoBxCiuKaQ6zdQQP58o1AdTPY0Udmyf9swGTRaNKXLu1N0zcUo/G/5A==}
+  '@kinobi-so/nodes@0.21.0':
+    resolution: {integrity: sha512-Z8STFjB3/f9LzK494l6qydkBMsFtnm96YreJjlAg9/DeKNtphimslSvFTF/9qHiGMfOQpOVhQqbWFXpt+PCZiQ==}
 
-  '@kinobi-so/renderers-js@0.20.1':
-    resolution: {integrity: sha512-POSwrIvuoxv9ibxLeRVNWxxzLjwdS43R80pOmgIlq+4oCITzd1AKTYSBWhf4ioAi4il6RS/LJOJPuBmo9mx9wA==}
+  '@kinobi-so/renderers-core@0.20.7':
+    resolution: {integrity: sha512-KJhU8+UMowO9dDkLhEodAkbRkgSxdfBWeY+DIgOCgXcakt0T140K7OREuaAo9fp12Owf+10SAEGx9AzTNySoHA==}
 
-  '@kinobi-so/renderers-rust@0.20.1':
-    resolution: {integrity: sha512-W7VfgBEVxbrq1/zq7KMSSbgDgfb9B2nYDMabM4EULGMnHuphmCpctsnaD5Ag6i9GhJWjgNMcFlRJuNj0328KiA==}
+  '@kinobi-so/renderers-js@0.21.0':
+    resolution: {integrity: sha512-KjYU9BB8U2O9u2FZD+CIoMHgt6dSqO+cwDGIjCaH/GIsiKU5WDfO2IuBSoDWTO37icSVbzM2NeHyW3+RfUyYDg==}
 
-  '@kinobi-so/validators@0.20.1':
-    resolution: {integrity: sha512-rQ/3XPzY/z63nk+4I5g9JO7VAo3L/O8ZRCCgZkOlBRuRsU+kvR+LYPKu1NqRO1scFDU+uu57tUnycDiT0kzDRA==}
+  '@kinobi-so/renderers-rust@0.21.0':
+    resolution: {integrity: sha512-BLe1SW6XFBhjtZdCc7cuukMWrJTbhCafCCmXryLmjzF7jaiK9nyZZFinHxljSac4HCk2vDn22mHAwOjabaDQ2Q==}
 
-  '@kinobi-so/visitors-core@0.20.1':
-    resolution: {integrity: sha512-jSCniUzty6b0AB+X9tCT52+9ypiJzuVjd39ZlUT7cOFqX4GNCYR5d+XE2N0r6nnn3Fyrwy9wTvm42/4jndKJMg==}
+  '@kinobi-so/validators@0.21.0':
+    resolution: {integrity: sha512-mpBqgqlto/Wdj6rlf1mqWkyw00rPJw98bkNItXq+ofCEtBsjaMq9lsevCE+IPmfJJYEPFGHGJW4Gb6m/cLmOqw==}
 
-  '@kinobi-so/visitors@0.20.1':
-    resolution: {integrity: sha512-lUlB6sCPnMyN6ytRkCxAcEfNBcSRD0Gr3Egd7CJexxrhtg0ngSrBU/BH1m6YuBSt8InuuuFjCdmwbmG3ALDj+w==}
+  '@kinobi-so/visitors-core@0.21.0':
+    resolution: {integrity: sha512-m6C/cAy7q7ZAWhByQGo2YnBsbt0qS3Un0lyT4mmPGQt0QFXUDExFipjTvY/NnzZ5lQJ2grvnL04pqLx8V7eiuw==}
+
+  '@kinobi-so/visitors@0.21.0':
+    resolution: {integrity: sha512-gigysLJCfVtNCFkdDMeHGB+1SOvoiQOPUVKxewzOq1wDYVioFmmf4aXfB1GCEslLlMvl63cTJrwvh8bDIZoaSA==}
+
+  '@noble/hashes@1.4.0':
+    resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==}
+    engines: {node: '>= 16'}
 
   '@nodelib/fs.scandir@2.1.5':
     resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
@@ -72,20 +79,27 @@ packages:
     resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
     engines: {node: '>= 8'}
 
-  '@solana/codecs-core@2.0.0-preview.2':
-    resolution: {integrity: sha512-gLhCJXieSCrAU7acUJjbXl+IbGnqovvxQLlimztPoGgfLQ1wFYu+XJswrEVQqknZYK1pgxpxH3rZ+OKFs0ndQg==}
+  '@solana/codecs-core@2.0.0-preview.4':
+    resolution: {integrity: sha512-A0VVuDDA5kNKZUinOqHxJQK32aKTucaVbvn31YenGzHX1gPqq+SOnFwgaEY6pq4XEopSmaK16w938ZQS8IvCnw==}
+    peerDependencies:
+      typescript: '>=5'
 
-  '@solana/codecs-numbers@2.0.0-preview.2':
-    resolution: {integrity: sha512-aLZnDTf43z4qOnpTcDsUVy1Ci9im1Md8thWipSWbE+WM9ojZAx528oAql+Cv8M8N+6ALKwgVRhPZkto6E59ARw==}
+  '@solana/codecs-numbers@2.0.0-preview.4':
+    resolution: {integrity: sha512-Q061rLtMadsO7uxpguT+Z7G4UHnjQ6moVIxAQxR58nLxDPCC7MB1Pk106/Z7NDhDLHTcd18uO6DZ7ajHZEn2XQ==}
+    peerDependencies:
+      typescript: '>=5'
 
-  '@solana/codecs-strings@2.0.0-preview.2':
-    resolution: {integrity: sha512-EgBwY+lIaHHgMJIqVOGHfIfpdmmUDNoNO/GAUGeFPf+q0dF+DtwhJPEMShhzh64X2MeCZcmSO6Kinx0Bvmmz2g==}
+  '@solana/codecs-strings@2.0.0-preview.4':
+    resolution: {integrity: sha512-YDbsQePRWm+xnrfS64losSGRg8Wb76cjK1K6qfR8LPmdwIC3787x9uW5/E4icl/k+9nwgbIRXZ65lpF+ucZUnw==}
     peerDependencies:
       fastestsmallesttextencoderdecoder: ^1.0.22
+      typescript: '>=5'
 
-  '@solana/errors@2.0.0-preview.2':
-    resolution: {integrity: sha512-H2DZ1l3iYF5Rp5pPbJpmmtCauWeQXRJapkDg8epQ8BJ7cA2Ut/QEtC3CMmw/iMTcuS6uemFNLcWvlOfoQhvQuA==}
+  '@solana/errors@2.0.0-preview.4':
+    resolution: {integrity: sha512-kadtlbRv2LCWr8A9V22On15Us7Nn8BvqNaOB4hXsTB3O0fU40D1ru2l+cReqLcRPij4znqlRzW9Xi0m6J5DIhA==}
     hasBin: true
+    peerDependencies:
+      typescript: '>=5'
 
   '@types/fs-extra@11.0.4':
     resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
@@ -127,6 +141,10 @@ packages:
     resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==}
     engines: {node: '>=18'}
 
+  commander@12.1.0:
+    resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==}
+    engines: {node: '>=18'}
+
   commander@5.1.0:
     resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
     engines: {node: '>= 6'}
@@ -258,8 +276,8 @@ packages:
   jsonify@0.0.1:
     resolution: {integrity: sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==}
 
-  kinobi@0.20.1:
-    resolution: {integrity: sha512-oA/X2Q9yP2ZVt49dI9wvfVVoRGdyX6cHcd0Pm9QOInO7I5tCt8VS46fXw+sWxxkDzRFPVrKBJ11pE+K7tvIX4w==}
+  kinobi@0.21.0:
+    resolution: {integrity: sha512-T71VNh4yS8uSvtNp1FEWhJGygW5/8O82SAlFRlPYsWiwqWH9X3eZwwUthBVH7dfazqs8GLia0rAMEmUP99iwLw==}
 
   map-stream@0.1.0:
     resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==}
@@ -308,8 +326,8 @@ packages:
     resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
     engines: {node: '>=8.6'}
 
-  prettier@3.2.5:
-    resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==}
+  prettier@3.3.3:
+    resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==}
     engines: {node: '>=14'}
     hasBin: true
 
@@ -349,8 +367,8 @@ packages:
     resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
     engines: {node: '>=8.0'}
 
-  typescript@5.4.2:
-    resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==}
+  typescript@5.5.3:
+    resolution: {integrity: sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==}
     engines: {node: '>=14.17'}
     hasBin: true
 
@@ -388,67 +406,79 @@ snapshots:
 
   '@iarna/toml@2.2.5': {}
 
-  '@kinobi-so/errors@0.20.1':
+  '@kinobi-so/errors@0.21.0':
     dependencies:
-      '@kinobi-so/node-types': 0.20.1
+      '@kinobi-so/node-types': 0.21.0
       chalk: 5.3.0
       commander: 12.0.0
 
-  '@kinobi-so/node-types@0.20.1': {}
+  '@kinobi-so/node-types@0.21.0': {}
+
+  '@kinobi-so/nodes-from-anchor@0.20.9':
+    dependencies:
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/visitors': 0.21.0
+      '@noble/hashes': 1.4.0
 
-  '@kinobi-so/nodes@0.20.1':
+  '@kinobi-so/nodes@0.21.0':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/node-types': 0.20.1
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/node-types': 0.21.0
 
-  '@kinobi-so/renderers-core@0.20.1':
+  '@kinobi-so/renderers-core@0.20.7':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
-      '@kinobi-so/visitors-core': 0.20.1
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/visitors-core': 0.21.0
 
-  '@kinobi-so/renderers-js@0.20.1(fastestsmallesttextencoderdecoder@1.0.22)':
+  '@kinobi-so/renderers-js@0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
-      '@kinobi-so/renderers-core': 0.20.1
-      '@kinobi-so/visitors-core': 0.20.1
-      '@solana/codecs-strings': 2.0.0-preview.2(fastestsmallesttextencoderdecoder@1.0.22)
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/nodes-from-anchor': 0.20.9
+      '@kinobi-so/renderers-core': 0.20.7
+      '@kinobi-so/visitors-core': 0.21.0
+      '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       nunjucks: 3.2.4
-      prettier: 3.2.5
+      prettier: 3.3.3
     transitivePeerDependencies:
       - chokidar
       - fastestsmallesttextencoderdecoder
+      - typescript
 
-  '@kinobi-so/renderers-rust@0.20.1(fastestsmallesttextencoderdecoder@1.0.22)':
+  '@kinobi-so/renderers-rust@0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
-      '@kinobi-so/renderers-core': 0.20.1
-      '@kinobi-so/visitors-core': 0.20.1
-      '@solana/codecs-strings': 2.0.0-preview.2(fastestsmallesttextencoderdecoder@1.0.22)
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/renderers-core': 0.20.7
+      '@kinobi-so/visitors-core': 0.21.0
+      '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       nunjucks: 3.2.4
     transitivePeerDependencies:
       - chokidar
       - fastestsmallesttextencoderdecoder
+      - typescript
 
-  '@kinobi-so/validators@0.20.1':
+  '@kinobi-so/validators@0.21.0':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
-      '@kinobi-so/visitors-core': 0.20.1
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/visitors-core': 0.21.0
 
-  '@kinobi-so/visitors-core@0.20.1':
+  '@kinobi-so/visitors-core@0.21.0':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
       json-stable-stringify: 1.1.1
 
-  '@kinobi-so/visitors@0.20.1':
+  '@kinobi-so/visitors@0.21.0':
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
-      '@kinobi-so/visitors-core': 0.20.1
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/visitors-core': 0.21.0
+
+  '@noble/hashes@1.4.0': {}
 
   '@nodelib/fs.scandir@2.1.5':
     dependencies:
@@ -462,26 +492,30 @@ snapshots:
       '@nodelib/fs.scandir': 2.1.5
       fastq: 1.17.1
 
-  '@solana/codecs-core@2.0.0-preview.2':
+  '@solana/codecs-core@2.0.0-preview.4(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 2.0.0-preview.2
+      '@solana/errors': 2.0.0-preview.4(typescript@5.5.3)
+      typescript: 5.5.3
 
-  '@solana/codecs-numbers@2.0.0-preview.2':
+  '@solana/codecs-numbers@2.0.0-preview.4(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 2.0.0-preview.2
-      '@solana/errors': 2.0.0-preview.2
+      '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3)
+      '@solana/errors': 2.0.0-preview.4(typescript@5.5.3)
+      typescript: 5.5.3
 
-  '@solana/codecs-strings@2.0.0-preview.2(fastestsmallesttextencoderdecoder@1.0.22)':
+  '@solana/codecs-strings@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 2.0.0-preview.2
-      '@solana/codecs-numbers': 2.0.0-preview.2
-      '@solana/errors': 2.0.0-preview.2
+      '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3)
+      '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3)
+      '@solana/errors': 2.0.0-preview.4(typescript@5.5.3)
       fastestsmallesttextencoderdecoder: 1.0.22
+      typescript: 5.5.3
 
-  '@solana/errors@2.0.0-preview.2':
+  '@solana/errors@2.0.0-preview.4(typescript@5.5.3)':
     dependencies:
       chalk: 5.3.0
-      commander: 12.0.0
+      commander: 12.1.0
+      typescript: 5.5.3
 
   '@types/fs-extra@11.0.4':
     dependencies:
@@ -522,6 +556,8 @@ snapshots:
 
   commander@12.0.0: {}
 
+  commander@12.1.0: {}
+
   commander@5.1.0: {}
 
   data-uri-to-buffer@4.0.1: {}
@@ -660,12 +696,12 @@ snapshots:
 
   jsonify@0.0.1: {}
 
-  kinobi@0.20.1:
+  kinobi@0.21.0:
     dependencies:
-      '@kinobi-so/errors': 0.20.1
-      '@kinobi-so/nodes': 0.20.1
-      '@kinobi-so/validators': 0.20.1
-      '@kinobi-so/visitors': 0.20.1
+      '@kinobi-so/errors': 0.21.0
+      '@kinobi-so/nodes': 0.21.0
+      '@kinobi-so/validators': 0.21.0
+      '@kinobi-so/visitors': 0.21.0
 
   map-stream@0.1.0: {}
 
@@ -702,7 +738,7 @@ snapshots:
 
   picomatch@2.3.1: {}
 
-  prettier@3.2.5: {}
+  prettier@3.3.3: {}
 
   ps-tree@1.2.0:
     dependencies:
@@ -741,7 +777,7 @@ snapshots:
     dependencies:
       is-number: 7.0.0
 
-  typescript@5.4.2: {}
+  typescript@5.5.3: {}
 
   undici-types@5.26.5: {}
 

Vissa filer visades inte eftersom för många filer har ändrats