@cubenest/rrweb-core 0.1.0-alpha.0 → 0.1.0-alpha.2
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/LICENSE +202 -0
- package/NOTICE +12 -0
- package/dist/compression/index.d.ts +1 -1
- package/dist/compression/index.d.ts.map +1 -1
- package/dist/console/buffer.d.ts +3 -3
- package/dist/console/buffer.d.ts.map +1 -1
- package/dist/console/buffer.js +1 -1
- package/dist/console/buffer.js.map +1 -1
- package/dist/console/index.d.ts +2 -2
- package/dist/console/index.d.ts.map +1 -1
- package/dist/console/index.js +1 -1
- package/dist/console/index.js.map +1 -1
- package/dist/index.d.ts +18 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -10
- package/dist/index.js.map +1 -1
- package/dist/masking/body.js +1 -1
- package/dist/masking/body.js.map +1 -1
- package/dist/masking/index.d.ts +7 -7
- package/dist/masking/index.d.ts.map +1 -1
- package/dist/masking/index.js +5 -5
- package/dist/masking/index.js.map +1 -1
- package/dist/masking/inputs.js +1 -1
- package/dist/masking/inputs.js.map +1 -1
- package/dist/masking/text.js +1 -1
- package/dist/masking/text.js.map +1 -1
- package/dist/network/cdp.d.ts +1 -1
- package/dist/network/cdp.d.ts.map +1 -1
- package/dist/network/cdp.js +1 -1
- package/dist/network/cdp.js.map +1 -1
- package/dist/network/index.d.ts +3 -3
- package/dist/network/index.d.ts.map +1 -1
- package/dist/network/index.js +2 -2
- package/dist/network/index.js.map +1 -1
- package/dist/network/web-request.d.ts +1 -1
- package/dist/network/web-request.d.ts.map +1 -1
- package/dist/network/web-request.js +1 -1
- package/dist/network/web-request.js.map +1 -1
- package/dist/persistence/index.d.ts +2 -2
- package/dist/persistence/index.d.ts.map +1 -1
- package/dist/persistence/index.js +1 -1
- package/dist/persistence/index.js.map +1 -1
- package/dist/persistence/store.d.ts +1 -1
- package/dist/persistence/store.d.ts.map +1 -1
- package/dist/plugins/network/defaults.d.ts +36 -0
- package/dist/plugins/network/defaults.d.ts.map +1 -0
- package/dist/plugins/network/defaults.js +80 -0
- package/dist/plugins/network/defaults.js.map +1 -0
- package/dist/plugins/network/index.d.ts +3 -0
- package/dist/plugins/network/index.d.ts.map +1 -0
- package/dist/plugins/network/index.js +9 -0
- package/dist/plugins/network/index.js.map +1 -0
- package/dist/plugins/network/patch.d.ts +15 -0
- package/dist/plugins/network/patch.d.ts.map +1 -0
- package/dist/plugins/network/patch.js +64 -0
- package/dist/plugins/network/patch.js.map +1 -0
- package/dist/plugins/network/record.d.ts +38 -0
- package/dist/plugins/network/record.d.ts.map +1 -0
- package/dist/plugins/network/record.js +911 -0
- package/dist/plugins/network/record.js.map +1 -0
- package/dist/plugins/network/types.d.ts +208 -0
- package/dist/plugins/network/types.d.ts.map +1 -0
- package/dist/plugins/network/types.js +16 -0
- package/dist/plugins/network/types.js.map +1 -0
- package/dist/rrweb.d.ts +2 -1
- package/dist/rrweb.d.ts.map +1 -1
- package/dist/rrweb.js +4 -0
- package/dist/rrweb.js.map +1 -1
- package/dist/screenshot/cdp.d.ts +1 -1
- package/dist/screenshot/cdp.d.ts.map +1 -1
- package/dist/screenshot/cdp.js +1 -1
- package/dist/screenshot/cdp.js.map +1 -1
- package/dist/screenshot/index.d.ts +3 -3
- package/dist/screenshot/index.d.ts.map +1 -1
- package/dist/screenshot/index.js +2 -2
- package/dist/screenshot/index.js.map +1 -1
- package/dist/screenshot/tabs.d.ts +1 -1
- package/dist/screenshot/tabs.d.ts.map +1 -1
- package/dist/screenshot/tabs.js +1 -1
- package/dist/screenshot/tabs.js.map +1 -1
- package/dist/shadow-dom/index.d.ts +2 -2
- package/dist/shadow-dom/index.d.ts.map +1 -1
- package/dist/shadow-dom/index.js +1 -1
- package/dist/shadow-dom/index.js.map +1 -1
- package/dist/shadow-dom/traverse.d.ts +1 -1
- package/dist/shadow-dom/traverse.d.ts.map +1 -1
- package/dist/throttling/apply.d.ts +2 -2
- package/dist/throttling/apply.d.ts.map +1 -1
- package/dist/throttling/apply.js +2 -2
- package/dist/throttling/apply.js.map +1 -1
- package/dist/throttling/guards.d.ts +1 -1
- package/dist/throttling/guards.d.ts.map +1 -1
- package/dist/throttling/guards.js +1 -1
- package/dist/throttling/guards.js.map +1 -1
- package/dist/throttling/index.d.ts +4 -4
- package/dist/throttling/index.d.ts.map +1 -1
- package/dist/throttling/index.js +2 -2
- package/dist/throttling/index.js.map +1 -1
- package/package.json +22 -12
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
CHANGED
|
@@ -11,5 +11,17 @@ This product includes software developed by:
|
|
|
11
11
|
Used to provide getRecordConsolePlugin because the PostHog fork at
|
|
12
12
|
0.0.34 doesn't bundle it (it shipped separately since upstream 2.x).
|
|
13
13
|
|
|
14
|
+
This package contains code adapted from the PostHog network recording
|
|
15
|
+
plugin (posthog-js), Copyright (c) 2025 PostHog Inc., licensed under
|
|
16
|
+
the Apache-2.0 License. Original source:
|
|
17
|
+
https://github.com/PostHog/posthog-js/blob/main/packages/browser/src/extensions/replay/external/network-plugin.ts
|
|
18
|
+
The adaptation strips PostHog-internal utility dependencies and rewires
|
|
19
|
+
the body/header masking surface to use @cubenest/rrweb-core's own
|
|
20
|
+
redactBody and redactNetworkHeaders helpers. PostHog's network plugin
|
|
21
|
+
itself descends from rrweb-io/rrweb PR #1689 (stalled at upstream);
|
|
22
|
+
the patch.ts utility traces back through PostHog → rrweb → Sentry
|
|
23
|
+
(@sentry/utils/object.ts). The full chain of vendoring is preserved
|
|
24
|
+
in src/plugins/network/record.ts and src/plugins/network/patch.ts.
|
|
25
|
+
|
|
14
26
|
This product is licensed under the Apache License, Version 2.0.
|
|
15
27
|
See the LICENSE file for details.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compression/index.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compression/index.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAO5D;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,EAAE,CAW7D"}
|
package/dist/console/buffer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getRecordConsolePlugin } from '../rrweb';
|
|
2
|
-
import type { eventWithTime } from '../rrweb';
|
|
3
|
-
import type { ConsoleEvent, ConsoleLevel } from './types';
|
|
1
|
+
import { getRecordConsolePlugin } from '../rrweb.js';
|
|
2
|
+
import type { eventWithTime } from '../rrweb.js';
|
|
3
|
+
import type { ConsoleEvent, ConsoleLevel } from './types.js';
|
|
4
4
|
/**
|
|
5
5
|
* Factory-time configuration for `createConsoleCaptureBuffer`.
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer.d.ts","sourceRoot":"","sources":["../../src/console/buffer.ts"],"names":[],"mappings":"AA8CA,OAAO,EAAa,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"buffer.d.ts","sourceRoot":"","sources":["../../src/console/buffer.ts"],"names":[],"mappings":"AA8CA,OAAO,EAAa,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA+B7D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;IAC3D;;;;;;;;;;OAUG;IACH,IAAI,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,KAAK,IAAI,YAAY,EAAE,CAAC;IACxB;;;;OAIG;IACH,IAAI,IAAI,SAAS,YAAY,EAAE,CAAC;IAChC;;OAEG;IACH,IAAI,IAAI,MAAM,CAAC;CAChB;AAyBD;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,GAAE,qBAA0B,GAClC,oBAAoB,CAuEtB"}
|
package/dist/console/buffer.js
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
// malformed plugin event (wrong shape, missing fields), it silently
|
|
44
44
|
// ignores it — better to lose one buggy event than risk a recursive
|
|
45
45
|
// flood from a defensive log line. Tests cover this contract.
|
|
46
|
-
import { EventType, getRecordConsolePlugin } from '../rrweb';
|
|
46
|
+
import { EventType, getRecordConsolePlugin } from '../rrweb.js';
|
|
47
47
|
/** Vendor's plugin name string — emitted as `event.data.plugin`. */
|
|
48
48
|
const CONSOLE_PLUGIN_NAME = 'rrweb/console@1';
|
|
49
49
|
/** Default cap on retained events before FIFO eviction kicks in. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/console/buffer.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,EAAE;AACF,2EAA2E;AAC3E,qEAAqE;AACrE,EAAE;AACF,yEAAyE;AACzE,sEAAsE;AACtE,uEAAuE;AACvE,eAAe;AACf,EAAE;AACF,wEAAwE;AACxE,6DAA6D;AAC7D,yDAAyD;AACzD,EAAE;AACF,+CAA+C;AAC/C,0EAA0E;AAC1E,oEAAoE;AACpE,qEAAqE;AACrE,iCAAiC;AACjC,EAAE;AACF,MAAM;AACN,sCAAsC;AACtC,yBAAyB;AACzB,cAAc;AACd,mCAAmC;AACnC,mBAAmB;AACnB,2BAA2B;AAC3B,2BAA2B;AAC3B,wDAAwD;AACxD,UAAU;AACV,QAAQ;AACR,MAAM;AACN,EAAE;AACF,8EAA8E;AAC9E,oEAAoE;AACpE,qEAAqE;AACrE,mEAAmE;AACnE,oEAAoE;AACpE,qEAAqE;AACrE,2CAA2C;AAC3C,EAAE;AACF,uEAAuE;AACvE,oEAAoE;AACpE,oEAAoE;AACpE,8DAA8D;AAE9D,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/console/buffer.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,EAAE;AACF,2EAA2E;AAC3E,qEAAqE;AACrE,EAAE;AACF,yEAAyE;AACzE,sEAAsE;AACtE,uEAAuE;AACvE,eAAe;AACf,EAAE;AACF,wEAAwE;AACxE,6DAA6D;AAC7D,yDAAyD;AACzD,EAAE;AACF,+CAA+C;AAC/C,0EAA0E;AAC1E,oEAAoE;AACpE,qEAAqE;AACrE,iCAAiC;AACjC,EAAE;AACF,MAAM;AACN,sCA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oleCaptureOptions, } from './buffer';
|
|
2
|
-
export type { BasicConsoleLevel, ConsoleEvent, ConsoleLevel } from './types';
|
|
1
|
+
export { createConsoleCaptureBuffer, type ConsoleCaptureBuffer, type ConsoleCaptureOptions, } from './buffer.js';
|
|
2
|
+
export type { BasicConsoleLevel, ConsoleEvent, ConsoleLevel } from './types.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/console/index.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/console/index.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/console/index.js
CHANGED
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
// (Task 1.2's wiring), and a second re-export would create two import
|
|
13
13
|
// paths for the same symbol. Consumers who want the raw plugin import it
|
|
14
14
|
// from `@cubenest/rrweb-core`.
|
|
15
|
-
export { createConsoleCaptureBuffer, } from './buffer';
|
|
15
|
+
export { createConsoleCaptureBuffer, } from './buffer.js';
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/console/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,EAAE;AACF,4EAA4E;AAC5E,EAAE;AACF,+EAA+E;AAC/E,EAAE;AACF,2EAA2E;AAC3E,kEAAkE;AAClE,EAAE;AACF,sEAAsE;AACtE,yEAAyE;AACzE,sEAAsE;AACtE,yEAAyE;AACzE,+BAA+B;AAE/B,OAAO,EACL,0BAA0B,GAG3B,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/console/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,EAAE;AACF,4EAA4E;AAC5E,EAAE;AACF,+EAA+E;AAC/E,EAAE;AACF,2EAA2E;AAC3E,kEAAkE;AAClE,EAAE;AACF,sEAAsE;AACtE,yEAAyE;AACzE,sEAAsE;AACtE,yEAAyE;AACzE,+BAA+B;AAE/B,OAAO,EACL,0BAA0B,GAG3B,MAAM,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
export { record, Replayer, getRecordConsolePlugin, EventType, IncrementalSource, MouseInteractions, } from './rrweb';
|
|
2
|
-
export type { eventWithTime, customEvent, recordOptions, } from './rrweb';
|
|
3
|
-
export { maskInputValue, maskTextContent, redactNetworkHeaders, redactBody, COMPAT_SELECTORS, } from './masking';
|
|
4
|
-
export { LARGE_DOM_DEFAULTS, applyLargeDomGuards } from './throttling';
|
|
5
|
-
export type { ApplyLargeDomGuardsOptions } from './throttling';
|
|
6
|
-
export { traverseShadowRoots } from './shadow-dom';
|
|
7
|
-
export type { ShadowRootInfo } from './shadow-dom';
|
|
8
|
-
export type { ScreenshotAdapter } from './screenshot';
|
|
9
|
-
export { createCDPScreenshotAdapter, createTabsScreenshotAdapter, type CDPTransport, type CDPScreenshotOptions, type CaptureVisibleTabFn, type TabsScreenshotOptions, } from './screenshot';
|
|
10
|
-
export type { CapturedRequest, CapturedResponse, NetworkCaptureAdapter } from './network';
|
|
11
|
-
export { createCDPNetworkAdapter, createWebRequestNetworkAdapter, type CDPNetworkEventSource, type CDPNetworkOptions, type WebRequestEvent, type WebRequestEventSource, type WebRequestNetworkOptions, } from './network';
|
|
12
|
-
export { createConsoleCaptureBuffer, type BasicConsoleLevel, type ConsoleCaptureBuffer, type ConsoleCaptureOptions, type ConsoleEvent, type ConsoleLevel, } from './console';
|
|
13
|
-
export { compress, decompress } from './compression';
|
|
14
|
-
export { createSessionStore } from './persistence';
|
|
15
|
-
export type { SessionChunk, SessionStore, SessionStoreOptions } from './persistence';
|
|
16
|
-
export { COMPATIBILITY_MATRIX, type CompatEntry } from './compat';
|
|
1
|
+
export { record, Replayer, getRecordConsolePlugin, EventType, IncrementalSource, MouseInteractions, NodeType, } from './rrweb.js';
|
|
2
|
+
export type { eventWithTime, customEvent, recordOptions, serializedNodeWithId, incrementalData, incrementalSnapshotEvent, fullSnapshotEvent, metaEvent, mouseInteractionData, inputData, mutationData, addedNodeMutation, attributeMutation, textMutation, } from './rrweb.js';
|
|
3
|
+
export { maskInputValue, maskTextContent, redactNetworkHeaders, redactBody, COMPAT_SELECTORS, } from './masking/index.js';
|
|
4
|
+
export { LARGE_DOM_DEFAULTS, applyLargeDomGuards } from './throttling/index.js';
|
|
5
|
+
export type { ApplyLargeDomGuardsOptions } from './throttling/index.js';
|
|
6
|
+
export { traverseShadowRoots } from './shadow-dom/index.js';
|
|
7
|
+
export type { ShadowRootInfo } from './shadow-dom/index.js';
|
|
8
|
+
export type { ScreenshotAdapter } from './screenshot/index.js';
|
|
9
|
+
export { createCDPScreenshotAdapter, createTabsScreenshotAdapter, type CDPTransport, type CDPScreenshotOptions, type CaptureVisibleTabFn, type TabsScreenshotOptions, } from './screenshot/index.js';
|
|
10
|
+
export type { CapturedRequest, CapturedResponse, NetworkCaptureAdapter } from './network/index.js';
|
|
11
|
+
export { createCDPNetworkAdapter, createWebRequestNetworkAdapter, type CDPNetworkEventSource, type CDPNetworkOptions, type WebRequestEvent, type WebRequestEventSource, type WebRequestNetworkOptions, } from './network/index.js';
|
|
12
|
+
export { createConsoleCaptureBuffer, type BasicConsoleLevel, type ConsoleCaptureBuffer, type ConsoleCaptureOptions, type ConsoleEvent, type ConsoleLevel, } from './console/index.js';
|
|
13
|
+
export { compress, decompress } from './compression/index.js';
|
|
14
|
+
export { createSessionStore } from './persistence/index.js';
|
|
15
|
+
export type { SessionChunk, SessionStore, SessionStoreOptions } from './persistence/index.js';
|
|
16
|
+
export { COMPATIBILITY_MATRIX, type CompatEntry } from './compat/index.js';
|
|
17
|
+
export { getRecordNetworkPlugin, NETWORK_PLUGIN_NAME, } from './plugins/network/index.js';
|
|
18
|
+
export type { CapturedNetworkRequest, InitiatorType as NetworkInitiatorType, MaskRequestFn as NetworkMaskRequestFn, NetworkData, NetworkHeaders, NetworkRecordOptions, RecordBodyOption as NetworkRecordBodyOption, RecordHeadersOption as NetworkRecordHeadersOption, } from './plugins/network/index.js';
|
|
17
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,GACT,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,aAAa,EACb,WAAW,EACX,aAAa,EAGb,oBAAoB,EACpB,eAAe,EACf,wBAAwB,EACxB,iBAAiB,EACjB,SAAS,EACT,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,GACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAChF,YAAY,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;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AAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
export { record, Replayer, getRecordConsolePlugin, EventType, IncrementalSource, MouseInteractions, } from './rrweb';
|
|
1
|
+
export { record, Replayer, getRecordConsolePlugin, EventType, IncrementalSource, MouseInteractions, NodeType, } from './rrweb.js';
|
|
2
2
|
// Masking
|
|
3
|
-
export { maskInputValue, maskTextContent, redactNetworkHeaders, redactBody, COMPAT_SELECTORS, } from './masking';
|
|
3
|
+
export { maskInputValue, maskTextContent, redactNetworkHeaders, redactBody, COMPAT_SELECTORS, } from './masking/index.js';
|
|
4
4
|
// Throttling defaults + guards
|
|
5
|
-
export { LARGE_DOM_DEFAULTS, applyLargeDomGuards } from './throttling';
|
|
5
|
+
export { LARGE_DOM_DEFAULTS, applyLargeDomGuards } from './throttling/index.js';
|
|
6
6
|
// Shadow DOM
|
|
7
|
-
export { traverseShadowRoots } from './shadow-dom';
|
|
8
|
-
export { createCDPScreenshotAdapter, createTabsScreenshotAdapter, } from './screenshot';
|
|
9
|
-
export { createCDPNetworkAdapter, createWebRequestNetworkAdapter, } from './network';
|
|
7
|
+
export { traverseShadowRoots } from './shadow-dom/index.js';
|
|
8
|
+
export { createCDPScreenshotAdapter, createTabsScreenshotAdapter, } from './screenshot/index.js';
|
|
9
|
+
export { createCDPNetworkAdapter, createWebRequestNetworkAdapter, } from './network/index.js';
|
|
10
10
|
// Console capture buffer
|
|
11
|
-
export { createConsoleCaptureBuffer, } from './console';
|
|
11
|
+
export { createConsoleCaptureBuffer, } from './console/index.js';
|
|
12
12
|
// Compression helpers (gzip per-batch via fflate)
|
|
13
|
-
export { compress, decompress } from './compression';
|
|
13
|
+
export { compress, decompress } from './compression/index.js';
|
|
14
14
|
// IndexedDB persistence helper
|
|
15
|
-
export { createSessionStore } from './persistence';
|
|
15
|
+
export { createSessionStore } from './persistence/index.js';
|
|
16
16
|
// Compatibility matrix
|
|
17
|
-
export { COMPATIBILITY_MATRIX } from './compat';
|
|
17
|
+
export { COMPATIBILITY_MATRIX } from './compat/index.js';
|
|
18
|
+
// Framework-agnostic rrweb network capture plugin (PR #1689 vendored).
|
|
19
|
+
// Emits EventType.Plugin events with name 'rrweb/network@1' from any
|
|
20
|
+
// recorder running anywhere (extension MAIN-world, WDIO Service,
|
|
21
|
+
// future Playwright/Cypress integration).
|
|
22
|
+
export { getRecordNetworkPlugin, NETWORK_PLUGIN_NAME, } from './plugins/network/index.js';
|
|
18
23
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,GACT,MAAM,YAAY,CAAC;AAqBpB,UAAU;AACV,OAAO,EACL,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAE5B,+BAA+B;AAC/B,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGhF,aAAa;AACb,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAK5D,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAK5B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EACL,uBAAuB,EACvB,8BAA8B,GAM/B,MAAM,oBAAoB,CAAC;AAE5B,yBAAyB;AACzB,OAAO,EACL,0BAA0B,GAM3B,MAAM,oBAAoB,CAAC;AAE5B,kDAAkD;AAClD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAE9D,+BAA+B;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,uBAAuB;AACvB,OAAO,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAE3E,uEAAuE;AACvE,qEAAqE;AACrE,iEAAiE;AACjE,0CAA0C;AAC1C,OAAO,EACL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC"}
|
package/dist/masking/body.js
CHANGED
package/dist/masking/body.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../src/masking/body.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../src/masking/body.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,wBAAwB,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,OAAO;AACrD,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,kBAAkB,IAAI,cAAc,CAAC;AAazF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY,EAAE,OAA0B,EAAE;IACnE,MAAM,GAAG,GAAG,IAAI,CAAC,cAAc,IAAI,wBAAwB,CAAC;IAC5D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAEnC,IAAI,IAAI,CAAC,MAAM,IAAI,GAAG;QAAE,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;IAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAChC,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;IAClC,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,OAAO,CAAC,EAAE,CAAC;AAChE,CAAC"}
|
package/dist/masking/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { maskInputValue } from './inputs';
|
|
2
|
-
export { maskTextContent } from './text';
|
|
3
|
-
export { redactNetworkHeaders } from './headers';
|
|
4
|
-
export { redactBody } from './body';
|
|
5
|
-
export type { RedactBodyOptions } from './body';
|
|
6
|
-
export { COMPAT_SELECTORS } from './selectors';
|
|
7
|
-
export type { CompatSelectorFamily } from './selectors';
|
|
1
|
+
export { maskInputValue } from './inputs.js';
|
|
2
|
+
export { maskTextContent } from './text.js';
|
|
3
|
+
export { redactNetworkHeaders } from './headers.js';
|
|
4
|
+
export { redactBody } from './body.js';
|
|
5
|
+
export type { RedactBodyOptions } from './body.js';
|
|
6
|
+
export { COMPAT_SELECTORS } from './selectors.js';
|
|
7
|
+
export type { CompatSelectorFamily } from './selectors.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/masking/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/masking/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/masking/index.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
// Locked surface per IMPLEMENTATION_PLAN.md Public API contract
|
|
4
4
|
// (lines 691-693): the four functions below plus `COMPAT_SELECTORS`. The
|
|
5
5
|
// internals (regex bank, individual matchers, helpers) stay internal.
|
|
6
|
-
export { maskInputValue } from './inputs';
|
|
7
|
-
export { maskTextContent } from './text';
|
|
8
|
-
export { redactNetworkHeaders } from './headers';
|
|
9
|
-
export { redactBody } from './body';
|
|
10
|
-
export { COMPAT_SELECTORS } from './selectors';
|
|
6
|
+
export { maskInputValue } from './inputs.js';
|
|
7
|
+
export { maskTextContent } from './text.js';
|
|
8
|
+
export { redactNetworkHeaders } from './headers.js';
|
|
9
|
+
export { redactBody } from './body.js';
|
|
10
|
+
export { COMPAT_SELECTORS } from './selectors.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/masking/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,EAAE;AACF,gEAAgE;AAChE,yEAAyE;AACzE,sEAAsE;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/masking/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,EAAE;AACF,gEAAgE;AAChE,yEAAyE;AACzE,sEAAsE;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/masking/inputs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Input-element value masking.
|
|
2
|
-
import { elementMatchesAnyMaskClass } from './selectors';
|
|
2
|
+
import { elementMatchesAnyMaskClass } from './selectors.js';
|
|
3
3
|
/**
|
|
4
4
|
* Hard-masked input types — always returned as asterisks regardless of
|
|
5
5
|
* surrounding selectors, parent attributes, or config. This is the privacy
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/masking/inputs.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAE/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/masking/inputs.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAE/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AAErF;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,cAAc,CAAC,EAA0C;IACvE,MAAM,KAAK,GAAG,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC;IAE7B,wEAAwE;IACxE,gCAAgC;IAChC,MAAM,IAAI,GAAG,MAAM,IAAI,EAAE,IAAI,OAAO,EAAE,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAEtF,IAAI,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,0BAA0B,CAAC,EAAE,CAAC,EAAE,CAAC;QACnC,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/dist/masking/text.js
CHANGED
package/dist/masking/text.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/masking/text.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/masking/text.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACnC,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"}
|
package/dist/network/cdp.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdp.d.ts","sourceRoot":"","sources":["../../src/network/cdp.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAqC,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"cdp.d.ts","sourceRoot":"","sources":["../../src/network/cdp.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAqC,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE3F;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;IAClE,eAAe,CAAC,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACxF;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA2GD;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,qBAAqB,EAC7B,OAAO,GAAE,iBAAsB,GAC9B,qBAAqB,CAqOvB"}
|
package/dist/network/cdp.js
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
// keeps response bodies pinned in memory in the renderer until called,
|
|
22
22
|
// which is why CDP defaults to NOT retaining them. Products turn it on
|
|
23
23
|
// when they want the bodies and accept the memory tax.
|
|
24
|
-
import { redactBody, redactNetworkHeaders } from '../masking';
|
|
24
|
+
import { redactBody, redactNetworkHeaders } from '../masking/index.js';
|
|
25
25
|
function readNumber(value) {
|
|
26
26
|
return typeof value === 'number' && Number.isFinite(value) ? value : undefined;
|
|
27
27
|
}
|
package/dist/network/cdp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdp.js","sourceRoot":"","sources":["../../src/network/cdp.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,0EAA0E;AAC1E,iBAAiB;AACjB,EAAE;AACF,yDAAyD;AACzD,0EAA0E;AAC1E,wEAAwE;AACxE,wEAAwE;AACxE,sCAAsC;AACtC,mEAAmE;AACnE,0EAA0E;AAC1E,wDAAwD;AACxD,EAAE;AACF,4EAA4E;AAC5E,2EAA2E;AAC3E,wEAAwE;AACxE,4EAA4E;AAC5E,EAAE;AACF,4EAA4E;AAC5E,uEAAuE;AACvE,uEAAuE;AACvE,uDAAuD;AAEvD,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"cdp.js","sourceRoot":"","sources":["../../src/network/cdp.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,0EAA0E;AAC1E,iBAAiB;AACjB,EAAE;AACF,yDAAyD;AACzD,0EAA0E;AAC1E,wEAAwE;AACxE,wEAAwE;AACxE,sCAAsC;AAC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C,MAAM,CAAC,OAAO,CAAC,CAAC;QAChD,CAAC;QACD,OAAO,CAAC,OAAO;YACb,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC3B,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,OAAO;YACX,YAAY,EAAE,CAAC;YACf,qBAAqB,EAAE,CAAC;YACxB,oBAAoB,EAAE,CAAC;YACvB,kBAAkB,EAAE,CAAC;YACrB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;YACzB,aAAa,CAAC,KAAK,EAAE,CAAC;YACtB,QAAQ,CAAC,KAAK,EAAE,CAAC;QACnB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/network/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { CapturedRequest, CapturedResponse, NetworkCaptureAdapter } from './types';
|
|
2
|
-
export { createCDPNetworkAdapter, type CDPNetworkEventSource, type CDPNetworkOptions, } from './cdp';
|
|
3
|
-
export { createWebRequestNetworkAdapter, type WebRequestEvent, type WebRequestEventSource, type WebRequestNetworkOptions, } from './web-request';
|
|
1
|
+
export type { CapturedRequest, CapturedResponse, NetworkCaptureAdapter } from './types.js';
|
|
2
|
+
export { createCDPNetworkAdapter, type CDPNetworkEventSource, type CDPNetworkOptions, } from './cdp.js';
|
|
3
|
+
export { createWebRequestNetworkAdapter, type WebRequestEvent, type WebRequestEventSource, type WebRequestNetworkOptions, } from './web-request.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/network/index.ts"],"names":[],"mappings":"AAYA,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/network/index.ts"],"names":[],"mappings":"AAYA,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC3F,OAAO,EACL,uBAAuB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,8BAA8B,EAC9B,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC"}
|
package/dist/network/index.js
CHANGED
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
// The transport-shape types (`CDPNetworkEventSource`,
|
|
10
10
|
// `WebRequestEventSource`) and option types are re-exported so consumers
|
|
11
11
|
// can declare-and-pass without importing internal paths.
|
|
12
|
-
export { createCDPNetworkAdapter, } from './cdp';
|
|
13
|
-
export { createWebRequestNetworkAdapter, } from './web-request';
|
|
12
|
+
export { createCDPNetworkAdapter, } from './cdp.js';
|
|
13
|
+
export { createWebRequestNetworkAdapter, } from './web-request.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/network/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,EAAE;AACF,gEAAgE;AAChE,mBAAmB;AACnB,EAAE;AACF,+FAA+F;AAC/F,yFAAyF;AACzF,EAAE;AACF,sDAAsD;AACtD,yEAAyE;AACzE,yDAAyD;AAGzD,OAAO,EACL,uBAAuB,GAGxB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/network/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,EAAE;AACF,gEAAgE;AAChE,mBAAmB;AACnB,EAAE;AACF,+FAA+F;AAC/F,yFAAyF;AACzF,EAAE;AACF,sDAAsD;AACtD,yEAAyE;AACzE,yDAAyD;AAGzD,OAAO,EACL,uBAAuB,GAGxB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,8BAA8B,GAI/B,MAAM,kBAAkB,CAAC"}
|