@webstudio-is/react-sdk 0.87.0 → 0.87.1

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.
@@ -73,7 +73,7 @@ const generateUtilsExport = (siteData) => {
73
73
  new Set(executableValue.args),
74
74
  variables
75
75
  );
76
- const generatedFunction = `(_args: Map<string, any>, _variables: Map<string, any>) => { ${generatedCode} })`;
76
+ const generatedFunction = `(_args: Map<string, any>, _variables: Map<string, any>) => { ${generatedCode} }`;
77
77
  effectfulExpressionsEntries += `[${codeString}, ${generatedFunction}],
78
78
  `;
79
79
  }
package/lib/generator.js CHANGED
@@ -56,7 +56,7 @@ const generateUtilsExport = (siteData) => {
56
56
  new Set(executableValue.args),
57
57
  variables
58
58
  );
59
- const generatedFunction = `(_args: Map<string, any>, _variables: Map<string, any>) => { ${generatedCode} })`;
59
+ const generatedFunction = `(_args: Map<string, any>, _variables: Map<string, any>) => { ${generatedCode} }`;
60
60
  effectfulExpressionsEntries += `[${codeString}, ${generatedFunction}],
61
61
  `;
62
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/react-sdk",
3
- "version": "0.87.0",
3
+ "version": "0.87.1",
4
4
  "description": "Webstudio JavaScript / TypeScript API",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -34,12 +34,12 @@
34
34
  "nanoevents": "^8.0.0",
35
35
  "nanoid": "^4.0.2",
36
36
  "nanostores": "^0.9.3",
37
- "@webstudio-is/asset-uploader": "^0.87.0",
38
- "@webstudio-is/css-data": "^0.87.0",
39
- "@webstudio-is/css-engine": "^0.87.0",
40
- "@webstudio-is/fonts": "^0.87.0",
41
- "@webstudio-is/generate-arg-types": "^0.87.0",
42
- "@webstudio-is/project-build": "^0.87.0"
37
+ "@webstudio-is/asset-uploader": "^0.87.1",
38
+ "@webstudio-is/css-data": "^0.87.1",
39
+ "@webstudio-is/css-engine": "^0.87.1",
40
+ "@webstudio-is/fonts": "^0.87.1",
41
+ "@webstudio-is/generate-arg-types": "^0.87.1",
42
+ "@webstudio-is/project-build": "^0.87.1"
43
43
  },
44
44
  "exports": {
45
45
  ".": {
@@ -131,7 +131,7 @@ let $ws$dataSource$tabsOpen;
131
131
  $ws$dataSource$tabsOpen = open;
132
132
  return new Map([
133
133
  ['$ws$dataSource$tabsOpen', $ws$dataSource$tabsOpen],
134
- ]); })],
134
+ ]); }],
135
135
 
136
136
  ]);
137
137
 
package/src/generator.ts CHANGED
@@ -91,7 +91,7 @@ export const generateUtilsExport = (siteData: PageData) => {
91
91
  new Set(executableValue.args),
92
92
  variables
93
93
  );
94
- const generatedFunction = `(_args: Map<string, any>, _variables: Map<string, any>) => { ${generatedCode} })`;
94
+ const generatedFunction = `(_args: Map<string, any>, _variables: Map<string, any>) => { ${generatedCode} }`;
95
95
 
96
96
  effectfulExpressionsEntries += `[${codeString}, ${generatedFunction}],\n`;
97
97
  }