@naculus/connect-appkit-vue 0.11.0 → 0.11.1
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 +19 -16
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
**Vue component wrappers for Naculus Connect Web Components** — auto-generated Vue proxies for all 28 Stencil components. Use `<connect-button>`, `<wallet-modal>`, etc. directly in Vue templates.
|
|
4
4
|
|
|
5
|
-
> **Components have parity with React
|
|
6
|
-
> are generated from the same Stencil source,
|
|
7
|
-
>
|
|
8
|
-
>
|
|
9
|
-
>
|
|
10
|
-
>
|
|
11
|
-
>
|
|
5
|
+
> **Components and composables have parity with React, with three named
|
|
6
|
+
> exceptions.** All 28 components are generated from the same Stencil source,
|
|
7
|
+
> so anything visual works the same in both. The composables cover the React
|
|
8
|
+
> hooks, including session keys and the transaction lifecycle, except:
|
|
9
|
+
>
|
|
10
|
+
> - React provider plumbing (`useWeb3`, `useViemClient`, `useWallet`,
|
|
11
|
+
> `useWeb3ErrorHandler`) has no Vue counterpart by design;
|
|
12
|
+
> - `useERC20Allowance` is React-only today;
|
|
13
|
+
> - `useAccounts` is Vue-only.
|
|
12
14
|
>
|
|
13
15
|
> `useCapabilities` (the EIP-5792 query) and `useSolanaRoles` (which of
|
|
14
16
|
> `identity` / `signer` / `payer` the connected Solana wallet can fill) are not
|
|
@@ -16,18 +18,19 @@
|
|
|
16
18
|
> `@naculus/connect-appkit-core`, so "absence is not a denial" cannot mean one
|
|
17
19
|
> thing in React and another here.
|
|
18
20
|
>
|
|
19
|
-
> This is said here rather than discovered later.
|
|
20
|
-
>
|
|
21
|
-
> surface.
|
|
21
|
+
> This is said here rather than discovered later. `docs/api.md` lists every
|
|
22
|
+
> runtime export of both packages.
|
|
22
23
|
|
|
23
24
|
> **🔗 Wraps `@naculus/connect-appkit-wc`. If you need the raw Web Components or another framework, see the table below.**
|
|
24
25
|
|
|
25
|
-
| Framework | Package |
|
|
26
|
-
|
|
27
|
-
| Web Components (base) | `@naculus/connect-appkit-wc` |
|
|
28
|
-
| React | `@naculus/connect-appkit-react` |
|
|
29
|
-
| **Vue** | `@naculus/connect-appkit-vue` |
|
|
30
|
-
| UI (shared styles) | `@naculus/connect-appkit-ui` |
|
|
26
|
+
| Framework | Package |
|
|
27
|
+
|-----------|---------|
|
|
28
|
+
| Web Components (base) | `@naculus/connect-appkit-wc` |
|
|
29
|
+
| React | `@naculus/connect-appkit-react` |
|
|
30
|
+
| **Vue** | `@naculus/connect-appkit-vue` |
|
|
31
|
+
| UI (shared styles) | `@naculus/connect-appkit-ui` |
|
|
32
|
+
|
|
33
|
+
All four packages are released together on one version; install the same version of each.
|
|
31
34
|
|
|
32
35
|
## Install
|
|
33
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naculus/connect-appkit-vue",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -17,23 +17,23 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@naculus/payments-x402": "^0.
|
|
20
|
+
"@naculus/payments-x402": "^0.11.0",
|
|
21
21
|
"@stencil/vue-output-target": "^0.14.3",
|
|
22
|
-
"@naculus/connect-appkit-wc": "0.11.
|
|
22
|
+
"@naculus/connect-appkit-wc": "0.11.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@naculus/connect-appkit-core": "^0.11.
|
|
26
|
-
"@naculus/connect-core": "^0.
|
|
25
|
+
"@naculus/connect-appkit-core": "^0.11.1",
|
|
26
|
+
"@naculus/connect-core": "^0.11.0",
|
|
27
27
|
"vue": "^3.5.0"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@naculus/connect-core": "^0.
|
|
33
|
+
"@naculus/connect-core": "^0.11.0",
|
|
34
34
|
"vitest": "^5.0.0",
|
|
35
35
|
"vue": "^3.5.43",
|
|
36
|
-
"@naculus/connect-appkit-core": "0.11.
|
|
36
|
+
"@naculus/connect-appkit-core": "0.11.1"
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|