Skip to content

Commit

Permalink
build: v1.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Oct 9, 2024
1 parent acde52d commit 6fa4232
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ yarn test:e2e:headless

## Publishing

Before publishing create the release on github called `X.Y.Z` and then `git pull` the tag.

```bash
git clone git@github.com:vechainfoundation/vechain-dapp-kit.git
cd vechain-dapp-kit
Expand Down
8 changes: 7 additions & 1 deletion examples/sample-next-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"dist/types/**/*.ts"
],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/dapp-kit-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/dapp-kit-react",
"version": "1.0.13",
"version": "1.0.14",
"private": false,
"homepage": "https://github.com/vechain/vechain-dapp-kit",
"repository": "github:vechain/vechain-dapp-kit",
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp-kit-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/dapp-kit-ui",
"version": "1.0.13",
"version": "1.0.14",
"private": false,
"description": "Vanilla JS DAppKit",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/dapp-kit",
"version": "1.0.13",
"version": "1.0.14",
"private": false,
"homepage": "https://github.com/vechain/vechain-dapp-kit",
"repository": "github:vechain/vechain-dapp-kit",
Expand Down
6 changes: 5 additions & 1 deletion packages/dapp-kit/src/utils/create-wallet.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as ConnexLib from '@vechain/connex';
import type {
BaseWallet,
ConnexWallet,
DAppKitOptions,
WalletSource,
Expand Down Expand Up @@ -59,7 +60,10 @@ export const createWallet = ({

const signer = window.vechain.newConnexSigner(genesisId);

return new CertificateBasedWallet(signer, connectionCertificate);
return new CertificateBasedWallet(
signer as BaseWallet,
connectionCertificate,
);
}
case 'wallet-connect': {
if (!walletConnectOptions) {
Expand Down

0 comments on commit 6fa4232

Please sign in to comment.