@ray-js/api 0.6.6 → 0.6.7
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/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/readFileSync/index.thing.js +1 -1
- package/lib/requestCloud/index.thing.js +1 -1
- package/lib/setNavigationBarColor/index.thing.js +1 -1
- package/lib/setNavigationBarTitle/index.thing.js +1 -1
- package/lib/utils.js +1 -1
- package/package.json +5 -5
- package/lib/getI18nInfo/index.js +0 -4
- package/lib/getI18nInfo/index.thing.d.ts +0 -4
- package/lib/getI18nInfo/index.thing.js +0 -10
- package/lib/getI18nInfo/index.wechat.d.ts +0 -1
- package/lib/getI18nInfo/index.wechat.js +0 -3
package/lib/index.d.ts
CHANGED
@@ -4,7 +4,6 @@ export { default as getApp } from './getApp';
|
|
4
4
|
export { default as getBoundingClientRect } from './getBoundingClientRect';
|
5
5
|
export { default as getCurrentPages } from './getCurrentPages';
|
6
6
|
export { default as getElementById } from './getElementById';
|
7
|
-
export { default as getI18nInfo } from './getI18nInfo';
|
8
7
|
export { default as hideNotification } from './hideNotification';
|
9
8
|
export { default as hideTabBar } from './hideTabBar';
|
10
9
|
export { default as navigateBack } from './navigateBack';
|
package/lib/index.js
CHANGED
@@ -4,7 +4,6 @@ export { default as getApp } from './getApp';
|
|
4
4
|
export { default as getBoundingClientRect } from './getBoundingClientRect';
|
5
5
|
export { default as getCurrentPages } from './getCurrentPages';
|
6
6
|
export { default as getElementById } from './getElementById';
|
7
|
-
export { default as getI18nInfo } from './getI18nInfo';
|
8
7
|
export { default as hideNotification } from './hideNotification';
|
9
8
|
export { default as hideTabBar } from './hideTabBar';
|
10
9
|
export { default as navigateBack } from './navigateBack';
|
package/lib/utils.js
CHANGED
@@ -21,7 +21,7 @@ export function factory(name) {
|
|
21
21
|
var method = opts.namespace ? ((_ty$opts$namespace = ty[opts.namespace]) !== null && _ty$opts$namespace !== void 0 ? _ty$opts$namespace : {})[name] : ty[name];
|
22
22
|
|
23
23
|
if (!method) {
|
24
|
-
console.warn("// TODO \u6682\u672A\u5B9E\u73B0\u65B9\u6CD5
|
24
|
+
console.warn("// TODO \u6682\u672A\u5B9E\u73B0\u65B9\u6CD5 ".concat(opts.namespace ? opts.namespace + '.' : '').concat(name));
|
25
25
|
return;
|
26
26
|
}
|
27
27
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.7",
|
4
4
|
"description": "Ray universal api",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -26,11 +26,11 @@
|
|
26
26
|
"build:kit:api": "node scripts/api-creator.mjs"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@ray-js/framework": "^0.6.
|
30
|
-
"@ray-js/router": "^0.6.
|
29
|
+
"@ray-js/framework": "^0.6.7",
|
30
|
+
"@ray-js/router": "^0.6.7"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@ray-js/cli": "^0.6.
|
33
|
+
"@ray-js/cli": "^0.6.7",
|
34
34
|
"art-template": "^4.13.2",
|
35
35
|
"fs-extra": "^10.1.0",
|
36
36
|
"miniprogram-api-typings": "^3.4.3",
|
@@ -42,6 +42,6 @@
|
|
42
42
|
"email": "tuyafe@tuya.com"
|
43
43
|
}
|
44
44
|
],
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "fcffadf9378cb4a19a3ef277757983b072d8810c",
|
46
46
|
"repository": {}
|
47
47
|
}
|
package/lib/getI18nInfo/index.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
export default function () {
|
2
|
-
var _window, _window$gzlConstant, _window$gzlConstant$i, _window$gzlConstant$i2, _window2, _window2$gzlConstant, _window2$gzlConstant$, _window2$gzlConstant$2;
|
3
|
-
|
4
|
-
var langKey = (_window = window) === null || _window === void 0 ? void 0 : (_window$gzlConstant = _window.gzlConstant) === null || _window$gzlConstant === void 0 ? void 0 : (_window$gzlConstant$i = _window$gzlConstant.initialProperties) === null || _window$gzlConstant$i === void 0 ? void 0 : (_window$gzlConstant$i2 = _window$gzlConstant$i.TYUniLocalizationManager) === null || _window$gzlConstant$i2 === void 0 ? void 0 : _window$gzlConstant$i2.langKey;
|
5
|
-
var langContent = (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$gzlConstant = _window2.gzlConstant) === null || _window2$gzlConstant === void 0 ? void 0 : (_window2$gzlConstant$ = _window2$gzlConstant.initialProperties) === null || _window2$gzlConstant$ === void 0 ? void 0 : (_window2$gzlConstant$2 = _window2$gzlConstant$.TYUniLocalizationManager) === null || _window2$gzlConstant$2 === void 0 ? void 0 : _window2$gzlConstant$2.langContent[langKey];
|
6
|
-
return {
|
7
|
-
langKey: langKey,
|
8
|
-
langContent: langContent
|
9
|
-
};
|
10
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export default function (): void;
|