@lylajs/wx
Advanced tools
@@ -14,4 +14,6 @@ import type { LylaAdapter, LylaAdapterMeta as LylaCoreAdapterMeta } from '@lylajs/core'; | ||
| originalRequest: WxRequestTask; | ||
| extraOptions: never; | ||
| extraOptions: Partial<{ | ||
| enableHttp2: boolean; | ||
| }>; | ||
| } | ||
| export declare const adapter: LylaAdapter<LylaAdapterMeta>; |
+3
-1
@@ -14,4 +14,6 @@ import type { LylaAdapter, LylaAdapterMeta as LylaCoreAdapterMeta } from '@lylajs/core'; | ||
| originalRequest: WxRequestTask; | ||
| extraOptions: never; | ||
| extraOptions: Partial<{ | ||
| enableHttp2: boolean; | ||
| }>; | ||
| } | ||
| export declare const adapter: LylaAdapter<LylaAdapterMeta>; |
+2
-1
@@ -7,3 +7,3 @@ import { headersKeyToLowerCase } from '@lylajs/core'; | ||
| // withCredentials, | ||
| onDownloadProgress, onHeadersReceived | ||
| onDownloadProgress, onHeadersReceived, extraOptions | ||
| // onUploadProgress, | ||
@@ -18,2 +18,3 @@ }) => { | ||
| responseType, | ||
| enableHttp2: extraOptions === null || extraOptions === void 0 ? void 0 : extraOptions.enableHttp2, | ||
| enableChunked: !!onDownloadProgress, | ||
@@ -20,0 +21,0 @@ // https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html |
+3
-1
@@ -14,4 +14,6 @@ import type { LylaAdapter, LylaAdapterMeta as LylaCoreAdapterMeta } from '@lylajs/core'; | ||
| originalRequest: WxRequestTask; | ||
| extraOptions: never; | ||
| extraOptions: Partial<{ | ||
| enableHttp2: boolean; | ||
| }>; | ||
| } | ||
| export declare const adapter: LylaAdapter<LylaAdapterMeta>; |
+2
-1
@@ -10,3 +10,3 @@ "use strict"; | ||
| // withCredentials, | ||
| onDownloadProgress, onHeadersReceived | ||
| onDownloadProgress, onHeadersReceived, extraOptions | ||
| // onUploadProgress, | ||
@@ -21,2 +21,3 @@ }) => { | ||
| responseType, | ||
| enableHttp2: extraOptions === null || extraOptions === void 0 ? void 0 : extraOptions.enableHttp2, | ||
| enableChunked: !!onDownloadProgress, | ||
@@ -23,0 +24,0 @@ // https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html |
+2
-2
| { | ||
| "name": "@lylajs/wx", | ||
| "version": "2.0.0", | ||
| "version": "2.0.2", | ||
| "files": [ | ||
@@ -14,3 +14,3 @@ "es", | ||
| "dependencies": { | ||
| "@lylajs/core": "2.0.0" | ||
| "@lylajs/core": "2.0.2" | ||
| }, | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
157134
0.31%3518
0.26%+ Added
- Removed
Updated