@doubao-dev/framework 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/dist/api.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { HealthDataType as HealthDataType_2 } from '@byted-doubao-apps/bridge-api';
2
+ import type { OpenAppResult } from '@byted-doubao-apps/bridge-api';
2
3
 
3
4
  /**
4
5
  * 加速度数据变化事件。
@@ -7418,6 +7419,15 @@ export declare const onUserScreenRecord: ClientEventRegistry<UserScreenRecordEve
7418
7419
  */
7419
7420
  export declare const onWifiConnected: ClientEventRegistry<WifiConnectedEvent>;
7420
7421
 
7422
+ /**
7423
+ * 通过 URI 打开外部应用。
7424
+ *
7425
+ * @internal
7426
+ */
7427
+ export declare const openApp: (params: {
7428
+ uri: string;
7429
+ }) => Promise<OpenAppResult>;
7430
+
7421
7431
  /**
7422
7432
  * 打开蓝牙适配器。
7423
7433
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doubao-dev/framework",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {