@elizaos/plugin-bootstrap 1.6.2-alpha.6 → 1.6.2-alpha.8

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
@@ -7748,7 +7748,7 @@ async function runMultiStepCore({ runtime, message, state, callback }) {
7748
7748
  data: { actionName: providerName },
7749
7749
  success,
7750
7750
  text: success ? providerResult.text : undefined,
7751
- error: success ? undefined : providerResult?.error
7751
+ error: success ? undefined : providerResult?.text
7752
7752
  });
7753
7753
  if (callback) {
7754
7754
  await callback({
@@ -7988,7 +7988,7 @@ $2`);
7988
7988
  return cleanedText2;
7989
7989
  }
7990
7990
  const cleanedText = cleanupPostText(parsedXmlResponse.post || "");
7991
- const RM = state.providerData?.find((pd) => pd.providerName === "RECENT_MESSAGES");
7991
+ const RM = state.data?.providers?.RECENT_MESSAGES;
7992
7992
  if (RM) {
7993
7993
  for (const m of RM.data.recentMessages) {
7994
7994
  if (cleanedText === m.content.text) {
@@ -8443,5 +8443,5 @@ export {
8443
8443
  actionStateProvider
8444
8444
  };
8445
8445
 
8446
- //# debugId=624B04108437664964756E2164756E21
8446
+ //# debugId=3D49F89DB441356C64756E2164756E21
8447
8447
  //# sourceMappingURL=index.js.map