@xylabs/api
Advanced tools
Comparing version 2.11.4 to 2.11.5
import { ApiStage } from './ApiStage'; | ||
declare abstract class ApiClient { | ||
protected token?: string | null; | ||
protected stage?: ApiStage; | ||
constructor(token?: string | null, stage?: ApiStage); | ||
protected token?: string | null | undefined; | ||
protected stage?: ApiStage | undefined; | ||
constructor(token?: string | null | undefined, stage?: ApiStage | undefined); | ||
abstract endPoint(): string; | ||
@@ -7,0 +7,0 @@ } |
@@ -7,7 +7,7 @@ import { ApiConfig } from './ApiConfig'; | ||
constructor(config: ApiConfig, path: string); | ||
get value(): T; | ||
get value(): T | undefined; | ||
private get headers(); | ||
private get url(); | ||
fetch(): Promise<T>; | ||
get(): Promise<T>; | ||
get(): Promise<T | NonNullable<T>>; | ||
insert(value: T): Promise<T>; | ||
@@ -14,0 +14,0 @@ } |
@@ -57,4 +57,4 @@ { | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.0.20", | ||
"@xylabs/tsconfig": "^3.0.20", | ||
"@xylabs/ts-scripts-yarn3": "^3.0.25", | ||
"@xylabs/tsconfig": "^3.0.25", | ||
"typescript": "^5.2.2" | ||
@@ -70,4 +70,4 @@ }, | ||
"sideEffects": false, | ||
"version": "2.11.4", | ||
"version": "2.11.5", | ||
"packageManager": "yarn@3.3.1" | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31878
0