@zervonexx/baileys 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +4112 -4112
  3. package/WAProto/WAProtoCompile.js +322 -322
  4. package/WAProto/fetcher.js +67 -67
  5. package/WAProto/index.js +95 -95
  6. package/WAProto/parser.js +333 -333
  7. package/lib/Builders/AIRich.js +673 -673
  8. package/lib/Builders/auto.js +49 -49
  9. package/lib/Builders/base.js +144 -144
  10. package/lib/Builders/builders.js +588 -588
  11. package/lib/Builders/index.js +3 -3
  12. package/lib/Defaults/index.js +248 -248
  13. package/lib/Signal/index.js +2 -2
  14. package/lib/Signal/libsignal.js +526 -526
  15. package/lib/Signal/lid-mapping.js +282 -282
  16. package/lib/Socket/Client/index.js +1 -1
  17. package/lib/Socket/Client/types.js +9 -9
  18. package/lib/Socket/Client/websocket.js +83 -83
  19. package/lib/Socket/business.js +151 -151
  20. package/lib/Socket/chats.js +854 -854
  21. package/lib/Socket/communities.js +146 -146
  22. package/lib/Socket/groups.js +293 -293
  23. package/lib/Socket/index.js +14 -14
  24. package/lib/Socket/messages-recv.js +993 -993
  25. package/lib/Socket/messages-send.js +722 -722
  26. package/lib/Socket/mex.js +33 -33
  27. package/lib/Socket/newsletter.js +783 -783
  28. package/lib/Socket/registration.js +154 -154
  29. package/lib/Socket/socket.js +797 -797
  30. package/lib/Socket/spam-report.js +143 -143
  31. package/lib/Socket/username.js +81 -81
  32. package/lib/Socket/zervonex-handler.js +57 -57
  33. package/lib/Store/index.js +6 -6
  34. package/lib/Store/make-cache-manager-store.js +80 -80
  35. package/lib/Store/make-in-memory-store.js +426 -426
  36. package/lib/Store/make-ordered-dictionary.js +81 -81
  37. package/lib/Store/object-repository.js +30 -30
  38. package/lib/Store/reporting-info-store.js +37 -37
  39. package/lib/Types/Auth.js +1 -1
  40. package/lib/Types/Bussines.js +1 -1
  41. package/lib/Types/Call.js +1 -1
  42. package/lib/Types/Chat.js +7 -7
  43. package/lib/Types/Contact.js +1 -1
  44. package/lib/Types/Events.js +1 -1
  45. package/lib/Types/GroupMetadata.js +1 -1
  46. package/lib/Types/Label.js +24 -24
  47. package/lib/Types/LabelAssociation.js +6 -6
  48. package/lib/Types/Message.js +14 -14
  49. package/lib/Types/Newsletter.js +99 -99
  50. package/lib/Types/Product.js +1 -1
  51. package/lib/Types/Signal.js +1 -1
  52. package/lib/Types/Socket.js +14 -14
  53. package/lib/Types/State.js +26 -26
  54. package/lib/Types/USync.js +1 -1
  55. package/lib/Types/index.js +30 -30
  56. package/lib/Utils/auth-utils.js +159 -159
  57. package/lib/Utils/baileys-event-stream.js +32 -32
  58. package/lib/Utils/bot-capabilities.js +40 -40
  59. package/lib/Utils/bot-planning-replay.js +43 -43
  60. package/lib/Utils/browser-utils.js +29 -29
  61. package/lib/Utils/business.js +74 -74
  62. package/lib/Utils/chat-utils.js +316 -316
  63. package/lib/Utils/companion-reg-client-utils.js +19 -19
  64. package/lib/Utils/consumer-application.js +37 -37
  65. package/lib/Utils/crypto.js +52 -52
  66. package/lib/Utils/cstoken.js +14 -14
  67. package/lib/Utils/decode-wa-message.js +199 -199
  68. package/lib/Utils/event-buffer.js +272 -272
  69. package/lib/Utils/extras.js +186 -186
  70. package/lib/Utils/generics.js +194 -194
  71. package/lib/Utils/history.js +50 -50
  72. package/lib/Utils/identity-change-handler.js +18 -18
  73. package/lib/Utils/index.js +40 -40
  74. package/lib/Utils/link-preview.js +50 -50
  75. package/lib/Utils/logger.js +2 -2
  76. package/lib/Utils/lt-hash.js +3 -3
  77. package/lib/Utils/make-mutex.js +15 -15
  78. package/lib/Utils/message-composer.js +61 -61
  79. package/lib/Utils/message-retry-manager.js +47 -47
  80. package/lib/Utils/messages-media.js +501 -501
  81. package/lib/Utils/messages.js +942 -942
  82. package/lib/Utils/meta-ai-msmsg.js +121 -121
  83. package/lib/Utils/meta-compositing.js +74 -74
  84. package/lib/Utils/modern-messages.js +234 -234
  85. package/lib/Utils/native-flow.js +80 -80
  86. package/lib/Utils/noise-handler.js +160 -160
  87. package/lib/Utils/pre-key-manager.js +75 -75
  88. package/lib/Utils/process-message.js +400 -400
  89. package/lib/Utils/reporting-utils.js +170 -170
  90. package/lib/Utils/signal.js +166 -166
  91. package/lib/Utils/spam-report-utils.js +165 -165
  92. package/lib/Utils/sync-action-utils.js +33 -33
  93. package/lib/Utils/tc-token-utils.js +153 -153
  94. package/lib/Utils/use-keyv-auth-state.js +199 -199
  95. package/lib/Utils/use-multi-file-auth-state.js +83 -83
  96. package/lib/Utils/validate-connection.js +171 -171
  97. package/lib/WABinary/constants.js +1320 -1320
  98. package/lib/WABinary/decode.js +151 -151
  99. package/lib/WABinary/encode.js +139 -139
  100. package/lib/WABinary/generic-utils.js +202 -202
  101. package/lib/WABinary/index.js +6 -6
  102. package/lib/WABinary/jid-utils.js +235 -235
  103. package/lib/WABinary/types.js +4 -4
  104. package/lib/WAM/BinaryInfo.js +9 -9
  105. package/lib/WAM/constants.js +22852 -22852
  106. package/lib/WAM/encode.js +149 -149
  107. package/lib/WAM/index.js +3 -3
  108. package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +30 -30
  109. package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +48 -48
  110. package/lib/WAUSync/Protocols/USyncContactProtocol.js +23 -23
  111. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +28 -28
  112. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +15 -15
  113. package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +24 -24
  114. package/lib/WAUSync/Protocols/USyncLIDProtocol.js +9 -9
  115. package/lib/WAUSync/Protocols/USyncPictureProtocol.js +21 -21
  116. package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +19 -19
  117. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +19 -19
  118. package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +22 -22
  119. package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +16 -16
  120. package/lib/WAUSync/Protocols/index.js +12 -12
  121. package/lib/WAUSync/USyncQuery.js +88 -88
  122. package/lib/WAUSync/USyncUser.js +20 -20
  123. package/lib/WAUSync/index.js +3 -3
  124. package/lib/index.js +66 -66
  125. package/package.json +191 -192
@@ -1,68 +1,68 @@
1
- import { fetch, Agent } from 'undici'
2
- import { readFileSync, writeFileSync, existsSync, createWriteStream, unlinkSync } from 'fs'
3
- import { pipeline } from 'stream/promises'
4
- import { join, dirname } from 'path'
5
- import { fileURLToPath } from 'url'
6
-
7
- const __dirname = dirname(fileURLToPath(import.meta.url))
8
- const CACHE_FILE = join(__dirname, '.cache.json')
9
- const PROTO_FILE = join(__dirname, 'WAProto.proto')
10
- const BUNDLE_TMP = join(__dirname, 'WAProto.bundle.tmp')
11
- const GITHUB_RAW = 'https://raw.githubusercontent.com/zervonex/baileys/wa-cache'
12
-
13
- const agent = new Agent({ connect: { family: 4, timeout: 60000 } })
14
-
15
- // ── Cache helpers ─────────────────────────────────────────────────────────────
16
-
17
- const readCache = () => { try { return existsSync(CACHE_FILE) ? JSON.parse(readFileSync(CACHE_FILE, 'utf8')) : {} } catch { return {} } }
18
- const writeCache = (data) => writeFileSync(CACHE_FILE, JSON.stringify(data, null, 2), 'utf8')
19
- const isCacheValid = (cache) => !!(cache.version && cache.hash && existsSync(PROTO_FILE))
20
- const hasLocal = (cache) => !!(cache.version && existsSync(PROTO_FILE))
21
- const removeTmp = () => { try { if (existsSync(BUNDLE_TMP)) unlinkSync(BUNDLE_TMP) } catch { } }
22
-
23
- // ── GitHub fetch ──────────────────────────────────────────────────────────────
24
-
25
- async function fetchJSON(file) {
26
- const res = await fetch(`${GITHUB_RAW}/${file}`, { dispatcher: agent })
27
- if (!res.ok) throw new Error(`[WAProto] fetch failed for ${file}: ${res.status}`)
28
- return res.json()
29
- }
30
-
31
- async function fetchBundle() {
32
- const res = await fetch(`${GITHUB_RAW}/WAProto.bundle.js`, { dispatcher: agent })
33
- if (!res.ok) throw new Error(`[WAProto] fetch failed for WAProto.bundle.js: ${res.status}`)
34
- await pipeline(res.body, createWriteStream(BUNDLE_TMP))
35
- }
36
-
37
- // ── Public API ────────────────────────────────────────────────────────────────
38
-
39
- export async function fetchProtoBundle() {
40
- const cache = readCache()
41
- if (isCacheValid(cache)) return { changed: false, version: cache.version }
42
- try {
43
- const { version, hash } = await fetchJSON('wa-version.json')
44
- if (!version || !hash) throw new Error('[WAProto] wa-version.json missing version or hash field')
45
- if (cache.version === String(version) && cache.hash === hash && existsSync(PROTO_FILE)) {
46
- writeCache({ version: String(version), hash })
47
- return { changed: false, version: String(version) }
48
- }
49
- await fetchBundle()
50
- writeCache({ version: String(version), hash })
51
- return { changed: true, bundlePath: BUNDLE_TMP, version: String(version) }
52
- } catch (err) {
53
- removeTmp()
54
- if (hasLocal(cache)) return { changed: false, version: cache.version }
55
- throw new Error(`[WAProto] fetch failed and no local files available: ${err.message}`)
56
- }
57
- }
58
-
59
- export async function getWAVersion() {
60
- const cache = readCache()
61
- if (isCacheValid(cache)) return [2, 3000, parseInt(cache.version)]
62
- try {
63
- const { version } = await fetchJSON('wa-version.json')
64
- return [2, 3000, parseInt(String(version))]
65
- } catch {
66
- return [2, 3000, parseInt(cache.version || '0')]
67
- }
1
+ import { fetch, Agent } from 'undici'
2
+ import { readFileSync, writeFileSync, existsSync, createWriteStream, unlinkSync } from 'fs'
3
+ import { pipeline } from 'stream/promises'
4
+ import { join, dirname } from 'path'
5
+ import { fileURLToPath } from 'url'
6
+
7
+ const __dirname = dirname(fileURLToPath(import.meta.url))
8
+ const CACHE_FILE = join(__dirname, '.cache.json')
9
+ const PROTO_FILE = join(__dirname, 'WAProto.proto')
10
+ const BUNDLE_TMP = join(__dirname, 'WAProto.bundle.tmp')
11
+ const GITHUB_RAW = 'https://raw.githubusercontent.com/zervonex/baileys/wa-cache'
12
+
13
+ const agent = new Agent({ connect: { family: 4, timeout: 60000 } })
14
+
15
+ // ── Cache helpers ─────────────────────────────────────────────────────────────
16
+
17
+ const readCache = () => { try { return existsSync(CACHE_FILE) ? JSON.parse(readFileSync(CACHE_FILE, 'utf8')) : {} } catch { return {} } }
18
+ const writeCache = (data) => writeFileSync(CACHE_FILE, JSON.stringify(data, null, 2), 'utf8')
19
+ const isCacheValid = (cache) => !!(cache.version && cache.hash && existsSync(PROTO_FILE))
20
+ const hasLocal = (cache) => !!(cache.version && existsSync(PROTO_FILE))
21
+ const removeTmp = () => { try { if (existsSync(BUNDLE_TMP)) unlinkSync(BUNDLE_TMP) } catch { } }
22
+
23
+ // ── GitHub fetch ──────────────────────────────────────────────────────────────
24
+
25
+ async function fetchJSON(file) {
26
+ const res = await fetch(`${GITHUB_RAW}/${file}`, { dispatcher: agent })
27
+ if (!res.ok) throw new Error(`[WAProto] fetch failed for ${file}: ${res.status}`)
28
+ return res.json()
29
+ }
30
+
31
+ async function fetchBundle() {
32
+ const res = await fetch(`${GITHUB_RAW}/WAProto.bundle.js`, { dispatcher: agent })
33
+ if (!res.ok) throw new Error(`[WAProto] fetch failed for WAProto.bundle.js: ${res.status}`)
34
+ await pipeline(res.body, createWriteStream(BUNDLE_TMP))
35
+ }
36
+
37
+ // ── Public API ────────────────────────────────────────────────────────────────
38
+
39
+ export async function fetchProtoBundle() {
40
+ const cache = readCache()
41
+ if (isCacheValid(cache)) return { changed: false, version: cache.version }
42
+ try {
43
+ const { version, hash } = await fetchJSON('wa-version.json')
44
+ if (!version || !hash) throw new Error('[WAProto] wa-version.json missing version or hash field')
45
+ if (cache.version === String(version) && cache.hash === hash && existsSync(PROTO_FILE)) {
46
+ writeCache({ version: String(version), hash })
47
+ return { changed: false, version: String(version) }
48
+ }
49
+ await fetchBundle()
50
+ writeCache({ version: String(version), hash })
51
+ return { changed: true, bundlePath: BUNDLE_TMP, version: String(version) }
52
+ } catch (err) {
53
+ removeTmp()
54
+ if (hasLocal(cache)) return { changed: false, version: cache.version }
55
+ throw new Error(`[WAProto] fetch failed and no local files available: ${err.message}`)
56
+ }
57
+ }
58
+
59
+ export async function getWAVersion() {
60
+ const cache = readCache()
61
+ if (isCacheValid(cache)) return [2, 3000, parseInt(cache.version)]
62
+ try {
63
+ const { version } = await fetchJSON('wa-version.json')
64
+ return [2, 3000, parseInt(String(version))]
65
+ } catch {
66
+ return [2, 3000, parseInt(cache.version || '0')]
67
+ }
68
68
  }
package/WAProto/index.js CHANGED
@@ -1,96 +1,96 @@
1
- import { existsSync, unlinkSync, readFileSync } from 'fs'
2
- import { join, dirname } from 'path'
3
- import { fileURLToPath } from 'url'
4
- import { Worker, isMainThread, workerData, parentPort } from 'worker_threads'
5
- import logger from '../lib/Utils/logger.js'
6
- import { fetchProtoBundle } from './fetcher.js'
7
- import { generateTable, _reloadProto } from './WAProtoCompile.js'
8
- import { parseBundle } from './parser.js'
9
-
10
- const __dirname = dirname(fileURLToPath(import.meta.url))
11
- const PROTO_FILE = join(__dirname, 'WAProto.proto')
12
- const TABLE_FILE = join(__dirname, 'WAProto.json')
13
- const SELF = new URL(import.meta.url)
14
-
15
- const log = msg => logger.info(msg)
16
- const err = msg => logger.error(msg)
17
- const del = (...files) => { for (const f of files) { try { if (existsSync(f)) unlinkSync(f) } catch { } } }
18
- const isJsonValid = () => { try { const { m, t } = JSON.parse(readFileSync(TABLE_FILE, 'utf8')); return Array.isArray(m) && m.length > 0 && typeof t === 'object' && Object.keys(t).length > 0 } catch { return false } }
19
-
20
- function runInWorker(data) {
21
- return new Promise((resolve, reject) => {
22
- const w = new Worker(SELF, { workerData: data })
23
- w.once('message', msg => { w.terminate(); msg.ok ? resolve() : reject(new Error(msg.error)) })
24
- w.once('error', reject)
25
- })
26
- }
27
-
28
- async function regenerateFromProto() {
29
- log('Regenerating WAProto.json from existing WAProto.proto...')
30
- await runInWorker({ bundlePath: null, version: null, protoPath: PROTO_FILE, tablePath: TABLE_FILE })
31
- _reloadProto()
32
- log('Regenerated successfully')
33
- }
34
-
35
- async function refetch() {
36
- log('Fetching proto bundle from GitHub...')
37
- const { bundle, bundlePath, version } = await fetchProtoBundle()
38
- if (!bundle && !bundlePath) throw new Error('fetchProtoBundle returned no bundle')
39
- await runInWorker({ bundlePath: bundlePath ?? null, bundle: bundle ?? null, version, protoPath: PROTO_FILE, tablePath: TABLE_FILE })
40
- _reloadProto()
41
- log(`Fetched and compiled — WA version ${version}`)
42
- }
43
-
44
- async function boot() {
45
- const hasProto = existsSync(PROTO_FILE)
46
- const hasJson = existsSync(TABLE_FILE)
47
-
48
- if (hasProto && hasJson) {
49
- if (isJsonValid()) { _reloadProto(); return }
50
- err('WAProto.json is invalid or corrupt — regenerating from proto...')
51
- del(TABLE_FILE)
52
- try { await regenerateFromProto(); return } catch (e) {
53
- err(`Regeneration failed: ${e.message} — refetching from WA Web...`)
54
- del(PROTO_FILE, TABLE_FILE)
55
- await refetch()
56
- }
57
- return
58
- }
59
- if (hasProto && !hasJson) {
60
- log('WAProto.json missing — generating from existing proto...')
61
- try { await regenerateFromProto(); return } catch (e) {
62
- err(`Generation failed: ${e.message} — refetching from WA Web...`)
63
- del(PROTO_FILE, TABLE_FILE)
64
- await refetch()
65
- }
66
- return
67
- }
68
- if (hasJson && !hasProto) { err('WAProto.proto missing but WAProto.json exists — cannot trust JSON, refetching...'); del(TABLE_FILE); await refetch(); return }
69
-
70
- log('No proto files found — fetching from GitHub...')
71
- await refetch()
72
- }
73
-
74
- if (!isMainThread) {
75
- const { bundlePath, bundle, version, protoPath, tablePath } = workerData
76
- try {
77
- if (bundlePath || bundle) {
78
- const src = bundlePath ? readFileSync(bundlePath, 'utf8') : bundle
79
- if (bundlePath) unlinkSync(bundlePath)
80
- const { writeFileSync, renameSync } = await import('fs')
81
- const tmp = protoPath + '.tmp'
82
- writeFileSync(tmp, parseBundle(src, version), 'utf8')
83
- renameSync(tmp, protoPath)
84
- }
85
- await generateTable(protoPath, tablePath)
86
- parentPort.postMessage({ ok: true })
87
- } catch (e) {
88
- parentPort.postMessage({ ok: false, error: e.message })
89
- }
90
- } else {
91
- await boot()
92
- }
93
-
94
- export { proto, codec, generateTable, _reloadProto } from './WAProtoCompile.js'
95
- export { getWAVersion, fetchProtoBundle } from './fetcher.js'
1
+ import { existsSync, unlinkSync, readFileSync } from 'fs'
2
+ import { join, dirname } from 'path'
3
+ import { fileURLToPath } from 'url'
4
+ import { Worker, isMainThread, workerData, parentPort } from 'worker_threads'
5
+ import logger from '../lib/Utils/logger.js'
6
+ import { fetchProtoBundle } from './fetcher.js'
7
+ import { generateTable, _reloadProto } from './WAProtoCompile.js'
8
+ import { parseBundle } from './parser.js'
9
+
10
+ const __dirname = dirname(fileURLToPath(import.meta.url))
11
+ const PROTO_FILE = join(__dirname, 'WAProto.proto')
12
+ const TABLE_FILE = join(__dirname, 'WAProto.json')
13
+ const SELF = new URL(import.meta.url)
14
+
15
+ const log = msg => logger.info(msg)
16
+ const err = msg => logger.error(msg)
17
+ const del = (...files) => { for (const f of files) { try { if (existsSync(f)) unlinkSync(f) } catch { } } }
18
+ const isJsonValid = () => { try { const { m, t } = JSON.parse(readFileSync(TABLE_FILE, 'utf8')); return Array.isArray(m) && m.length > 0 && typeof t === 'object' && Object.keys(t).length > 0 } catch { return false } }
19
+
20
+ function runInWorker(data) {
21
+ return new Promise((resolve, reject) => {
22
+ const w = new Worker(SELF, { workerData: data })
23
+ w.once('message', msg => { w.terminate(); msg.ok ? resolve() : reject(new Error(msg.error)) })
24
+ w.once('error', reject)
25
+ })
26
+ }
27
+
28
+ async function regenerateFromProto() {
29
+ log('Regenerating WAProto.json from existing WAProto.proto...')
30
+ await runInWorker({ bundlePath: null, version: null, protoPath: PROTO_FILE, tablePath: TABLE_FILE })
31
+ _reloadProto()
32
+ log('Regenerated successfully')
33
+ }
34
+
35
+ async function refetch() {
36
+ log('Fetching proto bundle from GitHub...')
37
+ const { bundle, bundlePath, version } = await fetchProtoBundle()
38
+ if (!bundle && !bundlePath) throw new Error('fetchProtoBundle returned no bundle')
39
+ await runInWorker({ bundlePath: bundlePath ?? null, bundle: bundle ?? null, version, protoPath: PROTO_FILE, tablePath: TABLE_FILE })
40
+ _reloadProto()
41
+ log(`Fetched and compiled — WA version ${version}`)
42
+ }
43
+
44
+ async function boot() {
45
+ const hasProto = existsSync(PROTO_FILE)
46
+ const hasJson = existsSync(TABLE_FILE)
47
+
48
+ if (hasProto && hasJson) {
49
+ if (isJsonValid()) { _reloadProto(); return }
50
+ err('WAProto.json is invalid or corrupt — regenerating from proto...')
51
+ del(TABLE_FILE)
52
+ try { await regenerateFromProto(); return } catch (e) {
53
+ err(`Regeneration failed: ${e.message} — refetching from WA Web...`)
54
+ del(PROTO_FILE, TABLE_FILE)
55
+ await refetch()
56
+ }
57
+ return
58
+ }
59
+ if (hasProto && !hasJson) {
60
+ log('WAProto.json missing — generating from existing proto...')
61
+ try { await regenerateFromProto(); return } catch (e) {
62
+ err(`Generation failed: ${e.message} — refetching from WA Web...`)
63
+ del(PROTO_FILE, TABLE_FILE)
64
+ await refetch()
65
+ }
66
+ return
67
+ }
68
+ if (hasJson && !hasProto) { err('WAProto.proto missing but WAProto.json exists — cannot trust JSON, refetching...'); del(TABLE_FILE); await refetch(); return }
69
+
70
+ log('No proto files found — fetching from GitHub...')
71
+ await refetch()
72
+ }
73
+
74
+ if (!isMainThread) {
75
+ const { bundlePath, bundle, version, protoPath, tablePath } = workerData
76
+ try {
77
+ if (bundlePath || bundle) {
78
+ const src = bundlePath ? readFileSync(bundlePath, 'utf8') : bundle
79
+ if (bundlePath) unlinkSync(bundlePath)
80
+ const { writeFileSync, renameSync } = await import('fs')
81
+ const tmp = protoPath + '.tmp'
82
+ writeFileSync(tmp, parseBundle(src, version), 'utf8')
83
+ renameSync(tmp, protoPath)
84
+ }
85
+ await generateTable(protoPath, tablePath)
86
+ parentPort.postMessage({ ok: true })
87
+ } catch (e) {
88
+ parentPort.postMessage({ ok: false, error: e.message })
89
+ }
90
+ } else {
91
+ await boot()
92
+ }
93
+
94
+ export { proto, codec, generateTable, _reloadProto } from './WAProtoCompile.js'
95
+ export { getWAVersion, fetchProtoBundle } from './fetcher.js'
96
96
  export { default } from './WAProtoCompile.js'