@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.
- package/dist/environment.d.mts +1 -2
- package/dist/environment.d.ts +1 -2
- package/dist/environment.js +1 -2
- package/dist/environment.mjs +1 -2
- package/package.json +1 -1
package/dist/environment.d.mts
CHANGED
|
@@ -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({
|
|
50
|
-
envStore?: any;
|
|
49
|
+
declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
|
|
51
50
|
localStorageUtils?: LocalStorageUtilsType;
|
|
52
51
|
sessionStorageUtils?: SessionStorageUtilsType;
|
|
53
52
|
}): EnvStore;
|
package/dist/environment.d.ts
CHANGED
|
@@ -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({
|
|
50
|
-
envStore?: any;
|
|
49
|
+
declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
|
|
51
50
|
localStorageUtils?: LocalStorageUtilsType;
|
|
52
51
|
sessionStorageUtils?: SessionStorageUtilsType;
|
|
53
52
|
}): EnvStore;
|
package/dist/environment.js
CHANGED
|
@@ -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(
|
|
3080
|
+
env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
|
|
3082
3081
|
return env;
|
|
3083
3082
|
}
|
|
3084
3083
|
function getEnv() {
|
package/dist/environment.mjs
CHANGED
|
@@ -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(
|
|
3041
|
+
env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
|
|
3043
3042
|
return env;
|
|
3044
3043
|
}
|
|
3045
3044
|
function getEnv() {
|