@blocklet/pages-kit-block-studio 0.0.1 → 0.0.3

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.
@@ -78,17 +78,18 @@ function generateWrapperCode(_a) {
78
78
  }, null, 2);
79
79
  const index = `\
80
80
  import { ProjectRuntime } from '@blocklet/pages-kit-runtime/client';
81
+ export * from '@blocklet/pages-kit-runtime/client';
81
82
 
82
83
  window.__PAGE_STATE__ = ${JSON.stringify(state, null, 2)};
83
84
  window.__PROJECT_ID__ = "${project.id}";
84
85
 
85
86
 
86
- const ${projectName} = new ProjectRuntime({
87
+ const initProjectRuntime = new ProjectRuntime({
87
88
  state: window.__PAGE_STATE__,
88
89
  projectId: window.__PROJECT_ID__,
89
90
  });
90
91
 
91
- export default ${projectName}
92
+ export default initProjectRuntime;
92
93
  `;
93
94
  const client = index;
94
95
  const tsFiles = [