@openfort/react 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js
CHANGED
|
@@ -3526,11 +3526,13 @@ export const keys = {
|
|
|
3526
3526
|
|
|
3527
3527
|
const PREFIX = '[Openfort-React]';
|
|
3528
3528
|
const logger = {
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3529
|
+
enabled: true,
|
|
3530
|
+
// biome-ignore lint/suspicious/noConsole: allowed for debugging
|
|
3531
|
+
log: (...args) => (logger.enabled ? console.log(PREFIX, ...args) : null),
|
|
3532
|
+
// biome-ignore lint/suspicious/noConsole: allowed for debugging
|
|
3533
|
+
error: (...args) => (logger.enabled ? console.error(PREFIX, ...args) : null),
|
|
3534
|
+
// biome-ignore lint/suspicious/noConsole: allowed for debugging
|
|
3535
|
+
warn: (...args) => (logger.enabled ? console.warn(PREFIX, ...args) : null),
|
|
3534
3536
|
};
|
|
3535
3537
|
|
|
3536
3538
|
function useLocales(replacements) {
|
|
@@ -4357,6 +4359,7 @@ function handleOAuthConfigError(error) {
|
|
|
4357
4359
|
' - Headers: Comma-separated list of headers to include (e.g., X-Openfort-Secret: your-shared-secret)',
|
|
4358
4360
|
};
|
|
4359
4361
|
const hint = configHints[providerLower] || configHints.custom;
|
|
4362
|
+
// biome-ignore lint/suspicious/noConsole: allowed for debugging
|
|
4360
4363
|
console.error(`❌ Openfort OAuth Configuration Error:\n\n` +
|
|
4361
4364
|
`The OAuth provider "${provider}" is not configured in your Openfort account.\n\n` +
|
|
4362
4365
|
`To fix this:\n` +
|
|
@@ -4396,7 +4399,7 @@ const ConnectCallback = ({ onConnect, onDisconnect }) => {
|
|
|
4396
4399
|
});
|
|
4397
4400
|
return null;
|
|
4398
4401
|
};
|
|
4399
|
-
const CoreOpenfortProvider = ({ children,
|
|
4402
|
+
const CoreOpenfortProvider = ({ children, onConnect, onDisconnect, ...openfortProps }) => {
|
|
4400
4403
|
const { connectors, connect, reset } = useConnect();
|
|
4401
4404
|
const { address } = useAccount();
|
|
4402
4405
|
const [user, setUser] = useState(null);
|
|
@@ -5444,7 +5447,7 @@ const FitText = ({ children, maxFontSize = 100, minFontSize = 70, }) => {
|
|
|
5444
5447
|
};
|
|
5445
5448
|
FitText.displayName = 'FitText';
|
|
5446
5449
|
|
|
5447
|
-
const OPENFORT_VERSION = '0.0.
|
|
5450
|
+
const OPENFORT_VERSION = '0.0.31';
|
|
5448
5451
|
|
|
5449
5452
|
const Portal = (props) => {
|
|
5450
5453
|
props = {
|
|
@@ -6704,13 +6707,14 @@ const IconContainer$4 = styled(motion.div) `
|
|
|
6704
6707
|
const TextLinkButton = styled.button `
|
|
6705
6708
|
background: none;
|
|
6706
6709
|
border: none;
|
|
6707
|
-
|
|
6710
|
+
|
|
6708
6711
|
cursor: pointer;
|
|
6709
6712
|
font-size: inherit;
|
|
6710
|
-
|
|
6713
|
+
color: var(--ck-body-color-muted, inherit);
|
|
6714
|
+
text-decoration: none;
|
|
6715
|
+
transition: color 200ms ease;
|
|
6711
6716
|
&:hover {
|
|
6712
|
-
|
|
6713
|
-
color: var(--ck-body-color-muted-hover);
|
|
6717
|
+
color: var(--ck-body-color-muted-hover, inherit);
|
|
6714
6718
|
}
|
|
6715
6719
|
`;
|
|
6716
6720
|
|
|
@@ -8836,7 +8840,7 @@ const onError = ({ hookOptions, options, error, }) => {
|
|
|
8836
8840
|
return { error };
|
|
8837
8841
|
};
|
|
8838
8842
|
|
|
8839
|
-
const buildCallbackUrl = ({ email, callbackUrl, provider, }) => {
|
|
8843
|
+
const buildCallbackUrl = ({ email, callbackUrl, provider, isOpen, }) => {
|
|
8840
8844
|
if (callbackUrl && !callbackUrl.startsWith('http')) {
|
|
8841
8845
|
callbackUrl = `${window.location.origin}${callbackUrl.startsWith('/') ? '' : '/'}${callbackUrl}`;
|
|
8842
8846
|
}
|
|
@@ -8845,6 +8849,9 @@ const buildCallbackUrl = ({ email, callbackUrl, provider, }) => {
|
|
|
8845
8849
|
if (email) {
|
|
8846
8850
|
redirectUrl.searchParams.append('email', email);
|
|
8847
8851
|
}
|
|
8852
|
+
if (isOpen) {
|
|
8853
|
+
redirectUrl.searchParams.append('openfortEmailVerificationUI', 'true');
|
|
8854
|
+
}
|
|
8848
8855
|
return redirectUrl.toString();
|
|
8849
8856
|
};
|
|
8850
8857
|
|
|
@@ -9695,6 +9702,10 @@ const useConnectToWalletPostAuth = () => {
|
|
|
9695
9702
|
};
|
|
9696
9703
|
};
|
|
9697
9704
|
|
|
9705
|
+
const isValidEmail = (email) => {
|
|
9706
|
+
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
9707
|
+
return emailRegex.test(email);
|
|
9708
|
+
};
|
|
9698
9709
|
/**
|
|
9699
9710
|
* Hook for email-based authentication operations
|
|
9700
9711
|
*
|
|
@@ -9769,6 +9780,7 @@ const useConnectToWalletPostAuth = () => {
|
|
|
9769
9780
|
const useEmailAuth = (hookOptions = {}) => {
|
|
9770
9781
|
const { log } = useOpenfort();
|
|
9771
9782
|
const { client, updateUser } = useOpenfortCore();
|
|
9783
|
+
const { isOpen } = useUI();
|
|
9772
9784
|
const [requiresEmailVerification, setRequiresEmailVerification] = useState(false);
|
|
9773
9785
|
const [status, setStatus] = useState({
|
|
9774
9786
|
status: 'idle',
|
|
@@ -9799,6 +9811,18 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9799
9811
|
error,
|
|
9800
9812
|
});
|
|
9801
9813
|
}
|
|
9814
|
+
if (!isValidEmail(options.email)) {
|
|
9815
|
+
const error = new OpenfortError('Invalid email', OpenfortErrorType.VALIDATION_ERROR);
|
|
9816
|
+
setStatus({
|
|
9817
|
+
status: 'error',
|
|
9818
|
+
error,
|
|
9819
|
+
});
|
|
9820
|
+
return onError({
|
|
9821
|
+
hookOptions,
|
|
9822
|
+
options,
|
|
9823
|
+
error,
|
|
9824
|
+
});
|
|
9825
|
+
}
|
|
9802
9826
|
const result = await client.auth.logInWithEmailPassword({
|
|
9803
9827
|
email: options.email,
|
|
9804
9828
|
password: options.password,
|
|
@@ -9813,6 +9837,7 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9813
9837
|
email: options.email,
|
|
9814
9838
|
callbackUrl: (_a = options.emailVerificationRedirectTo) !== null && _a !== void 0 ? _a : hookOptions === null || hookOptions === void 0 ? void 0 : hookOptions.emailVerificationRedirectTo,
|
|
9815
9839
|
provider: 'email',
|
|
9840
|
+
isOpen,
|
|
9816
9841
|
}),
|
|
9817
9842
|
});
|
|
9818
9843
|
setRequiresEmailVerification(true);
|
|
@@ -9855,6 +9880,18 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9855
9880
|
const requestResetPassword = useCallback(async (options) => {
|
|
9856
9881
|
var _a;
|
|
9857
9882
|
try {
|
|
9883
|
+
if (!isValidEmail(options.email)) {
|
|
9884
|
+
const error = new OpenfortError('Invalid email', OpenfortErrorType.VALIDATION_ERROR);
|
|
9885
|
+
setStatus({
|
|
9886
|
+
status: 'error',
|
|
9887
|
+
error,
|
|
9888
|
+
});
|
|
9889
|
+
return onError({
|
|
9890
|
+
hookOptions,
|
|
9891
|
+
options,
|
|
9892
|
+
error,
|
|
9893
|
+
});
|
|
9894
|
+
}
|
|
9858
9895
|
setStatus({
|
|
9859
9896
|
status: 'loading',
|
|
9860
9897
|
});
|
|
@@ -9865,6 +9902,7 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9865
9902
|
email: options.email,
|
|
9866
9903
|
callbackUrl: (_a = options.emailVerificationRedirectTo) !== null && _a !== void 0 ? _a : hookOptions === null || hookOptions === void 0 ? void 0 : hookOptions.emailVerificationRedirectTo,
|
|
9867
9904
|
provider: 'password',
|
|
9905
|
+
isOpen,
|
|
9868
9906
|
}),
|
|
9869
9907
|
});
|
|
9870
9908
|
setStatus({
|
|
@@ -9894,6 +9932,18 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9894
9932
|
}, [client, setStatus, updateUser, hookOptions]);
|
|
9895
9933
|
const resetPassword = useCallback(async (options) => {
|
|
9896
9934
|
try {
|
|
9935
|
+
if (!isValidEmail(options.email)) {
|
|
9936
|
+
const error = new OpenfortError('Invalid email', OpenfortErrorType.VALIDATION_ERROR);
|
|
9937
|
+
setStatus({
|
|
9938
|
+
status: 'error',
|
|
9939
|
+
error,
|
|
9940
|
+
});
|
|
9941
|
+
return onError({
|
|
9942
|
+
hookOptions,
|
|
9943
|
+
options,
|
|
9944
|
+
error,
|
|
9945
|
+
});
|
|
9946
|
+
}
|
|
9897
9947
|
setStatus({
|
|
9898
9948
|
status: 'loading',
|
|
9899
9949
|
});
|
|
@@ -9943,6 +9993,18 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9943
9993
|
error,
|
|
9944
9994
|
});
|
|
9945
9995
|
}
|
|
9996
|
+
if (!isValidEmail(options.email)) {
|
|
9997
|
+
const error = new OpenfortError('Invalid email', OpenfortErrorType.VALIDATION_ERROR);
|
|
9998
|
+
setStatus({
|
|
9999
|
+
status: 'error',
|
|
10000
|
+
error,
|
|
10001
|
+
});
|
|
10002
|
+
return onError({
|
|
10003
|
+
hookOptions,
|
|
10004
|
+
options,
|
|
10005
|
+
error,
|
|
10006
|
+
});
|
|
10007
|
+
}
|
|
9946
10008
|
setStatus({
|
|
9947
10009
|
status: 'loading',
|
|
9948
10010
|
});
|
|
@@ -9962,6 +10024,7 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
9962
10024
|
email: options.email,
|
|
9963
10025
|
callbackUrl: (_a = options.emailVerificationRedirectTo) !== null && _a !== void 0 ? _a : hookOptions === null || hookOptions === void 0 ? void 0 : hookOptions.emailVerificationRedirectTo,
|
|
9964
10026
|
provider: 'email',
|
|
10027
|
+
isOpen,
|
|
9965
10028
|
}),
|
|
9966
10029
|
});
|
|
9967
10030
|
setRequiresEmailVerification(true);
|
|
@@ -10000,10 +10063,22 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
10000
10063
|
error: error,
|
|
10001
10064
|
});
|
|
10002
10065
|
}
|
|
10003
|
-
}, [client, setStatus, updateUser, hookOptions]);
|
|
10066
|
+
}, [client, setStatus, updateUser, hookOptions, isOpen]);
|
|
10004
10067
|
const linkEmail = useCallback(async (options) => {
|
|
10005
10068
|
var _a;
|
|
10006
10069
|
try {
|
|
10070
|
+
if (!isValidEmail(options.email)) {
|
|
10071
|
+
const error = new OpenfortError('Invalid email', OpenfortErrorType.VALIDATION_ERROR);
|
|
10072
|
+
setStatus({
|
|
10073
|
+
status: 'error',
|
|
10074
|
+
error,
|
|
10075
|
+
});
|
|
10076
|
+
return onError({
|
|
10077
|
+
hookOptions,
|
|
10078
|
+
options,
|
|
10079
|
+
error,
|
|
10080
|
+
});
|
|
10081
|
+
}
|
|
10007
10082
|
await client.validateAndRefreshToken();
|
|
10008
10083
|
const authToken = await client.getAccessToken();
|
|
10009
10084
|
if (!authToken) {
|
|
@@ -10035,6 +10110,7 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
10035
10110
|
email: options.email,
|
|
10036
10111
|
callbackUrl: (_a = options.emailVerificationRedirectTo) !== null && _a !== void 0 ? _a : hookOptions === null || hookOptions === void 0 ? void 0 : hookOptions.emailVerificationRedirectTo,
|
|
10037
10112
|
provider: 'email',
|
|
10113
|
+
isOpen,
|
|
10038
10114
|
}),
|
|
10039
10115
|
});
|
|
10040
10116
|
updateUser();
|
|
@@ -10065,12 +10141,24 @@ const useEmailAuth = (hookOptions = {}) => {
|
|
|
10065
10141
|
error: error,
|
|
10066
10142
|
});
|
|
10067
10143
|
}
|
|
10068
|
-
}, [client, setStatus, updateUser, log, hookOptions]);
|
|
10144
|
+
}, [client, setStatus, updateUser, log, hookOptions, isOpen]);
|
|
10069
10145
|
const verifyEmail = useCallback(async (options) => {
|
|
10070
10146
|
setStatus({
|
|
10071
10147
|
status: 'loading',
|
|
10072
10148
|
});
|
|
10073
10149
|
try {
|
|
10150
|
+
if (!isValidEmail(options.email)) {
|
|
10151
|
+
const error = new OpenfortError('Invalid email', OpenfortErrorType.VALIDATION_ERROR);
|
|
10152
|
+
setStatus({
|
|
10153
|
+
status: 'error',
|
|
10154
|
+
error,
|
|
10155
|
+
});
|
|
10156
|
+
return onError({
|
|
10157
|
+
hookOptions,
|
|
10158
|
+
options,
|
|
10159
|
+
error,
|
|
10160
|
+
});
|
|
10161
|
+
}
|
|
10074
10162
|
await client.auth.verifyEmail({
|
|
10075
10163
|
email: options.email,
|
|
10076
10164
|
state: options.state,
|
|
@@ -10274,11 +10362,15 @@ const EmailLogin = () => {
|
|
|
10274
10362
|
const handleToggle = () => {
|
|
10275
10363
|
setIsRegister((prev) => !prev);
|
|
10276
10364
|
};
|
|
10277
|
-
const errorMessage = loginError
|
|
10365
|
+
const errorMessage = loginError
|
|
10366
|
+
? loginError.message === 'Unauthorized'
|
|
10367
|
+
? 'Invalid email or password'
|
|
10368
|
+
: loginError.message
|
|
10369
|
+
: null;
|
|
10278
10370
|
return (jsxs(PageContent, { children: [jsxs("form", { onSubmit: (e) => {
|
|
10279
10371
|
e.preventDefault();
|
|
10280
10372
|
handleSubmit();
|
|
10281
|
-
}, children: [jsx(Input, { style: { marginTop: 0 }, value: email, onChange: (e) => setEmail(e.target.value), type: "email", placeholder: "Enter your email", disabled: loginLoading }), jsx(Input, { value: password, onChange: (e) => setPassword(e.target.value), type: "password", placeholder: "Enter your password", disabled: loginLoading, autoFocus: true }), jsx(ModalBody, { style: { marginTop: 12 }, "$error": !!loginError, children: jsx(AnimatePresence, { initial: false, children: jsxs(motion.div, { initial: 'initial', animate: 'animate', exit: 'exit', variants: textVariants$1, children: [jsx(FitText, { maxFontSize: 80, children: jsx("span", { style: { textAlign: 'center', color: 'var(--color-error)', marginRight: '4px' }, children: errorMessage }) }, loginError ? 'text-error' : 'text-no-error'), jsx(FitText, { maxFontSize: 80, children: jsx(TextLinkButton, { type: "button", onClick: () => {
|
|
10373
|
+
}, noValidate: true, children: [jsx(Input, { style: { marginTop: 0 }, value: email, onChange: (e) => setEmail(e.target.value), type: "email", placeholder: "Enter your email", disabled: loginLoading }), jsx(Input, { value: password, onChange: (e) => setPassword(e.target.value), type: "password", placeholder: "Enter your password", disabled: loginLoading, autoFocus: true }), jsx(ModalBody, { style: { marginTop: 12 }, "$error": !!loginError, children: jsx(AnimatePresence, { initial: false, children: jsxs(motion.div, { initial: 'initial', animate: 'animate', exit: 'exit', variants: textVariants$1, children: [jsx(FitText, { maxFontSize: 80, children: jsx("span", { style: { textAlign: 'center', color: 'var(--color-error)', marginRight: '4px' }, children: errorMessage }) }, loginError ? 'text-error' : 'text-no-error'), jsx(FitText, { maxFontSize: 80, children: jsx(TextLinkButton, { type: "button", onClick: () => {
|
|
10282
10374
|
setRoute(routes.FORGOT_PASSWORD);
|
|
10283
10375
|
}, children: "Forgot password?" }) })] }, loginError ? 'error' : 'no-error') }) }), jsx(Button, { onClick: handleSubmit, disabled: loginLoading, waiting: loginLoading, children: jsx(AnimatePresence, { initial: false, children: loginLoading ? (jsx(TextContainer, { initial: 'initial', animate: 'animate', exit: 'exit', variants: textVariants$1, children: isRegister ? 'Signing up...' : 'Logging in...' }, "connectedText")) : isRegister ? (jsx(TextContainer, { initial: 'initial', animate: 'animate', exit: 'exit', variants: textVariants$1, children: "Sign up" }, "connectedText")) : (jsx(TextContainer, { initial: 'initial', animate: 'animate', exit: 'exit', variants: textVariants$1, children: "Sign in" }, "connectedText")) }) })] }), jsxs(FooterContainer, { children: ["or", jsx("button", { type: "button", onClick: handleToggle, disabled: loginLoading, children: isRegister ? 'Sign in' : 'Sign up' })] })] }));
|
|
10284
10376
|
};
|
|
@@ -10461,30 +10553,7 @@ const EmailVerification = () => {
|
|
|
10461
10553
|
const { client } = useOpenfortCore();
|
|
10462
10554
|
const { setRoute, log, emailInput: emailInStorage } = useOpenfort();
|
|
10463
10555
|
const [loading, setLoading] = useState(true);
|
|
10464
|
-
const [shouldSendEmailVerification, setShouldSendEmailVerification] = useState(false);
|
|
10465
10556
|
const [verificationResponse, setVerificationResponse] = useState(null);
|
|
10466
|
-
const sendEmailVerification = async (email) => {
|
|
10467
|
-
if (!email) {
|
|
10468
|
-
log('No linked account found');
|
|
10469
|
-
return;
|
|
10470
|
-
}
|
|
10471
|
-
const redirectUrl = new URL(window.location.origin + window.location.pathname);
|
|
10472
|
-
redirectUrl.searchParams.append('openfortEmailVerificationUI', 'true');
|
|
10473
|
-
redirectUrl.searchParams.append('email', email);
|
|
10474
|
-
client.auth
|
|
10475
|
-
.requestEmailVerification({
|
|
10476
|
-
email,
|
|
10477
|
-
redirectUrl: redirectUrl.toString(),
|
|
10478
|
-
})
|
|
10479
|
-
.catch((e) => {
|
|
10480
|
-
log('Error requesting email verification', e);
|
|
10481
|
-
});
|
|
10482
|
-
};
|
|
10483
|
-
useEffect(() => {
|
|
10484
|
-
if (shouldSendEmailVerification) {
|
|
10485
|
-
sendEmailVerification(shouldSendEmailVerification);
|
|
10486
|
-
}
|
|
10487
|
-
}, [shouldSendEmailVerification]);
|
|
10488
10557
|
useEffect(() => {
|
|
10489
10558
|
const fixedUrl = window.location.href.replace('?state=', '&state='); // redirectUrl is not working with query params
|
|
10490
10559
|
const url = new URL(fixedUrl);
|
|
@@ -10495,7 +10564,6 @@ const EmailVerification = () => {
|
|
|
10495
10564
|
setRoute(routes.EMAIL_LOGIN);
|
|
10496
10565
|
return;
|
|
10497
10566
|
}
|
|
10498
|
-
setShouldSendEmailVerification(emailInStorage);
|
|
10499
10567
|
setLoading(false);
|
|
10500
10568
|
return;
|
|
10501
10569
|
}
|
|
@@ -10557,7 +10625,7 @@ const EmailVerification = () => {
|
|
|
10557
10625
|
setRoute(routes.EMAIL_LOGIN);
|
|
10558
10626
|
}, style: { marginTop: 12 }, children: "Continue" })] })] })) : (jsxs(Fragment, { children: [jsx(ModalH1, { "$small": true, children: "Email sent" }), jsxs(ModalBody, { style: { height: 40 }, children: ["Please check your email.", jsx("br", {}), emailInStorage] }), jsx(TextLinkButton, { style: { textDecoration: 'underline' }, onClick: () => {
|
|
10559
10627
|
setRoute(routes.EMAIL_LOGIN);
|
|
10560
|
-
}, children: "
|
|
10628
|
+
}, children: "Go back to login" })] })) })] }));
|
|
10561
10629
|
};
|
|
10562
10630
|
|
|
10563
10631
|
// TODO: Localize
|
|
@@ -13801,6 +13869,9 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
|
|
|
13801
13869
|
if (React.useContext(Openfortcontext)) {
|
|
13802
13870
|
throw new Error('Multiple, nested usages of OpenfortProvider detected. Please use only one.');
|
|
13803
13871
|
}
|
|
13872
|
+
useMemo(() => {
|
|
13873
|
+
logger.enabled = !!debugMode;
|
|
13874
|
+
}, []);
|
|
13804
13875
|
const chains = useChains();
|
|
13805
13876
|
const injectedConnector = useConnector('injected');
|
|
13806
13877
|
const allowAutomaticRecovery = !!((walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.createEncryptedSessionEndpoint) || (walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.getEncryptionSession));
|
|
@@ -13936,7 +14007,7 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
|
|
|
13936
14007
|
shieldPublishableKey: walletConfig.shieldPublishableKey,
|
|
13937
14008
|
debug: debugMode,
|
|
13938
14009
|
}
|
|
13939
|
-
: undefined, overrides: overrides, thirdPartyAuth: thirdPartyAuth,
|
|
14010
|
+
: undefined, overrides: overrides, thirdPartyAuth: thirdPartyAuth, onConnect: onConnect, onDisconnect: onDisconnect, children: [children, jsx(ConnectModal, { lang: ckLang, theme: ckTheme, mode: (_h = uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.mode) !== null && _h !== void 0 ? _h : ckMode, customTheme: ckCustomTheme })] }) }));
|
|
13940
14011
|
};
|
|
13941
14012
|
|
|
13942
14013
|
/**
|
|
@@ -14018,6 +14089,7 @@ const useOAuth = (hookOptions = {}) => {
|
|
|
14018
14089
|
const [status, setStatus] = useState({
|
|
14019
14090
|
status: 'idle',
|
|
14020
14091
|
});
|
|
14092
|
+
const { isOpen } = useUI();
|
|
14021
14093
|
const { tryUseWallet } = useConnectToWalletPostAuth();
|
|
14022
14094
|
const storeCredentials = useCallback(async ({ player, accessToken, refreshToken, ...options }) => {
|
|
14023
14095
|
var _a, _b;
|
|
@@ -14072,6 +14144,7 @@ const useOAuth = (hookOptions = {}) => {
|
|
|
14072
14144
|
redirectTo: buildCallbackUrl({
|
|
14073
14145
|
provider: authProvider,
|
|
14074
14146
|
callbackUrl: (_a = hookOptions === null || hookOptions === void 0 ? void 0 : hookOptions.redirectTo) !== null && _a !== void 0 ? _a : options === null || options === void 0 ? void 0 : options.redirectTo,
|
|
14147
|
+
isOpen,
|
|
14075
14148
|
}),
|
|
14076
14149
|
},
|
|
14077
14150
|
});
|
|
@@ -14095,7 +14168,7 @@ const useOAuth = (hookOptions = {}) => {
|
|
|
14095
14168
|
error,
|
|
14096
14169
|
});
|
|
14097
14170
|
}
|
|
14098
|
-
}, [client, setStatus, updateUser, hookOptions]);
|
|
14171
|
+
}, [client, setStatus, updateUser, hookOptions, isOpen]);
|
|
14099
14172
|
const linkOauth = useCallback(async (options) => {
|
|
14100
14173
|
var _a;
|
|
14101
14174
|
const authProvider = options.provider;
|
|
@@ -14114,6 +14187,7 @@ const useOAuth = (hookOptions = {}) => {
|
|
|
14114
14187
|
redirectTo: buildCallbackUrl({
|
|
14115
14188
|
provider: authProvider,
|
|
14116
14189
|
callbackUrl: (_a = options === null || options === void 0 ? void 0 : options.redirectTo) !== null && _a !== void 0 ? _a : hookOptions === null || hookOptions === void 0 ? void 0 : hookOptions.redirectTo,
|
|
14190
|
+
isOpen,
|
|
14117
14191
|
}),
|
|
14118
14192
|
},
|
|
14119
14193
|
});
|
|
@@ -14135,7 +14209,7 @@ const useOAuth = (hookOptions = {}) => {
|
|
|
14135
14209
|
error,
|
|
14136
14210
|
});
|
|
14137
14211
|
}
|
|
14138
|
-
}, [client, setStatus, updateUser, hookOptions]);
|
|
14212
|
+
}, [client, setStatus, updateUser, hookOptions, isOpen]);
|
|
14139
14213
|
return {
|
|
14140
14214
|
initOAuth,
|
|
14141
14215
|
linkOauth,
|
|
@@ -14219,9 +14293,10 @@ const useAuthCallback = ({ enabled = true, // Automatically handle OAuth and ema
|
|
|
14219
14293
|
return;
|
|
14220
14294
|
(async () => {
|
|
14221
14295
|
// redirectUrl is not working with query params OF-1013
|
|
14222
|
-
const fixedUrl = window.location.href.
|
|
14296
|
+
const fixedUrl = window.location.href.replace('?state=', '&state='); // redirectUrl is not working with query params
|
|
14223
14297
|
const url = new URL(fixedUrl);
|
|
14224
14298
|
const openfortAuthProvider = url.searchParams.get('openfortAuthProvider');
|
|
14299
|
+
await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
14225
14300
|
if (!openfortAuthProvider) {
|
|
14226
14301
|
return;
|
|
14227
14302
|
}
|
package/build/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -17,8 +17,6 @@ export type ContextValue = {
|
|
|
17
17
|
setWalletStatus: (status: WalletFlowStatus) => void;
|
|
18
18
|
client: Openfort;
|
|
19
19
|
};
|
|
20
|
-
type CoreOpenfortProviderProps =
|
|
21
|
-
debugMode?: boolean;
|
|
22
|
-
} & ConstructorParameters<typeof Openfort>[0] & useConnectCallbackProps;
|
|
20
|
+
type CoreOpenfortProviderProps = ConstructorParameters<typeof Openfort>[0] & useConnectCallbackProps;
|
|
23
21
|
export declare const CoreOpenfortProvider: React.FC<PropsWithChildren<CoreOpenfortProviderProps>>;
|
|
24
22
|
export {};
|
package/build/utils/logger.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const logger: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
debug: (..._args: any[]) => void;
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
log: (...args: any[]) => void | null;
|
|
4
|
+
error: (...args: any[]) => void | null;
|
|
5
|
+
warn: (...args: any[]) => void | null;
|
|
7
6
|
};
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OPENFORT_VERSION = "0.0.
|
|
1
|
+
export declare const OPENFORT_VERSION = "0.0.31";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfort/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"author": "Openfort (https://www.openfort.io)",
|
|
5
5
|
"license": "BSD-2-Clause license",
|
|
6
6
|
"description": "The easiest way to integrate Openfort to your project.",
|
|
@@ -47,8 +47,6 @@
|
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@tanstack/react-query": ">=5.0.0",
|
|
50
|
-
"@wagmi/connectors": "6.x",
|
|
51
|
-
"@wagmi/core": "2.x",
|
|
52
50
|
"react": "17.x || 18.x || 19.x",
|
|
53
51
|
"react-dom": "17.x || 18.x || 19.x",
|
|
54
52
|
"viem": "2.x",
|