@osimatic/helpers-js 1.0.29 → 1.0.30

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.
@@ -78,7 +78,7 @@ class DetailsSubArray {
78
78
  $.ajax({
79
79
  url: link.data("url_details"),
80
80
  method: 'GET',
81
- headers: httpHeaders,
81
+ headers: HTTPRequest.getHeaders(),
82
82
  cache: false,
83
83
  dataType: 'json',
84
84
  success: function (jsonObj) {
package/file.js CHANGED
@@ -103,7 +103,7 @@ class Img {
103
103
  $.ajax({
104
104
  type: 'GET',
105
105
  url: url,
106
- headers: httpHeaders,
106
+ headers: HTTPRequest.getHeaders(),
107
107
  cache: false,
108
108
  xhrFields: {responseType: 'blob'},
109
109
  success: (data) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimatic/helpers-js",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"