Skip to content

Commit

Permalink
Merge pull request #6894 from DonOmalVindula/upgrade-sdk-5.1.2
Browse files Browse the repository at this point in the history
Bump auth-react and auth-spa to latest versions
  • Loading branch information
DonOmalVindula authored Sep 12, 2024
2 parents ad22b23 + e7bf2ba commit a593e86
Show file tree
Hide file tree
Showing 68 changed files with 21,235 additions and 16,146 deletions.
62 changes: 62 additions & 0 deletions .changeset/afraid-turkeys-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
"@wso2is/admin.identity-verification-providers.v1": minor
"@wso2is/admin.remote-repository-configuration.v1": minor
"@wso2is/admin.alternative-login-identifier.v1": minor
"@wso2is/admin.organization-discovery.v1": minor
"@wso2is/admin.server-configurations.v1": minor
"@wso2is/admin.saml2-configuration.v1": minor
"@wso2is/admin.username-validation.v1": minor
"@wso2is/admin.wsfed-configuration.v1": minor
"@wso2is/admin.identity-providers.v1": minor
"@wso2is/admin.session-management.v1": minor
"@wso2is/admin.workflow-approvals.v1": minor
"@wso2is/admin.remote-userstores.v1": minor
"@wso2is/admin.console-settings.v1": minor
"@wso2is/admin.email-management.v1": minor
"@wso2is/admin.email-providers.v1": minor
"@wso2is/admin.email-templates.v1": minor
"@wso2is/admin.private-key-jwt.v1": minor
"@wso2is/admin.administrators.v1": minor
"@wso2is/admin.authentication.v1": minor
"@wso2is/admin.api-resources.v1": minor
"@wso2is/admin.api-resources.v2": minor
"@wso2is/admin.authorization.v1": minor
"@wso2is/admin.email-and-sms.v1": minor
"@wso2is/admin.impersonation.v1": minor
"@wso2is/admin.login-flow.ai.v1": minor
"@wso2is/admin.organizations.v1": minor
"@wso2is/admin.sms-providers.v1": minor
"@wso2is/admin.applications.v1": minor
"@wso2is/admin.certificates.v1": minor
"@wso2is/admin.feature-gate.v1": minor
"@wso2is/admin.org-insights.v1": minor
"@wso2is/admin.provisioning.v1": minor
"@wso2is/admin.subscription.v1": minor
"@wso2is/admin.branding.ai.v1": minor
"@wso2is/admin.connections.v1": minor
"@wso2is/admin.oidc-scopes.v1": minor
"@wso2is/admin.extensions.v1": minor
"@wso2is/admin.userstores.v1": minor
"@wso2is/admin.validation.v1": minor
"@wso2is/admin.branding.v1": minor
"@wso2is/admin.actions.v1": minor
"@wso2is/admin.secrets.v1": minor
"@wso2is/admin.tenants.v1": minor
"@wso2is/admin.claims.v1": minor
"@wso2is/admin.groups.v1": minor
"@wso2is/admin.server.v1": minor
"@wso2is/admin.roles.v1": minor
"@wso2is/admin.roles.v2": minor
"@wso2is/admin.users.v1": minor
"@wso2is/admin.core.v1": minor
"@wso2is/admin.home.v1": minor
"@wso2is/admin.logs.v1": minor
"@wso2is/common.ai.v1": minor
"@wso2is/unit-testing": minor
"@wso2is/myaccount": minor
"@wso2is/console": minor
"@wso2is/core": minor
"@wso2is/features": minor
---

Bump auth-react and auth-spa to latest versions
2 changes: 1 addition & 1 deletion apps/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typecheck": "pnpm run compile"
},
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@monaco-editor/react": "^4.5.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
<script>
if(!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";

authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
<script>
if(!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";
authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/public/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/auth-spa-3.0.1.min.js</url-pattern>
<url-pattern>/auth-spa-3.1.2.min.js</url-pattern>
</servlet-mapping>

<servlet-mapping>
Expand Down
2 changes: 0 additions & 2 deletions apps/console/src/public/auth-spa-3.0.1.min.js

This file was deleted.

2 changes: 2 additions & 0 deletions apps/console/src/public/auth-spa-3.1.2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/myaccount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typecheck": "pnpm run compile"
},
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@babel/polyfill": "^7.0.0",
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/src/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
<script>
if(!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";

authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/src/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
<script>
if (!authorizationCode) {
var authSPAJS = document.createElement("script");
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.0.1.min.js' : '/auth-spa-3.0.1.min.js'%>";
var authScriptSrc = "<%= htmlWebpackPlugin.options.basename ? '/' + htmlWebpackPlugin.options.basename + '/auth-spa-3.1.2.min.js' : '/auth-spa-3.1.2.min.js'%>";
authSPAJS.setAttribute("src", authScriptSrc);
authSPAJS.setAttribute("async", "false");
Expand Down
2 changes: 1 addition & 1 deletion apps/myaccount/src/public/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/auth-spa-3.0.1.min.js</url-pattern>
<url-pattern>/auth-spa-3.1.2.min.js</url-pattern>
</servlet-mapping>

<servlet-mapping>
Expand Down
2 changes: 1 addition & 1 deletion features/admin.actions.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@mui/material": "^5.13.0",
"@oxygen-ui/react": "^1.13.10",
"@oxygen-ui/react-icons": "^1.13.10",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.administrators.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.api-resources.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.api-resources.v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.applications.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.authentication.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"rollup-plugin-svg": "^2.0.0"
},
"peerDependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion features/admin.authorization.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.branding.ai.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.branding.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.certificates.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.claims.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.connections.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.console-settings.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.core.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@wso2is/admin.template-core.v1": "^1.0.51"
},
"peerDependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-and-sms.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-management.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-providers.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.email-templates.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.extensions.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.feature-gate.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.groups.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.home.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.identity-providers.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.impersonation.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.login-flow.ai.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.logs.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"v1"
],
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.oidc-scopes.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"dependencies": {
"@asgardeo/auth-react": "^5.1.0",
"@asgardeo/auth-react": "^5.1.2",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@microsoft/applicationinsights-core-js": "^3.0.0",
Expand Down
Loading

0 comments on commit a593e86

Please sign in to comment.