@tamsensedev/dataclient 0.1.6 → 0.1.8

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 +31 -16
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,26 @@
1
1
  # TAMsense SDK
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@tamsensedev/dataclient.svg)](https://www.npmjs.com/package/@tamsensedev/dataclient)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@tamsensedev/dataclient.svg)](https://www.npmjs.com/package/@tamsensedev/dataclient)
5
+ [![license](https://img.shields.io/npm/l/@tamsensedev/dataclient.svg)](https://github.com/tamsensedev/dataclient-js/blob/main/LICENSE)
6
+
7
+ **[Website](https://tamsense.com)** | **[Documentation](https://tamsense.com)** | **[Product Hunt](https://www.producthunt.com/products/tamsense)**
8
+
3
9
  Capture frontend user behavior for TAMsense to detect friction across onboarding, activation, evaluation, and conversion to paid journeys.
4
10
 
5
- TAMsense helps SaaS companies turn more free users into paying customers by generating specific product recommendations based on the analysis of user behavior across the entire product
11
+ TAMsense helps SaaS companies turn more free users into paying customers by generating specific product recommendations based on the analysis of user behavior across the entire product.
12
+
13
+ ### Features
6
14
 
7
- **Looking to improve conversion to paid?** Support us on Product Hunt by subscribing for launch updates https://www.producthunt.com/products/tamsense?launch=tamsense
15
+ - **Session replay** full video recording via rrweb
16
+ - **DOM snapshots** — serialized page structure for AI analysis
17
+ - **User actions** — clicks, inputs, form changes with element context
18
+ - **Auto idle management** — sessions auto-stop after inactivity, restart on interaction
19
+ - **Privacy first** — mask sensitive data with a single HTML attribute
20
+ - **Lightweight** — small bundle, no impact on page performance
21
+ - **Framework agnostic** — works with React, Vue, Nuxt, Next.js, Angular, or plain JS
8
22
 
23
+ **Looking to improve conversion to paid?** Support us on [Product Hunt](https://www.producthunt.com/products/tamsense?launch=tamsense)
9
24
 
10
25
  ---
11
26
 
@@ -63,7 +78,7 @@ npm install @tamsensedev/dataclient
63
78
  import { DataClient } from '@tamsensedev/dataclient'
64
79
 
65
80
  const client = new DataClient({
66
- apiKey: 'YOUR_API_KEY'
81
+ apiKey: 'YOUR_API_KEY'
67
82
  })
68
83
  ```
69
84
 
@@ -131,9 +146,9 @@ Passwords are always masked automatically.
131
146
  import { DataClient } from '@tamsensedev/dataclient'
132
147
 
133
148
  export default defineNuxtPlugin(() => {
134
- const client = new DataClient({
135
- apiKey: 'YOUR_API_KEY'
136
- })
149
+ const client = new DataClient({
150
+ apiKey: 'YOUR_API_KEY'
151
+ })
137
152
  })
138
153
  ```
139
154
 
@@ -144,7 +159,7 @@ export default defineNuxtPlugin(() => {
144
159
  import { DataClient } from '@tamsensedev/dataclient'
145
160
 
146
161
  const client = new DataClient({
147
- apiKey: 'YOUR_API_KEY'
162
+ apiKey: 'YOUR_API_KEY'
148
163
  })
149
164
 
150
165
  // After login:
@@ -158,7 +173,7 @@ client.setUser(user.id)
158
173
  import { DataClient } from '@tamsensedev/dataclient'
159
174
 
160
175
  const client = new DataClient({
161
- apiKey: 'YOUR_API_KEY'
176
+ apiKey: 'YOUR_API_KEY'
162
177
  })
163
178
 
164
179
  app.provide('dataclient', client)
@@ -208,17 +223,17 @@ import { Component, OnInit } from '@angular/core'
208
223
  import { DataClient } from '@tamsensedev/dataclient'
209
224
 
210
225
  @Component({
211
- selector: 'app-root',
212
- template: '<router-outlet></router-outlet>'
226
+ selector: 'app-root',
227
+ template: '<router-outlet></router-outlet>'
213
228
  })
214
229
  export class AppComponent implements OnInit {
215
- private client: DataClient | null = null
230
+ private client: DataClient | null = null
216
231
 
217
- ngOnInit() {
218
- this.client = new DataClient({
219
- apiKey: 'YOUR_API_KEY'
220
- })
221
- }
232
+ ngOnInit() {
233
+ this.client = new DataClient({
234
+ apiKey: 'YOUR_API_KEY'
235
+ })
236
+ }
222
237
  }
223
238
  ```
224
239
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@tamsensedev/dataclient",
3
3
  "type": "module",
4
- "version": "0.1.6",
4
+ "version": "0.1.8",
5
5
  "description": "Session replay & product analytics SDK for web apps",
6
6
  "license": "MIT",
7
- "homepage": "https://github.com/tamsensedev/dataclient-js#readme",
7
+ "homepage": "https://tamsense.com",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/tamsensedev/dataclient-js"