@silvana-one/abi 1.0.19 → 1.0.21
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/node/index.cjs +4 -4
- package/dist/node/nft/build.js +2 -2
- package/dist/node/token/build.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/nft/build.js +2 -2
- package/dist/web/token/build.js +2 -2
- package/package.json +9 -9
- package/src/nft/build.ts +2 -2
- package/src/token/build.ts +2 -2
package/dist/node/index.cjs
CHANGED
|
@@ -320,7 +320,7 @@ async function buildTokenLaunchTransaction(params) {
|
|
|
320
320
|
throw new Error("Nonce is required");
|
|
321
321
|
if (typeof nonce !== "number")
|
|
322
322
|
throw new Error("Nonce must be a number");
|
|
323
|
-
const fee =
|
|
323
|
+
const fee = 2e8;
|
|
324
324
|
if (uri && typeof uri !== "string")
|
|
325
325
|
throw new Error("Uri must be a string");
|
|
326
326
|
if (!args.tokenAddress || typeof args.tokenAddress !== "string")
|
|
@@ -486,7 +486,7 @@ async function buildTokenTransaction(params) {
|
|
|
486
486
|
bidAddress
|
|
487
487
|
});
|
|
488
488
|
const memo = args.memo ?? `${txType} ${symbol}`;
|
|
489
|
-
const fee =
|
|
489
|
+
const fee = 2e8;
|
|
490
490
|
const provingKey = params.provingKey ? import_o1js2.PublicKey.fromBase58(params.provingKey) : sender;
|
|
491
491
|
const provingFee = params.provingFee ? import_o1js2.UInt64.from(Math.round(params.provingFee)) : void 0;
|
|
492
492
|
const developerFee = args.developerFee ? import_o1js2.UInt64.from(Math.round(args.developerFee)) : void 0;
|
|
@@ -1163,7 +1163,7 @@ async function buildNftCollectionLaunchTransaction(params) {
|
|
|
1163
1163
|
throw new Error("Nonce is required");
|
|
1164
1164
|
if (typeof nonce !== "number")
|
|
1165
1165
|
throw new Error("Nonce must be a number");
|
|
1166
|
-
const fee =
|
|
1166
|
+
const fee = 2e8;
|
|
1167
1167
|
if (url && typeof url !== "string")
|
|
1168
1168
|
throw new Error("Url must be a string");
|
|
1169
1169
|
if (!args.collectionAddress || typeof args.collectionAddress !== "string")
|
|
@@ -1522,7 +1522,7 @@ async function buildNftMintTransaction(params) {
|
|
|
1522
1522
|
});
|
|
1523
1523
|
const nftName = args.nftMintParams.name;
|
|
1524
1524
|
const memo = args.memo ?? `${txType.split(":")[1]} ${symbol} ${nftName}`;
|
|
1525
|
-
const fee =
|
|
1525
|
+
const fee = 2e8;
|
|
1526
1526
|
const provingKey = params.provingKey ? import_o1js5.PublicKey.fromBase58(params.provingKey) : sender;
|
|
1527
1527
|
const provingFee = params.provingFee ? import_o1js5.UInt64.from(Math.round(params.provingFee)) : void 0;
|
|
1528
1528
|
const developerFee = args.developerFee ? import_o1js5.UInt64.from(Math.round(args.developerFee)) : void 0;
|
package/dist/node/nft/build.js
CHANGED
|
@@ -32,7 +32,7 @@ export async function buildNftCollectionLaunchTransaction(params) {
|
|
|
32
32
|
throw new Error("Nonce is required");
|
|
33
33
|
if (typeof nonce !== "number")
|
|
34
34
|
throw new Error("Nonce must be a number");
|
|
35
|
-
const fee =
|
|
35
|
+
const fee = 200_000_000;
|
|
36
36
|
if (url && typeof url !== "string")
|
|
37
37
|
throw new Error("Url must be a string");
|
|
38
38
|
if (!args.collectionAddress || typeof args.collectionAddress !== "string")
|
|
@@ -717,7 +717,7 @@ export async function buildNftMintTransaction(params) {
|
|
|
717
717
|
});
|
|
718
718
|
const nftName = args.nftMintParams.name;
|
|
719
719
|
const memo = args.memo ?? `${txType.split(":")[1]} ${symbol} ${nftName}`;
|
|
720
|
-
const fee =
|
|
720
|
+
const fee = 200_000_000;
|
|
721
721
|
const provingKey = params.provingKey
|
|
722
722
|
? PublicKey.fromBase58(params.provingKey)
|
|
723
723
|
: sender;
|
package/dist/node/token/build.js
CHANGED
|
@@ -20,7 +20,7 @@ export async function buildTokenLaunchTransaction(params) {
|
|
|
20
20
|
throw new Error("Nonce is required");
|
|
21
21
|
if (typeof nonce !== "number")
|
|
22
22
|
throw new Error("Nonce must be a number");
|
|
23
|
-
const fee =
|
|
23
|
+
const fee = 200_000_000;
|
|
24
24
|
if (uri && typeof uri !== "string")
|
|
25
25
|
throw new Error("Uri must be a string");
|
|
26
26
|
if (!args.tokenAddress || typeof args.tokenAddress !== "string")
|
|
@@ -258,7 +258,7 @@ export async function buildTokenTransaction(params) {
|
|
|
258
258
|
bidAddress,
|
|
259
259
|
});
|
|
260
260
|
const memo = args.memo ?? `${txType} ${symbol}`;
|
|
261
|
-
const fee =
|
|
261
|
+
const fee = 200_000_000;
|
|
262
262
|
const provingKey = params.provingKey
|
|
263
263
|
? PublicKey.fromBase58(params.provingKey)
|
|
264
264
|
: sender;
|