project: Move to ESM Modules

This commit is contained in:
Rajeh Taher
2025-07-17 13:54:17 +03:00
parent 19124426b2
commit 787aed88b8
69 changed files with 5143 additions and 4757 deletions
+2
View File
@@ -2,6 +2,8 @@ import { makeLibSignalRepository } from '../Signal/libsignal'
import { SignalAuthState, SignalDataTypeMap } from '../Types'
import { Curve, generateRegistrationId, generateSignalPubKey, signedKeyPair } from '../Utils'
// TODO: should move to libsignal
describe('Signal Tests', () => {
it('should correctly encrypt/decrypt 1 message', async () => {
const user1 = makeUser()
-1
View File
@@ -1,4 +1,3 @@
import { SignalDataTypeMap, SignalKeyStore } from '../Types'
import { jidEncode } from '../WABinary'
export function randomJid() {