@passflow/react 0.21.0 → 0.23.0
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/CHANGELOG.md +30 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +102 -104
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/flow/consent/index.d.cts +1 -1
- package/dist/src/components/flow/consent/index.d.ts +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-approval.d.cts +2 -2
- package/dist/src/components/form/verify-challenge/verify-challenge-approval.d.ts +2 -2
- package/dist/src/components/form/verify-challenge/verify-challenge-approval.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-magic-link.d.ts.map +1 -1
- package/dist/src/components/provider/passflow-provider.d.cts +22 -1
- package/dist/src/components/provider/passflow-provider.d.ts +22 -1
- package/dist/src/components/provider/passflow-provider.d.ts.map +1 -1
- package/dist/src/components/ui/login-screen/passwordless-approval.d.ts.map +1 -1
- package/dist/src/components/ui/login-screen/passwordless-waiting.d.ts.map +1 -1
- package/dist/src/components/ui/login-screen/types.d.cts +3 -6
- package/dist/src/components/ui/login-screen/types.d.ts +3 -6
- package/dist/src/components/ui/login-screen/types.d.ts.map +1 -1
- package/dist/src/context/passflow-context.d.cts +19 -2
- package/dist/src/context/passflow-context.d.ts +19 -2
- package/dist/src/context/passflow-context.d.ts.map +1 -1
- package/dist/src/hooks/use-app-settings.d.ts.map +1 -1
- package/dist/src/hooks/use-auth-cloud-redirect.d.ts.map +1 -1
- package/dist/src/hooks/use-consent.d.cts +9 -8
- package/dist/src/hooks/use-consent.d.ts +9 -8
- package/dist/src/hooks/use-consent.d.ts.map +1 -1
- package/dist/src/hooks/use-provider.d.ts.map +1 -1
- package/dist/src/hooks/use-sign-in-ending.d.cts +4 -1
- package/dist/src/hooks/use-sign-in-ending.d.ts +4 -1
- package/dist/src/hooks/use-sign-in-ending.d.ts.map +1 -1
- package/dist/src/index.d.cts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/utils/get-url-with-tokens.d.cts +6 -1
- package/dist/src/utils/get-url-with-tokens.d.ts +6 -1
- package/dist/src/utils/get-url-with-tokens.d.ts.map +1 -1
- package/dist/src/utils/hand-off.d.cts +15 -0
- package/dist/src/utils/hand-off.d.ts +15 -0
- package/dist/src/utils/hand-off.d.ts.map +1 -0
- package/dist/src/utils/second-factor.d.cts +2 -2
- package/dist/src/utils/second-factor.d.ts +2 -2
- package/dist/src/utils/second-factor.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -25,8 +25,8 @@ export declare const routeToSecondFactor: (passflow: Pick<Passflow, 'isTwoFactor
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const urlCarriesTwoFactorToken: () => boolean;
|
|
27
27
|
/**
|
|
28
|
-
* Whether the current URL is a
|
|
29
|
-
* constructed, because core adopts them and strips
|
|
28
|
+
* Whether the current URL is a return with tokens in the query or the fragment. Read it before `@passflow/core` is
|
|
29
|
+
* constructed, because core adopts them and strips them as it starts.
|
|
30
30
|
*/
|
|
31
31
|
export declare const urlCarriesAccessToken: () => boolean;
|
|
32
32
|
/**
|
|
@@ -25,8 +25,8 @@ export declare const routeToSecondFactor: (passflow: Pick<Passflow, 'isTwoFactor
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const urlCarriesTwoFactorToken: () => boolean;
|
|
27
27
|
/**
|
|
28
|
-
* Whether the current URL is a
|
|
29
|
-
* constructed, because core adopts them and strips
|
|
28
|
+
* Whether the current URL is a return with tokens in the query or the fragment. Read it before `@passflow/core` is
|
|
29
|
+
* constructed, because core adopts them and strips them as it starts.
|
|
30
30
|
*/
|
|
31
31
|
export declare const urlCarriesAccessToken: () => boolean;
|
|
32
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"second-factor.d.ts","sourceRoot":"","sources":["../../../src/utils/second-factor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,QAAQ,EAAc,MAAM,gBAAgB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAGlD;;;GAGG;AACH,eAAO,MAAM,YAAY,WAAY,MAAM,KAAG,MAI7C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,aACpB,IAAI,CAAC,QAAQ,EAAE,iCAAiC,CAAC,YACjD,gBAAgB,uBACL,MAAM,sBAE1B,OAIF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,QAAO,OAG3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,
|
|
1
|
+
{"version":3,"file":"second-factor.d.ts","sourceRoot":"","sources":["../../../src/utils/second-factor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,QAAQ,EAAc,MAAM,gBAAgB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAGlD;;;GAGG;AACH,eAAO,MAAM,YAAY,WAAY,MAAM,KAAG,MAI7C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,aACpB,IAAI,CAAC,QAAQ,EAAE,iCAAiC,CAAC,YACjD,gBAAgB,uBACL,MAAM,sBAE1B,OAIF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,QAAO,OAG3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,OAGsC,CAAC;AAEhF;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,WAAY,MAAM,GAAG,SAAS,KAAG,MAAM,GAAG,SASzE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passflow/react",
|
|
3
3
|
"description": "Passflow React UI Kit",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.23.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@passflow/core": "^0.
|
|
53
|
+
"@passflow/core": "^0.29.0",
|
|
54
54
|
"@radix-ui/react-dialog": "^1.3.1",
|
|
55
55
|
"@radix-ui/react-popover": "^1.3.1",
|
|
56
56
|
"@simplewebauthn/browser": "^14.0.0",
|