@amplitude/gtm-snippet 2.33.1 → 2.33.2-fake-branch-1141.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/CHANGELOG.md +11 -0
- package/e2e/gtm-snippet.spec.ts +5 -4
- package/lib/amplitude-wrapper.js +1 -1
- package/lib/scripts/analytics-browser-gtm-wrapper.min.js +1 -1
- package/lib/scripts/analytics-browser-gtm-wrapper.min.js.br +0 -0
- package/lib/scripts/analytics-browser-gtm-wrapper.min.js.gz +0 -0
- package/lib/scripts/analytics-browser-gtm-wrapper.min.js.map +1 -1
- package/package.json +14 -14
- package/tsconfig.json +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.33.2-fake-branch-1141.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/gtm-snippet@2.33.1...@amplitude/gtm-snippet@2.33.2-fake-branch-1141.0) (2026-01-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** bump node-forge from 1.3.1 to 1.3.3 in /packages/analytics-browser/playground/react-spa ([#1438](https://github.com/amplitude/Amplitude-TypeScript/issues/1438)) ([ffacc88](https://github.com/amplitude/Amplitude-TypeScript/commit/ffacc8888217249e6c8084ef7327872e1fa375ca))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.33.1](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/gtm-snippet@2.32.3...@amplitude/gtm-snippet@2.33.1) (2025-12-30)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @amplitude/gtm-snippet
|
package/e2e/gtm-snippet.spec.ts
CHANGED
|
@@ -45,10 +45,11 @@ test.describe('GTM Snippet Page', () => {
|
|
|
45
45
|
|
|
46
46
|
// Wait for network requests to complete
|
|
47
47
|
await page.waitForLoadState('networkidle');
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
// wait up to 10 seconds for the request to be made
|
|
49
|
+
for (let i = 0; i < 20; i++) {
|
|
50
|
+
if (requests.length > 0) break;
|
|
51
|
+
await page.waitForTimeout(500);
|
|
52
|
+
}
|
|
52
53
|
|
|
53
54
|
// Verify the GTM Snippet Test event was tracked
|
|
54
55
|
const events = requests[0].events;
|