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