Add docs for blossom, add nip 86 and 98 support

This commit is contained in:
Jon Staab
2025-06-10 13:18:03 -07:00
parent 90b2ab2974
commit 4cabf53c2f
13 changed files with 314 additions and 17 deletions
+10
View File
@@ -535,3 +535,13 @@ export declare const hexToBytes: (hex: string) => Uint8Array;
export declare const sha256: (data: ArrayBuffer | Uint8Array) => Promise<string>;
```
## Text encoding
```typescript
// TextEncoder instance for encoding strings to bytes
export declare const textEncoder: TextEncoder;
// TextDecoder instance for decoding bytes to strings
export declare const textDecoder: TextDecoder;
```