flipmeme-sdk 1.2.43 → 1.2.45
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -476,6 +476,10 @@ var flipmeme_default = {
|
|
|
476
476
|
name: "uri",
|
|
477
477
|
type: "string"
|
|
478
478
|
},
|
|
479
|
+
{
|
|
480
|
+
name: "symbol",
|
|
481
|
+
type: "string"
|
|
482
|
+
},
|
|
479
483
|
{
|
|
480
484
|
name: "total_supply",
|
|
481
485
|
type: "u32"
|
|
@@ -2271,7 +2275,7 @@ var SolanaConnector = class {
|
|
|
2271
2275
|
SOLANA_PUBKEYS.STATE_ID
|
|
2272
2276
|
);
|
|
2273
2277
|
const collectionID = state.collectionCount;
|
|
2274
|
-
const { sessionId, name, tokenUri, totalSupply } = params;
|
|
2278
|
+
const { sessionId, name, tokenUri, totalSupply, symbol } = params;
|
|
2275
2279
|
const { collectionPda: collectionPda2, collectionNftPda: collectionNftPda2 } = yield getTradingAccounts(
|
|
2276
2280
|
this.program.programId,
|
|
2277
2281
|
collectionID.toString(),
|
|
@@ -2283,9 +2287,10 @@ var SolanaConnector = class {
|
|
|
2283
2287
|
sessionId,
|
|
2284
2288
|
name,
|
|
2285
2289
|
tokenUri,
|
|
2290
|
+
symbol,
|
|
2286
2291
|
totalSupply,
|
|
2287
|
-
new import_bn.default(
|
|
2288
|
-
new import_bn.default(
|
|
2292
|
+
new import_bn.default(1e7),
|
|
2293
|
+
new import_bn.default(2e8)
|
|
2289
2294
|
).accountsStrict({
|
|
2290
2295
|
state: SOLANA_PUBKEYS.STATE_ID,
|
|
2291
2296
|
collection: collectionPda2,
|