@okf/ootils 1.24.3 → 1.24.4

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/node.d.mts CHANGED
@@ -1332,6 +1332,7 @@ declare class SecretManagerConnector {
1332
1332
  static getGlobalConfigs(): any;
1333
1333
  static getDbConfigs(): any;
1334
1334
  static getTenantEnvConfigs(tenant: any): any;
1335
+ static getEnvSpecificConfigs(env: any): any;
1335
1336
  static getInstance(): any;
1336
1337
  constructor({ secrets }?: {
1337
1338
  secrets?: never[] | undefined;
package/dist/node.d.ts CHANGED
@@ -1332,6 +1332,7 @@ declare class SecretManagerConnector {
1332
1332
  static getGlobalConfigs(): any;
1333
1333
  static getDbConfigs(): any;
1334
1334
  static getTenantEnvConfigs(tenant: any): any;
1335
+ static getEnvSpecificConfigs(env: any): any;
1335
1336
  static getInstance(): any;
1336
1337
  constructor({ secrets }?: {
1337
1338
  secrets?: never[] | undefined;
package/dist/node.js CHANGED
@@ -3583,6 +3583,10 @@ var SecretManagerConnector = class _SecretManagerConnector {
3583
3583
  const configs = _SecretManagerConnector.getSecret("tenantEnvConfigs");
3584
3584
  return tenant ? configs[tenant] : configs;
3585
3585
  }
3586
+ static getEnvSpecificConfigs(env) {
3587
+ const configs = _SecretManagerConnector.getSecret("envSpecificConfigs");
3588
+ return env ? configs[env] : configs;
3589
+ }
3586
3590
  static getInstance() {
3587
3591
  return _SecretManagerConnector.instance;
3588
3592
  }
package/dist/node.mjs CHANGED
@@ -3530,6 +3530,10 @@ var SecretManagerConnector = class _SecretManagerConnector {
3530
3530
  const configs = _SecretManagerConnector.getSecret("tenantEnvConfigs");
3531
3531
  return tenant ? configs[tenant] : configs;
3532
3532
  }
3533
+ static getEnvSpecificConfigs(env) {
3534
+ const configs = _SecretManagerConnector.getSecret("envSpecificConfigs");
3535
+ return env ? configs[env] : configs;
3536
+ }
3533
3537
  static getInstance() {
3534
3538
  return _SecretManagerConnector.instance;
3535
3539
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.24.3",
6
+ "version": "1.24.4",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",