@athoscommerce/beacon 1.0.0 → 1.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/CHANGELOG.md +6 -233
- package/dist/cdn/beacon.js +1 -1
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/src/Beacon.d.ts +2 -2
- package/dist/cjs/src/Beacon.d.ts.map +1 -1
- package/dist/cjs/src/Beacon.js +15 -2
- package/dist/esm/package.json +1 -1
- package/dist/esm/src/Beacon.d.ts +2 -2
- package/dist/esm/src/Beacon.d.ts.map +1 -1
- package/dist/esm/src/Beacon.js +14 -2
- package/package.json +2 -2
- package/src/Beacon.test.ts +86 -20
- package/src/Beacon.ts +21 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,248 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* **publishing:** moving to `postversion` and correcting permissions issue ([ce304a7](https://github.com/athoscommerce/beacon.js/commit/ce304a7f53ef8de588fea4f8cf30971ae036dca3))
|
|
11
|
-
|
|
12
|
-
### [0.1.1](https://github.com/athoscommerce/beacon.js/compare/v0.0.50...v0.1.1) (2026-02-03)
|
|
5
|
+
### [1.0.1](https://github.com/AthosCommerce/beacon.js/compare/v1.0.0...v1.0.1) (2026-02-10)
|
|
13
6
|
|
|
14
7
|
|
|
15
8
|
### Bug Fixes
|
|
16
9
|
|
|
17
|
-
*
|
|
18
|
-
|
|
19
|
-
### [0.0.50](https://github.com/athoscommerce/beacon.js/compare/v0.0.49...v0.0.50) (2026-02-02)
|
|
10
|
+
* add login even to debounce ([1421730](https://github.com/AthosCommerce/beacon.js/commit/1421730bfdabe5c2842a076a82a54804c0f0d7e5))
|
|
20
11
|
|
|
12
|
+
## 1.0.0 (2026-02-05)
|
|
21
13
|
|
|
22
14
|
### Features
|
|
23
15
|
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
### [0.0.49](https://github.com/athoscommerce/beacon.js/compare/v0.0.48...v0.0.49) (2026-02-02)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Features
|
|
30
|
-
|
|
31
|
-
* add initial README docs, add CDN build, rebuild with latest spec ([bbd7ac0](https://github.com/athoscommerce/beacon.js/commit/bbd7ac08b4fa79a4442cd78afb64061d4e6f9f10))
|
|
32
|
-
* debounce sendPreflight, move preflight to text/plain ([b57daa2](https://github.com/athoscommerce/beacon.js/commit/b57daa2ab343e5a145d350ef5d83a296455cdb00))
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### Bug Fixes
|
|
36
|
-
|
|
37
|
-
* improve initiator ([fb3ccf7](https://github.com/athoscommerce/beacon.js/commit/fb3ccf76d6933b4d6e92586400e863977b749ba4))
|
|
38
|
-
* more cdn improvements ([bc50ec8](https://github.com/athoscommerce/beacon.js/commit/bc50ec8f31c31b433351eaaa7de80c7fd32e07e9))
|
|
39
|
-
* preflight debounce bug, update testing ([2c6d12d](https://github.com/athoscommerce/beacon.js/commit/2c6d12d98db5ec3ff99bb8dfef94e96ce485beb3))
|
|
40
|
-
* typo ([7316814](https://github.com/athoscommerce/beacon.js/commit/73168144327eb2c2a928c0fceaf5eff36303893e))
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Docs
|
|
44
|
-
|
|
45
|
-
* updated docs ([06b4685](https://github.com/athoscommerce/beacon.js/commit/06b46853633e531cac84e06961f05006a0843bc5))
|
|
46
|
-
|
|
47
|
-
### [0.0.48](https://github.com/athoscommerce/beacon.js/compare/v0.0.47...v0.0.48) (2025-12-30)
|
|
16
|
+
* initial release with support for sending events to all public Beacon 2.0 endpoints
|
|
48
17
|
|
|
18
|
+
## [0.2.0](https://github.com/athoscommerce/beacon.js/compare/v0.1.1...v0.2.0) (2026-02-03)
|
|
49
19
|
|
|
50
20
|
### Docs
|
|
51
21
|
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
### [0.0.47](https://github.com/athoscommerce/beacon.js/compare/v0.0.46...v0.0.47) (2025-12-30)
|
|
55
|
-
|
|
56
|
-
### [0.0.46](https://github.com/athoscommerce/beacon.js/compare/v0.0.44...v0.0.46) (2025-12-23)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Features
|
|
60
|
-
|
|
61
|
-
* auto-beaconing changes ([5a8e015](https://github.com/athoscommerce/beacon.js/commit/5a8e01553d202c2a31426370d4cc4a66808cfd95))
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
### Bug Fixes
|
|
65
|
-
|
|
66
|
-
* remove shopper login return, update exisiting cart sku ([96c57b6](https://github.com/athoscommerce/beacon.js/commit/96c57b634286b6868756abb7be73ed940c197c92))
|
|
67
|
-
* update cart product skus on cart&viewed add, update tests to include banners ([4f004f3](https://github.com/athoscommerce/beacon.js/commit/4f004f3e3cdc52099f61e06d6c3582e376328a1f))
|
|
68
|
-
* use athos domain based on siteId ([c8b6e78](https://github.com/athoscommerce/beacon.js/commit/c8b6e780066e989dcf9c7672c000878dbb623b30))
|
|
69
|
-
|
|
70
|
-
### [0.0.45](https://github.com/athoscommerce/beacon.js/compare/v0.0.44...v0.0.45) (2025-12-23)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Features
|
|
74
|
-
|
|
75
|
-
* auto-beaconing changes ([5a8e015](https://github.com/athoscommerce/beacon.js/commit/5a8e01553d202c2a31426370d4cc4a66808cfd95))
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### Bug Fixes
|
|
79
|
-
|
|
80
|
-
* remove shopper login return, update exisiting cart sku ([96c57b6](https://github.com/athoscommerce/beacon.js/commit/96c57b634286b6868756abb7be73ed940c197c92))
|
|
81
|
-
* update cart product skus on cart&viewed add, update tests to include banners ([4f004f3](https://github.com/athoscommerce/beacon.js/commit/4f004f3e3cdc52099f61e06d6c3582e376328a1f))
|
|
82
|
-
* use athos domain based on siteId ([c8b6e78](https://github.com/athoscommerce/beacon.js/commit/c8b6e780066e989dcf9c7672c000878dbb623b30))
|
|
83
|
-
|
|
84
|
-
### [0.0.44](https://github.com/athoscommerce/beacon.js/compare/v0.0.43...v0.0.44) (2025-11-03)
|
|
85
|
-
|
|
86
|
-
### [0.0.43](https://github.com/athoscommerce/beacon.js/compare/v0.0.42...v0.0.43) (2025-10-23)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Features
|
|
90
|
-
|
|
91
|
-
* **featureflags:** adding featureFlags utils to check if storage & cookies are allowed ([8cf21a2](https://github.com/athoscommerce/beacon.js/commit/8cf21a2f46b10008d4d0f85d68f1c43462550238))
|
|
92
|
-
|
|
93
|
-
### [0.0.42](https://github.com/athoscommerce/beacon.js/compare/v0.0.41...v0.0.42) (2025-09-05)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Bug Fixes
|
|
97
|
-
|
|
98
|
-
* **beacon:** ensuring that shopperId is always a string when stored and retrieved ([8012719](https://github.com/athoscommerce/beacon.js/commit/801271990fc3ea3beda142e956c0bc8b2f164ed1))
|
|
99
|
-
|
|
100
|
-
### [0.0.41](https://github.com/athoscommerce/beacon.js/compare/v0.0.40...v0.0.41) (2025-09-03)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### Bug Fixes
|
|
104
|
-
|
|
105
|
-
* **beacon:** fixing a bug where the pageLoadId would be missing and could get stuck in infinite loop ([950fb72](https://github.com/athoscommerce/beacon.js/commit/950fb72618f2af9ad5712662d948b15524db0a3b))
|
|
106
|
-
|
|
107
|
-
### [0.0.40](https://github.com/athoscommerce/beacon.js/compare/v0.0.39...v0.0.40) (2025-08-29)
|
|
108
|
-
|
|
109
|
-
### [0.0.39](https://github.com/athoscommerce/beacon.js/compare/v0.0.38...v0.0.39) (2025-08-29)
|
|
110
|
-
|
|
111
|
-
### [0.0.38](https://github.com/athoscommerce/beacon.js/compare/v0.0.37...v0.0.38) (2025-08-29)
|
|
112
|
-
|
|
113
|
-
### [0.0.37](https://github.com/athoscommerce/beacon.js/compare/v0.0.36...v0.0.37) (2025-08-29)
|
|
114
|
-
|
|
115
|
-
### [0.0.36](https://github.com/athoscommerce/beacon.js/compare/v0.0.35...v0.0.36) (2025-08-29)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
* rebuild using previous spec version ([74548c3](https://github.com/athoscommerce/beacon.js/commit/74548c3421d00559092bc0b2f7d1449babb0e770))
|
|
121
|
-
|
|
122
|
-
### [0.0.35](https://github.com/athoscommerce/beacon.js/compare/v0.0.34...v0.0.35) (2025-08-14)
|
|
123
|
-
|
|
124
|
-
### [0.0.34](https://github.com/athoscommerce/beacon.js/compare/v0.0.33...v0.0.34) (2025-08-14)
|
|
125
|
-
|
|
126
|
-
### [0.0.33](https://github.com/athoscommerce/beacon.js/compare/v0.0.32...v0.0.33) (2025-08-14)
|
|
127
|
-
|
|
128
|
-
### [0.0.32](https://github.com/athoscommerce/beacon.js/compare/v0.0.31...v0.0.32) (2025-08-14)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
### Bug Fixes
|
|
132
|
-
|
|
133
|
-
* undo productId order, add merge workflow file ([e944aef](https://github.com/athoscommerce/beacon.js/commit/e944aef773eff5e393479f45482a2e0e6419c8c4))
|
|
134
|
-
|
|
135
|
-
### [0.0.31](https://github.com/athoscommerce/beacon.js/compare/v0.0.30...v0.0.31) (2025-07-12)
|
|
136
|
-
|
|
137
|
-
### [0.0.30](https://github.com/athoscommerce/beacon.js/compare/v0.0.29...v0.0.30) (2025-07-09)
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Bug Fixes
|
|
141
|
-
|
|
142
|
-
* catch if localStorage throws QuotaExceededError ([040be9f](https://github.com/athoscommerce/beacon.js/commit/040be9f0340f4353922f0a8084fcb659e020eea4))
|
|
143
|
-
|
|
144
|
-
### [0.0.29](https://github.com/athoscommerce/beacon.js/compare/v0.0.28...v0.0.29) (2025-06-11)
|
|
145
|
-
|
|
146
|
-
### [0.0.28](https://github.com/athoscommerce/beacon.js/compare/v0.0.27...v0.0.28) (2025-06-04)
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
### Bug Fixes
|
|
150
|
-
|
|
151
|
-
* clone initial batch entry ([6529a78](https://github.com/athoscommerce/beacon.js/commit/6529a78dc052d583f7bb856d892e2b967dbd1cd1))
|
|
152
|
-
|
|
153
|
-
### [0.0.27](https://github.com/athoscommerce/beacon.js/compare/v0.0.26...v0.0.27) (2025-05-30)
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Bug Fixes
|
|
157
|
-
|
|
158
|
-
* recommendations addToCart events should be batched ([5c2e70c](https://github.com/athoscommerce/beacon.js/commit/5c2e70c3224905c28a3775a2a7374a64d450d0eb))
|
|
159
|
-
|
|
160
|
-
### [0.0.26](https://github.com/athoscommerce/beacon.js/compare/v0.0.25...v0.0.26) (2025-05-29)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
### Features
|
|
164
|
-
|
|
165
|
-
* add cart globals and infer add and remove events ([1b5347b](https://github.com/athoscommerce/beacon.js/commit/1b5347b8d84de35c96bf6a5f2bdeaa396eb4b034))
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
### Bug Fixes
|
|
169
|
-
|
|
170
|
-
* preflightCache should send with empty cart and lastViewed ([a4b931d](https://github.com/athoscommerce/beacon.js/commit/a4b931dc6c9a19b306f87d997d5792eea00ebc59))
|
|
171
|
-
|
|
172
|
-
### [0.0.25](https://github.com/athoscommerce/beacon.js/compare/v0.0.24...v0.0.25) (2025-04-30)
|
|
173
|
-
|
|
174
|
-
### [0.0.24](https://github.com/athoscommerce/beacon.js/compare/v0.0.23...v0.0.24) (2025-04-07)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
### Bug Fixes
|
|
178
|
-
|
|
179
|
-
* only set keepalive if mode is production due to cypress intercepts failing ([333b686](https://github.com/athoscommerce/beacon.js/commit/333b686d60ec5f6fcdcb7ba2ad4c86a74eee027b))
|
|
180
|
-
|
|
181
|
-
### [0.0.23](https://github.com/athoscommerce/beacon.js/compare/v0.0.22...v0.0.23) (2025-04-04)
|
|
182
|
-
|
|
183
|
-
### [0.0.22](https://github.com/athoscommerce/beacon.js/compare/v0.0.21...v0.0.22) (2025-04-04)
|
|
184
|
-
|
|
185
|
-
### [0.0.21](https://github.com/athoscommerce/beacon.js/compare/v0.0.20...v0.0.21) (2025-04-04)
|
|
186
|
-
|
|
187
|
-
### [0.0.20](https://github.com/athoscommerce/beacon.js/compare/v0.0.19...v0.0.20) (2025-03-27)
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
### Features
|
|
191
|
-
|
|
192
|
-
* **events:** updating cart mutation events to properly update cart storage to ensure consistency ([c5e5152](https://github.com/athoscommerce/beacon.js/commit/c5e5152f4517d2c8234ed99125fdedebb8c2a43a))
|
|
193
|
-
|
|
194
|
-
### [0.0.19](https://github.com/athoscommerce/beacon.js/compare/v0.0.18...v0.0.19) (2025-03-26)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
### Bug Fixes
|
|
198
|
-
|
|
199
|
-
* change package.json exports index ([1ee3549](https://github.com/athoscommerce/beacon.js/commit/1ee354958a8a0e007e8d5d95e6efe75868743b7f))
|
|
200
|
-
|
|
201
|
-
### [0.0.18](https://github.com/athoscommerce/beacon.js/compare/v0.0.17...v0.0.18) (2025-03-26)
|
|
202
|
-
|
|
203
|
-
### [0.0.17](https://github.com/athoscommerce/beacon.js/compare/v0.0.16...v0.0.17) (2025-03-26)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
### Features
|
|
207
|
-
|
|
208
|
-
* updating packages and bumping version for production usage ([c90c2cb](https://github.com/athoscommerce/beacon.js/commit/c90c2cb2742e54eacf65872f59ce9f296971adc5))
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
### Bug Fixes
|
|
212
|
-
|
|
213
|
-
* beacon improvements ([bf5d8e7](https://github.com/athoscommerce/beacon.js/commit/bf5d8e71813ed1ea5e14e3339b3dc58d9d2684ea))
|
|
214
|
-
* cookie expiration ([b51c1df](https://github.com/athoscommerce/beacon.js/commit/b51c1df0c9eb7d90d638f3915c0c5a0bc78ef62e))
|
|
215
|
-
|
|
216
|
-
### [0.0.16](https://github.com/athoscommerce/beacon.js/compare/v0.0.15...v0.0.16) (2025-03-19)
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
### Bug Fixes
|
|
220
|
-
|
|
221
|
-
* typing ([4f25492](https://github.com/athoscommerce/beacon.js/commit/4f25492de96f08b394a9af3f017a715ed5898724))
|
|
222
|
-
|
|
223
|
-
### [0.0.15](https://github.com/athoscommerce/beacon.js/compare/v0.0.14...v0.0.15) (2025-03-13)
|
|
224
|
-
|
|
225
|
-
### [0.0.14](https://github.com/athoscommerce/beacon.js/compare/v0.0.13...v0.0.14) (2025-03-05)
|
|
226
|
-
|
|
227
|
-
### [0.0.13](https://github.com/athoscommerce/beacon.js/compare/v0.0.12...v0.0.13) (2025-03-04)
|
|
228
|
-
|
|
229
|
-
### [0.0.12](https://github.com/athoscommerce/beacon.js/compare/v0.0.11...v0.0.12) (2025-02-07)
|
|
230
|
-
|
|
231
|
-
### [0.0.11](https://github.com/athoscommerce/beacon.js/compare/v0.0.10...v0.0.11) (2025-02-07)
|
|
232
|
-
|
|
233
|
-
### [0.0.10](https://github.com/athoscommerce/beacon.js/compare/v0.0.9...v0.0.10) (2025-02-07)
|
|
234
|
-
|
|
235
|
-
### [0.0.9](https://github.com/athoscommerce/beacon.js/compare/v0.0.8...v0.0.9) (2025-02-03)
|
|
236
|
-
|
|
237
|
-
### [0.0.8](https://github.com/athoscommerce/beacon.js/compare/v0.0.7...v0.0.8) (2025-02-03)
|
|
238
|
-
|
|
239
|
-
### [0.0.7](https://github.com/athoscommerce/beacon.js/compare/v0.0.6...v0.0.7) (2025-02-03)
|
|
240
|
-
|
|
241
|
-
### [0.0.6](https://github.com/athoscommerce/beacon.js/compare/v0.0.5...v0.0.6) (2025-02-03)
|
|
242
|
-
|
|
243
|
-
### [0.0.5](https://github.com/athoscommerce/beacon.js/compare/v0.0.4...v0.0.5) (2025-02-03)
|
|
244
|
-
|
|
245
|
-
### [0.0.4](https://github.com/athoscommerce/beacon.js/compare/v0.0.3...v0.0.4) (2025-02-03)
|
|
246
|
-
|
|
247
|
-
### [0.0.3](https://github.com/athoscommerce/beacon.js/compare/v0.0.2...v0.0.3) (2025-02-03)
|
|
248
|
-
|
|
249
|
-
### 0.0.2 (2025-02-03)
|
|
22
|
+
* documentation around package and CDN usage
|