cauthy-auth 0.4.0 → 0.5.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/cli.js +6 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +30 -2
- package/dist/theme.d.ts +30 -2
- package/dist/theme.js +12 -2
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +12 -2
- package/dist/theme.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -267,7 +267,12 @@ function toWire(theme) {
|
|
|
267
267
|
buttonRadius: "button_radius",
|
|
268
268
|
fontFamily: "font_family",
|
|
269
269
|
logoUrl: "logo_url",
|
|
270
|
-
fonts: "fonts"
|
|
270
|
+
fonts: "fonts",
|
|
271
|
+
layout: "layout",
|
|
272
|
+
panelColors: "panel_colors",
|
|
273
|
+
panelText: "panel_text",
|
|
274
|
+
panelIconUrl: "panel_icon_url",
|
|
275
|
+
texts: "texts"
|
|
271
276
|
};
|
|
272
277
|
const wire = {};
|
|
273
278
|
for (const [k, v] of Object.entries(theme)) {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { C as Cauthy, a as CauthyEvent, b as CauthyWebhookError, R as Resolved, V as VerifyWebhookOptions, c as createCauthy, v as verifyWebhook } from './cauthy-Dg-DNIo9.mjs';
|
|
2
2
|
export { C as CauthyApiError, a as CauthyConfigError, b as CauthyOptions, c as CauthySystem, J as JsonValue, N as NewMember, O as Organization, d as OrganizationMember, P as PublicSession, S as Session, e as SessionOrganization, f as SessionStatus, g as SessionUser, h as SystemKey, i as SystemOptions, j as createSystem } from './system-CdvktS7x.mjs';
|
|
3
|
-
export { CauthyTheme, ImportedTheme, PushThemeOptions, StackmythThemeOptions, ThemeFont, pushTheme, themeFromStackmyth } from './theme.mjs';
|
|
3
|
+
export { CauthyTheme, ImportedTheme, PushThemeOptions, StackmythThemeOptions, ThemeFont, ThemeTexts, pushTheme, themeFromStackmyth } from './theme.mjs';
|
|
4
4
|
export { P as Permitted, a as PolicyPermission, b as PolicyRole, c as PushPolicyOptions, d as can, p as pushPolicy } from './permissions-B-a3eN0h.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { C as Cauthy, a as CauthyEvent, b as CauthyWebhookError, R as Resolved, V as VerifyWebhookOptions, c as createCauthy, v as verifyWebhook } from './cauthy--iqtLWNa.js';
|
|
2
2
|
export { C as CauthyApiError, a as CauthyConfigError, b as CauthyOptions, c as CauthySystem, J as JsonValue, N as NewMember, O as Organization, d as OrganizationMember, P as PublicSession, S as Session, e as SessionOrganization, f as SessionStatus, g as SessionUser, h as SystemKey, i as SystemOptions, j as createSystem } from './system-CL3Q30FT.js';
|
|
3
|
-
export { CauthyTheme, ImportedTheme, PushThemeOptions, StackmythThemeOptions, ThemeFont, pushTheme, themeFromStackmyth } from './theme.js';
|
|
3
|
+
export { CauthyTheme, ImportedTheme, PushThemeOptions, StackmythThemeOptions, ThemeFont, ThemeTexts, pushTheme, themeFromStackmyth } from './theme.js';
|
|
4
4
|
export { P as Permitted, a as PolicyPermission, b as PolicyRole, c as PushPolicyOptions, d as can, p as pushPolicy } from './permissions-B-a3eN0h.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -288,7 +288,12 @@ function toWire(theme) {
|
|
|
288
288
|
buttonRadius: "button_radius",
|
|
289
289
|
fontFamily: "font_family",
|
|
290
290
|
logoUrl: "logo_url",
|
|
291
|
-
fonts: "fonts"
|
|
291
|
+
fonts: "fonts",
|
|
292
|
+
layout: "layout",
|
|
293
|
+
panelColors: "panel_colors",
|
|
294
|
+
panelText: "panel_text",
|
|
295
|
+
panelIconUrl: "panel_icon_url",
|
|
296
|
+
texts: "texts"
|
|
292
297
|
};
|
|
293
298
|
const wire = {};
|
|
294
299
|
for (const [k, v] of Object.entries(theme)) {
|
|
@@ -315,7 +320,12 @@ function fromWire(wire) {
|
|
|
315
320
|
button_radius: "buttonRadius",
|
|
316
321
|
font_family: "fontFamily",
|
|
317
322
|
logo_url: "logoUrl",
|
|
318
|
-
fonts: "fonts"
|
|
323
|
+
fonts: "fonts",
|
|
324
|
+
layout: "layout",
|
|
325
|
+
panel_colors: "panelColors",
|
|
326
|
+
panel_text: "panelText",
|
|
327
|
+
panel_icon_url: "panelIconUrl",
|
|
328
|
+
texts: "texts"
|
|
319
329
|
};
|
|
320
330
|
const theme = {};
|
|
321
331
|
for (const [k, v] of Object.entries(wire ?? {})) if (names[k] && v !== void 0 && v !== null && v !== "") theme[names[k]] = v;
|