zudoku 0.66.1 → 0.66.2
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/vite/config.js +1 -4
- package/dist/vite/config.js.map +1 -1
- package/lib/{ClaudeLogo-B4Xxt-x_.js → ClaudeLogo-CGRfGTk2.js} +2 -2
- package/lib/{ClaudeLogo-B4Xxt-x_.js.map → ClaudeLogo-CGRfGTk2.js.map} +1 -1
- package/lib/Drawer-Ci7XwhqT.js.map +1 -1
- package/lib/{ErrorAlert-DrOR8w3f.js → ErrorAlert-BUlG32M9.js} +2 -2
- package/lib/{ErrorAlert-DrOR8w3f.js.map → ErrorAlert-BUlG32M9.js.map} +1 -1
- package/lib/{MdxPage-BagO2c-n.js → MdxPage-Bjf72BP3.js} +5 -5
- package/lib/{MdxPage-BagO2c-n.js.map → MdxPage-Bjf72BP3.js.map} +1 -1
- package/lib/{OAuthErrorPage-Fq54RLgt.js → OAuthErrorPage-1Ekji0PK.js} +4 -4
- package/lib/{OAuthErrorPage-Fq54RLgt.js.map → OAuthErrorPage-1Ekji0PK.js.map} +1 -1
- package/lib/{OasProvider-DPH8mwDa.js → OasProvider-BZxmTyMM.js} +2 -2
- package/lib/{OasProvider-DPH8mwDa.js.map → OasProvider-BZxmTyMM.js.map} +1 -1
- package/lib/{OperationList-C0jiEaG5.js → OperationList-B7nPIFB8.js} +7 -7
- package/lib/{OperationList-C0jiEaG5.js.map → OperationList-B7nPIFB8.js.map} +1 -1
- package/lib/{RouterError-DSLXagd5.js → RouterError-DfTZblpv.js} +2 -2
- package/lib/{RouterError-DSLXagd5.js.map → RouterError-DfTZblpv.js.map} +1 -1
- package/lib/{SchemaList-BU0zCHn9.js → SchemaList-16_obkku.js} +6 -6
- package/lib/{SchemaList-BU0zCHn9.js.map → SchemaList-16_obkku.js.map} +1 -1
- package/lib/{SchemaView-DVae4RO2.js → SchemaView-eyvR4bRt.js} +3 -3
- package/lib/{SchemaView-DVae4RO2.js.map → SchemaView-eyvR4bRt.js.map} +1 -1
- package/lib/{SignUp-BjS4ozA7.js → SignUp-D54_QWFy.js} +2 -2
- package/lib/{SignUp-BjS4ozA7.js.map → SignUp-D54_QWFy.js.map} +1 -1
- package/lib/{SyntaxHighlight-Kdyskw3C.js → SyntaxHighlight-j_HRSPCU.js} +1508 -1492
- package/lib/SyntaxHighlight-j_HRSPCU.js.map +1 -0
- package/lib/{Toc-DJxFPfcS.js → Toc-z05x698-.js} +2 -2
- package/lib/{Toc-DJxFPfcS.js.map → Toc-z05x698-.js.map} +1 -1
- package/lib/ZudokuContext-BXldanA8.js.map +1 -1
- package/lib/chunk-PVWAREVJ-dLIqswPy.js.map +1 -1
- package/lib/{circular-CzWF1hj5.js → circular-D5sYCIWL.js} +2 -2
- package/lib/{circular-CzWF1hj5.js.map → circular-D5sYCIWL.js.map} +1 -1
- package/lib/{createServer-BIr2_tGn.js → createServer-BlwU7lIr.js} +4 -4
- package/lib/{createServer-BIr2_tGn.js.map → createServer-BlwU7lIr.js.map} +1 -1
- package/lib/{errors-Bs4duWDy.js → errors-BtC4Kn2j.js} +2 -2
- package/lib/{errors-Bs4duWDy.js.map → errors-BtC4Kn2j.js.map} +1 -1
- package/lib/{firebase-qUdSEL1p.js → firebase-Ibm_tv3G.js} +10 -10
- package/lib/{firebase-qUdSEL1p.js.map → firebase-Ibm_tv3G.js.map} +1 -1
- package/lib/{index-0oT9beQN.js → index-CeVTNcfF.js} +8 -8
- package/lib/{index-0oT9beQN.js.map → index-CeVTNcfF.js.map} +1 -1
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/index-Css56y3F.js.map +1 -1
- package/lib/{index-CCmMJp02.js → index-DSOi7zVM.js} +2 -2
- package/lib/{index-CCmMJp02.js.map → index-DSOi7zVM.js.map} +1 -1
- package/lib/{index-Bh-MffiL.js → index-eKVhlB94.js} +2 -2
- package/lib/{index-Bh-MffiL.js.map → index-eKVhlB94.js.map} +1 -1
- package/lib/index.esm-BYObtETB.js.map +1 -1
- package/lib/{index.esm-kW-Utcsi.js → index.esm-BoKBnRoT.js} +2 -2
- package/lib/index.esm-BoKBnRoT.js.map +1 -0
- package/lib/index.esm-DtzT_KoE.js.map +1 -1
- package/lib/jsx-runtime-BzflLqGi.js.map +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +1 -1
- package/lib/useMutation-C6RqWmTS.js.map +1 -1
- package/lib/zudoku.__internal.js +3 -3
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +3 -3
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-firebase.js +3 -3
- package/lib/zudoku.auth-openid.js +3 -3
- package/lib/zudoku.auth-supabase.js +3 -3
- package/lib/zudoku.components.js +2 -2
- package/lib/zudoku.plugin-api-catalog.js +3 -3
- package/lib/zudoku.plugin-api-keys.js +2 -2
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +15 -15
- package/lib/SyntaxHighlight-Kdyskw3C.js.map +0 -1
- package/lib/index.esm-kW-Utcsi.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { LogOutIcon as n } from "lucide-react";
|
|
3
|
-
import { S as i, a, b as u } from "./SignUp-
|
|
3
|
+
import { S as i, a, b as u } from "./SignUp-D54_QWFy.js";
|
|
4
4
|
import { Z as m } from "./invariant-CGOLuIIz.js";
|
|
5
5
|
class h {
|
|
6
6
|
getRoutes() {
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
h as C,
|
|
43
43
|
f as O
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=errors-
|
|
45
|
+
//# sourceMappingURL=errors-BtC4Kn2j.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-BtC4Kn2j.js","sources":["../src/lib/authentication/AuthenticationPlugin.tsx","../src/lib/authentication/errors.ts"],"sourcesContent":["import { LogOutIcon } from \"lucide-react\";\nimport type {\n CommonPlugin,\n NavigationPlugin,\n ProfileMenuPlugin,\n} from \"../core/plugins.js\";\nimport { SignIn } from \"./components/SignIn.js\";\nimport { SignOut } from \"./components/SignOut.js\";\nimport { SignUp } from \"./components/SignUp.js\";\n\ntype PluginInterface = NavigationPlugin & CommonPlugin & ProfileMenuPlugin;\n\nexport class CoreAuthenticationPlugin implements PluginInterface {\n getRoutes() {\n return [\n {\n path: \"/signout\",\n element: <SignOut />,\n },\n {\n path: \"/signin\",\n element: <SignIn />,\n },\n {\n path: \"/signup\",\n element: <SignUp />,\n },\n ];\n }\n\n getProfileMenuItems() {\n return [\n {\n label: \"Logout\",\n path: \"/signout\",\n category: \"bottom\",\n icon: LogOutIcon,\n } as const,\n ];\n }\n}\n","import type { OAuth2Error } from \"oauth4webapi\";\nimport { ZudokuError, type ZudokuErrorOptions } from \"../util/invariant.js\";\n\nexport class AuthorizationError extends Error {}\n\nexport class OAuthAuthorizationError extends ZudokuError {\n constructor(\n message: string,\n public error: OAuth2Error,\n options?: ZudokuErrorOptions,\n ) {\n super(message, options);\n }\n}\n\nexport type OAuthErrorType =\n // Authorization errors\n | \"invalid_request\"\n | \"unauthorized_client\"\n | \"access_denied\"\n | \"unsupported_response_type\"\n | \"invalid_scope\"\n | \"server_error\"\n | \"temporarily_unavailable\"\n // Token errors\n | \"invalid_client\"\n | \"invalid_grant\"\n | \"unsupported_grant_type\"\n // Custom errors\n | \"invalid_state\"\n | \"missing_code_verifier\"\n | \"network_error\"\n | \"token_expired\"\n | \"configuration_error\"\n | \"unknown_error\";\n"],"names":["CoreAuthenticationPlugin","SignOut","SignIn","SignUp","LogOutIcon","AuthorizationError","OAuthAuthorizationError","ZudokuError","message","error","options"],"mappings":";;;;AAYO,MAAMA,EAAoD;AAAA,EAC/D,YAAY;AACV,WAAO;AAAA,MACL;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAQ;AAAA,MAAA;AAAA,MAEpB;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAO;AAAA,MAAA;AAAA,MAEnB;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAO;AAAA,MAAA;AAAA,IACnB;AAAA,EAEJ;AAAA,EAEA,sBAAsB;AACpB,WAAO;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,MAAMC;AAAA,MAAA;AAAA,IACR;AAAA,EAEJ;AACF;ACrCO,MAAMC,UAA2B,MAAM;AAAC;AAExC,MAAMC,UAAgCC,EAAY;AAAA,EACvD,YACEC,GACOC,GACPC,GACA;AACA,UAAMF,GAASE,CAAO,GAHf,KAAA,QAAAD;AAAA,EAIT;AACF;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as d } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { C as ir, A as we } from "./errors-
|
|
3
|
-
import { S as or } from "./SignUp-
|
|
2
|
+
import { C as ir, A as we } from "./errors-BtC4Kn2j.js";
|
|
3
|
+
import { S as or } from "./SignUp-D54_QWFy.js";
|
|
4
4
|
import { u as K } from "./ZudokuContext-BXldanA8.js";
|
|
5
5
|
import { u as Se } from "./useMutation-C6RqWmTS.js";
|
|
6
6
|
import ar from "react";
|
|
@@ -7251,31 +7251,31 @@ class Ca extends ir {
|
|
|
7251
7251
|
const Wa = (n) => new Ca(n), qt = async (n) => {
|
|
7252
7252
|
switch (n) {
|
|
7253
7253
|
case "google": {
|
|
7254
|
-
const { GoogleAuthProvider: e } = await import("./index.esm-
|
|
7254
|
+
const { GoogleAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7255
7255
|
return new e();
|
|
7256
7256
|
}
|
|
7257
7257
|
case "github": {
|
|
7258
|
-
const { GithubAuthProvider: e } = await import("./index.esm-
|
|
7258
|
+
const { GithubAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7259
7259
|
return new e();
|
|
7260
7260
|
}
|
|
7261
7261
|
case "facebook": {
|
|
7262
|
-
const { FacebookAuthProvider: e } = await import("./index.esm-
|
|
7262
|
+
const { FacebookAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7263
7263
|
return new e();
|
|
7264
7264
|
}
|
|
7265
7265
|
case "twitter": {
|
|
7266
|
-
const { TwitterAuthProvider: e } = await import("./index.esm-
|
|
7266
|
+
const { TwitterAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7267
7267
|
return new e();
|
|
7268
7268
|
}
|
|
7269
7269
|
case "microsoft": {
|
|
7270
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7270
|
+
const { OAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7271
7271
|
return new e("microsoft.com");
|
|
7272
7272
|
}
|
|
7273
7273
|
case "apple": {
|
|
7274
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7274
|
+
const { OAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7275
7275
|
return new e("apple.com");
|
|
7276
7276
|
}
|
|
7277
7277
|
case "yahoo": {
|
|
7278
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7278
|
+
const { OAuthProvider: e } = await import("./index.esm-BoKBnRoT.js");
|
|
7279
7279
|
return new e("yahoo.com");
|
|
7280
7280
|
}
|
|
7281
7281
|
}
|
|
@@ -7363,4 +7363,4 @@ export {
|
|
|
7363
7363
|
so as v,
|
|
7364
7364
|
Wa as w
|
|
7365
7365
|
};
|
|
7366
|
-
//# sourceMappingURL=firebase-
|
|
7366
|
+
//# sourceMappingURL=firebase-Ibm_tv3G.js.map
|