@modern-js/types 1.6.1 → 1.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 1.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c423820: fix: missing devServer.proxy.cookieDomainRewrite type
8
+
9
+ fix: 修复 devServer.proxy.cookieDomainRewrite 类型缺失的问题
10
+
3
11
  ## 1.6.1
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.6.1",
14
+ "version": "1.6.2",
15
15
  "types": "./index.d.ts",
16
16
  "exports": {
17
17
  ".": "./index.d.ts",
package/server/utils.d.ts CHANGED
@@ -32,6 +32,8 @@ export type ProxyDetail = {
32
32
  ) => string | undefined | null | false;
33
33
  context?: string | string[];
34
34
  changeOrigin?: boolean;
35
+ /** Rewrites domain of set-cookie headers. */
36
+ cookieDomainRewrite?: false | string | Record<string, string>;
35
37
  };
36
38
 
37
39
  export type BffProxyOptions =