@lynx-js/web-constants 0.13.0 → 0.13.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @lynx-js/web-constants
2
2
 
3
+ ## 0.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: support touch events for MTS ([#641](https://github.com/lynx-family/lynx-stack/pull/641))
8
+
9
+ now we support
10
+
11
+ - main-thread:bindtouchstart
12
+ - main-thread:bindtouchend
13
+ - main-thread:bindtouchmove
14
+ - main-thread:bindtouchcancel
15
+
16
+ - Updated dependencies []:
17
+ - @lynx-js/web-worker-rpc@0.13.1
18
+
3
19
  ## 0.13.0
4
20
 
5
21
  ### Patch Changes
@@ -1,2 +1,2 @@
1
- export type Cloneable<T = string | number | null | undefined> = T | Record<string, T> | T[];
2
- export type CloneableObject<T = string | number | null | undefined> = Record<string, T>;
1
+ export type Cloneable<T = string | number | null | boolean | undefined> = T | Record<string, T> | T[];
2
+ export type CloneableObject<T = string | number | null | boolean | undefined> = Record<string, T | T[]>;
@@ -6,4 +6,6 @@ export interface PageConfig {
6
6
  }
7
7
  export interface BrowserConfig {
8
8
  pixelRatio: number;
9
+ pixelWidth: number;
10
+ pixelHeight: number;
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,9 +23,9 @@
23
23
  "**/*.css"
24
24
  ],
25
25
  "dependencies": {
26
- "@lynx-js/web-worker-rpc": "0.13.0"
26
+ "@lynx-js/web-worker-rpc": "0.13.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@lynx-js/offscreen-document": "0.0.1"
29
+ "@lynx-js/offscreen-document": "0.0.2"
30
30
  }
31
31
  }