@send-fun/sdk 1.0.0 → 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 +276 -274
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -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/launchpad/trade.ts +2 -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/src/nexus/staking.ts +3 -2
- package/src/transfer-fee.ts +7 -4
package/README.md
CHANGED
|
@@ -12,9 +12,18 @@ It does not send transactions.
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
pnpm add @send-fun/sdk
|
|
15
|
+
pnpm add @send-fun/sdk @solana/kit
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
`@solana/kit` is the only peer dependency: 6.x from 6.10.0, 7.x or 8.x. The SDK
|
|
19
|
+
uses the `@solana/program-client-core` that your kit release ships, through
|
|
20
|
+
`@solana/kit/program-client-core`, so do not install that package separately
|
|
21
|
+
for it.
|
|
22
|
+
|
|
23
|
+
That subpath needs `package.json` `exports` support: TypeScript
|
|
24
|
+
`moduleResolution` set to `node16`, `nodenext` or `bundler` (not `node10`), and
|
|
25
|
+
Metro 0.82 or later on React Native.
|
|
26
|
+
|
|
18
27
|
## Rules
|
|
19
28
|
|
|
20
29
|
- Read `platformConfig` from the bonding curve or the pool. Do not use your own
|