@tolgee/web 5.19.3 → 5.19.5
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-in-context-tools.cjs.js +1 -1
- package/dist/tolgee-in-context-tools.cjs.min.js +1 -1
- package/dist/tolgee-in-context-tools.esm.js +1 -1
- package/dist/tolgee-in-context-tools.esm.min.js +1 -1
- package/dist/tolgee-in-context-tools.esm.min.mjs +1 -1
- package/dist/tolgee-in-context-tools.esm.mjs +1 -1
- package/dist/tolgee-in-context-tools.umd.js +1 -1
- package/dist/tolgee-in-context-tools.umd.min.js +1 -1
- package/dist/tolgee-web.development.cjs.js +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/tolgee-web.development.umd.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/tolgee-web.production.umd.js +3 -3
- 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
- package/src/BrowserExtensionPlugin/loadInContextLib.ts +1 -1
|
@@ -70,7 +70,7 @@ function getErrorMessage(error) {
|
|
|
70
70
|
}
|
|
71
71
|
const defaultFetchFunction = (input, options) => fetch(input, options);
|
|
72
72
|
const createFetchFunction = (fetchFn = defaultFetchFunction) => {
|
|
73
|
-
return (input, init) => fetchFn(input, Object.assign(Object.assign({}, init), { headers: Object.assign({ 'X-Tolgee-SDK-Type': 'JS', 'X-Tolgee-SDK-Version': "5.19.
|
|
73
|
+
return (input, init) => fetchFn(input, Object.assign(Object.assign({}, init), { headers: Object.assign({ 'X-Tolgee-SDK-Type': 'JS', 'X-Tolgee-SDK-Version': "5.19.5" }, init === null || init === void 0 ? void 0 : init.headers) }));
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
function EventEmitter(isActive) {
|
|
@@ -2928,7 +2928,7 @@ function injectScript(src) {
|
|
|
2928
2928
|
script.src = src;
|
|
2929
2929
|
script.addEventListener('load', () => resolve());
|
|
2930
2930
|
script.addEventListener('error', (e) => reject(e.error));
|
|
2931
|
-
document.
|
|
2931
|
+
document.head.appendChild(script);
|
|
2932
2932
|
});
|
|
2933
2933
|
}
|
|
2934
2934
|
let injectPromise = null;
|
|
@@ -3001,7 +3001,7 @@ if (sessionStorageAvailable()) {
|
|
|
3001
3001
|
},
|
|
3002
3002
|
});
|
|
3003
3003
|
const getTolgeePlugin = async () => {
|
|
3004
|
-
const InContextTools = await loadInContextLib("5.19.
|
|
3004
|
+
const InContextTools = await loadInContextLib("5.19.5" );
|
|
3005
3005
|
return (tolgee) => {
|
|
3006
3006
|
const credentials = getCredentials();
|
|
3007
3007
|
tolgee.addPlugin(InContextTools({ credentials }));
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
const defaultFetchFunction = (input, options) => fetch(input, options);
|
|
78
78
|
const createFetchFunction = (fetchFn = defaultFetchFunction) => {
|
|
79
|
-
return (input, init) => fetchFn(input, Object.assign(Object.assign({}, init), { headers: Object.assign({ 'X-Tolgee-SDK-Type': 'JS', 'X-Tolgee-SDK-Version': "5.19.
|
|
79
|
+
return (input, init) => fetchFn(input, Object.assign(Object.assign({}, init), { headers: Object.assign({ 'X-Tolgee-SDK-Type': 'JS', 'X-Tolgee-SDK-Version': "5.19.5" }, init === null || init === void 0 ? void 0 : init.headers) }));
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
function EventEmitter(isActive) {
|
|
@@ -2934,7 +2934,7 @@
|
|
|
2934
2934
|
script.src = src;
|
|
2935
2935
|
script.addEventListener('load', () => resolve());
|
|
2936
2936
|
script.addEventListener('error', (e) => reject(e.error));
|
|
2937
|
-
document.
|
|
2937
|
+
document.head.appendChild(script);
|
|
2938
2938
|
});
|
|
2939
2939
|
}
|
|
2940
2940
|
let injectPromise = null;
|
|
@@ -3007,7 +3007,7 @@
|
|
|
3007
3007
|
},
|
|
3008
3008
|
});
|
|
3009
3009
|
const getTolgeePlugin = async () => {
|
|
3010
|
-
const InContextTools = await loadInContextLib("5.19.
|
|
3010
|
+
const InContextTools = await loadInContextLib("5.19.5" );
|
|
3011
3011
|
return (tolgee) => {
|
|
3012
3012
|
const credentials = getCredentials();
|
|
3013
3013
|
tolgee.addPlugin(InContextTools({ credentials }));
|