@ray-js/api 1.4.32 → 1.4.34
Sign up to get free protection for your applications and to get access to all the features.
package/lib/cloud/interface.d.ts
CHANGED
@@ -4,7 +4,6 @@ const _excluded = ["success", "fail", "complete"],
|
|
4
4
|
_excluded3 = ["success", "fail", "complete"],
|
5
5
|
_excluded4 = ["success", "fail", "complete"],
|
6
6
|
_excluded5 = ["success", "fail", "complete"];
|
7
|
-
import { isAndroid } from '@ray-js/env';
|
8
7
|
import { stringifyUrl } from '../utils';
|
9
8
|
export function openSceneCreate(params) {
|
10
9
|
const _ref = params || {},
|
@@ -45,7 +44,7 @@ export function openUniversalCreateScene(params) {
|
|
45
44
|
complete
|
46
45
|
} = _ref2,
|
47
46
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
48
|
-
const url =
|
47
|
+
const url = ty.getSystemInfoSync().platform === 'android' ? 'createSmartScene' : 'createScene';
|
49
48
|
return new Promise((resolve, reject) => {
|
50
49
|
ty.router({
|
51
50
|
url: stringifyUrl({
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.34",
|
4
4
|
"description": "Ray universal api",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -29,14 +29,14 @@
|
|
29
29
|
"watch": "ray start --type=component"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@ray-js/framework": "1.4.
|
33
|
-
"@ray-js/router": "1.4.
|
32
|
+
"@ray-js/framework": "1.4.34",
|
33
|
+
"@ray-js/router": "1.4.34",
|
34
34
|
"@ray-js/wechat": "^0.0.33",
|
35
35
|
"base64-browser": "^1.0.1",
|
36
36
|
"query-string": "^7.1.3"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@ray-js/cli": "1.4.
|
39
|
+
"@ray-js/cli": "1.4.34",
|
40
40
|
"art-template": "^4.13.2",
|
41
41
|
"fs-extra": "^10.1.0",
|
42
42
|
"miniprogram-api-typings": "^3.12.2",
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"access": "public",
|
47
47
|
"registry": "https://registry.npmjs.org"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "98eee923261ac8af861330d56122e67e3e60b98d"
|
50
50
|
}
|