devflare 1.0.0-next.20 → 1.0.0-next.22
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/LLM.md +9 -4
- package/README.md +10 -2
- package/dist/bridge/gateway-runtime.d.ts +1 -1
- package/dist/bridge/gateway-runtime.d.ts.map +1 -1
- package/dist/bridge/proxy.d.ts +2 -0
- package/dist/bridge/proxy.d.ts.map +1 -1
- package/dist/bridge/server.d.ts.map +1 -1
- package/dist/browser.js +3 -3
- package/dist/build-b1z6wqet.js +54 -0
- package/dist/build-qsgnme4z.js +54 -0
- package/dist/build-x7maz3eb.js +54 -0
- package/dist/cli/commands/config.d.ts.map +1 -1
- package/dist/cli/commands/dev.d.ts +1 -0
- package/dist/cli/commands/dev.d.ts.map +1 -1
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/help-pages/pages/core.d.ts.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/config-qj5jw8km.js +93 -0
- package/dist/deploy-jf3yczsz.js +1055 -0
- package/dist/deploy-nh5tbv45.js +1055 -0
- package/dist/deploy-xqm869nf.js +1055 -0
- package/dist/dev-bgpxrwms.js +2551 -0
- package/dist/dev-cme5de75.js +2551 -0
- package/dist/dev-kzs65xcr.js +2551 -0
- package/dist/dev-server/dev-server-state.d.ts +2 -0
- package/dist/dev-server/dev-server-state.d.ts.map +1 -1
- package/dist/dev-server/miniflare-dev-config.d.ts +4 -0
- package/dist/dev-server/miniflare-dev-config.d.ts.map +1 -1
- package/dist/dev-server/server.d.ts.map +1 -1
- package/dist/dev-zgx7fhe9.js +2553 -0
- package/dist/doctor-0a2brpyz.js +259 -0
- package/dist/index-05pbj4hy.js +1193 -0
- package/dist/index-35bmgpfw.js +573 -0
- package/dist/index-3edvz3hs.js +124 -0
- package/dist/index-4se6krdj.js +574 -0
- package/dist/index-50em8s6c.js +898 -0
- package/dist/index-666tdx14.js +895 -0
- package/dist/index-8p7rxkbs.js +1426 -0
- package/dist/index-aqrwyy57.js +288 -0
- package/dist/index-bj5avaba.js +109 -0
- package/dist/index-c1cj9085.js +2250 -0
- package/dist/index-dgww0ewn.js +574 -0
- package/dist/index-f1yshy4s.js +412 -0
- package/dist/index-hbxkmb1q.js +1426 -0
- package/dist/index-hpwa6vsw.js +239 -0
- package/dist/index-jwd3fanx.js +412 -0
- package/dist/index-kxc4gtyt.js +574 -0
- package/dist/index-nxkesg55.js +68 -0
- package/dist/index-p7q23nce.js +1031 -0
- package/dist/index-pt49cgjv.js +1426 -0
- package/dist/index-rp0aye39.js +1426 -0
- package/dist/index-s9q605sq.js +1033 -0
- package/dist/index-tknbyxzn.js +2202 -0
- package/dist/index-w36q6819.js +895 -0
- package/dist/index-xp0qkkxf.js +68 -0
- package/dist/index-zawn5tte.js +109 -0
- package/dist/index-zpy9caxn.js +1193 -0
- package/dist/index.js +4 -4
- package/dist/runtime/index.js +4 -4
- package/dist/sveltekit/index.js +5 -4
- package/dist/sveltekit/local-bindings.d.ts.map +1 -1
- package/dist/test/index.js +62 -440
- package/dist/test/resolve-service-bindings.d.ts +63 -3
- package/dist/test/resolve-service-bindings.d.ts.map +1 -1
- package/dist/types-vhvt4hvm.js +693 -0
- package/dist/utils/send-email.d.ts.map +1 -1
- package/dist/utils/send-email.js +1 -1
- package/dist/vite/index.js +4 -3
- package/dist/vite/plugin-context.d.ts +3 -1
- package/dist/vite/plugin-context.d.ts.map +1 -1
- package/dist/vite/plugin-programmatic.d.ts.map +1 -1
- package/dist/vite/plugin-service-bindings.d.ts +13 -0
- package/dist/vite/plugin-service-bindings.d.ts.map +1 -0
- package/dist/vite/plugin.d.ts +4 -2
- package/dist/vite/plugin.d.ts.map +1 -1
- package/dist/worker-entrypoint-3rmzd4c1.js +15 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
parseArgs,
|
|
6
6
|
runCli
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-hbxkmb1q.js";
|
|
8
8
|
import"./index-627srx16.js";
|
|
9
9
|
import"./index-stgn34cr.js";
|
|
10
10
|
import"./index-3t6rypgc.js";
|
|
11
11
|
import {
|
|
12
12
|
env
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-xp0qkkxf.js";
|
|
14
14
|
import {
|
|
15
15
|
durableObject,
|
|
16
16
|
getDurableObjectOptions
|
|
17
17
|
} from "./index-a855bdsx.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-c1cj9085.js";
|
|
19
|
+
import"./index-hpwa6vsw.js";
|
|
20
20
|
import {
|
|
21
21
|
compileConfig,
|
|
22
22
|
stringifyConfig
|
package/dist/runtime/index.js
CHANGED
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
matchFetchRoute,
|
|
19
19
|
resolveFetchHandler,
|
|
20
20
|
sequence
|
|
21
|
-
} from "../index-
|
|
22
|
-
import"../index-
|
|
21
|
+
} from "../index-jwd3fanx.js";
|
|
22
|
+
import"../index-xp0qkkxf.js";
|
|
23
23
|
import {
|
|
24
24
|
durableObject,
|
|
25
25
|
getDurableObjectOptions
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
hasContext,
|
|
57
57
|
runWithContext,
|
|
58
58
|
runWithEventContext
|
|
59
|
-
} from "../index-
|
|
59
|
+
} from "../index-c1cj9085.js";
|
|
60
60
|
import {
|
|
61
61
|
clearLocalSendEmailBindings,
|
|
62
62
|
setLocalSendEmailBindings
|
|
63
|
-
} from "../index-
|
|
63
|
+
} from "../index-hpwa6vsw.js";
|
|
64
64
|
import"../index-37x76zdn.js";
|
|
65
65
|
export {
|
|
66
66
|
setLocalSendEmailBindings,
|
package/dist/sveltekit/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../index-
|
|
1
|
+
import"../index-35bmgpfw.js";
|
|
2
2
|
import {
|
|
3
3
|
createLocalWorkerLoaderBinding,
|
|
4
4
|
extractBindingHints
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
getClient,
|
|
17
17
|
runWithEventContext,
|
|
18
18
|
setBindingHints
|
|
19
|
-
} from "../index-
|
|
19
|
+
} from "../index-c1cj9085.js";
|
|
20
20
|
import {
|
|
21
21
|
createLocalSendEmailBinding
|
|
22
|
-
} from "../index-
|
|
22
|
+
} from "../index-hpwa6vsw.js";
|
|
23
23
|
import"../index-c3nxftnp.js";
|
|
24
24
|
import {
|
|
25
25
|
loadConfig,
|
|
@@ -63,6 +63,7 @@ function buildLocalHyperdriveBindings(config) {
|
|
|
63
63
|
}
|
|
64
64
|
function buildSvelteKitLocalBindings(config, cwd) {
|
|
65
65
|
const bindings = {
|
|
66
|
+
...config.vars ?? {},
|
|
66
67
|
...buildLocalHyperdriveBindings(config),
|
|
67
68
|
...buildLocalSecretNodeBindings(config, cwd)
|
|
68
69
|
};
|
|
@@ -149,7 +150,7 @@ async function createDevflarePlatform(options = {}) {
|
|
|
149
150
|
}
|
|
150
151
|
const client = getClient({ url: bridgeUrl });
|
|
151
152
|
await client.connect();
|
|
152
|
-
const env = overlayLocalBindings(createEnvProxy({ client, hints }), localBindings);
|
|
153
|
+
const env = overlayLocalBindings(createEnvProxy({ client, hints, strict: true }), localBindings);
|
|
153
154
|
const pendingErrors = [];
|
|
154
155
|
const context = createDevExecutionContext(pendingErrors);
|
|
155
156
|
const caches = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-bindings.d.ts","sourceRoot":"","sources":["../../src/sveltekit/local-bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,cAAc,EACnB,MAAM,WAAW,CAAA;AAgDlB,wBAAgB,2BAA2B,CAC1C,MAAM,EAAE,cAAc,EACtB,GAAG,EAAE,MAAM,GACT,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"local-bindings.d.ts","sourceRoot":"","sources":["../../src/sveltekit/local-bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,cAAc,EACnB,MAAM,WAAW,CAAA;AAgDlB,wBAAgB,2BAA2B,CAC1C,MAAM,EAAE,cAAc,EACtB,GAAG,EAAE,MAAM,GACT,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAwBzB;AAED,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACpC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAoCzB"}
|