@pisell/pisellos 0.0.425 → 0.0.426

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.
@@ -33,9 +33,14 @@ export var formatDefaultCapacitys = function formatDefaultCapacitys(_ref) {
33
33
  window.sendWarningLog({
34
34
  title: '未找到套餐 capacity 配置',
35
35
  content: [{
36
- product_id: id,
37
- variant_id: variantId,
38
- package: JSON.stringify((capacity === null || capacity === void 0 ? void 0 : capacity.package) || [])
36
+ key: 'product_id',
37
+ value: id
38
+ }, {
39
+ key: 'variant_id',
40
+ value: variantId
41
+ }, {
42
+ key: 'package',
43
+ value: JSON.stringify((capacity === null || capacity === void 0 ? void 0 : capacity.package) || [])
39
44
  }]
40
45
  });
41
46
  }
@@ -54,7 +54,20 @@ var formatDefaultCapacitys = ({
54
54
  if (!item && (window == null ? void 0 : window.sendWarningLog)) {
55
55
  window.sendWarningLog({
56
56
  title: "未找到套餐 capacity 配置",
57
- content: [{ product_id: id, variant_id: variantId, package: JSON.stringify((capacity == null ? void 0 : capacity.package) || []) }]
57
+ content: [
58
+ {
59
+ key: "product_id",
60
+ value: id
61
+ },
62
+ {
63
+ key: "variant_id",
64
+ value: variantId
65
+ },
66
+ {
67
+ key: "package",
68
+ value: JSON.stringify((capacity == null ? void 0 : capacity.package) || [])
69
+ }
70
+ ]
58
71
  });
59
72
  }
60
73
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.425",
4
+ "version": "0.0.426",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",