@tolgee/core 4.3.0 → 4.4.0
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/tolgee.cjs.js +2 -1
- package/dist/tolgee.cjs.js.map +1 -1
- package/dist/tolgee.cjs.min.js +1 -1
- package/dist/tolgee.cjs.min.js.map +1 -1
- package/dist/tolgee.esm.js +1 -1
- package/dist/tolgee.esm.js.map +1 -1
- package/dist/tolgee.umd.js +2 -1
- package/dist/tolgee.umd.js.map +1 -1
- package/dist/tolgee.umd.min.js +1 -1
- package/dist/tolgee.umd.min.js.map +1 -1
- package/lib/Properties.d.ts +1 -0
- package/lib/services/CoreService.d.ts +2 -2
- package/lib/services/TranslationService.d.ts +1 -0
- package/lib/types/apiSchema.generated.d.ts +2129 -969
- package/package.json +4 -4
package/dist/tolgee.cjs.js
CHANGED
|
@@ -1627,6 +1627,7 @@ var CoreService = /** @class */ (function () {
|
|
|
1627
1627
|
details = _a.sent();
|
|
1628
1628
|
this.properties.scopes = details.scopes;
|
|
1629
1629
|
this.properties.projectId = details.projectId;
|
|
1630
|
+
this.properties.permittedLanguageIds = details.permittedLanguageIds;
|
|
1630
1631
|
_a.label = 2;
|
|
1631
1632
|
case 2: return [2 /*return*/];
|
|
1632
1633
|
}
|
|
@@ -1771,7 +1772,7 @@ var PluginManager = /** @class */ (function () {
|
|
|
1771
1772
|
this.handshake = function () {
|
|
1772
1773
|
var sharedConfiguration = __assign(__assign({}, _this.properties), { config: __assign(__assign({}, _this.properties.config), {
|
|
1773
1774
|
//remove properties, which cannot be sent by window.postMessage
|
|
1774
|
-
staticData: undefined, targetElement: undefined, _targetElement: undefined, ui: undefined }), uiPresent: Boolean(_this.properties.config.ui), uiVersion: "4.
|
|
1775
|
+
staticData: undefined, targetElement: undefined, _targetElement: undefined, ui: undefined }), uiPresent: Boolean(_this.properties.config.ui), uiVersion: "4.4.0" });
|
|
1775
1776
|
var timer = null;
|
|
1776
1777
|
var ping = function () {
|
|
1777
1778
|
_this.messages.send('TOLGEE_READY', sharedConfiguration);
|