@cloudbase/manager-node 4.2.8 → 4.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -146,6 +146,9 @@ class FunctionService {
146
146
  functionPath,
147
147
  functionRootPath
148
148
  }, params.InstallDependency);
149
+ const { TopicId, LogsetId } = this.getClsServiceConfig();
150
+ params.ClsTopicId = TopicId;
151
+ params.ClsLogsetId = LogsetId;
149
152
  try {
150
153
  // 创建云函数
151
154
  const res = await this.scfService.request('CreateFunction', params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/manager-node",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
4
4
  "description": "The node manage service api for cloudbase.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -151,4 +151,6 @@ export interface IFunctionUpdateAttribute {
151
151
  };
152
152
  };
153
153
  Layers?: ILayerVersionItem[];
154
+ ClsLogsetId?: string;
155
+ ClsTopicId?: string;
154
156
  }