@lapwy/react 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lapwy/react
2
2
 
3
- lapwy for React.
3
+ [lapwy](https://lapwy.com) for React.
4
4
 
5
5
  ```sh
6
6
  npm install @lapwy/react
@@ -16,3 +16,9 @@ const { track } = useLapwy(); // in any component
16
16
  ```
17
17
 
18
18
  Works with React Router and any router that changes the address: route changes are page views without further setup. `track`, `page`, `consent` and `notFound` are also exported on their own, and are safe to call before `<Lapwy>` has mounted.
19
+
20
+ ## Links
21
+
22
+ - [lapwy.com](https://lapwy.com): add your site and get its key (`lw_…`) under Settings → Install
23
+ - [SDK reference](https://lapwy.com/docs): every option, cookie modes, page grouping
24
+ - [llms.txt](https://lapwy.com/llms.txt): the same reference for AI coding agents
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@lapwy/react",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "lapwy for React: the <Lapwy> component and useLapwy().",
5
+ "homepage": "https://lapwy.com",
5
6
  "license": "MIT",
6
7
  "type": "module",
7
8
  "sideEffects": false,
@@ -25,7 +26,7 @@
25
26
  "./package.json": "./package.json"
26
27
  },
27
28
  "dependencies": {
28
- "@lapwy/js": "^0.1.1"
29
+ "@lapwy/js": "^0.1.2"
29
30
  },
30
31
  "peerDependencies": {
31
32
  "react": ">=18"