Skip to content

Commit b9f5f1f

Browse files
committed
pump up the version
1 parent c7087c7 commit b9f5f1f

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

packages/demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"dependencies": {
1515
"@headlessui/react": "^1.6.6",
1616
"@heroicons/react": "^2.0.10",
17-
"@meshsdk/core": "1.2.1-beta.2",
18-
"@meshsdk/react": "1.1.2",
17+
"@meshsdk/core": "1.3.0",
18+
"@meshsdk/react": "1.1.3",
1919
"copy-to-clipboard": "^3.3.2",
2020
"flowbite": "^1.5.3",
2121
"flowbite-react": "^0.1.10",

packages/demo/pages/guides/prove-wallet-ownership.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const GuideLoginWithWalletPage: NextPage = () => {
111111
codeSnippetClient += ` return (\n`;
112112
codeSnippetClient += ` <>\n`;
113113
codeSnippetClient += ` <CardanoWallet\n`;
114-
codeSnippetClient += ` label="Sign In With Cardano"\n`;
114+
codeSnippetClient += ` label="Cardano Sign In"\n`;
115115
codeSnippetClient += ` onConnected={() => frontendStartLoginProcess()}\n`;
116116
codeSnippetClient += ` />\n`;
117117
codeSnippetClient += ` </>\n`;
@@ -139,7 +139,7 @@ const GuideLoginWithWalletPage: NextPage = () => {
139139

140140
let codeSnippetWallet = ``;
141141
codeSnippetWallet += `<CardanoWallet\n`;
142-
codeSnippetWallet += ` label="Sign In With Cardano"\n`;
142+
codeSnippetWallet += ` label="Cardano Sign In"\n`;
143143
codeSnippetWallet += ` onConnected={() => frontendStartLoginProcess()}\n`;
144144
codeSnippetWallet += `/>\n`;
145145

@@ -202,7 +202,7 @@ const GuideLoginWithWalletPage: NextPage = () => {
202202
<h2>Demo</h2>
203203
<p>Try the demo. Sign in with your Cardano wallet.</p>
204204
<CardanoWallet
205-
label="Sign In With Cardano"
205+
label="Cardano Sign In"
206206
onConnected={() => frontendStep1()}
207207
/>
208208
<RunDemoResult response={response} label="Signature is valid" />

packages/module/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Rapidly build Web3 apps on the Cardano Blockchain.",
44
"homepage": "https://meshjs.dev",
55
"author": "MeshJS",
6-
"version": "1.2.1-beta.2",
6+
"version": "1.3.0",
77
"license": "Apache-2.0",
88
"type": "module",
99
"repository": {

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "React Hooks & Components you need for building dApps on Cardano.",
44
"homepage": "https://meshjs.dev",
55
"author": "MeshJS",
6-
"version": "1.1.2",
6+
"version": "1.1.3",
77
"license": "Apache-2.0",
88
"type": "module",
99
"repository": {
@@ -61,7 +61,7 @@
6161
"vite": "3.1.4"
6262
},
6363
"peerDependencies": {
64-
"@meshsdk/core": "1.2.1-beta.2",
64+
"@meshsdk/core": "1.3.0",
6565
"react-dom": "17.x || 18.x",
6666
"react": "17.x || 18.x"
6767
},

packages/react/src/components/CardanoWallet/CardanoWallet.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const StyledMenuButton = tw.button`
88
flex items-center justify-center
99
font-normal text-lg
1010
border rounded-t-md
11-
px-4 py-2
11+
w-60 px-4 py-2
1212
shadow-sm
1313
`;
1414

@@ -22,7 +22,13 @@ const StyledMenuList = styled.div(({ hidden }: { hidden: boolean }) => [
2222
hidden && tw`hidden`,
2323
]);
2424

25-
export const CardanoWallet = ({ label = 'Connect Wallet', onConnected }) => {
25+
export const CardanoWallet = ({
26+
label = 'Connect Wallet',
27+
onConnected = undefined
28+
}: {
29+
label?: string,
30+
onConnected?: Function
31+
}) => {
2632
const wallets = useWalletList();
2733

2834
const [hideMenuList, setHideMenuList] = useState(true);

0 commit comments

Comments
 (0)