@cloudbase/cals 1.0.10-alpha.2 → 1.0.11

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.
@@ -377,10 +377,10 @@ function serializeDataset(ctx, dataset) {
377
377
  };
378
378
  mergedData = {
379
379
  dataSourceName,
380
- methodName: method.name,
380
+ methodName: method === null || method === void 0 ? void 0 : method.name,
381
381
  params: (_b = serializeDynamicMapWithExtra({
382
382
  ctx,
383
- map: method.params || {},
383
+ map: (method === null || method === void 0 ? void 0 : method.params) || {},
384
384
  })) === null || _b === void 0 ? void 0 : _b.data,
385
385
  };
386
386
  }
@@ -435,8 +435,8 @@ function normalizeQuery(query) {
435
435
  name: 'cloud.callDataSource',
436
436
  params: {
437
437
  dataSourceName,
438
- methodName: method.name,
439
- params: method.params,
438
+ methodName: (method === null || method === void 0 ? void 0 : method.name) || '',
439
+ params: (method === null || method === void 0 ? void 0 : method.params) || {},
440
440
  },
441
441
  };
442
442
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/cals",
3
- "version": "1.0.10-alpha.2",
3
+ "version": "1.0.11",
4
4
  "description": "Common application specifications",
5
5
  "main": "lib/utils/index.js",
6
6
  "source": "src/utils/index.ts",