Skip to content

Commit 1993369

Browse files
committed
docs: fix existing examples
1 parent c305124 commit 1993369

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

examples/with-multifactorauth-phone-chooser/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react-dom": "^18.2.0",
1616
"react-router-dom": "^6.2.1",
1717
"react-scripts": "5.0.1",
18-
"supertokens-auth-react": "github:supertokens/supertokens-auth-react#feat/mfa_redirect",
18+
"supertokens-auth-react": "latest",
1919
"supertokens-web-js": "latest",
2020
"typescript": "^4.8.2",
2121
"web-vitals": "^2.1.4"

examples/with-phone-password/src/PhoneVerification/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const CustomSignInUpTheme = (props: AuthPageThemeProps) => {
3737

3838
const res = await Passwordless.createCode({
3939
phoneNumber,
40-
tryLinkingWithSessionUser: true,
40+
shouldTryLinkingWithSessionUser: true,
4141
userContext: { additionalAttemptInfo },
4242
});
4343

examples/with-unified-login/auth-provider/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"helmet": "^5.1.0",
1414
"morgan": "^1.10.0",
1515
"npm-run-all": "^4.1.5",
16-
"supertokens-node": "github:supertokens/supertokens-node#feat/oauth2/base",
16+
"supertokens-node": "latest",
1717
"ts-node-dev": "^2.0.0",
1818
"typescript": "^4.7.2"
1919
},

examples/with-unified-login/auth-provider/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"react-dom": "^18.2.0",
1616
"react-router-dom": "^6.2.1",
1717
"react-scripts": "5.0.1",
18-
"supertokens-auth-react": "github:supertokens/supertokens-auth-react#feat/oauth2/examples",
19-
"supertokens-web-js": "github:supertokens/supertokens-web-js#feat/oauth2/base",
18+
"supertokens-auth-react": "latest",
19+
"supertokens-web-js": "latest",
2020
"typescript": "^4.8.2",
2121
"web-vitals": "^2.1.4"
2222
},

examples/with-unified-login/client1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"react-oidc-context": "^3.1.1",
4141
"react-router-dom": "^6.2.1",
4242
"react-scripts": "5.0.1",
43-
"supertokens-auth-react": "github:supertokens/supertokens-auth-react#feat/oauth2/examples",
43+
"supertokens-auth-react": "latest",
4444
"typescript": "^4.8.2",
4545
"web-vitals": "^2.1.4"
4646
}

0 commit comments

Comments
 (0)