Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 4e1c483

Browse files
committed
single-pool-js: fix naming
1 parent 3837370 commit 4e1c483

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

single-pool/js/packages/classic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@solana/single-pool-classic",
2+
"name": "@solana/spl-single-pool-classic",
33
"version": "1.0.0",
44
"main": "dist/cjs/index.js",
55
"module": "dist/mjs/index.js",
@@ -30,7 +30,7 @@
3030
},
3131
"dependencies": {
3232
"@solana/web3.js": "^1.78.4",
33-
"@solana/single-pool": "workspace:*"
33+
"@solana/spl-single-pool": "workspace:*"
3434
},
3535
"ava": {
3636
"extensions": {

single-pool/js/packages/classic/src/addresses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
findPoolMintAuthorityAddress as findMintAuthorityModern,
88
findPoolMplAuthorityAddress as findMplAuthorityModern,
99
findDefaultDepositAccountAddress as findDefaultDepositModern,
10-
} from '@solana/single-pool';
10+
} from '@solana/spl-single-pool';
1111

1212
export async function findPoolAddress(programId: PublicKey, voteAccountAddress: PublicKey) {
1313
return new PublicKey(await findPoolModern(programId.toBase58(), voteAccountAddress.toBase58()));

single-pool/js/packages/classic/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Connection, PublicKey } from '@solana/web3.js';
2-
import { getVoteAccountAddressForPool as getVoteModern } from '@solana/single-pool';
2+
import { getVoteAccountAddressForPool as getVoteModern } from '@solana/spl-single-pool';
33

44
import { rpc } from './internal.js';
55

single-pool/js/packages/classic/src/instructions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
2-
import { SinglePoolInstruction as PoolInstructionModern } from '@solana/single-pool';
2+
import { SinglePoolInstruction as PoolInstructionModern } from '@solana/spl-single-pool';
33

44
import { modernInstructionToLegacy } from './internal.js';
55

single-pool/js/packages/classic/src/transactions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PublicKey, Connection } from '@solana/web3.js';
2-
import { SinglePoolProgram as PoolProgramModern } from '@solana/single-pool';
2+
import { SinglePoolProgram as PoolProgramModern } from '@solana/spl-single-pool';
33

44
import { paramsToModern, modernTransactionToLegacy, rpc } from './internal.js';
55

single-pool/js/packages/modern/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@solana/single-pool",
2+
"name": "@solana/spl-single-pool",
33
"version": "1.0.0",
44
"main": "dist/cjs/index.js",
55
"module": "dist/mjs/index.js",

0 commit comments

Comments
 (0)