🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
refactor: change access modifiers for getValue and getValues methods in EdgeConfig class
YuTengjingc2acb551f696
diff --git a/packages/edge-config/src/index.ts b/packages/edge-config/src/index.tsindex 1d4629379c5..aa4f839caf9 100644--- a/packages/edge-config/src/index.ts+++ b/packages/edge-config/src/index.ts@@ -25,11 +25,11 @@ export class EdgeConfig {return isEnabled;}- private async getValue<K extends EdgeConfigKeys>(key: K) {+ async getValue<K extends EdgeConfigKeys>(key: K) {return this.client.get<EdgeConfigData[K]>(key);}- private async getValues<const K extends EdgeConfigKeys>(keys: K[]) {+ async getValues<const K extends EdgeConfigKeys>(keys: K[]) {return this.client.getAll<Pick<EdgeConfigData, K>>(keys);}