@net-vert/core 0.3.5 → 0.3.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -41,7 +41,7 @@ declare type IsValidParams = {
41
41
 
42
42
  declare interface RequestConfig<D = any> {
43
43
  url?: string;
44
- method?: keyof Requestor;
44
+ method?: Exclude<keyof Requestor, "request">;
45
45
  baseURL?: string;
46
46
  headers?: Record<string, any>;
47
47
  params?: Record<string, any> | string;
@@ -123,7 +123,7 @@ declare type TaskItemList<T> = TaskQueue<TaskItem<T>>;
123
123
 
124
124
  export declare type UnifiedConfig<D = any> = RequestConfig<D> & {
125
125
  url: string;
126
- method: keyof Requestor;
126
+ method: Exclude<keyof Requestor, "request">;
127
127
  };
128
128
 
129
129
  export declare type UnifiedRequestor = <R = any, D = any>(config: UnifiedConfig<D>) => Promise<R>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-vert/core",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Dependency Inversion Network Library with Type-Safe Injection.",
5
5
  "main": "dist/index",
6
6
  "type": "module",