@void/edge 0.21.9 → 0.22.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +10 -1
  2. package/package.json +3 -3
package/dist/index.d.mts CHANGED
@@ -1,4 +1,13 @@
1
1
  import { AssetConfig, AssetConfig as AssetConfig$1, HeaderRule, HeaderRule as HeaderRule$1, RedirectRule, RedirectRule as RedirectRule$1 } from "@void/deploy-core";
2
+ //#region src/access.d.ts
3
+ type ProjectZeroTrustRouting = Readonly<{
4
+ teamDomain: string;
5
+ audiences: ReadonlyArray<Readonly<{
6
+ hostname: string;
7
+ audience: string;
8
+ }>>;
9
+ }>;
10
+ //#endregion
2
11
  //#region src/headers.d.ts
3
12
  type HeaderRulePolicy = Readonly<{
4
13
  /**
@@ -250,4 +259,4 @@ export declare function getContentType(path: string): string;
250
259
  */
251
260
  export declare function resolveAssetContentType(stored: string | null | undefined, path: string): string | undefined;
252
261
  //#endregion
253
- export type { AssetConfig, ClearSiteDataMember, CompiledPattern, EdgeAssetFetcher, HeaderRule, HeaderRulePolicy, RedirectRule, ResolvedAsset, RoutingRuleResult, StaticEdgeConfig, StaticEdgeEnv, StaticEdgeHandler };
262
+ export type { AssetConfig, ClearSiteDataMember, CompiledPattern, EdgeAssetFetcher, HeaderRule, HeaderRulePolicy, ProjectZeroTrustRouting, RedirectRule, ResolvedAsset, RoutingRuleResult, StaticEdgeConfig, StaticEdgeEnv, StaticEdgeHandler };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@void/edge",
3
- "version": "0.21.9",
3
+ "version": "0.22.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/voidzero-dev/void.git",
@@ -20,12 +20,12 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@void/deploy-core": "0.21.9"
23
+ "@void/deploy-core": "0.22.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@cloudflare/workers-types": "^4.20260702.1",
27
27
  "typescript": "7.0.2",
28
- "vite-plus": "0.3.1"
28
+ "vite-plus": "1.0.0"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "vp pack",