@fctc/interface-logic 1.4.8 → 1.4.10

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/hooks.js CHANGED
@@ -4548,6 +4548,7 @@ var ViewService = {
4548
4548
  },
4549
4549
  async getVersion() {
4550
4550
  const env2 = getEnv();
4551
+ console.log("env?.requests", env2, env2?.requests);
4551
4552
  return env2?.requests?.get("", {
4552
4553
  headers: {
4553
4554
  "Content-Type": "application/json"
package/dist/hooks.mjs CHANGED
@@ -4445,6 +4445,7 @@ var ViewService = {
4445
4445
  },
4446
4446
  async getVersion() {
4447
4447
  const env2 = getEnv();
4448
+ console.log("env?.requests", env2, env2?.requests);
4448
4449
  return env2?.requests?.get("", {
4449
4450
  headers: {
4450
4451
  "Content-Type": "application/json"
package/dist/provider.js CHANGED
@@ -3376,6 +3376,7 @@ var ViewService = {
3376
3376
  },
3377
3377
  async getVersion() {
3378
3378
  const env2 = getEnv();
3379
+ console.log("env?.requests", env2, env2?.requests);
3379
3380
  return env2?.requests?.get("", {
3380
3381
  headers: {
3381
3382
  "Content-Type": "application/json"
@@ -3573,6 +3574,7 @@ var VersionGate = ({ children }) => {
3573
3574
  };
3574
3575
  const validateVersion = async () => {
3575
3576
  const serverVersion = await view_service_default.getVersion();
3577
+ console.log("serverVersion", serverVersion);
3576
3578
  const cached = localStorage.getItem("__api_version__");
3577
3579
  if (cached !== serverVersion?.api_version) {
3578
3580
  clearVersion();
package/dist/provider.mjs CHANGED
@@ -3338,6 +3338,7 @@ var ViewService = {
3338
3338
  },
3339
3339
  async getVersion() {
3340
3340
  const env2 = getEnv();
3341
+ console.log("env?.requests", env2, env2?.requests);
3341
3342
  return env2?.requests?.get("", {
3342
3343
  headers: {
3343
3344
  "Content-Type": "application/json"
@@ -3535,6 +3536,7 @@ var VersionGate = ({ children }) => {
3535
3536
  };
3536
3537
  const validateVersion = async () => {
3537
3538
  const serverVersion = await view_service_default.getVersion();
3539
+ console.log("serverVersion", serverVersion);
3538
3540
  const cached = localStorage.getItem("__api_version__");
3539
3541
  if (cached !== serverVersion?.api_version) {
3540
3542
  clearVersion();
package/dist/services.js CHANGED
@@ -4464,6 +4464,7 @@ var ViewService = {
4464
4464
  },
4465
4465
  async getVersion() {
4466
4466
  const env2 = getEnv();
4467
+ console.log("env?.requests", env2, env2?.requests);
4467
4468
  return env2?.requests?.get("", {
4468
4469
  headers: {
4469
4470
  "Content-Type": "application/json"
package/dist/services.mjs CHANGED
@@ -4420,6 +4420,7 @@ var ViewService = {
4420
4420
  },
4421
4421
  async getVersion() {
4422
4422
  const env2 = getEnv();
4423
+ console.log("env?.requests", env2, env2?.requests);
4423
4424
  return env2?.requests?.get("", {
4424
4425
  headers: {
4425
4426
  "Content-Type": "application/json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",