@ray-core/framework-shared
Advanced tools
Comparing version
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.0.22](https://registry.code.tuya-inc.top/godzilla/ray-core/compare/v0.0.21...v0.0.22) (2022-12-21) | ||
### Bug Fixes | ||
- 修复 RuntimeOptions.ts 中 js 对应引用问题 ([d491fdb](https://registry.code.tuya-inc.top/godzilla/ray-core/commits/d491fdbdd8f23490d341a8d3cb6ff0e205be36a1)) | ||
## [0.0.21](https://registry.code.tuya-inc.top/godzilla/ray-core/compare/v0.0.20...v0.0.21) (2022-12-16) | ||
@@ -8,0 +14,0 @@ |
@@ -33,3 +33,3 @@ "use strict"; | ||
var PluginDriver_1 = __importDefault(require("./PluginDriver")); | ||
var defaultRuntimeOptions = { | ||
var getDefaultRuntimeOptions = function () { return ({ | ||
pxToRpx: true, | ||
@@ -43,4 +43,4 @@ hostComponents: {}, | ||
mpa: false, | ||
}; | ||
var runtimeOptions = defaultRuntimeOptions; | ||
}); }; | ||
var runtimeOptions = getDefaultRuntimeOptions(); | ||
function merge() { | ||
@@ -81,4 +81,4 @@ var options = []; | ||
function reset() { | ||
runtimeOptions = defaultRuntimeOptions; | ||
runtimeOptions = getDefaultRuntimeOptions(); | ||
} | ||
exports.reset = reset; |
@@ -27,3 +27,3 @@ var __read = (this && this.__read) || function (o, n) { | ||
import PluginDriver from './PluginDriver'; | ||
var defaultRuntimeOptions = { | ||
var getDefaultRuntimeOptions = function () { return ({ | ||
pxToRpx: true, | ||
@@ -37,4 +37,4 @@ hostComponents: {}, | ||
mpa: false, | ||
}; | ||
var runtimeOptions = defaultRuntimeOptions; | ||
}); }; | ||
var runtimeOptions = getDefaultRuntimeOptions(); | ||
function merge() { | ||
@@ -73,3 +73,3 @@ var options = []; | ||
export function reset() { | ||
runtimeOptions = defaultRuntimeOptions; | ||
runtimeOptions = getDefaultRuntimeOptions(); | ||
} |
{ | ||
"name": "@ray-core/framework-shared", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "使用真正的 React 构建跨平台小程序", | ||
@@ -21,3 +21,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@ray-core/types": "0.0.21", | ||
"@ray-core/types": "0.0.22", | ||
"@types/react": "^16.9.33", | ||
@@ -30,3 +30,3 @@ "@types/react-is": "^16.7.1", | ||
}, | ||
"gitHead": "98d0296946afd385436ecd0bf3a5bb3fbf8a360c" | ||
"gitHead": "e6e8de026282d3f73c4ca62707914fead63fde21" | ||
} |
102821
0.36%