@nexly/core 0.3.0 → 0.4.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.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @nexly/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
JavaScript SDK for browser-side event ingestion with Nexly. No UI framework required.
|
|
4
4
|
|
|
5
|
-
For
|
|
5
|
+
For React apps, add **@nexly/react-web**. For Next.js App Router, use **@nexly/next**.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -21,11 +21,11 @@ nexly.pageview()
|
|
|
21
21
|
nexly.event({ name: 'click', type: 'engagement', data: { id: 'x' } })
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Constructor options use the `NexlyInit` type from the published typings.
|
|
25
25
|
|
|
26
26
|
## API
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
The package ships `.d.ts` files; use your editor or `node_modules` typings for the full export list.
|
|
29
29
|
|
|
30
30
|
## License
|
|
31
31
|
|