aos> Send({Target=ao.id, Data=secretObj})
file:///home/niko/.nvm/versions/node/v20.12.0/lib/node_modules/@permaweb/aos/src/services/errors.js:17
const errorMessage = error.replace(
^
TypeError: error.replace is not a function
at parseError (file:///home/niko/.nvm/versions/node/v20.12.0/lib/node_modules/@permaweb/aos/src/services/errors.js:17:30)
at Interface.<anonymous> (file:///home/niko/.nvm/versions/node/v20.12.0/lib/node_modules/@permaweb/aos/src/index.js:332:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.12.0
assume this table:
with 0 being an integer (if it's a string it works fine).
if this table (
t
) is bundled like this:the resulting value should be:
now, if secretObj is returned like this:
it will somewhat silently fail. using a dry run, this is what I see in the network tab:
using AOS acutally causes a crash: