@send-fun/sdk 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/index.cjs +271 -271
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -6
- package/src/dex/generated/instructions/buyExactIn.ts +1 -1
- package/src/dex/generated/instructions/buyExactOut.ts +1 -1
- package/src/dex/generated/instructions/claimCreatorFees.ts +1 -1
- package/src/dex/generated/instructions/claimProtocolFees.ts +1 -1
- package/src/dex/generated/instructions/sellExactIn.ts +1 -1
- package/src/dex/generated/instructions/sellExactOut.ts +1 -1
- package/src/dex/generated/plugins/sendDex.ts +1 -1
- package/src/launchpad/generated/instructions/buyExactIn.ts +1 -1
- package/src/launchpad/generated/instructions/buyExactOut.ts +1 -1
- package/src/launchpad/generated/instructions/claimCreatorFees.ts +1 -1
- package/src/launchpad/generated/instructions/claimProtocolFees.ts +1 -1
- package/src/launchpad/generated/instructions/createToken.ts +1 -1
- package/src/launchpad/generated/instructions/migrate.ts +1 -1
- package/src/launchpad/generated/instructions/sellExactIn.ts +1 -1
- package/src/launchpad/generated/instructions/sellExactOut.ts +1 -1
- package/src/launchpad/generated/plugins/sendLaunchpad.ts +1 -1
- package/src/nexus/generated/instructions/claim.ts +1 -1
- package/src/nexus/generated/instructions/createUserRewardDebt.ts +1 -1
- package/src/nexus/generated/instructions/settle.ts +1 -1
- package/src/nexus/generated/instructions/stake.ts +1 -1
- package/src/nexus/generated/instructions/unstake.ts +1 -1
- package/src/nexus/generated/plugins/sendNexus.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@send-fun/sdk",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Kit-native TypeScript SDK for send.fun",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dex",
|
|
@@ -44,8 +44,7 @@
|
|
|
44
44
|
"dependencies": {},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@solana-program/token-2022": "^0.9.0",
|
|
47
|
-
"@solana/kit": "
|
|
48
|
-
"@solana/program-client-core": "^6.10.0",
|
|
47
|
+
"@solana/kit": "6.10.0",
|
|
49
48
|
"@types/node": "^24.10.4",
|
|
50
49
|
"@typescript/native-preview": "7.0.0-dev.20260512.1",
|
|
51
50
|
"oxfmt": "^0.49.0",
|
|
@@ -54,8 +53,7 @@
|
|
|
54
53
|
"typescript": "^6.0.3"
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
|
-
"@solana/kit": "
|
|
58
|
-
"@solana/program-client-core": ">=6.10.0"
|
|
56
|
+
"@solana/kit": "^6.10.0 || ^7.0.0 || ^8.0.0"
|
|
59
57
|
},
|
|
60
58
|
"engines": {
|
|
61
59
|
"node": ">=20.18.0"
|
|
@@ -67,7 +65,7 @@
|
|
|
67
65
|
"format": "oxfmt --write",
|
|
68
66
|
"format:check": "oxfmt --check",
|
|
69
67
|
"test": "tsx --test 'tests/**/*.test.ts'",
|
|
70
|
-
"typecheck": "tsgo"
|
|
68
|
+
"typecheck": "tsgo && tsgo -p compat/tsconfig.json"
|
|
71
69
|
},
|
|
72
70
|
"types": "./dist/index.d.cts"
|
|
73
71
|
}
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import { EVENT_AUTHORITY_PDA_ADDRESS, findPoolPda } from '../pdas/index.js';
|
|
50
50
|
import { SEND_DEX_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
51
51
|
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import { EVENT_AUTHORITY_PDA_ADDRESS, findPoolPda } from '../pdas/index.js';
|
|
50
50
|
import { SEND_DEX_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
51
51
|
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getAccountMetaFactory,
|
|
42
42
|
getAddressFromResolvedInstructionAccount,
|
|
43
43
|
type ResolvedInstructionAccount,
|
|
44
|
-
} from '@solana/program-client-core';
|
|
44
|
+
} from '@solana/kit/program-client-core';
|
|
45
45
|
import { EVENT_AUTHORITY_PDA_ADDRESS, findPoolPda } from '../pdas/index.js';
|
|
46
46
|
import { SEND_DEX_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
47
47
|
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
getAccountMetaFactory,
|
|
41
41
|
getAddressFromResolvedInstructionAccount,
|
|
42
42
|
type ResolvedInstructionAccount,
|
|
43
|
-
} from '@solana/program-client-core';
|
|
43
|
+
} from '@solana/kit/program-client-core';
|
|
44
44
|
import {
|
|
45
45
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
46
46
|
findPoolPda,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import { EVENT_AUTHORITY_PDA_ADDRESS, findPoolPda } from '../pdas/index.js';
|
|
50
50
|
import { SEND_DEX_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
51
51
|
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import { EVENT_AUTHORITY_PDA_ADDRESS, findPoolPda } from '../pdas/index.js';
|
|
50
50
|
import { SEND_DEX_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
51
51
|
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import {
|
|
50
50
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
51
51
|
findBondingCurvePda,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import {
|
|
50
50
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
51
51
|
findBondingCurvePda,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getAccountMetaFactory,
|
|
42
42
|
getAddressFromResolvedInstructionAccount,
|
|
43
43
|
type ResolvedInstructionAccount,
|
|
44
|
-
} from '@solana/program-client-core';
|
|
44
|
+
} from '@solana/kit/program-client-core';
|
|
45
45
|
import {
|
|
46
46
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
47
47
|
findBondingCurvePda,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
getAccountMetaFactory,
|
|
41
41
|
getAddressFromResolvedInstructionAccount,
|
|
42
42
|
type ResolvedInstructionAccount,
|
|
43
|
-
} from '@solana/program-client-core';
|
|
43
|
+
} from '@solana/kit/program-client-core';
|
|
44
44
|
import {
|
|
45
45
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
46
46
|
findBondingCurvePda,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
getAddressFromResolvedInstructionAccount,
|
|
51
51
|
getNonNullResolvedInstructionInput,
|
|
52
52
|
type ResolvedInstructionAccount,
|
|
53
|
-
} from '@solana/program-client-core';
|
|
53
|
+
} from '@solana/kit/program-client-core';
|
|
54
54
|
import {
|
|
55
55
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
56
56
|
findBondingCurvePda,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getAccountMetaFactory,
|
|
42
42
|
getAddressFromResolvedInstructionAccount,
|
|
43
43
|
type ResolvedInstructionAccount,
|
|
44
|
-
} from '@solana/program-client-core';
|
|
44
|
+
} from '@solana/kit/program-client-core';
|
|
45
45
|
import {
|
|
46
46
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
47
47
|
findBondingCurvePda,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import {
|
|
50
50
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
51
51
|
findBondingCurvePda,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
getNonNullResolvedInstructionInput,
|
|
47
47
|
type ResolvedInstructionAccount,
|
|
48
|
-
} from '@solana/program-client-core';
|
|
48
|
+
} from '@solana/kit/program-client-core';
|
|
49
49
|
import {
|
|
50
50
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
51
51
|
findBondingCurvePda,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getAccountMetaFactory,
|
|
42
42
|
getAddressFromResolvedInstructionAccount,
|
|
43
43
|
type ResolvedInstructionAccount,
|
|
44
|
-
} from '@solana/program-client-core';
|
|
44
|
+
} from '@solana/kit/program-client-core';
|
|
45
45
|
import {
|
|
46
46
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
47
47
|
findRewardStatePda,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
getAccountMetaFactory,
|
|
39
39
|
getAddressFromResolvedInstructionAccount,
|
|
40
40
|
type ResolvedInstructionAccount,
|
|
41
|
-
} from '@solana/program-client-core';
|
|
41
|
+
} from '@solana/kit/program-client-core';
|
|
42
42
|
import {
|
|
43
43
|
findRewardStatePda,
|
|
44
44
|
findUserRewardDebtPda,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
getAccountMetaFactory,
|
|
41
41
|
getAddressFromResolvedInstructionAccount,
|
|
42
42
|
type ResolvedInstructionAccount,
|
|
43
|
-
} from '@solana/program-client-core';
|
|
43
|
+
} from '@solana/kit/program-client-core';
|
|
44
44
|
import {
|
|
45
45
|
findUserRewardDebtPda,
|
|
46
46
|
findUserStakePositionPda,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
getAccountMetaFactory,
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
type ResolvedInstructionAccount,
|
|
47
|
-
} from '@solana/program-client-core';
|
|
47
|
+
} from '@solana/kit/program-client-core';
|
|
48
48
|
import {
|
|
49
49
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
50
50
|
findUserStakePositionPda,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
getAccountMetaFactory,
|
|
45
45
|
getAddressFromResolvedInstructionAccount,
|
|
46
46
|
type ResolvedInstructionAccount,
|
|
47
|
-
} from '@solana/program-client-core';
|
|
47
|
+
} from '@solana/kit/program-client-core';
|
|
48
48
|
import {
|
|
49
49
|
EVENT_AUTHORITY_PDA_ADDRESS,
|
|
50
50
|
findUserStakePositionPda,
|