Skip to content

Commit ba3da23

Browse files
committed
chore: bump dedot
1 parent 5ef1fad commit ba3da23

File tree

16 files changed

+133
-138
lines changed

16 files changed

+133
-138
lines changed

e2e/zombienet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@polkadot/keyring": "^13.5.5",
1212
"@polkadot/types": "^16.4.4",
1313
"@polkadot/util-crypto": "^13.5.6",
14-
"dedot": "^0.16.0",
14+
"dedot": "^0.17.0",
1515
"happy-dom": "^15.11.7",
1616
"typink": "workspace:*"
1717
},

examples/demo-general/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@dedot/react-identicon": "^0.1.0",
1717
"@emotion/react": "^11.14.0",
1818
"@emotion/styled": "^11.14.0",
19-
"dedot": "^0.16.0",
19+
"dedot": "^0.17.0",
2020
"framer-motion": "^10.18.0",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",

examples/demo-inkv5/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@chakra-ui/system": "^2.6.2",
1717
"@emotion/react": "^11.14.0",
1818
"@emotion/styled": "^11.14.0",
19-
"dedot": "^0.16.0",
19+
"dedot": "^0.17.0",
2020
"framer-motion": "^10.18.0",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",

examples/demo-inkv6/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@chakra-ui/system": "^2.6.2",
1717
"@emotion/react": "^11.14.0",
1818
"@emotion/styled": "^11.14.0",
19-
"dedot": "^0.16.0",
19+
"dedot": "^0.17.0",
2020
"framer-motion": "^10.18.0",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",

examples/demo-inkv6/src/components/Psp22Board.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { toEvmAddress } from 'dedot/contracts';
88

99
export default function Psp22Board() {
1010
const { contract } = useContract<Psp22ContractApi>(ContractId.PSP22);
11-
const { connectedAccount, network } = useTypink();
11+
const { connectedAccount } = useTypink();
1212
const mintTx = useContractTx(contract, 'psp22MintableMint');
1313
const { data: tokenName, isLoading: loadingTokenName } = useContractQuery({
1414
contract,
@@ -74,6 +74,8 @@ export default function Psp22Board() {
7474
}
7575
};
7676

77+
const tokenFormatOptions = { symbol: tokenSymbol, decimals: tokenDecimal };
78+
7779
return (
7880
<Box>
7981
<Heading size='md'>PSP22 Contract</Heading>
@@ -99,15 +101,15 @@ export default function Psp22Board() {
99101
<Box mb={2}>
100102
Total Supply:{' '}
101103
<PendingText fontWeight='600' isLoading={loadingTotalSupply}>
102-
{formatBalance(totalSupply, network)}
104+
{formatBalance(totalSupply, tokenFormatOptions)}
103105
</PendingText>
104106
</Box>
105107
<Divider my={4} />
106108
<Box>
107109
My Balance:{' '}
108110
{connectedAccount ? (
109111
<PendingText fontWeight='600' isLoading={loadingBalance}>
110-
{formatBalance(myBalance, network)}
112+
{formatBalance(myBalance, tokenFormatOptions)}
111113
</PendingText>
112114
) : (
113115
<WalletSelection buttonProps={{ size: 'xs' }} />

examples/demo-multi-clients/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@dedot/react-identicon": "^0.1.0",
1717
"@emotion/react": "^11.14.0",
1818
"@emotion/styled": "^11.14.0",
19-
"dedot": "^0.16.0",
19+
"dedot": "^0.17.0",
2020
"framer-motion": "^10.18.0",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",

examples/demo-subconnect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@subwallet-connect/react": "^1.0.8",
2222
"@subwallet-connect/subwallet-polkadot": "^1.0.8",
2323
"@subwallet-connect/talisman": "^1.0.8",
24-
"dedot": "^0.16.0",
24+
"dedot": "^0.17.0",
2525
"framer-motion": "^10.18.0",
2626
"react": "^18.3.1",
2727
"react-dom": "^18.3.1",

examples/demo-talisman-connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@talismn/connect-components": "^1.1.9",
2020
"@talismn/connect-ui": "^1.1.4",
2121
"@talismn/connect-wallets": "^1.2.8",
22-
"dedot": "^0.16.0",
22+
"dedot": "^0.17.0",
2323
"framer-motion": "^10.18.0",
2424
"react": "^18.3.1",
2525
"react-dom": "^18.3.1",

packages/create-typink/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"bin": "./bin/create-typink.mjs",
1919
"dependencies": {
20-
"@dedot/utils": "^0.16.0",
20+
"@dedot/utils": "^0.17.0",
2121
"arg": "^5.0.2",
2222
"chalk": "^5.6.2",
2323
"execa": "^9.6.0",

packages/create-typink/templates/legacy-nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@radix-ui/react-slot": "^1.2.3",
1818
"class-variance-authority": "^0.7.1",
1919
"clsx": "^2.1.1",
20-
"dedot": "^0.16.0",
20+
"dedot": "^0.17.0",
2121
"lucide-react": "^0.544.0",
2222
"next": "^15.5.3",
2323
"next-themes": "^0.4.6",

0 commit comments

Comments
 (0)