Skip to content

Commit bf5c619

Browse files
authored
Upgrade to @solana/kit via Codama (#41)
1 parent 4414f51 commit bf5c619

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+473
-394
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/system#readme",
4444
"peerDependencies": {
45-
"@solana/web3.js": "^2.0.0"
45+
"@solana/kit": "^2.1.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.1.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: 285 additions & 284 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/js/src/generated/accounts/nonce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
type FetchAccountsConfig,
3030
type MaybeAccount,
3131
type MaybeEncodedAccount,
32-
} from '@solana/web3.js';
32+
} from '@solana/kit';
3333
import {
3434
getNonceStateDecoder,
3535
getNonceStateEncoder,

clients/js/src/generated/errors/system.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
type Address,
1212
type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM,
1313
type SolanaError,
14-
} from '@solana/web3.js';
14+
} from '@solana/kit';
1515
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
1616

1717
/** AccountAlreadyInUse: an account with the same address already exists */

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
type ReadonlySignerAccount,
2727
type TransactionSigner,
2828
type WritableAccount,
29-
} from '@solana/web3.js';
29+
} from '@solana/kit';
3030
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
3131
import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
3232

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
type IInstructionWithData,
2727
type TransactionSigner,
2828
type WritableSignerAccount,
29-
} from '@solana/web3.js';
29+
} from '@solana/kit';
3030
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
3131
import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
3232

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {
3333
type ReadonlySignerAccount,
3434
type TransactionSigner,
3535
type WritableAccount,
36-
} from '@solana/web3.js';
36+
} from '@solana/kit';
3737
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
3838
import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
3939

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
type IInstructionWithData,
2727
type TransactionSigner,
2828
type WritableSignerAccount,
29-
} from '@solana/web3.js';
29+
} from '@solana/kit';
3030
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
3131
import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
3232

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {
3333
type ReadonlySignerAccount,
3434
type TransactionSigner,
3535
type WritableAccount,
36-
} from '@solana/web3.js';
36+
} from '@solana/kit';
3737
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
3838
import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
3939

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
type ReadonlySignerAccount,
2828
type TransactionSigner,
2929
type WritableAccount,
30-
} from '@solana/web3.js';
30+
} from '@solana/kit';
3131
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
3232
import { getAccountMetaFactory, type ResolvedAccount } from '../shared';
3333

0 commit comments

Comments
 (0)