@mptool/all 0.7.0 → 0.7.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/lib/index.d.mts CHANGED
@@ -883,7 +883,7 @@ interface RouteCustomConfig {
883
883
  }
884
884
  type AppConfigOptions = AppConfigCommonOptions & (RoutePathConfig | RouteCustomConfig);
885
885
 
886
- interface Config extends Omit<AppConfigOptions, "defaultRoute" | "routeMap"> {
886
+ interface Config extends Omit<AppConfigOptions, "defaultRoute" | "routes"> {
887
887
  /**
888
888
  * @returns name
889
889
  */
@@ -1104,7 +1104,7 @@ interface CookieType {
1104
1104
  /**
1105
1105
  * indicates a cookie ought not to be sent along with cross-site requests
1106
1106
  */
1107
- sameSite?: string | undefined;
1107
+ sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1108
1108
  }
1109
1109
 
1110
1110
  declare const getCookieScopeDomain: (domain?: string) => string[];
package/lib/index.d.ts CHANGED
@@ -883,7 +883,7 @@ interface RouteCustomConfig {
883
883
  }
884
884
  type AppConfigOptions = AppConfigCommonOptions & (RoutePathConfig | RouteCustomConfig);
885
885
 
886
- interface Config extends Omit<AppConfigOptions, "defaultRoute" | "routeMap"> {
886
+ interface Config extends Omit<AppConfigOptions, "defaultRoute" | "routes"> {
887
887
  /**
888
888
  * @returns name
889
889
  */
@@ -1104,7 +1104,7 @@ interface CookieType {
1104
1104
  /**
1105
1105
  * indicates a cookie ought not to be sent along with cross-site requests
1106
1106
  */
1107
- sameSite?: string | undefined;
1107
+ sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1108
1108
  }
1109
1109
 
1110
1110
  declare const getCookieScopeDomain: (domain?: string) => string[];