authhero 9.42.0 → 9.43.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/authhero.cjs +3 -3
- package/dist/authhero.mjs +22 -12
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/authhero.mjs
CHANGED
|
@@ -10300,7 +10300,7 @@ function sb(e, t, n) {
|
|
|
10300
10300
|
}
|
|
10301
10301
|
//#endregion
|
|
10302
10302
|
//#region src/build-hash.ts
|
|
10303
|
-
var cb = "
|
|
10303
|
+
var cb = "mx2cj2oq", lb = /* @__PURE__ */ ca({
|
|
10304
10304
|
common: () => ub,
|
|
10305
10305
|
consent: () => db,
|
|
10306
10306
|
default: () => yb,
|
|
@@ -17790,7 +17790,7 @@ function OS({ widgetHtml: e, screenId: t, branding: n, theme: r, themePageBackgr
|
|
|
17790
17790
|
children: [/* @__PURE__ */ V("strong", { children: le.privateBrowsingTitle() }), /* @__PURE__ */ V("p", { children: le.privateBrowsingText() })]
|
|
17791
17791
|
}), /* @__PURE__ */ V("script", {
|
|
17792
17792
|
type: "module",
|
|
17793
|
-
src: "/widget/client.js?v=
|
|
17793
|
+
src: "/widget/client.js?v=mx2cj2oq"
|
|
17794
17794
|
})] }),
|
|
17795
17795
|
m ? /* @__PURE__ */ V("div", {
|
|
17796
17796
|
style: { display: "contents" },
|
|
@@ -58213,19 +58213,29 @@ async function uZ(e, t, n) {
|
|
|
58213
58213
|
userId: s.user_id,
|
|
58214
58214
|
organizationId: t.organization,
|
|
58215
58215
|
failLog: i
|
|
58216
|
-
}) : void 0
|
|
58217
|
-
|
|
58216
|
+
}) : void 0, l = {
|
|
58217
|
+
client_id: n.client_id,
|
|
58218
|
+
audience: t.audience,
|
|
58219
|
+
scope: t.scope,
|
|
58220
|
+
organization: c?.id
|
|
58221
|
+
}, u = o.connection ?? o.user.connection, d = dZ(o.strategy ?? o.user.provider), f;
|
|
58222
|
+
return t.scope?.split(" ").includes("offline_access") && (f = (await Yo(e, {
|
|
58218
58223
|
user: s,
|
|
58219
58224
|
client: n,
|
|
58220
|
-
|
|
58221
|
-
|
|
58222
|
-
|
|
58223
|
-
|
|
58224
|
-
|
|
58225
|
-
|
|
58225
|
+
login_id: "",
|
|
58226
|
+
organization: c?.id,
|
|
58227
|
+
auth_connection: u,
|
|
58228
|
+
auth_strategy: d,
|
|
58229
|
+
scope: t.scope,
|
|
58230
|
+
audience: t.audience
|
|
58231
|
+
})).wireToken), {
|
|
58232
|
+
user: s,
|
|
58233
|
+
client: n,
|
|
58234
|
+
authParams: l,
|
|
58226
58235
|
organization: c,
|
|
58227
|
-
|
|
58228
|
-
|
|
58236
|
+
refresh_token: f,
|
|
58237
|
+
authConnection: u,
|
|
58238
|
+
authStrategy: d
|
|
58229
58239
|
};
|
|
58230
58240
|
}
|
|
58231
58241
|
function dZ(e) {
|