jplan-pack 0.3.64 → 0.3.65

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.
@@ -0,0 +1,9 @@
1
+ import { Method } from 'axios';
2
+ export type HTTP_RequestConfig<T> = {
3
+ url: string;
4
+ method: Method;
5
+ header?: Record<string, string>;
6
+ body?: T | T[];
7
+ bearerToken?: string;
8
+ };
9
+ export declare function HttpCore<T>({ url, method, header, body, bearerToken, }: HTTP_RequestConfig<T>): Promise<T | T[]>;
@@ -1 +1,2 @@
1
- export {};
1
+ import { HttpCore } from './HttpCore';
2
+ export { HttpCore };
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "jplan-pack",
3
- "version": "0.3.64",
4
- "files": ["dist"],
3
+ "version": "0.3.65",
4
+ "files": [
5
+ "dist"
6
+ ],
5
7
  "main": "./dist/jplan-lib.es.js",
6
8
  "types": "./dist/types/index.d.ts",
7
9
  "scripts": {
@@ -15,6 +17,7 @@
15
17
  "@vitejs/plugin-vue": "^5.1.5",
16
18
  "@vue/compiler-core": "^3.3.4",
17
19
  "@vueuse/core": "^11.2.0",
20
+ "axios": "^1.7.7",
18
21
  "lodash": "^4.17.21",
19
22
  "pinia": "^2.2.6",
20
23
  "vue-tabler-icons": "^2.21.0"
@@ -22,8 +25,8 @@
22
25
  "peerDependencies": {
23
26
  "@mdi/font": "^7.4.47",
24
27
  "@vueuse/core": "^11.2.0",
25
- "vuetify": "^3.7.4",
26
- "vue": "^3.3.4"
28
+ "vue": "^3.3.4",
29
+ "vuetify": "^3.7.4"
27
30
  },
28
31
  "devDependencies": {
29
32
  "@types/node": "^20.3.3",
@@ -1,5 +0,0 @@
1
- declare function add(a: number, b: number): number;
2
- declare const _default: {
3
- add: typeof add;
4
- };
5
- export default _default;