@transcend-io/cli
Advanced tools
Comparing version 4.125.0 to 4.125.1
@@ -179,3 +179,3 @@ import { Optionalize, Requirize } from '@transcend-io/type-utils'; | ||
*/ | ||
getAgentByName(name: string): Promise<Agent>; | ||
getAgentByName(name: string): Promise<Agent | undefined>; | ||
/** | ||
@@ -182,0 +182,0 @@ * Get a list of agent definitions by name. |
@@ -160,3 +160,3 @@ "use strict"; | ||
if (!remoteAgent) { | ||
throw new Error(`Failed to find agent with name: "${name}"`); | ||
return undefined; | ||
} | ||
@@ -163,0 +163,0 @@ this.agentsByName[remoteAgent.name] = remoteAgent; |
@@ -5,3 +5,3 @@ { | ||
"description": "Small package containing useful typescript utilities.", | ||
"version": "4.125.0", | ||
"version": "4.125.1", | ||
"homepage": "https://github.com/transcend-io/cli", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4991265