Skip to content

Commit

Permalink
Update Blocto and Martian package version and fix a minor autoConnect…
Browse files Browse the repository at this point in the history
… bug (#75)

* update wallet dep and fix bugs

* add changeset

* revert typo
  • Loading branch information
0xmaayan authored Feb 5, 2023
1 parent 581e9ac commit e03f79c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .changeset/light-ads-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@aptos-labs/wallet-adapter-nextjs-example": minor
"@aptos-labs/wallet-adapter-react": patch
---

Update Blocto and Martian package version and fix a minor autoConnect bug
2 changes: 1 addition & 1 deletion apps/nextjs-example/components/AutoConnectProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const AutoConnectProvider: FC<{ children: ReactNode }> = ({

useEffect(() => {
try {
if (autoConnect === null) {
if (!autoConnect) {
localStorage.removeItem(AUTO_CONNECT_LOCAL_STORAGE_KEY);
} else {
localStorage.setItem(
Expand Down
6 changes: 3 additions & 3 deletions apps/nextjs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@aptos-labs/wallet-adapter-ant-design": "workspace:*",
"@aptos-labs/wallet-adapter-mui-design": "workspace:*",
"@aptos-labs/wallet-adapter-react": "workspace:*",
"@blocto/aptos-wallet-adapter-plugin": "^0.1.1",
"@martianwallet/aptos-wallet-adapter": "^0.0.2",
"@blocto/aptos-wallet-adapter-plugin": "^0.1.2",
"@martianwallet/aptos-wallet-adapter": "^0.0.3",
"@pontem/wallet-adapter-plugin": "^0.1.4",
"@rise-wallet/wallet-adapter": "^0.1.2",
"@spika/aptos-plugin": "^0.1.2",
Expand All @@ -42,4 +42,4 @@
"tailwindcss": "^3.2.4",
"typescript": "^4.5.3"
}
}
}
4 changes: 4 additions & 0 deletions packages/wallet-adapter-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@ The react provider supports all [wallet standard](https://aptos.dev/guides/walle

##### Standard functions

```
connect
disconnect
connected
account
network
signAndSubmitTransaction
signMessage
```

##### Feature functions

```
signTransaction
signMessageAndVerify
```

### Usage

Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e03f79c

Please sign in to comment.