zksync-sso 0.3.1 → 0.3.2
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/README.md +9 -1
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ simplifying user authentication, session management, and transaction processing.
|
|
|
15
15
|
- 🧩 Modular smart accounts based on
|
|
16
16
|
[ERC-7579](https://eips.ethereum.org/EIPS/eip-7579#modules)
|
|
17
17
|
- 🔑 Passkey authentication (no seed phrases)
|
|
18
|
-
- ⏰ Sessions
|
|
18
|
+
- ⏰ Sessions with easy configuration and management
|
|
19
19
|
- 💰 Integrated paymaster support
|
|
20
20
|
- ❤️🩹 Account recovery
|
|
21
21
|
- 💻 Simple SDKs : JavaScript, iOS/Android _(Coming Soon)_
|
|
@@ -28,8 +28,16 @@ Install the ZKsync SSO SDK package:
|
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
30
|
npm i zksync-sso
|
|
31
|
+
# optional peer dependencies
|
|
32
|
+
npm i @simplewebauthn/browser @simplewebauthn/server @wagmi/core
|
|
31
33
|
```
|
|
32
34
|
|
|
35
|
+
Optional peer dependencies that you may need to install based on your usage:
|
|
36
|
+
|
|
37
|
+
- `@simplewebauthn/browser` and `@simplewebauthn/server` (v13.x) - Required for
|
|
38
|
+
passkey operations
|
|
39
|
+
- `@wagmi/core` (v2.x) - Required for using the SSO connector
|
|
40
|
+
|
|
33
41
|
Add ZKsync SSO connector to your app (using `wagmi`):
|
|
34
42
|
|
|
35
43
|
```ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zksync-sso",
|
|
3
3
|
"description": "ZKsync Smart Sign On SDK",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Matter Labs",
|
|
7
7
|
"repository": {
|
|
@@ -24,6 +24,15 @@
|
|
|
24
24
|
"@wagmi/core": "2.x"
|
|
25
25
|
},
|
|
26
26
|
"peerDependenciesMeta": {
|
|
27
|
+
"@simplewebauthn/browser": {
|
|
28
|
+
"optional": true
|
|
29
|
+
},
|
|
30
|
+
"@simplewebauthn/server": {
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
"@wagmi/core": {
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
27
36
|
"typescript": {
|
|
28
37
|
"optional": true
|
|
29
38
|
}
|