@okf/ootils 1.24.0 → 1.24.2

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
@@ -1330,6 +1330,8 @@ declare namespace RedisCacheConnector {
1330
1330
  declare class SecretManagerConnector {
1331
1331
  static getSecret(secretName: any): any;
1332
1332
  static getGlobalConfigs(): any;
1333
+ static getDbConfigs(): any;
1334
+ static getTenantEnvConfigs(): any;
1333
1335
  static getInstance(): any;
1334
1336
  constructor({ secrets }?: {
1335
1337
  secrets?: never[] | undefined;
package/dist/node.d.ts CHANGED
@@ -1330,6 +1330,8 @@ declare namespace RedisCacheConnector {
1330
1330
  declare class SecretManagerConnector {
1331
1331
  static getSecret(secretName: any): any;
1332
1332
  static getGlobalConfigs(): any;
1333
+ static getDbConfigs(): any;
1334
+ static getTenantEnvConfigs(): any;
1333
1335
  static getInstance(): any;
1334
1336
  constructor({ secrets }?: {
1335
1337
  secrets?: never[] | undefined;
package/dist/node.js CHANGED
@@ -3576,6 +3576,12 @@ var SecretManagerConnector = class _SecretManagerConnector {
3576
3576
  static getGlobalConfigs() {
3577
3577
  return _SecretManagerConnector.getSecret("globalConfigs");
3578
3578
  }
3579
+ static getDbConfigs() {
3580
+ return _SecretManagerConnector.getSecret("dbConfigs");
3581
+ }
3582
+ static getTenantEnvConfigs() {
3583
+ return _SecretManagerConnector.getSecret("tenantEnvConfigs");
3584
+ }
3579
3585
  static getInstance() {
3580
3586
  return _SecretManagerConnector.instance;
3581
3587
  }
package/dist/node.mjs CHANGED
@@ -3523,6 +3523,12 @@ var SecretManagerConnector = class _SecretManagerConnector {
3523
3523
  static getGlobalConfigs() {
3524
3524
  return _SecretManagerConnector.getSecret("globalConfigs");
3525
3525
  }
3526
+ static getDbConfigs() {
3527
+ return _SecretManagerConnector.getSecret("dbConfigs");
3528
+ }
3529
+ static getTenantEnvConfigs() {
3530
+ return _SecretManagerConnector.getSecret("tenantEnvConfigs");
3531
+ }
3526
3532
  static getInstance() {
3527
3533
  return _SecretManagerConnector.instance;
3528
3534
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.24.0",
6
+ "version": "1.24.2",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",