@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/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silvana-one/abi",
|
|
3
3
|
"description": "Silvana ABI Experimental Library",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.21",
|
|
5
5
|
"author": "DFST",
|
|
6
6
|
"bugs": "https://github.com/SilvanaOne/silvana-lib/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"tslib": "^2.8.1"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@silvana-one/api": "1.0.
|
|
12
|
-
"@silvana-one/nft": "1.0.
|
|
13
|
-
"@silvana-one/storage": "1.0.
|
|
14
|
-
"@silvana-one/token": "1.0.
|
|
11
|
+
"@silvana-one/api": "1.0.21",
|
|
12
|
+
"@silvana-one/nft": "1.0.21",
|
|
13
|
+
"@silvana-one/storage": "1.0.21",
|
|
14
|
+
"@silvana-one/token": "1.0.21",
|
|
15
15
|
"@types/node": "^24.0.1",
|
|
16
16
|
"esbuild": "^0.25.5",
|
|
17
17
|
"o1js": "^2.6.0",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"license": "Apache-2.0",
|
|
52
52
|
"main": "dist/web/index.js",
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@silvana-one/api": "1.0.
|
|
55
|
-
"@silvana-one/nft": "1.0.
|
|
56
|
-
"@silvana-one/storage": "1.0.
|
|
57
|
-
"@silvana-one/token": "1.0.
|
|
54
|
+
"@silvana-one/api": "1.0.21",
|
|
55
|
+
"@silvana-one/nft": "1.0.21",
|
|
56
|
+
"@silvana-one/storage": "1.0.21",
|
|
57
|
+
"@silvana-one/token": "1.0.21",
|
|
58
58
|
"o1js": "^2.6.0"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
package/src/nft/build.ts
CHANGED
|
@@ -120,7 +120,7 @@ export async function buildNftCollectionLaunchTransaction(params: {
|
|
|
120
120
|
const sender = PublicKey.fromBase58(args.sender);
|
|
121
121
|
if (nonce === undefined) throw new Error("Nonce is required");
|
|
122
122
|
if (typeof nonce !== "number") throw new Error("Nonce must be a number");
|
|
123
|
-
const fee =
|
|
123
|
+
const fee = 200_000_000;
|
|
124
124
|
if (url && typeof url !== "string") throw new Error("Url must be a string");
|
|
125
125
|
if (!args.collectionAddress || typeof args.collectionAddress !== "string")
|
|
126
126
|
throw new Error("collectionAddress is required");
|
|
@@ -956,7 +956,7 @@ export async function buildNftMintTransaction(params: {
|
|
|
956
956
|
});
|
|
957
957
|
const nftName = args.nftMintParams.name;
|
|
958
958
|
const memo = args.memo ?? `${txType.split(":")[1]} ${symbol} ${nftName}`;
|
|
959
|
-
const fee =
|
|
959
|
+
const fee = 200_000_000;
|
|
960
960
|
const provingKey = params.provingKey
|
|
961
961
|
? PublicKey.fromBase58(params.provingKey)
|
|
962
962
|
: sender;
|
package/src/token/build.ts
CHANGED
|
@@ -68,7 +68,7 @@ export async function buildTokenLaunchTransaction(params: {
|
|
|
68
68
|
const sender = PublicKey.fromBase58(args.sender);
|
|
69
69
|
if (nonce === undefined) throw new Error("Nonce is required");
|
|
70
70
|
if (typeof nonce !== "number") throw new Error("Nonce must be a number");
|
|
71
|
-
const fee =
|
|
71
|
+
const fee = 200_000_000;
|
|
72
72
|
if (uri && typeof uri !== "string") throw new Error("Uri must be a string");
|
|
73
73
|
if (!args.tokenAddress || typeof args.tokenAddress !== "string")
|
|
74
74
|
throw new Error("tokenAddress is required");
|
|
@@ -394,7 +394,7 @@ export async function buildTokenTransaction(params: {
|
|
|
394
394
|
bidAddress,
|
|
395
395
|
});
|
|
396
396
|
const memo = args.memo ?? `${txType} ${symbol}`;
|
|
397
|
-
const fee =
|
|
397
|
+
const fee = 200_000_000;
|
|
398
398
|
const provingKey = params.provingKey
|
|
399
399
|
? PublicKey.fromBase58(params.provingKey)
|
|
400
400
|
: sender;
|