@botpress/client
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
import { Configuration } from "./configuration"; | ||
import { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import type { Configuration } from './configuration'; | ||
import type { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
export declare const BASE_PATH: string; | ||
@@ -54,4 +54,3 @@ /** | ||
field: string; | ||
name: "RequiredError"; | ||
constructor(field: string, msg?: string); | ||
} |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -12,6 +13,5 @@ * Botpress API | ||
*/ | ||
/// <reference types="node" /> | ||
import { Configuration } from "./configuration"; | ||
import { RequestArgs } from "./base"; | ||
import { AxiosInstance, AxiosResponse } from 'axios'; | ||
import type { Configuration } from "./configuration"; | ||
import type { RequestArgs } from "./base"; | ||
import type { AxiosInstance, AxiosResponse } from 'axios'; | ||
/** | ||
@@ -18,0 +18,0 @@ * |
@@ -8,6 +8,12 @@ declare const codes: { | ||
readonly HTTP_STATUS_METHOD_NOT_ALLOWED: 405; | ||
readonly HTTP_STATUS_REQUEST_TIMEOUT: 408; | ||
readonly HTTP_STATUS_CONFLICT: 409; | ||
readonly HTTP_STATUS_PAYLOAD_TOO_LARGE: 413; | ||
readonly HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: 415; | ||
readonly HTTP_STATUS_TOO_MANY_REQUESTS: 429; | ||
readonly HTTP_STATUS_INTERNAL_SERVER_ERROR: 500; | ||
readonly HTTP_STATUS_NOT_IMPLEMENTED: 501; | ||
readonly HTTP_STATUS_BAD_GATEWAY: 502; | ||
readonly HTTP_STATUS_SERVICE_UNAVAILABLE: 503; | ||
readonly HTTP_STATUS_GATEWAY_TIMEOUT: 504; | ||
}; | ||
@@ -14,0 +20,0 @@ type ErrorCode = typeof codes[keyof typeof codes]; |
{ | ||
"name": "@botpress/client", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"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 too big to display
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 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1631984
7119