@okf/ootils 1.24.0 → 1.24.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/node.d.mts +1 -0
- package/dist/node.d.ts +1 -0
- package/dist/node.js +3 -0
- package/dist/node.mjs +3 -0
- package/package.json +1 -1
package/dist/node.d.mts
CHANGED
|
@@ -1330,6 +1330,7 @@ declare namespace RedisCacheConnector {
|
|
|
1330
1330
|
declare class SecretManagerConnector {
|
|
1331
1331
|
static getSecret(secretName: any): any;
|
|
1332
1332
|
static getGlobalConfigs(): any;
|
|
1333
|
+
static getDbConfigs(): any;
|
|
1333
1334
|
static getInstance(): any;
|
|
1334
1335
|
constructor({ secrets }?: {
|
|
1335
1336
|
secrets?: never[] | undefined;
|
package/dist/node.d.ts
CHANGED
|
@@ -1330,6 +1330,7 @@ declare namespace RedisCacheConnector {
|
|
|
1330
1330
|
declare class SecretManagerConnector {
|
|
1331
1331
|
static getSecret(secretName: any): any;
|
|
1332
1332
|
static getGlobalConfigs(): any;
|
|
1333
|
+
static getDbConfigs(): any;
|
|
1333
1334
|
static getInstance(): any;
|
|
1334
1335
|
constructor({ secrets }?: {
|
|
1335
1336
|
secrets?: never[] | undefined;
|
package/dist/node.js
CHANGED
|
@@ -3576,6 +3576,9 @@ 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
|
+
}
|
|
3579
3582
|
static getInstance() {
|
|
3580
3583
|
return _SecretManagerConnector.instance;
|
|
3581
3584
|
}
|
package/dist/node.mjs
CHANGED
|
@@ -3523,6 +3523,9 @@ 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
|
+
}
|
|
3526
3529
|
static getInstance() {
|
|
3527
3530
|
return _SecretManagerConnector.instance;
|
|
3528
3531
|
}
|