Skip to content

Commit a62d09f

Browse files
authored
Bump Codama to 1.2.8 and use @solana/kit (#56)
1 parent 7655a47 commit a62d09f

24 files changed

+831
-450
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/address-lookup-table#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/addressLookupTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import {
4242
type MaybeEncodedAccount,
4343
type Option,
4444
type OptionOrNullable,
45-
} from '@solana/web3.js';
45+
} from '@solana/kit';
4646
import { AddressLookupTableSeeds, findAddressLookupTablePda } from '../pdas';
4747

4848
export const ADDRESS_LOOKUP_TABLE_DISCRIMINATOR = 1;

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

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

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

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

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

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

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

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

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

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

clients/js/src/generated/pdas/addressLookupTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
getU64Encoder,
1313
type Address,
1414
type ProgramDerivedAddress,
15-
} from '@solana/web3.js';
15+
} from '@solana/kit';
1616

1717
export type AddressLookupTableSeeds = {
1818
/** The address of the LUT's authority */

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

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

0 commit comments

Comments
 (0)