@access-dlsu/leapify 0.260524.2 → 0.260531.1
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/{chunk-AKCERDGP.js → chunk-2JEY6TSO.js} +2 -2
- package/dist/chunk-2JEY6TSO.js.map +1 -0
- package/dist/{chunk-64MMUYMK.cjs → chunk-X4OB4DZ3.cjs} +2 -2
- package/dist/chunk-X4OB4DZ3.cjs.map +1 -0
- package/dist/client/auth.d.ts +17 -1
- package/dist/client/auth.d.ts.map +1 -1
- package/dist/client/index.cjs +13 -5
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.js +13 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/session.d.ts +4 -3
- package/dist/client/session.d.ts.map +1 -1
- package/dist/client/turnstile.d.ts +2 -1
- package/dist/client/turnstile.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/middleware/turnstile-challenge.cjs +6 -6
- package/dist/lib/middleware/turnstile-challenge.js +1 -1
- package/dist/worker.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-64MMUYMK.cjs.map +0 -1
- package/dist/chunk-AKCERDGP.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createTurnstileMiddleware, TURNSTILE_VERIFY_PATH, handleTurnstileVerify } from './chunk-
|
|
1
|
+
import { createTurnstileMiddleware, TURNSTILE_VERIFY_PATH, handleTurnstileVerify } from './chunk-2JEY6TSO.js';
|
|
2
2
|
import { __export } from './chunk-PZ5AY32C.js';
|
|
3
3
|
import { Hono } from 'hono';
|
|
4
4
|
import { cors } from 'hono/cors';
|
|
@@ -2530,7 +2530,7 @@ function defaultGetRuntimeConfig(env) {
|
|
|
2530
2530
|
};
|
|
2531
2531
|
}
|
|
2532
2532
|
function injectConfig(html, config) {
|
|
2533
|
-
const configScript = `<script>window.__CONFIG__=${JSON.stringify(config)}
|
|
2533
|
+
const configScript = `<script>window.__CONFIG__=${JSON.stringify(config)};</script>`;
|
|
2534
2534
|
return html.replace("</head>", `${configScript}</head>`);
|
|
2535
2535
|
}
|
|
2536
2536
|
function createWorkerHandler(options) {
|
|
@@ -2652,10 +2652,10 @@ function getRuntimeConfig(env) {
|
|
|
2652
2652
|
};
|
|
2653
2653
|
}
|
|
2654
2654
|
function injectConfig2(html, config) {
|
|
2655
|
-
const configScript = `<script>window.__CONFIG__=${JSON.stringify(config)}
|
|
2655
|
+
const configScript = `<script>window.__CONFIG__=${JSON.stringify(config)};</script>`;
|
|
2656
2656
|
return html.replace("</head>", `${configScript}</head>`);
|
|
2657
2657
|
}
|
|
2658
2658
|
|
|
2659
2659
|
export { authAccount, authSession, authUser, authVerification, bookmarks, bookmarksRelations, createDb, createLeapify, createQueueHandler, createWorkerHandler, ensureDatabase, events, eventsRelations, faqs, getRuntimeConfig, injectConfig2 as injectConfig, organizations, organizationsRelations, siteConfig, themes, themesRelations, users };
|
|
2660
2660
|
//# sourceMappingURL=index.js.map
|
|
2661
|
-
//# sourceMappingURL=index.js.
|
|
2661
|
+
//# sourceMappingURL=index.js.mapap
|