@mpcore/simulator 0.3.0 → 0.3.1

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.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -2300,7 +2300,7 @@ function deriveMenuButtonBoundingClientRect(systemInfo) {
2300
2300
  }
2301
2301
  //#endregion
2302
2302
  //#region src/runtime/wxState.ts
2303
- const STORAGE_LIMIT_SIZE = 10 * 1024;
2303
+ const STORAGE_LIMIT_SIZE = 10240;
2304
2304
  const DEFAULT_MODAL_CANCEL_COLOR = "#000000";
2305
2305
  const DEFAULT_MODAL_CANCEL_TEXT = "取消";
2306
2306
  const DEFAULT_MODAL_CONFIRM_COLOR = "#576B95";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mpcore/simulator",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "description": "Headless mini-program runtime and testing kernel for the weapp-vite ecosystem",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "@babel/parser": "^8.0.4",
42
42
  "htmlparser2": "^12.0.0",
43
43
  "pathe": "^2.0.3",
44
- "@weapp-core/constants": "0.1.15"
44
+ "@weapp-core/constants": "0.1.16"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public",