Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
The following NPM package may be included in this product:

- @esbuild/linux-x64@0.18.20

This package contains the following license and notice below:

# esbuild

This is the Linux 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.

-----------

The following NPM package may be included in this product:

- layerr@2.0.0
Expand Down
23 changes: 21 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
26 changes: 13 additions & 13 deletions tests/AnalyticsEventReporter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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/',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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,
Expand Down