miniflare 0.0.0-0435d8ef5 → 0.0.0-05973bba4
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/src/index.d.ts +1 -15
- package/dist/src/index.js +14 -472
- package/dist/src/index.js.map +3 -3
- package/package.json +3 -4
package/dist/src/index.d.ts
CHANGED
|
@@ -620,7 +620,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
620
620
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
621
621
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
622
622
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
623
|
-
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
624
623
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
625
624
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
|
|
626
625
|
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
@@ -962,7 +961,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
962
961
|
rootPath?: undefined;
|
|
963
962
|
compatibilityDate?: string | undefined;
|
|
964
963
|
compatibilityFlags?: string[] | undefined;
|
|
965
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
966
964
|
routes?: string[] | undefined;
|
|
967
965
|
bindings?: Record<string, Json> | undefined;
|
|
968
966
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1044,7 +1042,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1044
1042
|
rootPath?: string | undefined;
|
|
1045
1043
|
compatibilityDate?: string | undefined;
|
|
1046
1044
|
compatibilityFlags?: string[] | undefined;
|
|
1047
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
1048
1045
|
routes?: string[] | undefined;
|
|
1049
1046
|
bindings?: Record<string, Json> | undefined;
|
|
1050
1047
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1133,7 +1130,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1133
1130
|
rootPath?: undefined;
|
|
1134
1131
|
compatibilityDate?: string | undefined;
|
|
1135
1132
|
compatibilityFlags?: string[] | undefined;
|
|
1136
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
1137
1133
|
routes?: string[] | undefined;
|
|
1138
1134
|
bindings?: Record<string, Json> | undefined;
|
|
1139
1135
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1225,7 +1221,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1225
1221
|
rootPath?: undefined;
|
|
1226
1222
|
compatibilityDate?: string | undefined;
|
|
1227
1223
|
compatibilityFlags?: string[] | undefined;
|
|
1228
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
1229
1224
|
routes?: string[] | undefined;
|
|
1230
1225
|
bindings?: Record<string, Json> | undefined;
|
|
1231
1226
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1316,7 +1311,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1316
1311
|
rootPath?: undefined;
|
|
1317
1312
|
compatibilityDate?: string | undefined;
|
|
1318
1313
|
compatibilityFlags?: string[] | undefined;
|
|
1319
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
1320
1314
|
routes?: string[] | undefined;
|
|
1321
1315
|
bindings?: Record<string, Json> | undefined;
|
|
1322
1316
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1424,7 +1418,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1424
1418
|
rootPath?: string | undefined;
|
|
1425
1419
|
compatibilityDate?: string | undefined;
|
|
1426
1420
|
compatibilityFlags?: string[] | undefined;
|
|
1427
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
1428
1421
|
routes?: string[] | undefined;
|
|
1429
1422
|
bindings?: Record<string, Json> | undefined;
|
|
1430
1423
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2066,7 +2059,7 @@ export declare class Miniflare {
|
|
|
2066
2059
|
export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
|
|
2067
2060
|
}
|
|
2068
2061
|
|
|
2069
|
-
export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC"
|
|
2062
|
+
export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC";
|
|
2070
2063
|
|
|
2071
2064
|
export declare class MiniflareError<Code extends string | number = string | number> extends Error {
|
|
2072
2065
|
readonly code: Code;
|
|
@@ -2410,7 +2403,6 @@ export declare const PLUGINS: {
|
|
|
2410
2403
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2411
2404
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2412
2405
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2413
|
-
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
2414
2406
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2415
2407
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2416
2408
|
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
@@ -2748,7 +2740,6 @@ export declare const PLUGINS: {
|
|
|
2748
2740
|
rootPath?: undefined;
|
|
2749
2741
|
compatibilityDate?: string | undefined;
|
|
2750
2742
|
compatibilityFlags?: string[] | undefined;
|
|
2751
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
2752
2743
|
routes?: string[] | undefined;
|
|
2753
2744
|
bindings?: Record<string, Json_2> | undefined;
|
|
2754
2745
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2830,7 +2821,6 @@ export declare const PLUGINS: {
|
|
|
2830
2821
|
rootPath?: string | undefined;
|
|
2831
2822
|
compatibilityDate?: string | undefined;
|
|
2832
2823
|
compatibilityFlags?: string[] | undefined;
|
|
2833
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
2834
2824
|
routes?: string[] | undefined;
|
|
2835
2825
|
bindings?: Record<string, Json_2> | undefined;
|
|
2836
2826
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2919,7 +2909,6 @@ export declare const PLUGINS: {
|
|
|
2919
2909
|
rootPath?: undefined;
|
|
2920
2910
|
compatibilityDate?: string | undefined;
|
|
2921
2911
|
compatibilityFlags?: string[] | undefined;
|
|
2922
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
2923
2912
|
routes?: string[] | undefined;
|
|
2924
2913
|
bindings?: Record<string, Json_2> | undefined;
|
|
2925
2914
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3011,7 +3000,6 @@ export declare const PLUGINS: {
|
|
|
3011
3000
|
rootPath?: undefined;
|
|
3012
3001
|
compatibilityDate?: string | undefined;
|
|
3013
3002
|
compatibilityFlags?: string[] | undefined;
|
|
3014
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
3015
3003
|
routes?: string[] | undefined;
|
|
3016
3004
|
bindings?: Record<string, Json_2> | undefined;
|
|
3017
3005
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3102,7 +3090,6 @@ export declare const PLUGINS: {
|
|
|
3102
3090
|
rootPath?: undefined;
|
|
3103
3091
|
compatibilityDate?: string | undefined;
|
|
3104
3092
|
compatibilityFlags?: string[] | undefined;
|
|
3105
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
3106
3093
|
routes?: string[] | undefined;
|
|
3107
3094
|
bindings?: Record<string, Json_2> | undefined;
|
|
3108
3095
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3210,7 +3197,6 @@ export declare const PLUGINS: {
|
|
|
3210
3197
|
rootPath?: string | undefined;
|
|
3211
3198
|
compatibilityDate?: string | undefined;
|
|
3212
3199
|
compatibilityFlags?: string[] | undefined;
|
|
3213
|
-
unsafeInspectorProxy?: boolean | undefined;
|
|
3214
3200
|
routes?: string[] | undefined;
|
|
3215
3201
|
bindings?: Record<string, Json_2> | undefined;
|
|
3216
3202
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|