@fctc/interface-logic 1.4.0 → 1.4.1

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.
@@ -46,8 +46,7 @@ declare class EnvStore {
46
46
  setUserInfo(userInfo: any): void;
47
47
  }
48
48
  declare let env: EnvStore | null;
49
- declare function initEnv({ envStore, localStorageUtils, sessionStorageUtils, }: {
50
- envStore?: any;
49
+ declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
51
50
  localStorageUtils?: LocalStorageUtilsType;
52
51
  sessionStorageUtils?: SessionStorageUtilsType;
53
52
  }): EnvStore;
@@ -46,8 +46,7 @@ declare class EnvStore {
46
46
  setUserInfo(userInfo: any): void;
47
47
  }
48
48
  declare let env: EnvStore | null;
49
- declare function initEnv({ envStore, localStorageUtils, sessionStorageUtils, }: {
50
- envStore?: any;
49
+ declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
51
50
  localStorageUtils?: LocalStorageUtilsType;
52
51
  sessionStorageUtils?: SessionStorageUtilsType;
53
52
  }): EnvStore;
@@ -3074,11 +3074,10 @@ var EnvStore = class {
3074
3074
  };
3075
3075
  var env = null;
3076
3076
  function initEnv({
3077
- envStore: envStore2,
3078
3077
  localStorageUtils: localStorageUtils2,
3079
3078
  sessionStorageUtils: sessionStorageUtils2
3080
3079
  }) {
3081
- env = new EnvStore(envStore2, localStorageUtils2, sessionStorageUtils2);
3080
+ env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
3082
3081
  return env;
3083
3082
  }
3084
3083
  function getEnv() {
@@ -3035,11 +3035,10 @@ var EnvStore = class {
3035
3035
  };
3036
3036
  var env = null;
3037
3037
  function initEnv({
3038
- envStore: envStore2,
3039
3038
  localStorageUtils: localStorageUtils2,
3040
3039
  sessionStorageUtils: sessionStorageUtils2
3041
3040
  }) {
3042
- env = new EnvStore(envStore2, localStorageUtils2, sessionStorageUtils2);
3041
+ env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
3043
3042
  return env;
3044
3043
  }
3045
3044
  function getEnv() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",