@flaunch/sdk 0.7.0 → 0.7.1
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 +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ const { symbol, name, image } = await flaunchRead.getCoinMetadata(coinAddress);
|
|
|
103
103
|
For write operations, you'll need both Viem and Wagmi. Here's how to set it up in a React component:
|
|
104
104
|
|
|
105
105
|
```ts
|
|
106
|
-
import { createFlaunch } from "@flaunch/sdk";
|
|
106
|
+
import { createFlaunch, ReadWriteFlaunchSDK } from "@flaunch/sdk";
|
|
107
107
|
import { base } from "viem/chains";
|
|
108
108
|
import { useWalletClient } from "wagmi";
|
|
109
109
|
import { useMemo } from "react";
|
package/dist/index.cjs.js
CHANGED
|
@@ -12292,7 +12292,7 @@ class ReadWriteFlaunchZap extends ReadFlaunchZap {
|
|
|
12292
12292
|
depositData: "0x",
|
|
12293
12293
|
},
|
|
12294
12294
|
_whitelistParams: {
|
|
12295
|
-
merkleRoot:
|
|
12295
|
+
merkleRoot: viem.zeroHash,
|
|
12296
12296
|
merkleIPFSHash: "",
|
|
12297
12297
|
maxTokens: 0n,
|
|
12298
12298
|
},
|
|
@@ -12300,7 +12300,7 @@ class ReadWriteFlaunchZap extends ReadFlaunchZap {
|
|
|
12300
12300
|
airdropIndex: 0n,
|
|
12301
12301
|
airdropAmount: 0n,
|
|
12302
12302
|
airdropEndTime: 0n,
|
|
12303
|
-
merkleRoot:
|
|
12303
|
+
merkleRoot: viem.zeroHash,
|
|
12304
12304
|
merkleIPFSHash: "",
|
|
12305
12305
|
},
|
|
12306
12306
|
}, {
|
|
@@ -12368,7 +12368,7 @@ class ReadWriteFlaunchZap extends ReadFlaunchZap {
|
|
|
12368
12368
|
depositData: "0x",
|
|
12369
12369
|
},
|
|
12370
12370
|
_whitelistParams: {
|
|
12371
|
-
merkleRoot:
|
|
12371
|
+
merkleRoot: viem.zeroHash,
|
|
12372
12372
|
merkleIPFSHash: "",
|
|
12373
12373
|
maxTokens: 0n,
|
|
12374
12374
|
},
|
|
@@ -12376,7 +12376,7 @@ class ReadWriteFlaunchZap extends ReadFlaunchZap {
|
|
|
12376
12376
|
airdropIndex: 0n,
|
|
12377
12377
|
airdropAmount: 0n,
|
|
12378
12378
|
airdropEndTime: 0n,
|
|
12379
|
-
merkleRoot:
|
|
12379
|
+
merkleRoot: viem.zeroHash,
|
|
12380
12380
|
merkleIPFSHash: "",
|
|
12381
12381
|
},
|
|
12382
12382
|
}, {
|