wj-elements 0.1.87 → 0.1.88
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/wje-element.js +9 -9
- package/package.json +1 -1
package/dist/wje-element.js
CHANGED
|
@@ -51,12 +51,12 @@ class UniversalService {
|
|
|
51
51
|
return fetch(url, {
|
|
52
52
|
method,
|
|
53
53
|
body: data,
|
|
54
|
-
cache:
|
|
54
|
+
// cache: 'no-cache',
|
|
55
55
|
headers: {
|
|
56
56
|
"Content-Type": "application/json"
|
|
57
57
|
},
|
|
58
|
-
async: true
|
|
59
|
-
referrerPolicy:
|
|
58
|
+
async: true
|
|
59
|
+
// referrerPolicy: 'same-origin',
|
|
60
60
|
}).then((response, e) => {
|
|
61
61
|
var _a;
|
|
62
62
|
let permissions = (_a = response.headers.get("permissions")) == null ? void 0 : _a.split(",");
|
|
@@ -73,11 +73,11 @@ class UniversalService {
|
|
|
73
73
|
});
|
|
74
74
|
__publicField(this, "loadOnePromise", (url, action) => {
|
|
75
75
|
return fetch(url, {
|
|
76
|
-
cache:
|
|
76
|
+
// cache: 'no-cache',
|
|
77
77
|
headers: {
|
|
78
78
|
"Content-Type": "application/json"
|
|
79
|
-
}
|
|
80
|
-
referrerPolicy:
|
|
79
|
+
}
|
|
80
|
+
// referrerPolicy: 'same-origin',
|
|
81
81
|
}).then((data) => {
|
|
82
82
|
data = data.json();
|
|
83
83
|
if (action) {
|
|
@@ -118,11 +118,11 @@ class UniversalService {
|
|
|
118
118
|
_get(url, action, dispatchMethod) {
|
|
119
119
|
let promise = fetch(url, {
|
|
120
120
|
method: "GET",
|
|
121
|
-
cache:
|
|
121
|
+
// cache: 'no-cache',
|
|
122
122
|
headers: {
|
|
123
123
|
"Content-Type": "application/json"
|
|
124
|
-
}
|
|
125
|
-
referrerPolicy:
|
|
124
|
+
}
|
|
125
|
+
// referrerPolicy: 'same-origin',
|
|
126
126
|
}).then(async (response) => {
|
|
127
127
|
let text;
|
|
128
128
|
try {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wj-elements",
|
|
3
3
|
"description": "WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.88",
|
|
5
5
|
"homepage": "https://github.com/lencys/wj-elements",
|
|
6
6
|
"author": "Lukáš Ondrejček <lukas.ondrejcek@gmail.com>",
|
|
7
7
|
"license": "MIT",
|