@tolgee/web 5.7.2 → 5.7.3
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-web.development.cjs.js +4 -4
- package/dist/tolgee-web.development.cjs.min.js +1 -1
- package/dist/tolgee-web.development.cjs.min.js.map +1 -1
- package/dist/tolgee-web.development.esm.js +4 -4
- package/dist/tolgee-web.development.esm.min.js +1 -1
- package/dist/tolgee-web.development.esm.min.js.map +1 -1
- package/dist/tolgee-web.development.esm.min.mjs +1 -1
- package/dist/tolgee-web.development.esm.min.mjs.map +1 -1
- package/dist/tolgee-web.development.esm.mjs +4 -4
- package/dist/tolgee-web.development.umd.js +4 -4
- package/dist/tolgee-web.development.umd.min.js +1 -1
- package/dist/tolgee-web.development.umd.min.js.map +1 -1
- package/dist/tolgee-web.production.cjs.js +4 -4
- package/dist/tolgee-web.production.cjs.min.js +1 -1
- package/dist/tolgee-web.production.cjs.min.js.map +1 -1
- package/dist/tolgee-web.production.esm.js +4 -4
- package/dist/tolgee-web.production.esm.min.js +1 -1
- package/dist/tolgee-web.production.esm.min.js.map +1 -1
- package/dist/tolgee-web.production.esm.min.mjs +1 -1
- package/dist/tolgee-web.production.esm.min.mjs.map +1 -1
- package/dist/tolgee-web.production.esm.mjs +4 -4
- package/dist/tolgee-web.production.umd.js +4 -4
- package/dist/tolgee-web.production.umd.min.js +1 -1
- package/dist/tolgee-web.production.umd.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -209,7 +209,7 @@ const Events = (getFallbackNs, getDefaultNs) => {
|
|
|
209
209
|
return onUpdate.listen(handler);
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
|
-
function
|
|
212
|
+
function setEmitterActive(active) {
|
|
213
213
|
emitterActive = active;
|
|
214
214
|
}
|
|
215
215
|
return Object.freeze({
|
|
@@ -221,7 +221,7 @@ const Events = (getFallbackNs, getDefaultNs) => {
|
|
|
221
221
|
onRunningChange,
|
|
222
222
|
onCacheChange,
|
|
223
223
|
onUpdate,
|
|
224
|
-
|
|
224
|
+
setEmitterActive,
|
|
225
225
|
on,
|
|
226
226
|
});
|
|
227
227
|
};
|
|
@@ -1255,7 +1255,7 @@ const createTolgee = (options) => {
|
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Turn off/on events emitting. Is on by default.
|
|
1257
1257
|
*/
|
|
1258
|
-
|
|
1258
|
+
setEmitterActive: controller.setEmitterActive,
|
|
1259
1259
|
/**
|
|
1260
1260
|
* @return current language if set.
|
|
1261
1261
|
*/
|
|
@@ -2858,7 +2858,7 @@ if (typeof window !== 'undefined') {
|
|
|
2858
2858
|
},
|
|
2859
2859
|
});
|
|
2860
2860
|
const getTolgeePlugin = async () => {
|
|
2861
|
-
const InContextTools = await loadInContextLib("5.7.
|
|
2861
|
+
const InContextTools = await loadInContextLib("5.7.3" );
|
|
2862
2862
|
return (tolgee) => {
|
|
2863
2863
|
const credentials = getCredentials();
|
|
2864
2864
|
tolgee.addPlugin(InContextTools({ credentials }));
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
return onUpdate.listen(handler);
|
|
216
216
|
}
|
|
217
217
|
};
|
|
218
|
-
function
|
|
218
|
+
function setEmitterActive(active) {
|
|
219
219
|
emitterActive = active;
|
|
220
220
|
}
|
|
221
221
|
return Object.freeze({
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
onRunningChange,
|
|
228
228
|
onCacheChange,
|
|
229
229
|
onUpdate,
|
|
230
|
-
|
|
230
|
+
setEmitterActive,
|
|
231
231
|
on,
|
|
232
232
|
});
|
|
233
233
|
};
|
|
@@ -1261,7 +1261,7 @@
|
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Turn off/on events emitting. Is on by default.
|
|
1263
1263
|
*/
|
|
1264
|
-
|
|
1264
|
+
setEmitterActive: controller.setEmitterActive,
|
|
1265
1265
|
/**
|
|
1266
1266
|
* @return current language if set.
|
|
1267
1267
|
*/
|
|
@@ -2864,7 +2864,7 @@
|
|
|
2864
2864
|
},
|
|
2865
2865
|
});
|
|
2866
2866
|
const getTolgeePlugin = async () => {
|
|
2867
|
-
const InContextTools = await loadInContextLib("5.7.
|
|
2867
|
+
const InContextTools = await loadInContextLib("5.7.3" );
|
|
2868
2868
|
return (tolgee) => {
|
|
2869
2869
|
const credentials = getCredentials();
|
|
2870
2870
|
tolgee.addPlugin(InContextTools({ credentials }));
|