@silentswap/react 0.0.81 → 0.0.82
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.
|
@@ -16,7 +16,7 @@ function buildFullState(key, status, isConnected, isLoading, error) {
|
|
|
16
16
|
const output = outputsList[index];
|
|
17
17
|
const outputAsset = output.output ??
|
|
18
18
|
(output.asset
|
|
19
|
-
? { caip19: output.asset, amount: output.value || '0'
|
|
19
|
+
? { caip19: output.asset, amount: output.value || '0' }
|
|
20
20
|
: undefined);
|
|
21
21
|
newOutputs.push({
|
|
22
22
|
index,
|
|
@@ -47,7 +47,8 @@ export type OutputStatus = {
|
|
|
47
47
|
asset?: {
|
|
48
48
|
caip19: string;
|
|
49
49
|
amount: string;
|
|
50
|
-
|
|
50
|
+
/** Omitted or 0 when unknown (e.g. INIT stage); resolve from asset registry in UI. */
|
|
51
|
+
decimals?: number;
|
|
51
52
|
priceUsd?: number;
|
|
52
53
|
};
|
|
53
54
|
txs?: OrderTransactions;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silentswap/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.82",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@bigmi/core": "^0.6.5",
|
|
26
26
|
"@ensdomains/ensjs": "^4.2.0",
|
|
27
|
-
"@silentswap/sdk": "0.0.
|
|
28
|
-
"@silentswap/ui-kit": "0.0.
|
|
27
|
+
"@silentswap/sdk": "0.0.82",
|
|
28
|
+
"@silentswap/ui-kit": "0.0.82",
|
|
29
29
|
"@solana/codecs-strings": "^5.1.0",
|
|
30
30
|
"@solana/kit": "^5.1.0",
|
|
31
31
|
"@solana/rpc": "^5.1.0",
|