@doubao-dev/taro-runtime 0.0.40 → 0.0.42

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.
@@ -1,3 +1,4 @@
1
+ export declare function getPerformance(): import("@byted-doubao-apps/framework/api").Performance;
1
2
  export declare function getEnv(): TaroGeneral.ENV_TYPE | 'DOUBAO';
2
3
  export declare const ENV_TYPE: {
3
4
  DOUBAO: string;
@@ -1,3 +1,7 @@
1
+ import { getPerformance as appGetPerformance } from '@byted-doubao-apps/framework/api';
2
+ export function getPerformance() {
3
+ return appGetPerformance();
4
+ }
1
5
  export function getEnv() {
2
6
  return 'DOUBAO';
3
7
  }
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "access": "public",
38
38
  "registry": "https://registry.npmjs.org/"
39
39
  },
40
- "version": "0.0.40",
40
+ "version": "0.0.42",
41
41
  "scripts": {
42
42
  "dev": "npm run build -- -w",
43
43
  "build": "rimraf dist bundle && tsc -p tsconfig.build.json",