@alicloud/fetcher-jsonp 1.2.0 → 1.2.1

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.
@@ -14,9 +14,9 @@ export interface IJsonpOptions {
14
14
  */
15
15
  jsonpCallbackFunction?: string;
16
16
  /**
17
- * 让 JSONP 得以
17
+ * 让 JSONP 得以 abort,和 fetch 类型一致
18
18
  */
19
- signal?: AbortSignal;
19
+ signal?: AbortSignal | null;
20
20
  }
21
21
  /**
22
22
  * 模仿 Response 对象,fetch 的 Response 对象包含如下属性
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/fetcher-jsonp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "fetcher 的底层 jsonp 实现,可独立使用",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,