proof-of-take-sdk 5.0.8 → 5.0.10

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.
@@ -6,7 +6,7 @@ import { Connection, PublicKey } from "@solana/web3.js";
6
6
  */
7
7
  export type LaunchpadPoolView = {
8
8
  seasonNumber: BN;
9
- tokenMint: PublicKey;
9
+ launchpadTokenMint: PublicKey;
10
10
  solReserveLamports: BN;
11
11
  tokenReserveUnits: BN;
12
12
  virtualSolReserveLamports: BN;
@@ -40,7 +40,7 @@ async function getMoonpool(connection, seasonNumber, launchpadTokenMint) {
40
40
  // Anchor returns u128 as BN (and u64/i64 as BN).
41
41
  return {
42
42
  seasonNumber: new anchor_1.BN(view.seasonNumber),
43
- tokenMint: new web3_js_1.PublicKey(view.tokenMint),
43
+ launchpadTokenMint: new web3_js_1.PublicKey(view.launchpadTokenMint),
44
44
  solReserveLamports: new anchor_1.BN(view.solReserveLamports),
45
45
  tokenReserveUnits: new anchor_1.BN(view.tokenReserveUnits),
46
46
  virtualSolReserveLamports: new anchor_1.BN(view.virtualSolReserveLamports),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proof-of-take-sdk",
3
- "version": "5.0.8",
3
+ "version": "5.0.10",
4
4
  "description": "TypeScript SDK for Proof of Take Solana program",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",