@qnx/client 0.8.10 → 0.8.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.mjs +1 -2
- package/package.json +5 -5
- package/dist/package.json +0 -42
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/lib/response/index.ts
|
|
2
2
|
var e = class {
|
|
3
3
|
constructor(e = {}) {
|
|
4
4
|
this.response = e;
|
|
@@ -42,5 +42,4 @@ var e = class {
|
|
|
42
42
|
return this.response.errorCode;
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
//#endregion
|
|
46
45
|
export { n as ApiErrorResponse, e as ApiResponse, t as ApiSuccessResponse };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@qnx/client",
|
|
3
3
|
"description": "@qnx/client for handling response",
|
|
4
4
|
"author": "Yatendra Kushwaha <https://github.com/yatendra121>",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.17",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/yatendra121",
|
|
8
8
|
"homepage": "https://github.com/yatendra121/qnx/tree/main/packages/client",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"import": "./dist/client.mjs"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"unpkg": "./client.iife.js",
|
|
32
|
-
"jsdelivr": "./client.iife.js",
|
|
31
|
+
"unpkg": "./dist/client.iife.js",
|
|
32
|
+
"jsdelivr": "./dist/client.iife.js",
|
|
33
33
|
"scripts": {
|
|
34
34
|
"dev": "vite --host",
|
|
35
|
-
"build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
|
|
35
|
+
"build": "tsc -p tsconfig.lib.json --noEmit && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
|
|
36
36
|
"test": "vitest",
|
|
37
|
-
"test:coverage": "
|
|
37
|
+
"test:coverage": "vitest run --coverage",
|
|
38
38
|
"lint:scripts": "eslint . --ext .ts",
|
|
39
39
|
"format:scripts": "prettier . --write",
|
|
40
40
|
"format": "npm run format:scripts"
|
package/dist/package.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@qnx/client",
|
|
3
|
-
"description": "@qnx/client for handling response",
|
|
4
|
-
"author": "Yatendra Kushwaha <https://github.com/yatendra121>",
|
|
5
|
-
"version": "0.8.10",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"funding": "https://github.com/sponsors/yatendra121",
|
|
8
|
-
"homepage": "https://github.com/yatendra121/qnx/tree/main/packages/client",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"keywords": [
|
|
13
|
-
"response",
|
|
14
|
-
"client response handler"
|
|
15
|
-
],
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "https://github.com/yatendra121/qnx.git",
|
|
19
|
-
"directory": "packages/client"
|
|
20
|
-
},
|
|
21
|
-
"main": "./dist/client.cjs",
|
|
22
|
-
"module": "./dist/client.mjs",
|
|
23
|
-
"types": "./dist/index.d.ts",
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"types": "./dist/index.d.ts",
|
|
27
|
-
"require": "./dist/client.cjs",
|
|
28
|
-
"import": "./dist/client.mjs"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"unpkg": "./client.iife.js",
|
|
32
|
-
"jsdelivr": "./client.iife.js",
|
|
33
|
-
"scripts": {
|
|
34
|
-
"dev": "vite --host",
|
|
35
|
-
"build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
|
|
36
|
-
"test": "vitest",
|
|
37
|
-
"test:coverage": "jest --runInBand --coverage",
|
|
38
|
-
"lint:scripts": "eslint . --ext .ts",
|
|
39
|
-
"format:scripts": "prettier . --write",
|
|
40
|
-
"format": "npm run format:scripts"
|
|
41
|
-
}
|
|
42
|
-
}
|