@talismn/balances 0.0.0-pr2091-20250801045740 → 0.0.0-pr2091-20250801070002
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.
@@ -1905,7 +1905,7 @@ const fetchOnChainTokenData = async (connector, tokenId) => {
|
|
1905
1905
|
return null;
|
1906
1906
|
}
|
1907
1907
|
const mintPubKey = new web3_js.PublicKey(mintAddress);
|
1908
|
-
const mintInfo = await connection.getAccountInfo(mintPubKey);
|
1908
|
+
const mintInfo = await connection.getAccountInfo(mintPubKey);
|
1909
1909
|
if (!mintInfo?.data) throw new Error(ERROR_NO_MINT);
|
1910
1910
|
const mint = splToken.MintLayout.decode(mintInfo.data);
|
1911
1911
|
const [metadataPDA] = web3_js.PublicKey.findProgramAddressSync([Buffer.from("metadata"), METAPLEX_PROGRAM_ID.toBuffer(), mintPubKey.toBuffer()], METAPLEX_PROGRAM_ID);
|
@@ -1905,7 +1905,7 @@ const fetchOnChainTokenData = async (connector, tokenId) => {
|
|
1905
1905
|
return null;
|
1906
1906
|
}
|
1907
1907
|
const mintPubKey = new web3_js.PublicKey(mintAddress);
|
1908
|
-
const mintInfo = await connection.getAccountInfo(mintPubKey);
|
1908
|
+
const mintInfo = await connection.getAccountInfo(mintPubKey);
|
1909
1909
|
if (!mintInfo?.data) throw new Error(ERROR_NO_MINT);
|
1910
1910
|
const mint = splToken.MintLayout.decode(mintInfo.data);
|
1911
1911
|
const [metadataPDA] = web3_js.PublicKey.findProgramAddressSync([Buffer.from("metadata"), METAPLEX_PROGRAM_ID.toBuffer(), mintPubKey.toBuffer()], METAPLEX_PROGRAM_ID);
|
@@ -1896,7 +1896,7 @@ const fetchOnChainTokenData = async (connector, tokenId) => {
|
|
1896
1896
|
return null;
|
1897
1897
|
}
|
1898
1898
|
const mintPubKey = new PublicKey(mintAddress);
|
1899
|
-
const mintInfo = await connection.getAccountInfo(mintPubKey);
|
1899
|
+
const mintInfo = await connection.getAccountInfo(mintPubKey);
|
1900
1900
|
if (!mintInfo?.data) throw new Error(ERROR_NO_MINT);
|
1901
1901
|
const mint = MintLayout.decode(mintInfo.data);
|
1902
1902
|
const [metadataPDA] = PublicKey.findProgramAddressSync([Buffer.from("metadata"), METAPLEX_PROGRAM_ID.toBuffer(), mintPubKey.toBuffer()], METAPLEX_PROGRAM_ID);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@talismn/balances",
|
3
|
-
"version": "0.0.0-pr2091-
|
3
|
+
"version": "0.0.0-pr2091-20250801070002",
|
4
4
|
"author": "Talisman",
|
5
5
|
"homepage": "https://talisman.xyz",
|
6
6
|
"license": "GPL-3.0-or-later",
|
@@ -38,14 +38,14 @@
|
|
38
38
|
"scale-ts": "^1.6.1",
|
39
39
|
"viem": "^2.27.3",
|
40
40
|
"zod": "^3.25.62",
|
41
|
-
"@talismn/chain-connectors": "0.0.0-pr2091-
|
42
|
-
"@talismn/chaindata-provider": "0.0.0-pr2091-
|
43
|
-
"@talismn/crypto": "0.0.0-pr2091-
|
44
|
-
"@talismn/sapi": "0.0.0-pr2091-
|
41
|
+
"@talismn/chain-connectors": "0.0.0-pr2091-20250801070002",
|
42
|
+
"@talismn/chaindata-provider": "0.0.0-pr2091-20250801070002",
|
43
|
+
"@talismn/crypto": "0.0.0-pr2091-20250801070002",
|
44
|
+
"@talismn/sapi": "0.0.0-pr2091-20250801070002",
|
45
45
|
"@talismn/scale": "0.2.0",
|
46
|
-
"@talismn/solana": "0.0.0-pr2091-
|
47
|
-
"@talismn/
|
48
|
-
"@talismn/
|
46
|
+
"@talismn/solana": "0.0.0-pr2091-20250801070002",
|
47
|
+
"@talismn/token-rates": "0.0.0-pr2091-20250801070002",
|
48
|
+
"@talismn/util": "0.0.0-pr2091-20250801070002"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
51
|
"@polkadot/api-contract": "16.1.2",
|
@@ -60,8 +60,8 @@
|
|
60
60
|
"jest": "^29.7.0",
|
61
61
|
"ts-jest": "^29.2.5",
|
62
62
|
"typescript": "^5.6.3",
|
63
|
-
"@talismn/
|
64
|
-
"@talismn/
|
63
|
+
"@talismn/eslint-config": "0.0.3",
|
64
|
+
"@talismn/tsconfig": "0.0.2"
|
65
65
|
},
|
66
66
|
"peerDependencies": {
|
67
67
|
"@polkadot/api-contract": "*",
|