hylid-bridge 4.0.0-alpha.5 → 4.0.0-alpha.6

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/lib/bridges.d.ts CHANGED
@@ -2907,7 +2907,17 @@ export declare const easyShare: PickMPAttr<'easyShare'>;
2907
2907
  * | mp_web | |
2908
2908
  * | web | alipay |
2909
2909
  */
2910
- export declare const easyShareAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
2910
+ export declare const easyShareAsync: (args?: ({
2911
+ bizType: string;
2912
+ title: string;
2913
+ desc: string;
2914
+ searchTips?: string | undefined;
2915
+ iconUrl?: string | undefined;
2916
+ icon?: string | undefined;
2917
+ imageUrl?: string | undefined;
2918
+ image?: string | undefined;
2919
+ url: string;
2920
+ } & AsyncCallback<void>) | undefined) => Promise<void>;
2911
2921
  /**
2912
2922
  * @support
2913
2923
  * | Platform | Apps |
@@ -162,7 +162,7 @@ declare const _default: {
162
162
  imageUrl?: string | undefined;
163
163
  image?: string | undefined;
164
164
  url: string;
165
- }) => void;
165
+ } & AsyncCallback<void>) => void;
166
166
  homeAddAppToMyApps: (args: {
167
167
  appId: string;
168
168
  }) => void;
@@ -8,6 +8,16 @@ export declare const easyShare: (args: {
8
8
  imageUrl?: string | undefined;
9
9
  image?: string | undefined;
10
10
  url: string;
11
- }) => void;
11
+ } & AsyncCallback<void>) => void;
12
12
  export default easyShare;
13
- export declare const easyShareAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
13
+ export declare const easyShareAsync: (args?: ({
14
+ bizType: string;
15
+ title: string;
16
+ desc: string;
17
+ searchTips?: string | undefined;
18
+ iconUrl?: string | undefined;
19
+ icon?: string | undefined;
20
+ imageUrl?: string | undefined;
21
+ image?: string | undefined;
22
+ url: string;
23
+ } & AsyncCallback<void>) | undefined) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hylid-bridge",
3
- "version": "4.0.0-alpha.5",
3
+ "version": "4.0.0-alpha.6",
4
4
  "main": "lib/index.js",
5
5
  "description": "Unite Api For MiniProgram Project",
6
6
  "files": [
@@ -55,12 +55,12 @@
55
55
  "@alipay/stdlib": "^1.22.5",
56
56
  "@babel/runtime": "7.18.9",
57
57
  "@goldfishjs/utils": "^2.18.0",
58
- "@hylid/call": "^4.0.0-alpha.5",
59
- "@hylid/custom-jsapi": "^4.0.0-alpha.5",
60
- "@hylid/env": "^4.0.0-alpha.5",
61
- "@hylid/types": "^4.0.0-alpha.5",
58
+ "@hylid/call": "^4.0.0-alpha.6",
59
+ "@hylid/custom-jsapi": "^4.0.0-alpha.6",
60
+ "@hylid/env": "^4.0.0-alpha.6",
61
+ "@hylid/types": "^4.0.0-alpha.6",
62
62
  "@types/miniprogram": "^1.0.3",
63
- "miniapp-web-jsapi": "^4.0.0-alpha.5",
63
+ "miniapp-web-jsapi": "^4.0.0-alpha.6",
64
64
  "url-parse": "^1.5.10"
65
65
  },
66
66
  "devDependencies": {