New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

mpserverless-sdk-core

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpserverless-sdk-core - npm Package Compare versions

Comparing version

to
0.0.17

@@ -31,4 +31,2 @@ import Client from './client';

params: T & BaseParams;
appId?: string;
isvAppId?: string;
}

@@ -35,0 +33,0 @@ export interface ServerlessFunction {

@@ -83,3 +83,3 @@ "use strict";

var _a = this.config, _b = _a.notify, notify = _b === void 0 ? null : _b, _c = _a.env, env = _c === void 0 ? null : _c;
var authToken = params.authToken, appAuthToken = params.appAuthToken, appId = params.appId, isvAppId = params.isvAppId;
var authToken = params.authToken, appAuthToken = params.appAuthToken;
delete params.appAuthToken;

@@ -92,4 +92,2 @@ delete params.appId;

params: __assign({ $config: {} }, params),
appId: undefined,
isvAppId: undefined
};

@@ -105,8 +103,2 @@ if (notify && notify.url) {

}
if (appId) {
args.appId = appId;
}
if (isvAppId) {
args.isvAppId = isvAppId;
}
if (env) {

@@ -113,0 +105,0 @@ args.params.$config.env = env;

{
"name": "mpserverless-sdk-core",
"version": "0.0.16",
"version": "0.0.17",
"description": "Alipay mini program Serverless SDK Core",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -38,4 +38,2 @@ import Client from './client';

params: T & BaseParams;
appId?: string;
isvAppId?: string;
}

@@ -69,3 +67,3 @@

} = this.config;
const { authToken, appAuthToken, appId, isvAppId } = params;
const { authToken, appAuthToken } = params;
delete params.appAuthToken;

@@ -81,4 +79,2 @@ delete params.appId;

},
appId: undefined,
isvAppId: undefined
};

@@ -96,8 +92,2 @@ if (notify && notify.url) {

}
if(appId) {
args.appId = appId;
}
if(isvAppId) {
args.isvAppId = isvAppId;
}
if (env) {

@@ -104,0 +94,0 @@ args.params.$config.env = env;

Sorry, the diff of this file is not supported yet