@doubao-dev/taro-runtime 0.2.1 → 0.3.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.
@@ -3,12 +3,6 @@ import { buildFailCallbackResult, emitFailure, runCallbackApi, runTaroApi } from
3
3
  const networkStatusChangeCallbacks = new Map();
4
4
  const keyboardHeightChangeCallbacks = new Map();
5
5
  const themeChangeCallbacks = new Map();
6
- function buildVibrateShortParams(option) {
7
- if (option?.type === 'heavy' || option?.type === 'medium' || option?.type === 'light') {
8
- return { type: option.type };
9
- }
10
- return { type: 'medium' };
11
- }
12
6
  export function getSystemSetting() {
13
7
  const result = appGetSystemSetting();
14
8
  const systemSetting = {};
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "access": "public",
38
38
  "registry": "https://registry.npmjs.org/"
39
39
  },
40
- "version": "0.2.1",
40
+ "version": "0.3.0",
41
41
  "scripts": {
42
42
  "dev": "npm run build -- -w",
43
43
  "build": "rimraf dist bundle && tsc -p tsconfig.build.json",