argous 1.2.210 → 1.2.211
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/api/index.js +2 -3
- package/lib/api/index.js +2 -3
- package/package.json +1 -1
package/dist/api/index.js
CHANGED
|
@@ -300,9 +300,8 @@ var action = function (data) { return __awaiter(void 0, void 0, void 0, function
|
|
|
300
300
|
switch (_a.label) {
|
|
301
301
|
case 0:
|
|
302
302
|
headers = headers(data);
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
303
|
+
console.log('action data', data);
|
|
304
|
+
console.log('action headers', headers);
|
|
306
305
|
return [4 /*yield*/, fetch(exports.api() + "agaction.rslvr", {
|
|
307
306
|
method: 'POST',
|
|
308
307
|
body: JSON.stringify(data),
|
package/lib/api/index.js
CHANGED
|
@@ -154,9 +154,8 @@ export const agSet = async (data) => {
|
|
|
154
154
|
export const action = async (data) => {
|
|
155
155
|
const headers = headers(data);
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
157
|
+
console.log('action data', data);
|
|
158
|
+
console.log('action headers', headers);
|
|
160
159
|
|
|
161
160
|
const res = await fetch(`${api()}agaction.rslvr`, {
|
|
162
161
|
method: 'POST',
|