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

mpserverless-sdk-core

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpserverless-sdk-core - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

1

dist/index.d.ts

@@ -12,2 +12,3 @@ import Client from './client';

env?: Env;
authToken?: string;
}

@@ -14,0 +15,0 @@ export interface FunctionResponse<R> {

@@ -83,2 +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;
var args = {

@@ -91,2 +92,5 @@ method: method,

}
if (authToken) {
args.params.$config.authToken = authToken;
}
if (env) {

@@ -93,0 +97,0 @@ args.params.$config.env = env;

13

package.json
{
"name": "mpserverless-sdk-core",
"version": "0.0.14",
"version": "0.0.15",
"description": "Alipay mini program Serverless SDK Core",

@@ -11,3 +11,3 @@ "main": "dist/index.js",

},
"author": "zhongyu",
"author": "dersoncheng",
"license": "ISC",

@@ -20,3 +20,10 @@ "dependencies": {

"src"
]
],
"devDependencies": {
"@types/node": "^12.12.26",
"nyc": "^15.0.0",
"source-map-support": "^0.5.16",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
}
}
// This file is auto-generated, don't edit it
import { Readable } from 'stream';
import * as $tea from '@alicloud/tea-typescript';

@@ -4,0 +3,0 @@

@@ -16,2 +16,3 @@ import Client from './client';

env?: Env;
authToken?: string;
}

@@ -65,2 +66,3 @@

} = this.config;
const { authToken } = params;
const args = {

@@ -78,2 +80,5 @@ method,

}
if(authToken) {
args.params.$config.authToken = authToken;
}
if (env) {

@@ -80,0 +85,0 @@ args.params.$config.env = env;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc