@rougechain/sdk 1.2.0 → 1.3.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/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -192,7 +192,12 @@ function createSignedNftCreateCollection(wallet, symbol, name, opts = {}) {
|
|
|
192
192
|
maxSupply: opts.maxSupply,
|
|
193
193
|
royaltyBps: opts.royaltyBps,
|
|
194
194
|
image: opts.image,
|
|
195
|
-
description: opts.description
|
|
195
|
+
description: opts.description,
|
|
196
|
+
publicMint: opts.publicMint,
|
|
197
|
+
mintPrice: opts.mintPrice,
|
|
198
|
+
tokenGateSymbol: opts.tokenGateSymbol,
|
|
199
|
+
tokenGateAmount: opts.tokenGateAmount,
|
|
200
|
+
discountPct: opts.discountPct
|
|
196
201
|
});
|
|
197
202
|
}
|
|
198
203
|
function createSignedNftMint(wallet, collectionId, name, opts = {}) {
|
|
@@ -683,7 +688,12 @@ var NftClient = class {
|
|
|
683
688
|
maxSupply: params.maxSupply,
|
|
684
689
|
royaltyBps: params.royaltyBps,
|
|
685
690
|
image: params.image,
|
|
686
|
-
description: params.description
|
|
691
|
+
description: params.description,
|
|
692
|
+
publicMint: params.publicMint,
|
|
693
|
+
mintPrice: params.mintPrice,
|
|
694
|
+
tokenGateSymbol: params.tokenGateSymbol,
|
|
695
|
+
tokenGateAmount: params.tokenGateAmount,
|
|
696
|
+
discountPct: params.discountPct
|
|
687
697
|
});
|
|
688
698
|
return this.rc.submitTx("/v2/nft/collection/create", tx);
|
|
689
699
|
}
|