You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Currently our team is building new Deno app based on your library and we've found something we'd like to be changed.
JSR.io publication
It would be great to found your library in jsr.io package registry. It has several improvements in comparison with npm (see here: https://jsr.io/#why-jsr)
Deno support
It does not work with Deno (v2.1.6) and arlocal container (v1.1.66). It can be seen by publishing transaction into arlocal. The Arlocal error is next:
[1/21/2025, 8:08:15 AM] <-- POST /tx
{
error: 'Validation Error',
validationErrors: [ 'transaction "signature" is invalid' ]
}
The app logs are next:
Transaction fcha6_dnd04QS5NC1foFVCVqvylti9V7oLL0orREloE is valid
Current Balance: 100000000000
Error: ArweaveRepository: cannot publish data to block-chain: Bad Request
We had a conversation here #223 about other runtimes support and our team has tried several options that were suggested during the conversation, but nothing works.
We're hoping on your assistance
Environment
Deno (v2.1.6)
Arweave-js (v1.15.5)
Node (v23.6.0)
Arlocal (v1.1.66 in Docker container)
P.S. If demo app is a must, we could do it in a few days.
The text was updated successfully, but these errors were encountered:
thanks for opening the issue. IIRC both bun and deno have an issue with an incomplete/incompatible versions of node:crypto.
nodejs now supports webcrypto standard, so the dual web/node feature of arweave-js will be removed in a later date in favour of a combined webcrypto interface.
from #223 this looks like it will fix compatibility with bun, but not deno.
actually, a few thoughts on that:
n.b. i'm not a deno guy, but did you try importing like
import * as Arweave from "https://unpkg.com/[email protected]/web/index.js"
might help if it's an esm/cjs import issue.
or can you turn on something like "synthetic default imports" in deno?
Unfortunately, it is not the case: I've tried several options, but all of them lead to the same issue: the signature for arweave server is not valid (even if linter tells me sth wrong with imports).
or can you turn on something like "synthetic default imports" in deno?
Hi! Currently our team is building new Deno app based on your library and we've found something we'd like to be changed.
JSR.io publication
It would be great to found your library in jsr.io package registry. It has several improvements in comparison with npm (see here: https://jsr.io/#why-jsr)
Deno support
It does not work with Deno (v2.1.6) and arlocal container (v1.1.66). It can be seen by publishing transaction into arlocal. The Arlocal error is next:
The app logs are next:
We had a conversation here #223 about other runtimes support and our team has tried several options that were suggested during the conversation, but nothing works.
We're hoping on your assistance
Environment
P.S. If demo app is a must, we could do it in a few days.
The text was updated successfully, but these errors were encountered: