Skip to content

Commit b0cba18

Browse files
committed
fix cjs
1 parent bac071d commit b0cba18

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: AWS RUM Web Client Smoke Tests
22

33
on:
44
push:
5-
branches: [main, release/*.*.*]
5+
branches: [main, release/*.*.*, dev/**/*]
66
workflow_call:
77
workflow_dispatch:
88

smoke/smoke-test-application-NPM-CJS/src/loader-npm-rum-2.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ try {
1414
cookieAttributes: {
1515
unique: true
1616
},
17-
useBeacon: false
17+
useBeacon: false,
18+
legacySPASupport: true
1819
};
1920

2021
const APPLICATION_ID: string = $MONITOR_ID_2;

smoke/smoke-test-application-NPM-CJS/src/loader-npm-rum-w3c-format-enabled.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ try {
2222
'content-type': 'application/json'
2323
},
2424
useBeacon: false,
25-
enableW3CTraceId: true
25+
enableW3CTraceId: true,
26+
legacySPASupport: true
2627
};
2728

2829
const APPLICATION_ID: string = $MONITOR_ID;

smoke/smoke-test-application-NPM-CJS/src/loader-npm-rum.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ try {
2121
'x-api-key': 'a1b2c3d4e5f6',
2222
'content-type': 'application/json'
2323
},
24-
useBeacon: false
24+
useBeacon: false,
25+
legacySPASupport: true
2526
};
2627

2728
const APPLICATION_ID: string = $MONITOR_ID;

0 commit comments

Comments
 (0)