@awangxcode/qiro-baileys 7.0.0-rc26.2 → 7.0.0-rc26.3

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 (151) hide show
  1. package/lib/Defaults/index.d.ts +1 -1
  2. package/lib/Defaults/index.js +3 -3
  3. package/lib/Extensions/advanced.d.ts +1 -1
  4. package/lib/Extensions/experimental.d.ts +1 -1
  5. package/lib/MessageBuilder/index.d.ts +5 -5
  6. package/lib/MessageBuilder/index.js +2 -2
  7. package/lib/Signal/Group/group-session-builder.d.ts +3 -3
  8. package/lib/Signal/Group/group-session-builder.js +4 -4
  9. package/lib/Signal/Group/group_cipher.d.ts +2 -2
  10. package/lib/Signal/Group/group_cipher.js +4 -4
  11. package/lib/Signal/Group/index.d.ts +11 -11
  12. package/lib/Signal/Group/index.js +11 -11
  13. package/lib/Signal/Group/sender-chain-key.d.ts +1 -1
  14. package/lib/Signal/Group/sender-chain-key.js +1 -1
  15. package/lib/Signal/Group/sender-key-distribution-message.d.ts +1 -1
  16. package/lib/Signal/Group/sender-key-distribution-message.js +1 -1
  17. package/lib/Signal/Group/sender-key-message.d.ts +1 -1
  18. package/lib/Signal/Group/sender-key-message.js +1 -1
  19. package/lib/Signal/Group/sender-key-record.d.ts +1 -1
  20. package/lib/Signal/Group/sender-key-record.js +2 -2
  21. package/lib/Signal/Group/sender-key-state.d.ts +2 -2
  22. package/lib/Signal/Group/sender-key-state.js +2 -2
  23. package/lib/Signal/libsignal.d.ts +3 -3
  24. package/lib/Signal/libsignal.js +6 -6
  25. package/lib/Signal/lid-mapping.d.ts +2 -2
  26. package/lib/Signal/lid-mapping.js +1 -1
  27. package/lib/Socket/Client/index.d.ts +2 -2
  28. package/lib/Socket/Client/index.js +2 -2
  29. package/lib/Socket/Client/types.d.ts +1 -1
  30. package/lib/Socket/Client/websocket.d.ts +1 -1
  31. package/lib/Socket/Client/websocket.js +2 -2
  32. package/lib/Socket/business.d.ts +77 -77
  33. package/lib/Socket/business.js +5 -5
  34. package/lib/Socket/chats.d.ts +16 -16
  35. package/lib/Socket/chats.js +9 -9
  36. package/lib/Socket/communities.d.ts +56 -56
  37. package/lib/Socket/communities.js +5 -5
  38. package/lib/Socket/groups.d.ts +28 -28
  39. package/lib/Socket/groups.js +4 -4
  40. package/lib/Socket/index.d.ts +97 -97
  41. package/lib/Socket/index.js +4 -4
  42. package/lib/Socket/messages-recv.d.ts +42 -42
  43. package/lib/Socket/messages-recv.js +10 -10
  44. package/lib/Socket/messages-send.d.ts +45 -45
  45. package/lib/Socket/messages-send.js +9 -9
  46. package/lib/Socket/mex.d.ts +1 -1
  47. package/lib/Socket/mex.js +1 -1
  48. package/lib/Socket/newsletter.d.ts +34 -34
  49. package/lib/Socket/newsletter.js +5 -5
  50. package/lib/Socket/socket.d.ts +11 -11
  51. package/lib/Socket/socket.js +7 -7
  52. package/lib/Types/Auth.d.ts +2 -2
  53. package/lib/Types/Chat.d.ts +6 -6
  54. package/lib/Types/Events.d.ts +9 -9
  55. package/lib/Types/GroupMetadata.d.ts +2 -2
  56. package/lib/Types/Message.d.ts +5 -5
  57. package/lib/Types/Product.d.ts +1 -1
  58. package/lib/Types/Signal.d.ts +1 -1
  59. package/lib/Types/Socket.d.ts +5 -5
  60. package/lib/Types/Socket.js +1 -1
  61. package/lib/Types/State.d.ts +1 -1
  62. package/lib/Types/USync.d.ts +2 -2
  63. package/lib/Types/USync.js +1 -1
  64. package/lib/Types/index.d.ts +14 -14
  65. package/lib/Types/index.js +12 -12
  66. package/lib/Utils/auth-utils.d.ts +2 -2
  67. package/lib/Utils/auth-utils.js +4 -4
  68. package/lib/Utils/browser-utils.d.ts +1 -1
  69. package/lib/Utils/business.d.ts +2 -2
  70. package/lib/Utils/business.js +3 -3
  71. package/lib/Utils/chat-utils.d.ts +3 -3
  72. package/lib/Utils/chat-utils.js +7 -7
  73. package/lib/Utils/companion-reg-client-utils.d.ts +3 -3
  74. package/lib/Utils/companion-reg-client-utils.js +1 -1
  75. package/lib/Utils/crypto.d.ts +1 -1
  76. package/lib/Utils/crypto.js +1 -1
  77. package/lib/Utils/decode-wa-message.d.ts +4 -4
  78. package/lib/Utils/decode-wa-message.js +2 -2
  79. package/lib/Utils/event-buffer.d.ts +2 -2
  80. package/lib/Utils/event-buffer.js +4 -4
  81. package/lib/Utils/generics.d.ts +2 -2
  82. package/lib/Utils/generics.js +3 -3
  83. package/lib/Utils/history.d.ts +1 -1
  84. package/lib/Utils/history.js +5 -5
  85. package/lib/Utils/identity-change-handler.d.ts +2 -2
  86. package/lib/Utils/identity-change-handler.js +2 -2
  87. package/lib/Utils/index.d.ts +21 -21
  88. package/lib/Utils/index.js +21 -21
  89. package/lib/Utils/link-preview.d.ts +2 -2
  90. package/lib/Utils/link-preview.js +2 -2
  91. package/lib/Utils/message-retry-manager.d.ts +1 -1
  92. package/lib/Utils/messages-media.d.ts +4 -4
  93. package/lib/Utils/messages-media.js +4 -4
  94. package/lib/Utils/messages.d.ts +4 -4
  95. package/lib/Utils/messages.js +7 -7
  96. package/lib/Utils/noise-handler.d.ts +3 -3
  97. package/lib/Utils/noise-handler.js +3 -3
  98. package/lib/Utils/offline-node-processor.d.ts +1 -1
  99. package/lib/Utils/pre-key-manager.d.ts +2 -2
  100. package/lib/Utils/process-message.d.ts +2 -2
  101. package/lib/Utils/process-message.js +7 -7
  102. package/lib/Utils/reporting-utils.d.ts +2 -2
  103. package/lib/Utils/reporting-utils.js +1 -1
  104. package/lib/Utils/signal.d.ts +4 -4
  105. package/lib/Utils/signal.js +4 -4
  106. package/lib/Utils/stanza-ack.d.ts +1 -1
  107. package/lib/Utils/sync-action-utils.d.ts +2 -2
  108. package/lib/Utils/sync-action-utils.js +1 -1
  109. package/lib/Utils/tc-token-utils.d.ts +2 -2
  110. package/lib/Utils/tc-token-utils.js +1 -1
  111. package/lib/Utils/use-multi-file-auth-state.d.ts +1 -1
  112. package/lib/Utils/use-multi-file-auth-state.js +2 -2
  113. package/lib/Utils/validate-connection.d.ts +2 -2
  114. package/lib/Utils/validate-connection.js +5 -5
  115. package/lib/WABinary/decode.d.ts +1 -1
  116. package/lib/WABinary/decode.js +2 -2
  117. package/lib/WABinary/encode.d.ts +1 -1
  118. package/lib/WABinary/encode.js +2 -2
  119. package/lib/WABinary/generic-utils.d.ts +1 -1
  120. package/lib/WABinary/generic-utils.js +1 -1
  121. package/lib/WABinary/index.d.ts +5 -5
  122. package/lib/WABinary/index.js +5 -5
  123. package/lib/WABinary/types.d.ts +1 -1
  124. package/lib/WABinary/types.js +1 -1
  125. package/lib/WAM/BinaryInfo.d.ts +1 -1
  126. package/lib/WAM/encode.d.ts +1 -1
  127. package/lib/WAM/encode.js +2 -2
  128. package/lib/WAM/index.d.ts +3 -3
  129. package/lib/WAM/index.js +3 -3
  130. package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +3 -3
  131. package/lib/WAUSync/Protocols/USyncContactProtocol.js +2 -2
  132. package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +2 -2
  133. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +1 -1
  134. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +2 -2
  135. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +1 -1
  136. package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +2 -2
  137. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +1 -1
  138. package/lib/WAUSync/Protocols/USyncUsernameProtocol.d.ts +3 -3
  139. package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +2 -2
  140. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +3 -3
  141. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +2 -2
  142. package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +3 -3
  143. package/lib/WAUSync/Protocols/index.d.ts +5 -5
  144. package/lib/WAUSync/Protocols/index.js +5 -5
  145. package/lib/WAUSync/USyncQuery.d.ts +3 -3
  146. package/lib/WAUSync/USyncQuery.js +5 -5
  147. package/lib/WAUSync/index.d.ts +3 -3
  148. package/lib/WAUSync/index.js +3 -3
  149. package/lib/index.d.ts +10 -10
  150. package/lib/index.js +11 -11
  151. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import type { EventInputType } from './constants';
1
+ import type { EventInputType } from './constants.js';
2
2
  export declare class BinaryInfo {
3
3
  protocolVersion: number;
4
4
  sequence: number;
@@ -1,3 +1,3 @@
1
- import { BinaryInfo } from './BinaryInfo';
1
+ import { BinaryInfo } from './BinaryInfo.js';
2
2
  export declare const encodeWAM: (binaryInfo: BinaryInfo) => Buffer<ArrayBuffer>;
3
3
  //# sourceMappingURL=encode.d.ts.map
package/lib/WAM/encode.js CHANGED
@@ -1,5 +1,5 @@
1
- import { BinaryInfo } from './BinaryInfo';
2
- import { FLAG_BYTE, FLAG_EVENT, FLAG_EXTENDED, FLAG_FIELD, FLAG_GLOBAL, WEB_EVENTS, WEB_GLOBALS } from './constants';
1
+ import { BinaryInfo } from './BinaryInfo.js';
2
+ import { FLAG_BYTE, FLAG_EVENT, FLAG_EXTENDED, FLAG_FIELD, FLAG_GLOBAL, WEB_EVENTS, WEB_GLOBALS } from './constants.js';
3
3
  const getHeaderBitLength = (key) => (key < 256 ? 2 : 3);
4
4
  export const encodeWAM = (binaryInfo) => {
5
5
  binaryInfo.buffer = [];
@@ -1,4 +1,4 @@
1
- export * from './constants';
2
- export * from './encode';
3
- export * from './BinaryInfo';
1
+ export * from './constants.js';
2
+ export * from './encode.js';
3
+ export * from './BinaryInfo.js';
4
4
  //# sourceMappingURL=index.d.ts.map
package/lib/WAM/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from './constants';
2
- export * from './encode';
3
- export * from './BinaryInfo';
1
+ export * from './constants.js';
2
+ export * from './encode.js';
3
+ export * from './BinaryInfo.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import { type BinaryNode } from '../../WABinary';
3
- import { USyncUser } from '../USyncUser';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import { type BinaryNode } from '../../WABinary/index.js';
3
+ import { USyncUser } from '../USyncUser.js';
4
4
  export declare class USyncContactProtocol implements USyncQueryProtocol {
5
5
  name: string;
6
6
  getQueryElement(): BinaryNode;
@@ -1,5 +1,5 @@
1
- import { assertNodeErrorFree } from '../../WABinary';
2
- import { USyncUser } from '../USyncUser';
1
+ import { assertNodeErrorFree } from '../../WABinary/index.js';
2
+ import { USyncUser } from '../USyncUser.js';
3
3
  export class USyncContactProtocol {
4
4
  constructor() {
5
5
  this.name = 'contact';
@@ -1,5 +1,5 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import { type BinaryNode } from '../../WABinary';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import { type BinaryNode } from '../../WABinary/index.js';
3
3
  export type KeyIndexData = {
4
4
  timestamp: number;
5
5
  signedKeyIndex?: Uint8Array;
@@ -1,4 +1,4 @@
1
- import { assertNodeErrorFree, getBinaryNodeChild } from '../../WABinary';
1
+ import { assertNodeErrorFree, getBinaryNodeChild } from '../../WABinary/index.js';
2
2
  export class USyncDeviceProtocol {
3
3
  constructor() {
4
4
  this.name = 'devices';
@@ -1,5 +1,5 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import { type BinaryNode } from '../../WABinary';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import { type BinaryNode } from '../../WABinary/index.js';
3
3
  export type DisappearingModeData = {
4
4
  duration: number;
5
5
  setAt?: Date;
@@ -1,4 +1,4 @@
1
- import { assertNodeErrorFree } from '../../WABinary';
1
+ import { assertNodeErrorFree } from '../../WABinary/index.js';
2
2
  export class USyncDisappearingModeProtocol {
3
3
  constructor() {
4
4
  this.name = 'disappearing_mode';
@@ -1,5 +1,5 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import { type BinaryNode } from '../../WABinary';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import { type BinaryNode } from '../../WABinary/index.js';
3
3
  export type StatusData = {
4
4
  status?: string | null;
5
5
  setAt?: Date;
@@ -1,4 +1,4 @@
1
- import { assertNodeErrorFree } from '../../WABinary';
1
+ import { assertNodeErrorFree } from '../../WABinary/index.js';
2
2
  export class USyncStatusProtocol {
3
3
  constructor() {
4
4
  this.name = 'status';
@@ -1,6 +1,6 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import { type BinaryNode } from '../../WABinary';
3
- import { USyncUser } from '../USyncUser';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import { type BinaryNode } from '../../WABinary/index.js';
3
+ import { USyncUser } from '../USyncUser.js';
4
4
  export declare class USyncUsernameProtocol implements USyncQueryProtocol {
5
5
  name: string;
6
6
  getQueryElement(): BinaryNode;
@@ -1,5 +1,5 @@
1
- import { assertNodeErrorFree } from '../../WABinary';
2
- import { USyncUser } from '../USyncUser';
1
+ import { assertNodeErrorFree } from '../../WABinary/index.js';
2
+ import { USyncUser } from '../USyncUser.js';
3
3
  export class USyncUsernameProtocol {
4
4
  constructor() {
5
5
  this.name = 'username';
@@ -1,6 +1,6 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import { type BinaryNode } from '../../WABinary';
3
- import { USyncUser } from '../USyncUser';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import { type BinaryNode } from '../../WABinary/index.js';
3
+ import { USyncUser } from '../USyncUser.js';
4
4
  export type BotProfileCommand = {
5
5
  name: string;
6
6
  description: string;
@@ -1,5 +1,5 @@
1
- import { getBinaryNodeChild, getBinaryNodeChildren, getBinaryNodeChildString } from '../../WABinary';
2
- import { USyncUser } from '../USyncUser';
1
+ import { getBinaryNodeChild, getBinaryNodeChildren, getBinaryNodeChildString } from '../../WABinary/index.js';
2
+ import { USyncUser } from '../USyncUser.js';
3
3
  export class USyncBotProfileProtocol {
4
4
  constructor() {
5
5
  this.name = 'bot';
@@ -1,6 +1,6 @@
1
- import type { USyncQueryProtocol } from '../../Types/USync';
2
- import type { BinaryNode } from '../../WABinary';
3
- import type { USyncUser } from '../USyncUser';
1
+ import type { USyncQueryProtocol } from '../../Types/USync.js';
2
+ import type { BinaryNode } from '../../WABinary/index.js';
3
+ import type { USyncUser } from '../USyncUser.js';
4
4
  export declare class USyncLIDProtocol implements USyncQueryProtocol {
5
5
  name: string;
6
6
  getQueryElement(): BinaryNode;
@@ -1,6 +1,6 @@
1
- export * from './USyncDeviceProtocol';
2
- export * from './USyncContactProtocol';
3
- export * from './USyncStatusProtocol';
4
- export * from './USyncDisappearingModeProtocol';
5
- export * from './USyncUsernameProtocol';
1
+ export * from './USyncDeviceProtocol.js';
2
+ export * from './USyncContactProtocol.js';
3
+ export * from './USyncStatusProtocol.js';
4
+ export * from './USyncDisappearingModeProtocol.js';
5
+ export * from './USyncUsernameProtocol.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- export * from './USyncDeviceProtocol';
2
- export * from './USyncContactProtocol';
3
- export * from './USyncStatusProtocol';
4
- export * from './USyncDisappearingModeProtocol';
5
- export * from './USyncUsernameProtocol';
1
+ export * from './USyncDeviceProtocol.js';
2
+ export * from './USyncContactProtocol.js';
3
+ export * from './USyncStatusProtocol.js';
4
+ export * from './USyncDisappearingModeProtocol.js';
5
+ export * from './USyncUsernameProtocol.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import type { USyncQueryProtocol } from '../Types/USync';
2
- import { type BinaryNode } from '../WABinary';
3
- import { USyncUser } from './USyncUser';
1
+ import type { USyncQueryProtocol } from '../Types/USync.js';
2
+ import { type BinaryNode } from '../WABinary/index.js';
3
+ import { USyncUser } from './USyncUser.js';
4
4
  export type USyncQueryResultList = {
5
5
  [protocol: string]: unknown;
6
6
  id: string;
@@ -1,8 +1,8 @@
1
- import { getBinaryNodeChild } from '../WABinary';
2
- import { USyncBotProfileProtocol } from './Protocols/UsyncBotProfileProtocol';
3
- import { USyncLIDProtocol } from './Protocols/UsyncLIDProtocol';
4
- import { USyncContactProtocol, USyncDeviceProtocol, USyncDisappearingModeProtocol, USyncStatusProtocol, USyncUsernameProtocol } from './Protocols';
5
- import { USyncUser } from './USyncUser';
1
+ import { getBinaryNodeChild } from '../WABinary/index.js';
2
+ import { USyncBotProfileProtocol } from './Protocols/UsyncBotProfileProtocol.js';
3
+ import { USyncLIDProtocol } from './Protocols/UsyncLIDProtocol.js';
4
+ import { USyncContactProtocol, USyncDeviceProtocol, USyncDisappearingModeProtocol, USyncStatusProtocol, USyncUsernameProtocol } from './Protocols/index.js';
5
+ import { USyncUser } from './USyncUser.js';
6
6
  export class USyncQuery {
7
7
  constructor() {
8
8
  this.protocols = [];
@@ -1,4 +1,4 @@
1
- export * from './Protocols/index';
2
- export * from './USyncQuery';
3
- export * from './USyncUser';
1
+ export * from './Protocols/index.js';
2
+ export * from './USyncQuery.js';
3
+ export * from './USyncUser.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- export * from './Protocols/index';
2
- export * from './USyncQuery';
3
- export * from './USyncUser';
1
+ export * from './Protocols/index.js';
2
+ export * from './USyncQuery.js';
3
+ export * from './USyncUser.js';
4
4
  //# sourceMappingURL=index.js.map
package/lib/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import makeWASocket from './Socket/index';
1
+ import makeWASocket from './Socket/index.js';
2
2
  export * from '../WAProto/index.js';
3
- export * from './Utils/index';
4
- export * from './Types/index';
3
+ export * from './Utils/index.js';
4
+ export * from './Types/index.js';
5
5
  export * as Store from './Store/index.js';
6
- export * from './Defaults/index';
7
- export * from './WABinary/index';
8
- export * from './WAM/index';
9
- export * from './WAUSync/index';
10
- export * from './MessageBuilder/index';
11
- export * from './Extensions/advanced';
12
- export * from './Extensions/experimental';
6
+ export * from './Defaults/index.js';
7
+ export * from './WABinary/index.js';
8
+ export * from './WAM/index.js';
9
+ export * from './WAUSync/index.js';
10
+ export * from './MessageBuilder/index.js';
11
+ export * from './Extensions/advanced.js';
12
+ export * from './Extensions/experimental.js';
13
13
  export * as VoIP from './VoIP/index.js';
14
14
  export { toNewsletterServerIds, toNewsletterUserSettingInput } from './Socket/newsletter.js';
15
15
  export { buildMemberLabelMessage } from './Socket/messages-send.js';
package/lib/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import makeWASocket from './Socket/index';
2
- import { printQiroBaileysWelcome } from './Utils/terminal-welcome';
1
+ import makeWASocket from './Socket/index.js';
2
+ import { printQiroBaileysWelcome } from './Utils/terminal-welcome.js';
3
3
  export * from '../WAProto/index.js';
4
- export * from './Utils/index';
5
- export * from './Types/index';
4
+ export * from './Utils/index.js';
5
+ export * from './Types/index.js';
6
6
  export * as Store from './Store/index.js';
7
- export * from './Defaults/index';
8
- export * from './WABinary/index';
9
- export * from './WAM/index';
10
- export * from './WAUSync/index';
11
- export * from './MessageBuilder/index';
12
- export * from './Extensions/advanced';
13
- export * from './Extensions/experimental';
7
+ export * from './Defaults/index.js';
8
+ export * from './WABinary/index.js';
9
+ export * from './WAM/index.js';
10
+ export * from './WAUSync/index.js';
11
+ export * from './MessageBuilder/index.js';
12
+ export * from './Extensions/advanced.js';
13
+ export * from './Extensions/experimental.js';
14
14
  export * as VoIP from './VoIP/index.js';
15
15
  export { toNewsletterServerIds, toNewsletterUserSettingInput } from './Socket/newsletter.js';
16
16
  export { buildMemberLabelMessage } from './Socket/messages-send.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@awangxcode/qiro-baileys",
3
3
  "type": "module",
4
- "version": "7.0.0-rc26.2",
4
+ "version": "7.0.0-rc26.3",
5
5
  "description": "QIRO WhatsApp Web protocol toolkit by AXCODE iD / AwangXcode",
6
6
  "keywords": [
7
7
  "qiro",
@@ -32,7 +32,7 @@
32
32
  "scripts": {
33
33
  "build:all": "yarn build && yarn build:docs",
34
34
  "build:docs": "typedoc --options config/typedoc.json --tsconfig config/tsconfig.json --entryPoints src/index.ts --out docs/api",
35
- "build": "tsc -P config/tsconfig.build.json && tsc-esm-fix --tsconfig=config/tsconfig.build.json --ext=.js && node ./scripts/check-proto-static.mjs && node ./scripts/stage-extension-modules.mjs && node ./scripts/stage-call-framework.mjs",
35
+ "build": "tsc -P config/tsconfig.build.json && node ./scripts/check-proto-static.mjs && node ./scripts/stage-extension-modules.mjs && node ./scripts/stage-call-framework.mjs && tsc-esm-fix --tsconfig=config/tsconfig.build.json --target=lib --ext=.js --sourceMap --dirnameVar=false --filenameVar=false",
36
36
  "example": "tsx ./examples/example.ts",
37
37
  "gen:protobuf": "node ./scripts/proto-regeneration-guard.mjs",
38
38
  "format": "prettier --write \"src/**/*.{ts,js,json,md}\" \"examples/**/*.{ts,js,json,md}\"",