@superblocksteam/library 2.0.36 → 2.0.37-next.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.
package/dist/index.js CHANGED
@@ -6405,6 +6405,20 @@ async function connectSocket(serverUrl, { peerId, userId, applicationId, onClose
6405
6405
  entityId: entity.entityId
6406
6406
  });
6407
6407
  });
6408
+ }],
6409
+ clientImport: [async (payload) => {
6410
+ const { importPath } = payload;
6411
+ try {
6412
+ await import(`${importPath}?v=${Date.now()}`);
6413
+ return;
6414
+ } catch (error) {
6415
+ const err = error;
6416
+ return {
6417
+ message: err.message,
6418
+ stack: err.stack,
6419
+ name: err.name
6420
+ };
6421
+ }
6408
6422
  }]
6409
6423
  }, [], trace.getTracer("superblocks-ui-framework"), {
6410
6424
  onClose: (event) => {