From 68948212da67e854460be2182294fe22148e5e4b Mon Sep 17 00:00:00 2001 From: Timothy Chiao Date: Thu, 23 Oct 2025 14:40:02 -0400 Subject: [PATCH 1/3] release: v1.2.0-beta.1 --- package.json | 2 +- tests/AnalyticsEventReporter.test.ts | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index cb017c4..17f19a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yext/analytics", - "version": "1.2.0-beta.0", + "version": "1.2.0-beta.1", "description": "An analytics library for Yext", "author": "fusion@yext.com", "license": "BSD-3-Clause", diff --git a/tests/AnalyticsEventReporter.test.ts b/tests/AnalyticsEventReporter.test.ts index c81c343..45cfa07 100644 --- a/tests/AnalyticsEventReporter.test.ts +++ b/tests/AnalyticsEventReporter.test.ts @@ -118,7 +118,7 @@ describe('Test report function', () => { action: 'C_CUSTOM_ACTION', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, referrerUrl: 'https://yext.com', destinationUrl: 'https://google.com', @@ -162,7 +162,7 @@ describe('Test report function', () => { action: 'c_lowercase_custom_action', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, destinationUrl: 'https://google.com', pageUrl: 'http://localhost/', @@ -214,7 +214,7 @@ describe('Test report function', () => { referrerUrl: 'https://referrer-site.com', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, count: 1, sessionId: undefined @@ -279,7 +279,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.0', + ANALYTICS: '1.2.0-beta.1', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -337,7 +337,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.0', + ANALYTICS: '1.2.0-beta.1', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -392,7 +392,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.0', + ANALYTICS: '1.2.0-beta.1', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -443,7 +443,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, referrerUrl: 'https://yext.com', count: 5 @@ -491,7 +491,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, referrerUrl: 'https://yext.com', count: 5 @@ -534,7 +534,7 @@ describe('Test report function', () => { { authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, pageUrl: 'http://localhost/', sessionId: undefined @@ -575,7 +575,7 @@ describe('Test report function', () => { { authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' } }, config @@ -618,7 +618,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0' + ANALYTICS: '1.2.0-beta.1' }, referrerUrl: 'https://yext.com', count: 5 @@ -649,7 +649,7 @@ describe('Test report function', () => { action: 'APPLY', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.0', + ANALYTICS: '1.2.0-beta.1', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -777,7 +777,7 @@ describe('Test report function', () => { responseId: 'responseId' }, clientSdk: { - ANALYTICS: '1.2.0-beta.0', + ANALYTICS: '1.2.0-beta.1', chat: '1.0.0' }, count: 5, From 883490a9a31a983dcf29249ec61694eaa9ad0705 Mon Sep 17 00:00:00 2001 From: Timothy Chiao Date: Thu, 23 Oct 2025 17:24:01 -0400 Subject: [PATCH 2/3] release: v1.2.0-beta.2 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 17f19a3..02b5667 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,9 @@ "typescript": "^4.1.5", "vite": "^4.4.9" }, + "optionalDependencies": { + "@esbuild/linux-x64": "0.18.20" + }, "overrides": { "@babel/helper-define-polyfill-provider": "0.4.3", "babel-plugin-polyfill-corejs2": "0.4.6", From 19a618d837ee5d7a5aa37b0f2f1928179a0d0285 Mon Sep 17 00:00:00 2001 From: Timothy Chiao Date: Thu, 23 Oct 2025 17:24:41 -0400 Subject: [PATCH 3/3] release: v1.2.0-beta.2 --- package.json | 2 +- tests/AnalyticsEventReporter.test.ts | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 02b5667..d5d9a3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yext/analytics", - "version": "1.2.0-beta.1", + "version": "1.2.0-beta.2", "description": "An analytics library for Yext", "author": "fusion@yext.com", "license": "BSD-3-Clause", diff --git a/tests/AnalyticsEventReporter.test.ts b/tests/AnalyticsEventReporter.test.ts index 45cfa07..fb00ac5 100644 --- a/tests/AnalyticsEventReporter.test.ts +++ b/tests/AnalyticsEventReporter.test.ts @@ -118,7 +118,7 @@ describe('Test report function', () => { action: 'C_CUSTOM_ACTION', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', destinationUrl: 'https://google.com', @@ -162,7 +162,7 @@ describe('Test report function', () => { action: 'c_lowercase_custom_action', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, destinationUrl: 'https://google.com', pageUrl: 'http://localhost/', @@ -214,7 +214,7 @@ describe('Test report function', () => { referrerUrl: 'https://referrer-site.com', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, count: 1, sessionId: undefined @@ -279,7 +279,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -337,7 +337,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -392,7 +392,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -443,7 +443,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', count: 5 @@ -491,7 +491,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', count: 5 @@ -534,7 +534,7 @@ describe('Test report function', () => { { authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, pageUrl: 'http://localhost/', sessionId: undefined @@ -575,7 +575,7 @@ describe('Test report function', () => { { authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' } }, config @@ -618,7 +618,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', count: 5 @@ -649,7 +649,7 @@ describe('Test report function', () => { action: 'APPLY', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -777,7 +777,7 @@ describe('Test report function', () => { responseId: 'responseId' }, clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.0' }, count: 5,