@reown/appkit-cli 1.6.3 → 1.6.4-rc.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
# @reown/appkit-cli
|
|
2
2
|
|
|
3
|
+
## 1.6.4-rc.1.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3579](https://github.com/reown-com/appkit/pull/3579) [`8ddfbf2`](https://github.com/reown-com/appkit/commit/8ddfbf227ba8bc39c7b4071c328568e9ab365b87) Thanks [@magiziz](https://github.com/magiziz)! - Added an error message for when the user provides an invalid project id.
|
|
8
|
+
|
|
9
|
+
- [#3562](https://github.com/reown-com/appkit/pull/3562) [`fbafcea`](https://github.com/reown-com/appkit/commit/fbafcea4038d0644fd9c84e05a15990b11707b9a) Thanks [@tomiir](https://github.com/tomiir)! - Sets secure site version to 3.
|
|
10
|
+
Handles case where Magic SDK connection fizzled, causing magic to connected while AppKit believed it was not connected
|
|
11
|
+
|
|
12
|
+
- [#3564](https://github.com/reown-com/appkit/pull/3564) [`6284eb1`](https://github.com/reown-com/appkit/commit/6284eb190de3eda2fcf04848f0fb10aee7921b13) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where the balance endpoint was being called every 30 seconds for unsupported networks.
|
|
13
|
+
|
|
14
|
+
- [#3560](https://github.com/reown-com/appkit/pull/3560) [`83635a4`](https://github.com/reown-com/appkit/commit/83635a42c57896580ba69aeffd527481868047b0) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where closing the modal mid embedded wallet request would not abort the request
|
|
15
|
+
|
|
16
|
+
- [#3568](https://github.com/reown-com/appkit/pull/3568) [`87029c0`](https://github.com/reown-com/appkit/commit/87029c0662567dd658f0e204a07eb67f08e3c813) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where only wallets from the initially active chain ID would be fetched. Re-fetches wallets from API when network changes.
|
|
17
|
+
|
|
18
|
+
- [#3563](https://github.com/reown-com/appkit/pull/3563) [`35a4f56`](https://github.com/reown-com/appkit/commit/35a4f564ef273b7840e8148d286755a587bb04b8) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where the modal didn't close after completing login if users navigated between different social login options.
|
|
19
|
+
|
|
20
|
+
- [#3583](https://github.com/reown-com/appkit/pull/3583) [`34ed47e`](https://github.com/reown-com/appkit/commit/34ed47e9542b183463777caf096fd44ea8eb0816) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix an issue where swap button shows an infinite spinner
|
|
21
|
+
|
|
22
|
+
- [#3573](https://github.com/reown-com/appkit/pull/3573) [`d9a96a5`](https://github.com/reown-com/appkit/commit/d9a96a5bfd8e358e73c8b4cfb9efb09efcbe8f1b) Thanks [@magiziz](https://github.com/magiziz)! - Added a new `required` option to SIWE/SIWX. This option determines whether the wallet stays connected when the user denies the signature request. If set to `true` it will disconnect the wallet and close the modal. If set to `false` it will close the modal without disconnecting the wallet.
|
|
23
|
+
|
|
24
|
+
**Example usage**
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { createSIWEConfig } from '@reown/appkit-siwe'
|
|
28
|
+
import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs } from '@reown/appkit-siwe'
|
|
29
|
+
|
|
30
|
+
export const siweConfig = createSIWEConfig({
|
|
31
|
+
required: false, // Optional - defaults to true
|
|
32
|
+
getMessageParams: async () => {
|
|
33
|
+
// Return message parameters
|
|
34
|
+
},
|
|
35
|
+
createMessage: ({ address, ...args }: SIWECreateMessageArgs) => {
|
|
36
|
+
// Return formatted message
|
|
37
|
+
},
|
|
38
|
+
getNonce: async () => {
|
|
39
|
+
// Return nonce
|
|
40
|
+
},
|
|
41
|
+
getSession: async () => {
|
|
42
|
+
// Return session
|
|
43
|
+
},
|
|
44
|
+
verifyMessage: async ({ message, signature }: SIWEVerifyMessageArgs) => {
|
|
45
|
+
// Verify message
|
|
46
|
+
},
|
|
47
|
+
signOut: async () => {
|
|
48
|
+
// Sign out
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
- [#3586](https://github.com/reown-com/appkit/pull/3586) [`d5b811c`](https://github.com/reown-com/appkit/commit/d5b811c666e41846fd5798116e7c93606b4b992f) Thanks [@enesozturk](https://github.com/enesozturk)! - Adds add/remove adapter methods to appkit client, moves active connector state to connected connector
|
|
54
|
+
|
|
55
|
+
- [#3565](https://github.com/reown-com/appkit/pull/3565) [`93cee5c`](https://github.com/reown-com/appkit/commit/93cee5c44e6f30f3594bc7c5a4029dc1f05503f1) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix an issue where users with an ENS couldn't copy their address.
|
|
56
|
+
|
|
57
|
+
- [#3584](https://github.com/reown-com/appkit/pull/3584) [`7703d40`](https://github.com/reown-com/appkit/commit/7703d409b6107c7fd61228fc1f1576d1b8503ce5) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where status would not be set for non-connected namespaces. Make syncExistingConnection call syncNamespaceConnection for non-connected namespaces as well, resulting in status being set correctly'
|
|
58
|
+
|
|
59
|
+
- [#3554](https://github.com/reown-com/appkit/pull/3554) [`7a7df99`](https://github.com/reown-com/appkit/commit/7a7df99625721759f2b426e6d8c3d1b13749a2cb) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix farcaster issue, so user can see their correct username in account view
|
|
60
|
+
|
|
61
|
+
- [#3555](https://github.com/reown-com/appkit/pull/3555) [`3ee19a2`](https://github.com/reown-com/appkit/commit/3ee19a227540bb496aa1b319d64f0306a82ce5dd) Thanks [@lukaisailovic](https://github.com/lukaisailovic)! - add create subscription method
|
|
62
|
+
|
|
63
|
+
- [#3558](https://github.com/reown-com/appkit/pull/3558) [`a48e2f9`](https://github.com/reown-com/appkit/commit/a48e2f9067bdbe85b87ff1d720cb898dbc0ed3cd) Thanks [@magiziz](https://github.com/magiziz)! - Added embedded wallet info to `useAppKitAccount` hook.
|
|
64
|
+
|
|
65
|
+
**Example usage**
|
|
66
|
+
|
|
67
|
+
```tsx
|
|
68
|
+
import { useAppKitAccount } from '@reown/appkit/react'
|
|
69
|
+
|
|
70
|
+
export function YourApp() {
|
|
71
|
+
const { embeddedWalletInfo } = useAppKitAccount()
|
|
72
|
+
|
|
73
|
+
const email = embeddedWalletInfo.user?.email
|
|
74
|
+
|
|
75
|
+
return email && <p>Email address: {email}</p>
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
3
79
|
## 1.6.3
|
|
4
80
|
|
|
5
81
|
### Patch Changes
|