@t2000/engine 0.28.0 → 0.28.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
@@ -2067,7 +2067,7 @@ var createPaymentLinkTool = buildTool({
2067
2067
  },
2068
2068
  required: []
2069
2069
  },
2070
- isReadOnly: false,
2070
+ isReadOnly: true,
2071
2071
  async call(input, context) {
2072
2072
  const apiUrl = context.env?.ALLOWANCE_API_URL;
2073
2073
  const internalKey = context.env?.AUDRIC_INTERNAL_KEY;
@@ -2160,7 +2160,7 @@ var createInvoiceTool = buildTool({
2160
2160
  },
2161
2161
  required: ["amount", "label"]
2162
2162
  },
2163
- isReadOnly: false,
2163
+ isReadOnly: true,
2164
2164
  async call(input, context) {
2165
2165
  const apiUrl = context.env?.ALLOWANCE_API_URL;
2166
2166
  const internalKey = context.env?.AUDRIC_INTERNAL_KEY;
@@ -2530,7 +2530,9 @@ var READ_TOOLS = [
2530
2530
  defillamaSuiProtocolsTool,
2531
2531
  allowanceStatusTool,
2532
2532
  listPaymentLinksTool,
2533
- listInvoicesTool
2533
+ listInvoicesTool,
2534
+ createPaymentLinkTool,
2535
+ createInvoiceTool
2534
2536
  ];
2535
2537
  var WRITE_TOOLS = [
2536
2538
  saveDepositTool,
@@ -2543,9 +2545,7 @@ var WRITE_TOOLS = [
2543
2545
  swapExecuteTool,
2544
2546
  voloStakeTool,
2545
2547
  voloUnstakeTool,
2546
- saveContactTool,
2547
- createPaymentLinkTool,
2548
- createInvoiceTool
2548
+ saveContactTool
2549
2549
  ];
2550
2550
  function getDefaultTools() {
2551
2551
  return [...READ_TOOLS, ...WRITE_TOOLS];