Skip to content

Commit

Permalink
Release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Sep 10, 2024
1 parent da40e61 commit 7fd4b85
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To integrate it with your project, you will need to add the following script tag
});
</script>
<script defer="defer"
src="https://cdn.jsdelivr.net/gh/supertokens/[email protected]/build/static/js/main.00ec3e91.js"></script>
src="https://cdn.jsdelivr.net/gh/supertokens/[email protected]/build/static/js/main.8f01ace8.js"></script>
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"files": {
"main.js": "/static/js/main.00ec3e91.js",
"main.js": "/static/js/main.8f01ace8.js",
"index.html": "/index.html",
"main.00ec3e91.js.map": "/static/js/main.00ec3e91.js.map"
"main.8f01ace8.js.map": "/static/js/main.8f01ace8.js.map"
},
"entrypoints": [
"static/js/main.00ec3e91.js"
"static/js/main.8f01ace8.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link href="//fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.00ec3e91.js"></script></head><body><script>window.addEventListener("supertokensScriptLoaded",(()=>{supertokensInit("supertokensui",{appInfo:{websiteDomain:"http://localhost:3000",apiDomain:"http://localhost:3001",appName:"My Demo App"},style:"\n [data-supertokens~=container] {\n --palette-background: 51, 51, 51;\n --palette-inputBackground: 41, 41, 41;\n --palette-inputBorder: 41, 41, 41;\n --palette-textTitle: 255, 255, 255;\n --palette-textLabel: 255, 255, 255;\n --palette-textPrimary: 255, 255, 255;\n --palette-error: 173, 46, 46;\n --palette-textInput: 169, 169, 169;\n --palette-textLink: 169, 169, 169;\n }\n "})}))</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="supertokensui"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link href="//fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.8f01ace8.js"></script></head><body><script>window.addEventListener("supertokensScriptLoaded",(()=>{supertokensInit("supertokensui",{appInfo:{websiteDomain:"http://localhost:3000",apiDomain:"http://localhost:3001",appName:"My Demo App"},style:"\n [data-supertokens~=container] {\n --palette-background: 51, 51, 51;\n --palette-inputBackground: 41, 41, 41;\n --palette-inputBorder: 41, 41, 41;\n --palette-textTitle: 255, 255, 255;\n --palette-textLabel: 255, 255, 255;\n --palette-textPrimary: 255, 255, 255;\n --palette-error: 173, 46, 46;\n --palette-textInput: 169, 169, 169;\n --palette-textLink: 169, 169, 169;\n }\n "})}))</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="supertokensui"></div></body></html>
3 changes: 0 additions & 3 deletions build/static/js/main.00ec3e91.js

This file was deleted.

1 change: 0 additions & 1 deletion build/static/js/main.00ec3e91.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions build/static/js/main.8f01ace8.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/main.8f01ace8.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import EmailVerification from "supertokens-auth-react/recipe/emailverification"
import MFA from "supertokens-auth-react/recipe/multifactorauth"
import TOTP from "supertokens-auth-react/recipe/totp"
import UserRoles from "supertokens-auth-react/recipe/userroles"
import MultiTenancy from "supertokens-auth-react/recipe/multitenancy"

import { EmailPasswordPreBuiltUI } from "supertokens-auth-react/recipe/emailpassword/prebuiltui";
import { ThirdPartyPreBuiltUI } from "supertokens-auth-react/recipe/thirdparty/prebuiltui";
Expand Down Expand Up @@ -76,6 +77,7 @@ export let PreBuiltUIList: any[] = [];
}
};

(window as any).supertokensUIMultitenancy = MultiTenancy;
(window as any).supertokensUIUserRoles = UserRoles;

function supertokensUIInit(divId: string, customConfig: any) {
Expand Down

0 comments on commit 7fd4b85

Please sign in to comment.