@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.
Files changed (35) hide show
  1. package/README.md +10 -1
  2. package/dist/index.cjs +276 -274
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +4 -3
  5. package/dist/index.d.cts.map +1 -1
  6. package/dist/index.d.mts +4 -3
  7. package/dist/index.d.mts.map +1 -1
  8. package/dist/index.mjs +6 -4
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +5 -6
  11. package/src/dex/generated/instructions/buyExactIn.ts +1 -1
  12. package/src/dex/generated/instructions/buyExactOut.ts +1 -1
  13. package/src/dex/generated/instructions/claimCreatorFees.ts +1 -1
  14. package/src/dex/generated/instructions/claimProtocolFees.ts +1 -1
  15. package/src/dex/generated/instructions/sellExactIn.ts +1 -1
  16. package/src/dex/generated/instructions/sellExactOut.ts +1 -1
  17. package/src/dex/generated/plugins/sendDex.ts +1 -1
  18. package/src/launchpad/generated/instructions/buyExactIn.ts +1 -1
  19. package/src/launchpad/generated/instructions/buyExactOut.ts +1 -1
  20. package/src/launchpad/generated/instructions/claimCreatorFees.ts +1 -1
  21. package/src/launchpad/generated/instructions/claimProtocolFees.ts +1 -1
  22. package/src/launchpad/generated/instructions/createToken.ts +1 -1
  23. package/src/launchpad/generated/instructions/migrate.ts +1 -1
  24. package/src/launchpad/generated/instructions/sellExactIn.ts +1 -1
  25. package/src/launchpad/generated/instructions/sellExactOut.ts +1 -1
  26. package/src/launchpad/generated/plugins/sendLaunchpad.ts +1 -1
  27. package/src/launchpad/trade.ts +2 -1
  28. package/src/nexus/generated/instructions/claim.ts +1 -1
  29. package/src/nexus/generated/instructions/createUserRewardDebt.ts +1 -1
  30. package/src/nexus/generated/instructions/settle.ts +1 -1
  31. package/src/nexus/generated/instructions/stake.ts +1 -1
  32. package/src/nexus/generated/instructions/unstake.ts +1 -1
  33. package/src/nexus/generated/plugins/sendNexus.ts +1 -1
  34. package/src/nexus/staking.ts +3 -2
  35. 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