Skip to content

Commit 7ae9f24

Browse files
build(deps-dev): bump @codama/renderers-js from 1.2.5 to 1.2.6 (#116)
* build(deps-dev): bump @codama/renderers-js from 1.2.5 to 1.2.6 Bumps [@codama/renderers-js](https://github.com/codama-idl/codama) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/codama-idl/codama/releases) - [Commits](https://github.com/codama-idl/codama/compare/@codama/[email protected]...@codama/[email protected]) --- updated-dependencies: - dependency-name: "@codama/renderers-js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Regenerate client libs * Update web3.js -> kit --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C <[email protected]>
1 parent 04782d1 commit 7ae9f24

File tree

9 files changed

+296
-384
lines changed

9 files changed

+296
-384
lines changed

clients/js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
},
4343
"homepage": "https://github.com/solana-program/memo#readme",
4444
"peerDependencies": {
45-
"@solana/web3.js": "^2.0.0"
45+
"@solana/kit": "^2.0.0"
4646
},
4747
"devDependencies": {
4848
"@ava/typescript": "^4.1.0",
4949
"@solana/eslint-config-solana": "^3.0.3",
50-
"@solana/web3.js": "^2.0.0",
50+
"@solana/kit": "^2.0.0",
5151
"@types/node": "^20",
5252
"@typescript-eslint/eslint-plugin": "^7.16.1",
5353
"@typescript-eslint/parser": "^7.16.1",

clients/js/pnpm-lock.yaml

Lines changed: 284 additions & 283 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/js/src/generated/instructions/addMemo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
type IInstructionWithAccounts,
2323
type IInstructionWithData,
2424
type TransactionSigner,
25-
} from '@solana/web3.js';
25+
} from '@solana/kit';
2626
import { MEMO_PROGRAM_ADDRESS } from '../programs';
2727

2828
export type AddMemoInstruction<

clients/js/src/generated/programs/memo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @see https://github.com/codama-idl/codama
77
*/
88

9-
import { type Address } from '@solana/web3.js';
9+
import { type Address } from '@solana/kit';
1010
import { type ParsedAddMemoInstruction } from '../instructions';
1111

1212
export const MEMO_PROGRAM_ADDRESS =

clients/js/src/generated/shared/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
import {
1010
AccountRole,
1111
isProgramDerivedAddress,
12-
isTransactionSigner as web3JsIsTransactionSigner,
12+
isTransactionSigner as kitIsTransactionSigner,
1313
type Address,
1414
type IAccountMeta,
1515
type IAccountSignerMeta,
1616
type ProgramDerivedAddress,
1717
type TransactionSigner,
1818
upgradeRoleToSigner,
19-
} from '@solana/web3.js';
19+
} from '@solana/kit';
2020

2121
/**
2222
* Asserts that the given value is not null or undefined.
@@ -159,6 +159,6 @@ export function isTransactionSigner<TAddress extends string = string>(
159159
!!value &&
160160
typeof value === 'object' &&
161161
'address' in value &&
162-
web3JsIsTransactionSigner(value)
162+
kitIsTransactionSigner(value)
163163
);
164164
}

clients/js/test/_setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
setTransactionMessageFeePayerSigner,
2020
setTransactionMessageLifetimeUsingBlockhash,
2121
signTransactionMessageWithSigners,
22-
} from '@solana/web3.js';
22+
} from '@solana/kit';
2323

2424
type Client = {
2525
rpc: Rpc<SolanaRpcApi>;

clients/js/test/addMemo.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
getBase58Encoder,
44
getUtf8Decoder,
55
pipe,
6-
} from '@solana/web3.js';
6+
} from '@solana/kit';
77
import test from 'ava';
88
import { getAddMemoInstruction } from '../src';
99
import {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"rust:semver": "cargo semver-checks"
2727
},
2828
"devDependencies": {
29-
"@codama/renderers-js": "^1.2.5",
29+
"@codama/renderers-js": "^1.2.6",
3030
"@codama/renderers-rust": "^1.0.15",
3131
"@iarna/toml": "^2.2.5",
3232
"codama": "^1.2.7",

pnpm-lock.yaml

Lines changed: 2 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)