Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25ff0b9903 | ||
|
|
2f8f3ea017 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@dpu/shared",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@dpu/shared",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"dependencies": {
|
||||
"axios": "^1.7.9",
|
||||
"chalk": "^5.6.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@dpu/shared",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -5,9 +5,9 @@ export type ServiceResult<T = unknown> = {
|
||||
successful: boolean;
|
||||
};
|
||||
|
||||
export type API_Error = {
|
||||
error: string;
|
||||
};
|
||||
export class API_Error {
|
||||
constructor(public error: string) {}
|
||||
}
|
||||
|
||||
export abstract class BaseClient {
|
||||
private axiosInstance: AxiosInstance;
|
||||
|
||||
Reference in New Issue
Block a user