Skip to content

Commit

Permalink
pump up the version
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelkrimdev committed Dec 23, 2022
1 parent c7087c7 commit b9f5f1f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@headlessui/react": "^1.6.6",
"@heroicons/react": "^2.0.10",
"@meshsdk/core": "1.2.1-beta.2",
"@meshsdk/react": "1.1.2",
"@meshsdk/core": "1.3.0",
"@meshsdk/react": "1.1.3",
"copy-to-clipboard": "^3.3.2",
"flowbite": "^1.5.3",
"flowbite-react": "^0.1.10",
Expand Down
6 changes: 3 additions & 3 deletions packages/demo/pages/guides/prove-wallet-ownership.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const GuideLoginWithWalletPage: NextPage = () => {
codeSnippetClient += ` return (\n`;
codeSnippetClient += ` <>\n`;
codeSnippetClient += ` <CardanoWallet\n`;
codeSnippetClient += ` label="Sign In With Cardano"\n`;
codeSnippetClient += ` label="Cardano Sign In"\n`;
codeSnippetClient += ` onConnected={() => frontendStartLoginProcess()}\n`;
codeSnippetClient += ` />\n`;
codeSnippetClient += ` </>\n`;
Expand Down Expand Up @@ -139,7 +139,7 @@ const GuideLoginWithWalletPage: NextPage = () => {

let codeSnippetWallet = ``;
codeSnippetWallet += `<CardanoWallet\n`;
codeSnippetWallet += ` label="Sign In With Cardano"\n`;
codeSnippetWallet += ` label="Cardano Sign In"\n`;
codeSnippetWallet += ` onConnected={() => frontendStartLoginProcess()}\n`;
codeSnippetWallet += `/>\n`;

Expand Down Expand Up @@ -202,7 +202,7 @@ const GuideLoginWithWalletPage: NextPage = () => {
<h2>Demo</h2>
<p>Try the demo. Sign in with your Cardano wallet.</p>
<CardanoWallet
label="Sign In With Cardano"
label="Cardano Sign In"
onConnected={() => frontendStep1()}
/>
<RunDemoResult response={response} label="Signature is valid" />
Expand Down
2 changes: 1 addition & 1 deletion packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Rapidly build Web3 apps on the Cardano Blockchain.",
"homepage": "https://meshjs.dev",
"author": "MeshJS",
"version": "1.2.1-beta.2",
"version": "1.3.0",
"license": "Apache-2.0",
"type": "module",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "React Hooks & Components you need for building dApps on Cardano.",
"homepage": "https://meshjs.dev",
"author": "MeshJS",
"version": "1.1.2",
"version": "1.1.3",
"license": "Apache-2.0",
"type": "module",
"repository": {
Expand Down Expand Up @@ -61,7 +61,7 @@
"vite": "3.1.4"
},
"peerDependencies": {
"@meshsdk/core": "1.2.1-beta.2",
"@meshsdk/core": "1.3.0",
"react-dom": "17.x || 18.x",
"react": "17.x || 18.x"
},
Expand Down
10 changes: 8 additions & 2 deletions packages/react/src/components/CardanoWallet/CardanoWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const StyledMenuButton = tw.button`
flex items-center justify-center
font-normal text-lg
border rounded-t-md
px-4 py-2
w-60 px-4 py-2
shadow-sm
`;

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

export const CardanoWallet = ({ label = 'Connect Wallet', onConnected }) => {
export const CardanoWallet = ({
label = 'Connect Wallet',
onConnected = undefined
}: {
label?: string,
onConnected?: Function
}) => {
const wallets = useWalletList();

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

1 comment on commit b9f5f1f

@vercel
Copy link

@vercel vercel bot commented on b9f5f1f Dec 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.