@glimt/record 0.0.1
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 +201 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/record.cjs +12288 -0
- package/dist/record.cjs.map +1 -0
- package/dist/record.js +12288 -0
- package/dist/record.js.map +1 -0
- package/dist/record.umd.cjs +12342 -0
- package/dist/record.umd.cjs.map +7 -0
- package/dist/record.umd.min.cjs +84 -0
- package/dist/record.umd.min.cjs.map +7 -0
- package/package.json +50 -0
package/README.md
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# @rrweb/record
|
|
2
|
+
|
|
3
|
+
This package contains all the record related code in rrweb.
|
|
4
|
+
See the [guide](../../guide.md) for more info on rrweb.
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @rrweb/record
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
import { record } from '@rrweb/record';
|
|
16
|
+
|
|
17
|
+
record({
|
|
18
|
+
emit(event) {
|
|
19
|
+
// send event to server
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Notes
|
|
25
|
+
|
|
26
|
+
Currently this package is really just a wrapper around the `record` function in the main `rrweb` package.
|
|
27
|
+
All `record` related code will get moved here in the future.
|
|
28
|
+
|
|
29
|
+
## Sponsors
|
|
30
|
+
|
|
31
|
+
[Become a sponsor](https://opencollective.com/rrweb#sponsor) and get your logo on our README on Github with a link to your site.
|
|
32
|
+
|
|
33
|
+
### Gold Sponsors 🥇
|
|
34
|
+
|
|
35
|
+
<div dir="auto">
|
|
36
|
+
|
|
37
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/0/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
38
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/1/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
39
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/2/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
40
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/3/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
41
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/4/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
42
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/5/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
43
|
+
<a href="https://opencollective.com/rrweb/tiers/gold-sponsor/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/gold-sponsor/6/avatar.svg?requireActive=false&avatarHeight=225" alt="sponsor"></a>
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
### Silver Sponsors 🥈
|
|
48
|
+
|
|
49
|
+
<div dir="auto">
|
|
50
|
+
|
|
51
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/0/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
52
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/1/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
53
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/2/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
54
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/3/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
55
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/4/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
56
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/5/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
57
|
+
<a href="https://opencollective.com/rrweb/tiers/silver-sponsor/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/silver-sponsor/6/avatar.svg?requireActive=false&avatarHeight=158" alt="sponsor"></a>
|
|
58
|
+
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
### Bronze Sponsors 🥉
|
|
62
|
+
|
|
63
|
+
<div dir="auto">
|
|
64
|
+
|
|
65
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/0/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
66
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/1/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
67
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/2/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
68
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/3/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
69
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/4/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
70
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/5/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
71
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/6/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
72
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/7/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/7/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
73
|
+
<a href="https://opencollective.com/rrweb/tiers/sponsors/8/website?requireActive=false" target="_blank"><img src="https://opencollective.com/rrweb/tiers/sponsors/8/avatar.svg?requireActive=false&avatarHeight=70" alt="sponsor"></a>
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
### Backers
|
|
78
|
+
|
|
79
|
+
<a href="https://opencollective.com/rrweb#sponsor" rel="nofollow"><img src="https://opencollective.com/rrweb/tiers/backers.svg?avatarHeight=36"></a>
|
|
80
|
+
|
|
81
|
+
## Core Team Members
|
|
82
|
+
|
|
83
|
+
<table>
|
|
84
|
+
<tr>
|
|
85
|
+
<td align="center">
|
|
86
|
+
<a href="https://github.com/Yuyz0112">
|
|
87
|
+
<img
|
|
88
|
+
src="https://avatars.githubusercontent.com/u/13651389?s=100"
|
|
89
|
+
width="100px;"
|
|
90
|
+
alt=""
|
|
91
|
+
/>
|
|
92
|
+
<br /><sub><b>Yuyz0112</b></sub>
|
|
93
|
+
<br /><br />
|
|
94
|
+
</a>
|
|
95
|
+
</td>
|
|
96
|
+
<td align="center">
|
|
97
|
+
<a href="https://github.com/YunFeng0817">
|
|
98
|
+
<img
|
|
99
|
+
src="https://avatars.githubusercontent.com/u/27533910?s=100"
|
|
100
|
+
width="100px;"
|
|
101
|
+
alt=""
|
|
102
|
+
/>
|
|
103
|
+
<br /><sub><b>Yun Feng</b></sub>
|
|
104
|
+
<br /><br />
|
|
105
|
+
</a>
|
|
106
|
+
</td>
|
|
107
|
+
<td align="center">
|
|
108
|
+
<a href="https://github.com/eoghanmurray">
|
|
109
|
+
<img
|
|
110
|
+
src="https://avatars.githubusercontent.com/u/156780?s=100"
|
|
111
|
+
width="100px;"
|
|
112
|
+
alt=""
|
|
113
|
+
/>
|
|
114
|
+
<br /><sub><b>eoghanmurray</b></sub>
|
|
115
|
+
<br /><br />
|
|
116
|
+
</a>
|
|
117
|
+
</td>
|
|
118
|
+
<td align="center">
|
|
119
|
+
<a href="https://github.com/Juice10">
|
|
120
|
+
<img
|
|
121
|
+
src="https://avatars.githubusercontent.com/u/4106?s=100"
|
|
122
|
+
width="100px;"
|
|
123
|
+
alt=""
|
|
124
|
+
/>
|
|
125
|
+
<br /><sub><b>Juice10</b></sub>
|
|
126
|
+
<br /><sub>open for rrweb consulting</sub>
|
|
127
|
+
</a>
|
|
128
|
+
</td>
|
|
129
|
+
</tr>
|
|
130
|
+
</table>
|
|
131
|
+
|
|
132
|
+
## Who's using rrweb?
|
|
133
|
+
|
|
134
|
+
<table>
|
|
135
|
+
<tr>
|
|
136
|
+
<td align="center">
|
|
137
|
+
<a href="http://www.smartx.com/" target="_blank">
|
|
138
|
+
<img width="195px" src="https://www.rrweb.io/logos/smartx.png">
|
|
139
|
+
</a>
|
|
140
|
+
</td>
|
|
141
|
+
<td align="center">
|
|
142
|
+
<a href="https://posthog.com?utm_source=rrweb&utm_medium=sponsorship&utm_campaign=open-source-sponsorship" target="_blank">
|
|
143
|
+
<img width="195px" src="https://www.rrweb.io/logos/posthog.png">
|
|
144
|
+
</a>
|
|
145
|
+
</td>
|
|
146
|
+
<td align="center">
|
|
147
|
+
<a href="https://statcounter.com/session-replay/" target="_blank">
|
|
148
|
+
<img width="195px" src="https://statcounter.com/images/logo-statcounter-arc-blue.svg">
|
|
149
|
+
</a>
|
|
150
|
+
</td>
|
|
151
|
+
<td align="center">
|
|
152
|
+
<a href="https://recordonce.com/" target="_blank">
|
|
153
|
+
<img width="195px" alt="Smart screen recording for SaaS" src="https://uploads-ssl.webflow.com/5f3d133183156245630d4446/5f3d1940abe8db8612c23521_Record-Once-logo-554x80px.svg">
|
|
154
|
+
</a>
|
|
155
|
+
</td>
|
|
156
|
+
</tr>
|
|
157
|
+
<tr>
|
|
158
|
+
<td align="center">
|
|
159
|
+
<a href="https://cux.io" target="_blank">
|
|
160
|
+
<img style="padding: 8px" alt="The first ever UX automation tool" width="195px" src="https://cux.io/cux-logo.svg">
|
|
161
|
+
</a>
|
|
162
|
+
</td>
|
|
163
|
+
<td align="center">
|
|
164
|
+
<a href="https://remsupp.com" target="_blank">
|
|
165
|
+
<img style="padding: 8px" alt="Remote Access & Co-Browsing" width="195px" src="https://remsupp.com/images/logo.png">
|
|
166
|
+
</a>
|
|
167
|
+
</td>
|
|
168
|
+
<td align="center">
|
|
169
|
+
<a href="https://highlight.io" target="_blank">
|
|
170
|
+
<img style="padding: 8px" alt="The open source, fullstack Monitoring Platform." width="195px" src="https://github.com/highlight/highlight/raw/main/highlight.io/public/images/logo.png">
|
|
171
|
+
</a>
|
|
172
|
+
</td>
|
|
173
|
+
<td align="center">
|
|
174
|
+
<a href="https://analyzee.io" target="_blank">
|
|
175
|
+
<img style="padding: 8px" alt="Comprehensive data analytics platform that empowers businesses to gain valuable insights and make data-driven decisions." width="195px" src="https://cdn.analyzee.io/assets/analyzee-logo.png">
|
|
176
|
+
</a>
|
|
177
|
+
</td>
|
|
178
|
+
</tr>
|
|
179
|
+
<tr>
|
|
180
|
+
<td align="center">
|
|
181
|
+
<a href="https://requestly.io" target="_blank">
|
|
182
|
+
<img style="padding: 8px" alt="Intercept, Modify, Record & Replay HTTP Requests." width="195px" src="https://github.com/requestly/requestly/assets/16779465/652552db-c867-44cb-9bb5-94a2026e04ca">
|
|
183
|
+
</a>
|
|
184
|
+
</td>
|
|
185
|
+
<td align="center">
|
|
186
|
+
<a href="https://gleap.io" target="_blank">
|
|
187
|
+
<img style="padding: 8px" alt="In-app bug reporting & customer feedback platform." width="195px" src="https://assets-global.website-files.com/6506f3f29c68b1724807619d/6506f56010237164c6306591_GleapLogo.svg">
|
|
188
|
+
</a>
|
|
189
|
+
</td>
|
|
190
|
+
<td align="center">
|
|
191
|
+
<a href="https://uxwizz.com" target="_blank">
|
|
192
|
+
<img style="padding: 8px" alt="Self-hosted website analytics with heatmaps and session recordings." width="195px" src="https://github.com/UXWizz/public-files/raw/main/assets/logo.png">
|
|
193
|
+
</a>
|
|
194
|
+
</td>
|
|
195
|
+
<td align="center">
|
|
196
|
+
<a href="https://www.howdygo.com" target="_blank">
|
|
197
|
+
<img style="padding: 8px" alt="Interactive product demos for small marketing teams" width="195px" src="https://assets-global.website-files.com/650afb446f1dd5bd410f00cc/650b2cec6188ff54dd9b01e1_Logo.svg">
|
|
198
|
+
</a>
|
|
199
|
+
</td>
|
|
200
|
+
</tr>
|
|
201
|
+
</table>
|
package/dist/index.d.cts
ADDED