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",
|
"name": "@dpu/shared",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@dpu/shared",
|
"name": "@dpu/shared",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.7.9",
|
"axios": "^1.7.9",
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dpu/shared",
|
"name": "@dpu/shared",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ export type ServiceResult<T = unknown> = {
|
|||||||
successful: boolean;
|
successful: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type API_Error = {
|
export class API_Error {
|
||||||
error: string;
|
constructor(public error: string) {}
|
||||||
};
|
}
|
||||||
|
|
||||||
export abstract class BaseClient {
|
export abstract class BaseClient {
|
||||||
private axiosInstance: AxiosInstance;
|
private axiosInstance: AxiosInstance;
|
||||||
|
|||||||
Reference in New Issue
Block a user