best-unit 0.0.23 → 0.0.24

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/dist/global.d.ts CHANGED
@@ -31,5 +31,3 @@ declare global {
31
31
  }
32
32
  }
33
33
  export {};
34
-
35
- declare module "preact-custom-element";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "best-unit",
3
3
  "private": false,
4
- "version": "0.0.23",
4
+ "version": "0.0.24",
5
5
  "type": "module",
6
6
  "main": "dist/best-unit.cjs",
7
7
  "module": "dist/best-unit.js",
package/src/global.d.ts CHANGED
@@ -31,5 +31,3 @@ declare global {
31
31
  }
32
32
  }
33
33
  export {};
34
-
35
- declare module "preact-custom-element";
@@ -2,13 +2,33 @@ export declare function npmTest(): void;
2
2
 
3
3
  export declare function printCurrentTime(): void;
4
4
 
5
- declare namespace JSX {
5
+ export declare function initFundUnit(params: {
6
+ token: string;
7
+ merchant_id: string;
8
+ biz_type: string;
9
+ user_id: string;
10
+ theme?: string;
11
+ }): {
12
+ token: string;
13
+ merchantId: string;
14
+ bizType: string;
15
+ theme?: string;
16
+ userId: string;
17
+ };
18
+ declare global {
19
+ namespace JSX {
6
20
  interface IntrinsicElements {
7
- 'x-greeting': {
8
- name?: string; // 组件支持的属性
21
+ "x-greeting": any;
22
+ "x-best-modal-form": {
23
+ theme?: any;
24
+ merchant_id?: string;
25
+ biz_type?: string;
26
+ token?: string;
9
27
  [key: string]: any;
10
28
  };
29
+ "best-statistical-balance": any;
11
30
  }
12
31
  }
13
-
32
+ }
33
+ export {};
14
34
  /// <reference path="./preact-custom-element.d.ts" />