@fingerly/next 0.1.3 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +6 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -12,6 +12,11 @@ Tested against Next 16.
12
12
  pnpm add @fingerly/next
13
13
  ```
14
14
 
15
+ **Not for apps.** This binding runs the browser SDK, which collects nothing
16
+ inside an app's web view (Capacitor, Cordova, Ionic, React Native WebView,
17
+ `WKWebView`, Android `WebView`, Electron). Use the Fingerly iOS or Android SDK
18
+ in an app; see [docs/privacy.md §3.3](../../../docs/privacy.md).
19
+
15
20
  ## Configure
16
21
 
17
22
  Read the key in a Server Component and pass it down:
@@ -51,7 +56,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
51
56
  return (
52
57
  <html>
53
58
  <body>
54
- {/* consent="granted" only once you have consent (or another lawful basis) */}
59
+ {/* consent="granted" only once you have consent (or know none is required here; see docs/privacy.md §4) */}
55
60
  <FingerlyProvider apiKey={process.env.FINGERLY_API_KEY} consent="granted">
56
61
  {children}
57
62
  </FingerlyProvider>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fingerly/next",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,7 +33,7 @@
33
33
  "sideEffects": false,
34
34
  "dependencies": {
35
35
  "@fingerly/node": "0.1.4",
36
- "@fingerly/react": "0.1.2"
36
+ "@fingerly/react": "0.2.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "next": ">=15",
@@ -49,7 +49,7 @@
49
49
  "tsup": "^8.3.5",
50
50
  "typescript": "^5.7.2",
51
51
  "vitest": "^2.1.8",
52
- "@fingerly/web-js": "0.1.2"
52
+ "@fingerly/web-js": "0.2.0"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsup",