@superblocksteam/cli 2.0.6-next.24 → 2.0.6-next.25

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.
package/README.md CHANGED
@@ -14,7 +14,7 @@ $ npm install -g @superblocksteam/cli
14
14
  $ superblocks COMMAND
15
15
  running command...
16
16
  $ superblocks (--version)
17
- @superblocksteam/cli/2.0.6-next.24 linux-x64 node-v20.19.0
17
+ @superblocksteam/cli/2.0.6-next.25 linux-x64 node-v20.19.0
18
18
  $ superblocks --help [COMMAND]
19
19
  USAGE
20
20
  $ superblocks COMMAND
package/dist/index.js CHANGED
@@ -400202,7 +400202,7 @@ var Property = {
400202
400202
  Expression: (value2) => PropertyInfo(value2, "EXPRESSION"),
400203
400203
  Event: (value2) => PropertyInfo(value2, "EVENT"),
400204
400204
  Dimension: (value2) => PropertyInfo(value2, "DIMENSION"),
400205
- Computed: (value2, args) => PropertyInfo(value2, "COMPUTED", Array.isArray(args) && args.length > 0 ? { args } : {}),
400205
+ Computed: (value2, args) => PropertyInfo(value2, "COMPUTED", Array.isArray(args) && args.length > 0 || typeof args === "string" ? { args } : {}),
400206
400206
  Any: (value2, type2 = "STATIC") => PropertyInfo(value2, type2)
400207
400207
  };
400208
400208
  function isPropertyInfo(value2) {
@@ -432600,7 +432600,11 @@ function findFirstValidExpression(testCases) {
432600
432600
  function toCodeComputed(value2, info) {
432601
432601
  let argsString = "";
432602
432602
  if (isComputedPropertyInfo(info)) {
432603
- argsString = info.args ? `{ ${info.args.join(", ")} }` : "";
432603
+ if (Array.isArray(info.args)) {
432604
+ argsString = `{ ${info.args.join(", ")} }`;
432605
+ } else if (typeof info.args === "string") {
432606
+ argsString = info.args;
432607
+ }
432604
432608
  }
432605
432609
  const { hasThisReference, hasReturnStatement } = getFunctionBodyThisExpressionData(value2);
432606
432610
  if (hasThisReference) {
@@ -442795,7 +442799,7 @@ var import_util30 = __toESM(require_dist3(), 1);
442795
442799
  // ../sdk/package.json
442796
442800
  var package_default = {
442797
442801
  name: "@superblocksteam/sdk",
442798
- version: "2.0.6-next.24",
442802
+ version: "2.0.6-next.25",
442799
442803
  type: "module",
442800
442804
  description: "Superblocks JS SDK",
442801
442805
  homepage: "https://www.superblocks.com",
@@ -442836,11 +442840,11 @@ var package_default = {
442836
442840
  "@opentelemetry/semantic-conventions": "^1.28.0",
442837
442841
  "@rollup/wasm-node": "^4.35.0",
442838
442842
  "@superblocksteam/bucketeer-sdk": "0.5.0",
442839
- "@superblocksteam/library": "2.0.6-next.24",
442840
- "@superblocksteam/library-shared": "2.0.6-next.24",
442843
+ "@superblocksteam/library": "2.0.6-next.25",
442844
+ "@superblocksteam/library-shared": "2.0.6-next.25",
442841
442845
  "@superblocksteam/shared": "0.9198.0",
442842
- "@superblocksteam/util": "2.0.6-next.24",
442843
- "@superblocksteam/vite-plugin-file-sync": "2.0.6-next.24",
442846
+ "@superblocksteam/util": "2.0.6-next.25",
442847
+ "@superblocksteam/vite-plugin-file-sync": "2.0.6-next.25",
442844
442848
  "@vitejs/plugin-react": "^4.3.4",
442845
442849
  axios: "^1.4.0",
442846
442850
  chokidar: "^4.0.3",
@@ -450412,7 +450416,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
450412
450416
  const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
450413
450417
  const customFolder = path37.join(root2, "custom");
450414
450418
  const draftsFolder = path37.join(root2, ".superblocks");
450415
- const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.6-next.24";
450419
+ const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.6-next.25";
450416
450420
  const env3 = loadEnv(mode, root2, "");
450417
450421
  const hmrPort = await getFreePort();
450418
450422
  const hmrOptions = {
@@ -585,5 +585,5 @@
585
585
  "strict": true
586
586
  }
587
587
  },
588
- "version": "2.0.6-next.24"
588
+ "version": "2.0.6-next.25"
589
589
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/cli",
3
- "version": "2.0.6-next.24",
3
+ "version": "2.0.6-next.25",
4
4
  "type": "module",
5
5
  "description": "Official Superblocks CLI",
6
6
  "homepage": "https://www.superblocks.com",
@@ -42,9 +42,9 @@
42
42
  "devDependencies": {
43
43
  "@eslint/js": "^9.16.0",
44
44
  "@oclif/test": "^4.1.11",
45
- "@superblocksteam/sdk": "2.0.6-next.24",
45
+ "@superblocksteam/sdk": "2.0.6-next.25",
46
46
  "@superblocksteam/shared": "0.9198.0",
47
- "@superblocksteam/util": "2.0.6-next.24",
47
+ "@superblocksteam/util": "2.0.6-next.25",
48
48
  "@types/babel__core": "^7.20.0",
49
49
  "@types/chai": "^4",
50
50
  "@types/fs-extra": "^11.0.1",