@botpress/client
Advanced tools
Comparing version 0.0.9 to 0.0.10
export type ClientProps = { | ||
host?: string; | ||
oauthUrl?: string; | ||
integrationId?: string; | ||
@@ -8,4 +7,2 @@ workspaceId?: string; | ||
token?: string; | ||
clientKey?: string; | ||
clientSecret?: string; | ||
timeout?: number; | ||
@@ -18,13 +15,3 @@ }; | ||
timeout?: number; | ||
} & ({ | ||
authStrategy: 'token'; | ||
token: string; | ||
} | { | ||
authStrategy: 'oauth'; | ||
clientKey: string; | ||
clientSecret: string; | ||
oauthUrl: string; | ||
} | { | ||
authStrategy: 'none'; | ||
}); | ||
}; | ||
export declare function getClientConfig(clientProps: ClientProps): ClientConfig; |
{ | ||
"name": "@botpress/client", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Botpress Client", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 14 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 23 instances in 1 package
25
1640592
16
7182