Sorry that’s my bad I just pasted it in there to try to provide a better example. We’re not actually sending with npub..

Reply to this note

Please Login to reply.

Discussion

What about targetNpub

Unrelated...we’re not sending actual npubs anywhere. Check my other response…nostream is barfing on the expiration value for some reason. hmmmm

Looks like its failing due to the expiration tag:

nostream | {

nostream | kind: 4,

nostream | pubkey: '42b3db1ca9f73ea861cca1f5a9f74dadf97b6ff539cdf722ccae16119907dfe6',

nostream | tags: [

nostream | [

nostream | 'p',

nostream | 'cb46e92f5753ca1b330c59e98c5d88e1bbb1f93d4c0af918e6581f3091499175'

nostream | ],

nostream | [ 'expiration', '1676471110' ]

nostream | ],

nostream | content: '8/yASQYBb4mgIy+qlFGOml/VQkSTiO/bKPy1/Zpat8D11Ca7tQKFVgDyBIIuuWLw?iv=dhm9ggFCaE/VhyGXCg8QNw==',

nostream | created_at: 1676470810,

nostream | id: '7d5789510b0f2f0bbc12861ee33233f213488e69e9b702e72cfebd8ec6e60ff2',

nostream | sig: '1b17a53df1c91edd448c596a528b00d5edef9ce3de2d82a2485e6d7affe18fb5d8387a8e2ca001bc59632654249a069a909c52db984c972377034b8cc67e85e8',

nostream | [Symbol(Context)]: {

nostream | remoteAddress: SocketAddress { address: '138.197.76.21', port: 0, family: 'ipv4', flowlabel: 0 }

nostream | },

nostream | [Symbol(Expiration)]: 1676471110

nostream | }

nostream | ] TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (1676471110)

nostream | at new NodeError (node:internal/errors:399:5)

nostream | at Function.from (node:buffer:334:9)

nostream | at toBuffer (/app/src/utils/transform.js:8:36)

nostream | at /app/node_modules/ramda/src/internal/_pipe.js:3:14

nostream | at /app/node_modules/ramda/src/internal/_arity.js:11:19

nostream | at _ifElse (/app/node_modules/ramda/src/ifElse.js:39:54)

nostream | at f1 (/app/node_modules/ramda/src/internal/_curry1.js:19:17)

nostream | at apply (/app/node_modules/ramda/src/apply.js:29:13)

nostream | at f2 (/app/node_modules/ramda/src/internal/_curry2.js:34:14)

nostream | at /app/node_modules/ramda/src/applySpec.js:81:14 {

nostream | code: 'ERR_INVALID_ARG_TYPE'

nostream | }

Not good, could you open a bug report on Nostream repo and we’ll take care of it

Looking into it

cool! Sounds like maybe for now we should just remove the Expires from our verification DMs.

Sure, I’ll let u know as soon as we have this patched

Nvm big ticket was created