Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@lylajs/wx

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lylajs/wx - npm Package Compare versions

Comparing version
2.0.0
to
2.0.2
+3
-1
dist/adapter.d.ts

@@ -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>;

@@ -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>;

@@ -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

@@ -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>;

@@ -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

{
"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