@ray-js/api 0.6.1 → 0.6.3-beta-1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- export default function (): any;
1
+ export default function (): import("@ray-js/runtime/lib/instance").AppInstance | null;
@@ -1,3 +1,9 @@
1
1
  /// <reference path="../../@types/api.d.ts" />
2
- declare const _default: (arg?: any) => Promise<any>;
2
+ declare const _default: (arg?: {
3
+ animation?: boolean | undefined;
4
+ } & {
5
+ success?: ((S?: any) => void) | undefined;
6
+ fail?: ((F?: any) => void) | undefined;
7
+ complete?: ((C?: any) => void) | undefined;
8
+ } & import("../core").PromisifyArgs<any, any>) => Promise<any>;
3
9
  export default _default;
@@ -1,3 +1,9 @@
1
1
  /// <reference path="../../@types/api.d.ts" />
2
- declare const _default: (arg?: any) => Promise<any>;
2
+ declare const _default: (arg?: {
3
+ animation?: boolean | undefined;
4
+ } & {
5
+ success?: ((S?: any) => void) | undefined;
6
+ fail?: ((F?: any) => void) | undefined;
7
+ complete?: ((C?: any) => void) | undefined;
8
+ } & import("../core").PromisifyArgs<any, any>) => Promise<any>;
3
9
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "0.6.1",
3
+ "version": "0.6.3-beta-1",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -26,12 +26,11 @@
26
26
  "build:kit:api": "node scripts/api-creator.mjs"
27
27
  },
28
28
  "dependencies": {
29
- "@ray-js/framework": "^0.6.1",
30
- "@ray-js/router": "^0.6.1",
31
- "react-native": "0.59.10"
29
+ "@ray-js/framework": "^0.6.3-beta-1",
30
+ "@ray-js/router": "^0.6.3-beta-1"
32
31
  },
33
32
  "devDependencies": {
34
- "@ray-js/cli": "^0.6.1",
33
+ "@ray-js/cli": "^0.6.3-beta-1",
35
34
  "art-template": "^4.13.2",
36
35
  "fs-extra": "^10.1.0",
37
36
  "miniprogram-api-typings": "^3.4.3",
@@ -43,6 +42,6 @@
43
42
  "email": "tuyafe@tuya.com"
44
43
  }
45
44
  ],
46
- "gitHead": "da5b561dda68a1554a1d6972872558d37ca81fed",
45
+ "gitHead": "e75625995cfce207c177b38c242090cd0c199cb9",
47
46
  "repository": {}
48
47
  }