Skip to content

Commit

Permalink
Use Codama v1.0.0 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva authored Oct 10, 2024
1 parent 833ce04 commit 32f4d9e
Show file tree
Hide file tree
Showing 16 changed files with 135 additions and 135 deletions.
6 changes: 3 additions & 3 deletions clients/js/src/generated/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This code was AUTOGENERATED using the kinobi library.
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
* to add features, then rerun codama to update it.
*
* @see https://github.com/kinobi-so/kinobi
* @see https://github.com/codama-idl/codama
*/

export * from './instructions';
Expand Down
6 changes: 3 additions & 3 deletions clients/js/src/generated/instructions/addMemo.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This code was AUTOGENERATED using the kinobi library.
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
* to add features, then rerun codama to update it.
*
* @see https://github.com/kinobi-so/kinobi
* @see https://github.com/codama-idl/codama
*/

import {
Expand Down
6 changes: 3 additions & 3 deletions clients/js/src/generated/instructions/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This code was AUTOGENERATED using the kinobi library.
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
* to add features, then rerun codama to update it.
*
* @see https://github.com/kinobi-so/kinobi
* @see https://github.com/codama-idl/codama
*/

export * from './addMemo';
6 changes: 3 additions & 3 deletions clients/js/src/generated/programs/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This code was AUTOGENERATED using the kinobi library.
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
* to add features, then rerun codama to update it.
*
* @see https://github.com/kinobi-so/kinobi
* @see https://github.com/codama-idl/codama
*/

export * from './memo';
6 changes: 3 additions & 3 deletions clients/js/src/generated/programs/memo.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This code was AUTOGENERATED using the kinobi library.
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
* to add features, then rerun codama to update it.
*
* @see https://github.com/kinobi-so/kinobi
* @see https://github.com/codama-idl/codama
*/

import { type Address } from '@solana/web3.js';
Expand Down
6 changes: 3 additions & 3 deletions clients/js/src/generated/shared/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This code was AUTOGENERATED using the kinobi library.
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
* to add features, then rerun codama to update it.
*
* @see https://github.com/kinobi-so/kinobi
* @see https://github.com/codama-idl/codama
*/

import {
Expand Down
6 changes: 3 additions & 3 deletions clients/rust/src/generated/errors/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This code was AUTOGENERATED using the kinobi library.
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/kinobi-so/kinobi>
//! <https://github.com/codama-idl/codama>
//!
8 changes: 4 additions & 4 deletions clients/rust/src/generated/instructions/add_memo.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! This code was AUTOGENERATED using the kinobi library.
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/kinobi-so/kinobi>
//! <https://github.com/codama-idl/codama>
//!
use borsh::BorshDeserialize;
Expand Down Expand Up @@ -79,7 +79,7 @@ impl AddMemoBuilder {
self.memo = Some(memo);
self
}
/// Add an aditional account to the instruction.
/// Add an additional account to the instruction.
#[inline(always)]
pub fn add_remaining_account(
&mut self,
Expand Down
6 changes: 3 additions & 3 deletions clients/rust/src/generated/instructions/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! This code was AUTOGENERATED using the kinobi library.
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/kinobi-so/kinobi>
//! <https://github.com/codama-idl/codama>
//!
pub(crate) mod r#add_memo;
Expand Down
6 changes: 3 additions & 3 deletions clients/rust/src/generated/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! This code was AUTOGENERATED using the kinobi library.
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/kinobi-so/kinobi>
//! <https://github.com/codama-idl/codama>
//!
pub mod errors;
Expand Down
6 changes: 3 additions & 3 deletions clients/rust/src/generated/programs.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! This code was AUTOGENERATED using the kinobi library.
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/kinobi-so/kinobi>
//! <https://github.com/codama-idl/codama>
//!
use solana_program::{pubkey, pubkey::Pubkey};
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
},
"devDependencies": {
"@iarna/toml": "^2.2.5",
"@kinobi-so/renderers-js": "^0.21.9",
"@kinobi-so/renderers-rust": "^0.21.7",
"kinobi": "^0.21.5",
"@codama/renderers-js": "^1.0.0",
"@codama/renderers-rust": "^1.0.0",
"codama": "^1.0.0",
"typescript": "^5.5.2",
"zx": "^7.2.3"
},
Expand Down
Loading

0 comments on commit 32f4d9e

Please sign in to comment.