@xfe-repo/web-utils 1.3.9 → 1.3.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/env.d.mts CHANGED
@@ -11,5 +11,8 @@ declare const isProduction: boolean;
11
11
  declare const release: string;
12
12
  declare const apiEnv: ApiEnv;
13
13
  declare const business: Business;
14
+ declare const jwtAud: string | undefined;
15
+ declare const jwtPrivateKey: string | undefined;
16
+ declare const jwtkeyId: string | undefined;
14
17
 
15
- export { type ApiEnv, type Business, type TestEnv, apiEnv, business, isAndroid, isClient, isIos, isProduction, isSSR, isServer, isWeiXin, release };
18
+ export { type ApiEnv, type Business, type TestEnv, apiEnv, business, isAndroid, isClient, isIos, isProduction, isSSR, isServer, isWeiXin, jwtAud, jwtPrivateKey, jwtkeyId, release };
package/dist/env.d.ts CHANGED
@@ -11,5 +11,8 @@ declare const isProduction: boolean;
11
11
  declare const release: string;
12
12
  declare const apiEnv: ApiEnv;
13
13
  declare const business: Business;
14
+ declare const jwtAud: string | undefined;
15
+ declare const jwtPrivateKey: string | undefined;
16
+ declare const jwtkeyId: string | undefined;
14
17
 
15
- export { type ApiEnv, type Business, type TestEnv, apiEnv, business, isAndroid, isClient, isIos, isProduction, isSSR, isServer, isWeiXin, release };
18
+ export { type ApiEnv, type Business, type TestEnv, apiEnv, business, isAndroid, isClient, isIos, isProduction, isSSR, isServer, isWeiXin, jwtAud, jwtPrivateKey, jwtkeyId, release };
package/dist/env.js CHANGED
@@ -39,6 +39,9 @@ __export(env_exports, {
39
39
  isSSR: () => isSSR,
40
40
  isServer: () => isServer,
41
41
  isWeiXin: () => isWeiXin,
42
+ jwtAud: () => jwtAud,
43
+ jwtPrivateKey: () => jwtPrivateKey,
44
+ jwtkeyId: () => jwtkeyId,
42
45
  release: () => release
43
46
  });
44
47
  module.exports = __toCommonJS(env_exports);
@@ -71,6 +74,9 @@ var isProduction = process.env.NODE_ENV === "production";
71
74
  var release = process.env.REACT_APP_RELEASE || "dev";
72
75
  var apiEnv = process.env.REACT_APP_API_ENV || cookies.get("apiEnv");
73
76
  var business = process.env.REACT_APP_BUSINESS;
77
+ var jwtAud = process.env.XFE_JWT_PAYLOAD_AUD;
78
+ var jwtPrivateKey = process.env.XFE_JWT_PRIVATE_KEY;
79
+ var jwtkeyId = process.env.XFE_JWT_KEY_ID;
74
80
  // Annotate the CommonJS export names for ESM import in node:
75
81
  0 && (module.exports = {
76
82
  apiEnv,
@@ -82,5 +88,8 @@ var business = process.env.REACT_APP_BUSINESS;
82
88
  isSSR,
83
89
  isServer,
84
90
  isWeiXin,
91
+ jwtAud,
92
+ jwtPrivateKey,
93
+ jwtkeyId,
85
94
  release
86
95
  });
package/dist/env.mjs CHANGED
@@ -20,6 +20,9 @@ var isProduction = process.env.NODE_ENV === "production";
20
20
  var release = process.env.REACT_APP_RELEASE || "dev";
21
21
  var apiEnv = process.env.REACT_APP_API_ENV || cookies.get("apiEnv");
22
22
  var business = process.env.REACT_APP_BUSINESS;
23
+ var jwtAud = process.env.XFE_JWT_PAYLOAD_AUD;
24
+ var jwtPrivateKey = process.env.XFE_JWT_PRIVATE_KEY;
25
+ var jwtkeyId = process.env.XFE_JWT_KEY_ID;
23
26
  export {
24
27
  apiEnv,
25
28
  business,
@@ -30,5 +33,8 @@ export {
30
33
  isSSR,
31
34
  isServer,
32
35
  isWeiXin,
36
+ jwtAud,
37
+ jwtPrivateKey,
38
+ jwtkeyId,
33
39
  release
34
40
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/web-utils",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "sideEffects": false,
5
5
  "module": "dist/*.js",
6
6
  "types": "types/*.d.ts",