We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c6372b + 7c008c4 commit 76209acCopy full SHA for 76209ac
package.json
@@ -1,10 +1,10 @@
1
{
2
"name": "@nillion/nuc",
3
- "version": "0.1.0",
+ "version": "0.1.1",
4
"license": "MIT",
5
"repository": "https://github.com/NillionNetwork/nuc-ts",
6
"engines": {
7
- "node": ">=23"
+ "node": ">=18"
8
},
9
"type": "module",
10
"exports": {
src/token.ts
@@ -140,7 +140,9 @@ export const NucTokenSchema = z
140
command: token.cmd,
141
body: tokenBody(token.args, token.pol),
142
nonce: token.nonce,
143
- proofs: token.prf.map((prf) => hexToBytes(prf)),
+ proofs: token.prf.map(
144
+ (prf) => hexToBytes(prf) as Uint8Array<ArrayBuffer>,
145
+ ),
146
notBefore: token.nbf
147
? Temporal.Instant.fromEpochMilliseconds(token.nbf * 1000)
148
: undefined,
0 commit comments