@tolgee/web 5.15.0 → 5.16.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.
@@ -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.15.0" }, init === null || init === void 0 ? void 0 : init.headers) }));
73
+ return (input, init) => fetchFn(input, Object.assign(Object.assign({}, init), { headers: Object.assign({ 'X-Tolgee-SDK-Type': 'JS', 'X-Tolgee-SDK-Version': "5.16.0" }, init === null || init === void 0 ? void 0 : init.headers) }));
74
74
  };
75
75
 
76
76
  function EventEmitter(isActive) {
@@ -2875,7 +2875,7 @@ if (sessionStorageAvailable()) {
2875
2875
  },
2876
2876
  });
2877
2877
  const getTolgeePlugin = async () => {
2878
- const InContextTools = await loadInContextLib("5.15.0" );
2878
+ const InContextTools = await loadInContextLib("5.16.0" );
2879
2879
  return (tolgee) => {
2880
2880
  const credentials = getCredentials();
2881
2881
  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.15.0" }, init === null || init === void 0 ? void 0 : init.headers) }));
79
+ return (input, init) => fetchFn(input, Object.assign(Object.assign({}, init), { headers: Object.assign({ 'X-Tolgee-SDK-Type': 'JS', 'X-Tolgee-SDK-Version': "5.16.0" }, init === null || init === void 0 ? void 0 : init.headers) }));
80
80
  };
81
81
 
82
82
  function EventEmitter(isActive) {
@@ -2881,7 +2881,7 @@
2881
2881
  },
2882
2882
  });
2883
2883
  const getTolgeePlugin = async () => {
2884
- const InContextTools = await loadInContextLib("5.15.0" );
2884
+ const InContextTools = await loadInContextLib("5.16.0" );
2885
2885
  return (tolgee) => {
2886
2886
  const credentials = getCredentials();
2887
2887
  tolgee.addPlugin(InContextTools({ credentials }));