@passflow/core 0.15.0 → 0.17.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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -18
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/upgrade/facade.d.ts +6 -1
- package/dist/lib/upgrade/facade.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import B from "axios";
|
|
2
2
|
import { v4 as mt } from "uuid";
|
|
3
3
|
import { startAuthentication as vt, startRegistration as yt } from "@simplewebauthn/browser";
|
|
4
|
-
const kt = "0.
|
|
4
|
+
const kt = "0.17.0", wt = {
|
|
5
5
|
version: kt
|
|
6
6
|
}, N = "X-Passflow-Clientid", U = "Authorization", St = "X-Passflow-DeviceId", bt = "X-Passflow-DeviceType", Tt = wt.version, Ks = ["id", "offline", "openid"], _t = ["id", "offline", "tenant", "email", "oidc", "openid", "access:tenant:all"], De = "https://auth.passflow.cloud", js = "default", Et = 500, It = 600, At = 100, Ct = 6e4, xe = 30, Rt = 3, Ft = 30, Mt = 200, Pt = (r) => {
|
|
7
7
|
const e = [];
|
|
@@ -4563,7 +4563,7 @@ const Ze = "https://passflow-relative.invalid", Xr = () => {
|
|
|
4563
4563
|
throw a.error;
|
|
4564
4564
|
return a.value;
|
|
4565
4565
|
}, Is = (r, e, t) => {
|
|
4566
|
-
const s = r.request, i =
|
|
4566
|
+
const s = r.request, i = typeof s == "function" ? (a) => s.call(r, a) : () => Promise.reject(new Error("Passflow: this client exposes no request() to replay through.")), n = r.interceptors.response.use(void 0, pt(e, i));
|
|
4567
4567
|
let o = !1;
|
|
4568
4568
|
return () => {
|
|
4569
4569
|
o || (o = !0, r.interceptors.response.eject(n));
|
|
@@ -6922,16 +6922,10 @@ export {
|
|
|
6922
6922
|
cr as UserAPI,
|
|
6923
6923
|
Dr as UserService,
|
|
6924
6924
|
xt as WebAdapter,
|
|
6925
|
-
Is as attachUpgradeAuth,
|
|
6926
|
-
G as barOf,
|
|
6927
6925
|
Ee as classifyUpgradeError,
|
|
6928
|
-
ds as coreOutcomeToError,
|
|
6929
|
-
Rs as createUpgradeClient,
|
|
6930
|
-
Ls as createUpgradeFacade,
|
|
6931
6926
|
$r as factorRegistry,
|
|
6932
6927
|
ri as fetchRegistryState,
|
|
6933
6928
|
Gs as getOSFromDeviceType,
|
|
6934
|
-
it as handleChallenge,
|
|
6935
6929
|
wr as invalidatesSessionOnCommit,
|
|
6936
6930
|
zs as isRecoverableCommitFailure,
|
|
6937
6931
|
pr as isRetryableUpgradeKind,
|
|
@@ -6948,29 +6942,19 @@ export {
|
|
|
6948
6942
|
re as isValidJWTFormat,
|
|
6949
6943
|
ie as isValidPhoneNumber,
|
|
6950
6944
|
_r as isValidUsername,
|
|
6951
|
-
zr as mergeChallenges,
|
|
6952
|
-
Lt as parseAcrToken,
|
|
6953
6945
|
Kt as parseChallengeBody,
|
|
6954
6946
|
Bt as parseChallengeHeader,
|
|
6955
|
-
Ve as parseMaxAge,
|
|
6956
6947
|
T as parseToken,
|
|
6957
6948
|
Gt as parseUpgradeChallenge,
|
|
6958
6949
|
Lr as passkeyFactor,
|
|
6959
6950
|
M as pathWithParams,
|
|
6960
|
-
ws as planReplay,
|
|
6961
|
-
Q as readAcrValues,
|
|
6962
|
-
ve as readUpgradeChallenge,
|
|
6963
6951
|
Or as recoveryCodesFactor,
|
|
6964
6952
|
xs as registerFetchMiddleware,
|
|
6965
6953
|
$t as requiredAcrLevel,
|
|
6966
6954
|
Ye as resolveUpgradeDomain,
|
|
6967
6955
|
Tr as sanitizeErrorMessage,
|
|
6968
6956
|
Br as selectFactors,
|
|
6969
|
-
us as settleAxiosOutcome,
|
|
6970
|
-
ls as settleFetchOutcome,
|
|
6971
|
-
oe as tagUpgradeOutcome,
|
|
6972
6957
|
xr as totpFactor,
|
|
6973
|
-
he as upgradeFetch,
|
|
6974
6958
|
z as webAdapter
|
|
6975
6959
|
};
|
|
6976
6960
|
//# sourceMappingURL=index.mjs.map
|