@rennzsync/baileys 10.2.2 → 10.2.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.
- package/lib/Signal/Group/group_cipher.js +1 -1
- package/lib/Signal/Group/keyhelper.js +1 -1
- package/lib/Signal/Group/sender-chain-key.js +1 -1
- package/lib/Signal/Group/sender-key-message.js +1 -1
- package/lib/Signal/Group/sender-message-key.js +1 -1
- package/lib/Signal/libsignal.js +1 -1
- package/lib/Utils/crypto.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { decrypt, encrypt } from 'libsignal/src/crypto';
|
|
1
|
+
import { decrypt, encrypt } from 'libsignal/src/crypto.js';
|
|
2
2
|
import { SenderKeyMessage } from './sender-key-message.js';
|
|
3
3
|
import { SenderKeyName } from './sender-key-name.js';
|
|
4
4
|
import { SenderKeyRecord } from './sender-key-record.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { calculateSignature, verifySignature } from 'libsignal/src/curve';
|
|
1
|
+
import { calculateSignature, verifySignature } from 'libsignal/src/curve.js';
|
|
2
2
|
import { proto } from '../../../WAProto/index.js';
|
|
3
3
|
import { CiphertextMessage } from './ciphertext-message.js';
|
|
4
4
|
export class SenderKeyMessage extends CiphertextMessage {
|
package/lib/Signal/libsignal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as libsignal from 'libsignal';
|
|
2
|
-
import { PreKeyWhisperMessage } from 'libsignal/src/protobufs';
|
|
2
|
+
import { PreKeyWhisperMessage } from 'libsignal/src/protobufs.js';
|
|
3
3
|
import { LRUCache } from 'lru-cache';
|
|
4
4
|
import { generateSignalPubKey } from '../Utils/index.js';
|
|
5
5
|
import { isHostedLidUser, isHostedPnUser, isLidUser, isPnUser, jidDecode, transferDevice, WAJIDDomains } from '../WABinary/index.js';
|
package/lib/Utils/crypto.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createCipheriv, createDecipheriv, createHash, createHmac, randomBytes } from 'crypto';
|
|
2
|
-
import * as curve from 'libsignal/src/curve';
|
|
2
|
+
import * as curve from 'libsignal/src/curve.js';
|
|
3
3
|
import { KEY_BUNDLE_TYPE } from '../Defaults/index.js';
|
|
4
4
|
export { md5, hkdf } from 'whatsapp-rust-bridge';
|
|
5
5
|
// insure browser & node compatibility
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rennzsync/baileys",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "10.2.
|
|
4
|
+
"version": "10.2.3",
|
|
5
5
|
"description": "renz/baileys — WhatsApp Multi-Device library rebased @whiskeysockets/baileys 7.0.0-rc14, using the original libsignal (GPL-3.0) Signal Protocol engine. Maintained by RennZz-Dev. Focus: multimedia WhatsApp bots, low RAM footprint.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "RennZz-Dev (https://github.com/renzxhub)",
|