mpserverless-sdk-core
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -33,2 +33,5 @@ "use strict"; | ||
// TODO: 预置云函数支持 $config 吗? | ||
if (!this.invoker) { | ||
throw new Error('invoker is not set, please call init(mpserverless: Serverless, config: Config) first.'); | ||
} | ||
const args = { | ||
@@ -35,0 +38,0 @@ method: openApiName, |
{ | ||
"name": "mpserverless-sdk-core", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Alipay mini program Serverless SDK Core", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -85,2 +85,5 @@ import Client from './client'; | ||
// TODO: 预置云函数支持 $config 吗? | ||
if (!this.invoker) { | ||
throw new Error('invoker is not set, please call init(mpserverless: Serverless, config: Config) first.'); | ||
} | ||
const args = { | ||
@@ -87,0 +90,0 @@ method: openApiName, |
Sorry, the diff of this file is not supported yet
8518
215