remove node Buffer usage from src

This commit is contained in:
2024-10-10 16:45:25 -05:00
parent 85cfb3a100
commit 7a07f5d815
6 changed files with 84 additions and 35 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const tests = [
},
{
description: 'simple address blob arg',
message: { address: '/hello', args: [{ type: 'b', value: Buffer.from('blob') }] },
message: { address: '/hello', args: [{ type: 'b', value: new TextEncoder().encode('blob') }] },
expected: Buffer.from('2f68656c6c6f00002c62000000000004626c6f62', 'hex'),
},
{