Skip to content

Commit

Permalink
Merge pull request #5641 from nickgros/SWC-7242b
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros authored Feb 20, 2025
2 parents d888b5b + ad3bb83 commit 11c7038
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion e2e/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export async function waitForSrcEndpointConfig(page: Page) {
// ensure that endpoint config is set,
// ...so API calls point to the correct stack
await expect(async () => {
const response = await page.evaluate('window.SRC.OVERRIDE_ENDPOINT_CONFIG')
const response = await page.evaluate('window.SRC_OVERRIDE_ENDPOINT_CONFIG')
expect(response).not.toBeUndefined()
}).toPass()
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"react-transition-group": "2.6.0",
"sass": "^1.63.6",
"spark-md5": "^3.0.2",
"synapse-react-client": "3.4.2",
"synapse-react-client": "3.4.3",
"universal-cookie": "^4.0.4",
"xss": "^1.0.15"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ private static final native void _initSRCEndpoints(
String portalEndpoint
) /*-{
try {
$wnd.SRC.OVERRIDE_ENDPOINT_CONFIG = {
REPO : repoEndpoint,
PORTAL : portalEndpoint,
$wnd.SRC_OVERRIDE_ENDPOINT_CONFIG = {
REPO : repoEndpoint.trim(),
PORTAL : portalEndpoint.trim(),
}
} catch (err) {
console.error(err);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6938,10 +6938,10 @@ svg-path-sdf@^1.1.3:
parse-svg-path "^0.1.2"
svg-path-bounds "^1.0.1"

[email protected].2:
version "3.4.2"
resolved "https://registry.yarnpkg.com/synapse-react-client/-/synapse-react-client-3.4.2.tgz#0dad3058f56928e9c77c0e81b1ebe4a95d0e5d59"
integrity sha512-B3aZyZRW9oHRzA50idctyQKZ87jCqKhcoLOeopVVN4MDMwncl1DGGgkKrgvyJclMGHOhh5fqF5TXNKmwWiPWgw==
[email protected].3:
version "3.4.3"
resolved "https://registry.yarnpkg.com/synapse-react-client/-/synapse-react-client-3.4.3.tgz#93db85cc84e8db5b2a085a8dd79b4f88604f0e9c"
integrity sha512-g6WIM2GwsyKGg+OnlwKYmUPcH9leTGcSDehUHh98fhiqLWg3yPRBU0qRXGasyLvL5eYjHr4qg9lJth/BhnI2hw==
dependencies:
"@apidevtools/json-schema-ref-parser" "^9.1.2"
"@aws-sdk/client-s3" "^3.682.0"
Expand Down

0 comments on commit 11c7038

Please sign in to comment.