@usermaven/sdk-js 1.0.5 → 1.0.6
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/dist/npm/usermaven.cjs.js +1441 -236
- package/dist/npm/usermaven.d.ts +155 -15
- package/dist/npm/usermaven.es.js +1439 -237
- package/dist/web/lib.js +1 -0
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -4,8 +4,9 @@ Usermaven.js is a JavaScript SDK for [Usermaven](https://usermaven.com).
|
|
|
4
4
|
|
|
5
5
|
## Capabilities
|
|
6
6
|
|
|
7
|
-
- Session Capability via `persistence` and `
|
|
8
|
-
-
|
|
7
|
+
- Session Capability via `persistence`, `persistence_name` and `persistence_time` options.
|
|
8
|
+
- Autocapturing via `autocapture`, `capture_pageview`, `properties_string_max_length` and `property_blacklist` options.
|
|
9
|
+
- Cross sub-domain compatibility added.
|
|
9
10
|
|
|
10
11
|
## Maintainers Guide
|
|
11
12
|
|
|
@@ -18,8 +19,7 @@ This section is indented only for package maintainers.
|
|
|
18
19
|
* The server listens to all changes to src and rebuilds npm and `lib.js` automatically. Open test cases HTML files to see
|
|
19
20
|
usermaven in action
|
|
20
21
|
* http://localhost:8081/test-case/embed.html - embedded Usermaven
|
|
21
|
-
* http://localhost:8081/test-case/
|
|
22
|
-
* http://localhost:8081/test-case/segment-intercept.html - test segment interception
|
|
22
|
+
* http://localhost:8081/test-case/autocapture.html - embedded Usermaven with autocapturing events
|
|
23
23
|
* `yarn test` runs [Playwright](https://playwright.dev/) test
|
|
24
24
|
* `yarn build` builds both npm package and `lib.js` browser bundle
|
|
25
25
|
* `npm publish --public` to publish the package (change version in `package.json` manually). You need to run `npm login` with your personal
|