fix: add legacy constants for decoding

This commit is contained in:
Adhiraj Singh
2022-04-24 16:49:13 +05:30
parent a7e9dcf512
commit 3c278b35f0
7 changed files with 239 additions and 385 deletions
+4 -1
View File
@@ -1,3 +1,4 @@
import * as constants from './constants'
/**
* the binary node WA uses internally for communication
*
@@ -11,4 +12,6 @@ export type BinaryNode = {
content?: BinaryNode[] | string | Uint8Array
}
export type BinaryNodeAttributes = BinaryNode['attrs']
export type BinaryNodeData = BinaryNode['content']
export type BinaryNodeData = BinaryNode['content']
export type BinaryNodeCodingOptions = typeof constants