@happy-ts/fetch-t 1.0.0 → 1.0.2

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/README.cn.md CHANGED
@@ -9,7 +9,7 @@ npx jsr add @happy-ts/fetch-t
9
9
 
10
10
  或者直接使用 npm
11
11
  ```
12
- npm install --save fetch-t
12
+ npm install --save @happy-ts/fetch-t
13
13
  ```
14
14
 
15
15
  通过 deno
package/README.md CHANGED
@@ -13,7 +13,7 @@ npx jsr add @happy-ts/fetch-t
13
13
 
14
14
  or just from npm
15
15
  ```
16
- npm install --save fetch-t
16
+ npm install --save @happy-ts/fetch-t
17
17
  ```
18
18
 
19
19
  for deno
package/dist/types.d.ts CHANGED
@@ -115,5 +115,5 @@ declare function fetchT(url: string | URL, init: FetchInit & {
115
115
  */
116
116
  declare function fetchT(url: string | URL, init?: RequestInit): FetchResponse<string>;
117
117
 
118
- export { type FetchInit, type FetchTask, fetchT };
118
+ export { type FetchInit, type FetchResponse, type FetchTask, fetchT };
119
119
  //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Cancelable fetch wrapper with the ability to specify the return type.",
4
4
  "author": "jiang115jie@gmail.com",
5
5
  "license": "GPL-3.0",
6
- "version": "1.0.0",
6
+ "version": "1.0.2",
7
7
  "type": "module",
8
8
  "source": "./src/mod.ts",
9
9
  "main": "./dist/main.cjs",
package/src/mod.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type { FetchInit, FetchTask } from './fetch/defines.ts';
1
+ export type { FetchInit, FetchResponse, FetchTask } from './fetch/defines.ts';
2
2
  export { fetchT } from './fetch/fetch.ts';