@xuda.io/xuda-worker-bundle-min 1.3.934 → 1.3.936

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.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -8143,10 +8143,13 @@ func.events.execute = async function (
8143
8143
  };
8144
8144
 
8145
8145
  try {
8146
+ const _plugin =
8147
+ APP_OBJ[_session.app_id]?.app_plugins_purchased?.[plugin_name];
8148
+
8146
8149
  const index = await func.utils.get_plugin_resource(
8147
8150
  SESSION_ID,
8148
8151
  plugin_name,
8149
- "index.mjs"
8152
+ `${_plugin.manifest["index.mjs"].dist ? "dist/" : ""}index.mjs`
8150
8153
  );
8151
8154
 
8152
8155
  const methods = index.methods;
@@ -8206,7 +8209,7 @@ func.events.execute = async function (
8206
8209
  const fx = await func.utils.get_plugin_resource(
8207
8210
  SESSION_ID,
8208
8211
  plugin_name,
8209
- "runtime.mjs"
8212
+ `${_plugin.manifest["runtime.mjs"].dist ? "dist/" : ""}runtime.mjs`
8210
8213
  );
8211
8214
 
8212
8215
  if (!fx[method]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.934",
3
+ "version": "1.3.936",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {