@fctc/interface-logic 1.0.8 → 1.1.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.
package/dist/config.js CHANGED
@@ -2364,7 +2364,7 @@ var axiosClient = {
2364
2364
  const responseBody = (response) => response;
2365
2365
  const requests = {
2366
2366
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2367
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2367
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2368
2368
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2369
2369
  responseType: "arraybuffer",
2370
2370
  headers: {
package/dist/config.mjs CHANGED
@@ -2328,7 +2328,7 @@ var axiosClient = {
2328
2328
  const responseBody = (response) => response;
2329
2329
  const requests = {
2330
2330
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2331
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2331
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2332
2332
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2333
2333
  responseType: "arraybuffer",
2334
2334
  headers: {
@@ -2367,7 +2367,7 @@ var axiosClient = {
2367
2367
  const responseBody = (response) => response;
2368
2368
  const requests = {
2369
2369
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2370
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2370
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2371
2371
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2372
2372
  responseType: "arraybuffer",
2373
2373
  headers: {
@@ -2328,7 +2328,7 @@ var axiosClient = {
2328
2328
  const responseBody = (response) => response;
2329
2329
  const requests = {
2330
2330
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2331
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2331
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2332
2332
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2333
2333
  responseType: "arraybuffer",
2334
2334
  headers: {
package/dist/hook.js CHANGED
@@ -2491,7 +2491,7 @@ var axiosClient = {
2491
2491
  const responseBody = (response) => response;
2492
2492
  const requests = {
2493
2493
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2494
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2494
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2495
2495
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2496
2496
  responseType: "arraybuffer",
2497
2497
  headers: {
@@ -4609,10 +4609,10 @@ var ViewService = {
4609
4609
  });
4610
4610
  const url = `${path}?${params.toString()}`;
4611
4611
  return env2?.requests.get(url, {
4612
- credentials: "include",
4613
4612
  headers: {
4614
4613
  "Content-Type": "application/json"
4615
- }
4614
+ },
4615
+ withCredentials: true
4616
4616
  });
4617
4617
  },
4618
4618
  async grantAccess({
package/dist/hook.mjs CHANGED
@@ -2388,7 +2388,7 @@ var axiosClient = {
2388
2388
  const responseBody = (response) => response;
2389
2389
  const requests = {
2390
2390
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2391
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2391
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2392
2392
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2393
2393
  responseType: "arraybuffer",
2394
2394
  headers: {
@@ -4506,10 +4506,10 @@ var ViewService = {
4506
4506
  });
4507
4507
  const url = `${path}?${params.toString()}`;
4508
4508
  return env2?.requests.get(url, {
4509
- credentials: "include",
4510
4509
  headers: {
4511
4510
  "Content-Type": "application/json"
4512
- }
4511
+ },
4512
+ withCredentials: true
4513
4513
  });
4514
4514
  },
4515
4515
  async grantAccess({
package/dist/index.js CHANGED
@@ -3428,7 +3428,7 @@ var axiosClient = {
3428
3428
  const responseBody = (response) => response;
3429
3429
  const requests = {
3430
3430
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
3431
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
3431
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
3432
3432
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
3433
3433
  responseType: "arraybuffer",
3434
3434
  headers: {
@@ -5571,10 +5571,10 @@ var ViewService = {
5571
5571
  });
5572
5572
  const url = `${path}?${params.toString()}`;
5573
5573
  return env2?.requests.get(url, {
5574
- credentials: "include",
5575
5574
  headers: {
5576
5575
  "Content-Type": "application/json"
5577
- }
5576
+ },
5577
+ withCredentials: true
5578
5578
  });
5579
5579
  },
5580
5580
  async grantAccess({
package/dist/index.mjs CHANGED
@@ -3182,7 +3182,7 @@ var axiosClient = {
3182
3182
  const responseBody = (response) => response;
3183
3183
  const requests = {
3184
3184
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
3185
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
3185
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
3186
3186
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
3187
3187
  responseType: "arraybuffer",
3188
3188
  headers: {
@@ -5325,10 +5325,10 @@ var ViewService = {
5325
5325
  });
5326
5326
  const url = `${path}?${params.toString()}`;
5327
5327
  return env2?.requests.get(url, {
5328
- credentials: "include",
5329
5328
  headers: {
5330
5329
  "Content-Type": "application/json"
5331
- }
5330
+ },
5331
+ withCredentials: true
5332
5332
  });
5333
5333
  },
5334
5334
  async grantAccess({
package/dist/model.js CHANGED
@@ -2515,7 +2515,7 @@ var axiosClient = {
2515
2515
  const responseBody = (response) => response;
2516
2516
  const requests = {
2517
2517
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2518
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2518
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2519
2519
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2520
2520
  responseType: "arraybuffer",
2521
2521
  headers: {
package/dist/model.mjs CHANGED
@@ -2477,7 +2477,7 @@ var axiosClient = {
2477
2477
  const responseBody = (response) => response;
2478
2478
  const requests = {
2479
2479
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2480
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2480
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2481
2481
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2482
2482
  responseType: "arraybuffer",
2483
2483
  headers: {
package/dist/provider.js CHANGED
@@ -3017,7 +3017,7 @@ var axiosClient = {
3017
3017
  const responseBody = (response) => response;
3018
3018
  const requests = {
3019
3019
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
3020
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
3020
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
3021
3021
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
3022
3022
  responseType: "arraybuffer",
3023
3023
  headers: {
@@ -3438,10 +3438,10 @@ var ViewService = {
3438
3438
  });
3439
3439
  const url = `${path}?${params.toString()}`;
3440
3440
  return env2?.requests.get(url, {
3441
- credentials: "include",
3442
3441
  headers: {
3443
3442
  "Content-Type": "application/json"
3444
- }
3443
+ },
3444
+ withCredentials: true
3445
3445
  });
3446
3446
  },
3447
3447
  async grantAccess({
package/dist/provider.mjs CHANGED
@@ -2979,7 +2979,7 @@ var axiosClient = {
2979
2979
  const responseBody = (response) => response;
2980
2980
  const requests = {
2981
2981
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2982
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2982
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2983
2983
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2984
2984
  responseType: "arraybuffer",
2985
2985
  headers: {
@@ -3400,10 +3400,10 @@ var ViewService = {
3400
3400
  });
3401
3401
  const url = `${path}?${params.toString()}`;
3402
3402
  return env2?.requests.get(url, {
3403
- credentials: "include",
3404
3403
  headers: {
3405
3404
  "Content-Type": "application/json"
3406
- }
3405
+ },
3406
+ withCredentials: true
3407
3407
  });
3408
3408
  },
3409
3409
  async grantAccess({
package/dist/services.js CHANGED
@@ -2407,7 +2407,7 @@ var axiosClient = {
2407
2407
  const responseBody = (response) => response;
2408
2408
  const requests = {
2409
2409
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2410
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2410
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2411
2411
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2412
2412
  responseType: "arraybuffer",
2413
2413
  headers: {
@@ -4525,10 +4525,10 @@ var ViewService = {
4525
4525
  });
4526
4526
  const url = `${path}?${params.toString()}`;
4527
4527
  return env2?.requests.get(url, {
4528
- credentials: "include",
4529
4528
  headers: {
4530
4529
  "Content-Type": "application/json"
4531
- }
4530
+ },
4531
+ withCredentials: true
4532
4532
  });
4533
4533
  },
4534
4534
  async grantAccess({
package/dist/services.mjs CHANGED
@@ -2363,7 +2363,7 @@ var axiosClient = {
2363
2363
  const responseBody = (response) => response;
2364
2364
  const requests = {
2365
2365
  get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
2366
- post: (url, body, headers) => instance.post(formatUrl(url, db), body, { headers }).then(responseBody),
2366
+ post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
2367
2367
  post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
2368
2368
  responseType: "arraybuffer",
2369
2369
  headers: {
@@ -4481,10 +4481,10 @@ var ViewService = {
4481
4481
  });
4482
4482
  const url = `${path}?${params.toString()}`;
4483
4483
  return env2?.requests.get(url, {
4484
- credentials: "include",
4485
4484
  headers: {
4486
4485
  "Content-Type": "application/json"
4487
- }
4486
+ },
4487
+ withCredentials: true
4488
4488
  });
4489
4489
  },
4490
4490
  async grantAccess({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",