@clicklore/react 0.1.0 → 0.1.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 +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ heuristics. `templateFromParams(pathname, params)` is also available from
|
|
|
97
97
|
handlers can call.
|
|
98
98
|
|
|
99
99
|
For component and source annotations in Vite or Next.js, install `@clicklore/annotate` as a dev
|
|
100
|
-
dependency and apply its bundler plugin. See the [annotation setup](https://github.com/
|
|
100
|
+
dependency and apply its bundler plugin. See the [annotation setup](https://github.com/clicklore/clicklore/tree/main/packages/annotate#readme).
|
|
101
101
|
|
|
102
102
|
## Next.js Pages Router
|
|
103
103
|
|
|
@@ -134,7 +134,7 @@ in a client component.
|
|
|
134
134
|
|
|
135
135
|
Set `host` to your self-hosted base URL and include its origin in the app's CSP `connect-src`.
|
|
136
136
|
The SDK is part of your app's JavaScript and uses its `script-src` policy. See the
|
|
137
|
-
[browser SDK configuration and privacy controls](https://github.com/
|
|
137
|
+
[browser SDK configuration and privacy controls](https://github.com/clicklore/clicklore/tree/main/packages/browser#configuration).
|
|
138
138
|
|
|
139
139
|
The root and `/route` entry points work with Node ESM and modern Node's `require(esm)`. The
|
|
140
140
|
`/next` entry point is for Next.js bundling. For Jest, use ESM support or transform these
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clicklore/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React, Next.js and React Router bindings for Clicklore.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/clicklore/clicklore.git",
|
|
11
11
|
"directory": "packages/react"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/
|
|
13
|
+
"homepage": "https://github.com/clicklore/clicklore/tree/main/packages/react#readme",
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/clicklore/clicklore/issues"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"analytics",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"next": ">=16",
|
|
54
54
|
"react": ">=18",
|
|
55
55
|
"react-router": ">=6.4",
|
|
56
|
-
"@clicklore/browser": "^0.1.
|
|
56
|
+
"@clicklore/browser": "^0.1.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"next": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react-router": "8.4.0",
|
|
76
76
|
"tsdown": "0.23.0",
|
|
77
77
|
"vitest": "5.0.3",
|
|
78
|
-
"@clicklore/browser": "^0.1.
|
|
78
|
+
"@clicklore/browser": "^0.1.1"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsdown",
|