proto: fix proto generation, tsc: fix node imports of compiled code

This commit is contained in:
Rajeh Taher
2025-07-19 23:16:35 +03:00
parent 29f0ac83f8
commit 8dc852ee89
33 changed files with 123 additions and 42 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { proto } from '../../WAProto'
import type { proto } from '../../WAProto/index.js'
import type { Contact } from './Contact'
import type { MinimalMessage } from './Message'
+1 -1
View File
@@ -1,4 +1,4 @@
import type { proto } from '../../WAProto'
import type { proto } from '../../WAProto/index.js'
import type { AccountSettings } from './Auth'
import type { BufferedEventData } from './Events'
import type { LabelActionBody } from './Label'
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Boom } from '@hapi/boom'
import { proto } from '../../WAProto'
import { proto } from '../../WAProto/index.js'
import type { AuthenticationCreds } from './Auth'
import type { WACallEvent } from './Call'
import type { Chat, ChatUpdate, PresenceData } from './Chat'
+1 -1
View File
@@ -1,7 +1,7 @@
import type { AxiosRequestConfig } from 'axios'
import type { Readable } from 'stream'
import type { URL } from 'url'
import { proto } from '../../WAProto'
import { proto } from '../../WAProto/index.js'
import { MEDIA_HKDF_KEY_MAPPING } from '../Defaults'
import type { BinaryNode } from '../WABinary'
import type { GroupMetadata } from './GroupMetadata'
+1 -1
View File
@@ -1,4 +1,4 @@
import { proto } from '../../WAProto'
import { proto } from '../../WAProto/index.js'
type DecryptGroupSignalOpts = {
group: string
+1 -1
View File
@@ -1,7 +1,7 @@
import type { AxiosRequestConfig } from 'axios'
import type { Agent } from 'https'
import type { URL } from 'url'
import { proto } from '../../WAProto'
import { proto } from '../../WAProto/index.js'
import type { ILogger } from '../Utils/logger'
import type { AuthenticationState, SignalAuthState, TransactionCapabilityOptions } from './Auth'
import type { GroupMetadata } from './GroupMetadata'