makethisbetter 1.1.2 → 1.2.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/LICENSE CHANGED
@@ -1,62 +1,21 @@
1
- Business Source License 1.1
2
-
3
- Parameters
4
-
5
- Licensor: Make This Better, Inc.
6
- Licensed Work: makethisbetter
7
- The Licensed Work is (c) 2026 Make This Better, Inc.
8
- Additional Use Grant: You may make production use of the Licensed Work,
9
- provided your use does not include offering the Licensed
10
- Work to third parties on a hosted or embedded basis
11
- which is competitive with Make This Better's products.
12
- Change Date: 2029-01-01
13
- Change License: MIT
14
-
15
- For information about alternative licensing arrangements, contact:
16
- hello@makethisbetter.dev
17
-
18
- ---
19
-
20
- Business Source License 1.1
21
-
22
- Terms
23
-
24
- The Licensor hereby grants you the right to copy, modify, create derivative
25
- works, redistribute, and make non-production use of the Licensed Work. The
26
- Licensor may make an Additional Use Grant, above, permitting limited
27
- production use.
28
-
29
- Effective on the Change Date, or the fourth anniversary of the first publicly
30
- available distribution of a specific version of the Licensed Work under this
31
- License, whichever comes first, the Licensor hereby grants you rights under
32
- the terms of the Change License, and the rights granted in the paragraph
33
- above terminate.
34
-
35
- If your use of the Licensed Work does not comply with the requirements
36
- currently in effect as described in this License, you must purchase a
37
- commercial license from the Licensor, its affiliated entities, or authorized
38
- resellers, or you must refrain from using the Licensed Work.
39
-
40
- All copies of the original and modified Licensed Work, and derivative works
41
- of the Licensed Work, are subject to this License. This License applies
42
- separately for each version of the Licensed Work and the Change Date may vary
43
- for each version of the Licensed Work released by the Licensor.
44
-
45
- You must conspicuously display this License on each original or modified copy
46
- of the Licensed Work. If you receive the Licensed Work in original or modified
47
- form from a third party, the terms and conditions set forth in this License
48
- apply to your use of that work.
49
-
50
- Any use of the Licensed Work in violation of this License will automatically
51
- terminate your rights under this License for the current and all other
52
- versions of the Licensed Work.
53
-
54
- This License does not grant you any right in any trademark or logo of
55
- Licensor or its affiliates (provided that you may use a trademark or logo of
56
- Licensor as expressly required by this License).
57
-
58
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
59
- AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
60
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
61
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
62
- TITLE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 MakeThisBetter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  <a href="https://www.npmjs.com/package/makethisbetter"><img src="https://img.shields.io/npm/v/makethisbetter.svg" alt="npm version"></a>
14
14
  <a href="https://www.npmjs.com/package/makethisbetter"><img src="https://img.shields.io/npm/dm/makethisbetter.svg" alt="npm downloads"></a>
15
15
  <a href="https://bundlephobia.com/package/makethisbetter"><img src="https://img.shields.io/bundlephobia/minzip/makethisbetter" alt="bundle size"></a>
16
- <a href="https://github.com/makethisbetter/makethisbetter-js/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BUSL--1.1-blue.svg" alt="license"></a>
16
+ <a href="https://github.com/makethisbetter/makethisbetter-js/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license"></a>
17
17
  </p>
18
18
 
19
19
  ---
@@ -338,8 +338,8 @@ Shadow DOM Host (#mtb-widget-host)
338
338
 
339
339
  | Format | Size | gzip |
340
340
  |--------|------|------|
341
- | IIFE | ~80 KB | ~23 KB |
342
- | ESM | ~94 KB | ~25 KB |
341
+ | IIFE | ~77 KB | ~23 KB |
342
+ | ESM | ~90 KB | ~24 KB |
343
343
 
344
344
  rrweb is loaded on demand and not included in these numbers.
345
345
 
@@ -366,7 +366,7 @@ npm run type-check # TypeScript validation
366
366
 
367
367
  ## License
368
368
 
369
- [Business Source License 1.1](LICENSE) — free for any use that does not compete with Make This Better's commercial offering. Converts to MIT on 2029-01-01.
369
+ [MIT](LICENSE)
370
370
 
371
371
  ---
372
372
 
@@ -1,4 +1,4 @@
1
- export type FrustrationSignal = 'rage_click' | 'dead_click' | 'console_error' | 'rapid_navigation' | 'form_failure' | 'error_page' | 'dead_click_dom';
1
+ export type FrustrationSignal = 'rage_click' | 'dead_click' | 'rapid_navigation' | 'form_failure' | 'error_page' | 'dead_click_dom';
2
2
  export interface FrustrationEvent {
3
3
  signal: FrustrationSignal;
4
4
  target?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"frustration.d.ts","sourceRoot":"","sources":["../../src/context/frustration.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GACzB,YAAY,GACZ,YAAY,GACZ,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,gBAAgB,CAAA;AAEpB,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,CA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