"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ts/libsignal.d.ts" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

libsignal.d.ts  (Signal-Desktop-1.35.2):libsignal.d.ts  (Signal-Desktop-1.36.1)
skipping to change at line 23 skipping to change at line 23
) => Promise<ArrayBuffer>; ) => Promise<ArrayBuffer>;
calculateMAC: (key: ArrayBuffer, data: ArrayBuffer) => Promise<ArrayBuffer>; calculateMAC: (key: ArrayBuffer, data: ArrayBuffer) => Promise<ArrayBuffer>;
verifyMAC: ( verifyMAC: (
data: ArrayBuffer, data: ArrayBuffer,
key: ArrayBuffer, key: ArrayBuffer,
mac: ArrayBuffer, mac: ArrayBuffer,
length: number length: number
) => Promise<void>; ) => Promise<void>;
getRandomBytes: (size: number) => ArrayBuffer; getRandomBytes: (size: number) => ArrayBuffer;
}; };
externalCurveAsync: {
calculateAgreement: (
pubKey: ArrayBuffer,
privKey: ArrayBuffer
) => Promise<ArrayBuffer>;
generateKeyPair: () => Promise<{
privKey: ArrayBuffer;
pubKey: ArrayBuffer;
}>;
};
KeyHelper: { KeyHelper: {
generateIdentityKeyPair: () => Promise<{ generateIdentityKeyPair: () => Promise<{
privKey: ArrayBuffer; privKey: ArrayBuffer;
pubKey: ArrayBuffer; pubKey: ArrayBuffer;
}>; }>;
generateRegistrationId: () => number; generateRegistrationId: () => number;
generateSignedPreKey: ( generateSignedPreKey: (
identityKeyPair: KeyPairType, identityKeyPair: KeyPairType,
signedKeyId: number signedKeyId: number
) => Promise<SignedPreKeyType>; ) => Promise<SignedPreKeyType>;
skipping to change at line 59 skipping to change at line 69
message: ArrayBuffer message: ArrayBuffer
) => ArrayBuffer | Promise<ArrayBuffer>; ) => ArrayBuffer | Promise<ArrayBuffer>;
validatePubKeyFormat: (buffer: ArrayBuffer) => ArrayBuffer; validatePubKeyFormat: (buffer: ArrayBuffer) => ArrayBuffer;
async: CurveType; async: CurveType;
}; };
HKDF: { HKDF: {
deriveSecrets: ( deriveSecrets: (
packKey: ArrayBuffer, packKey: ArrayBuffer,
salt: ArrayBuffer, salt: ArrayBuffer,
// The string is a bit crazy, but ProvisioningCipher currently passes in a string // The string is a bit crazy, but ProvisioningCipher currently passes in a string
info: ArrayBuffer | string info?: ArrayBuffer | string
) => Promise<Array<ArrayBuffer>>; ) => Promise<Array<ArrayBuffer>>;
}; };
worker: { worker: {
startWorker: () => void; startWorker: () => void;
stopWorker: () => void; stopWorker: () => void;
}; };
FingerprintGenerator: typeof FingerprintGeneratorClass; FingerprintGenerator: typeof FingerprintGeneratorClass;
SessionBuilder: typeof SessionBuilderClass; SessionBuilder: typeof SessionBuilderClass;
SessionCipher: typeof SessionCipherClass; SessionCipher: typeof SessionCipherClass;
SignalProtocolAddress: typeof SignalProtocolAddressClass; SignalProtocolAddress: typeof SignalProtocolAddressClass;
 End of changes. 2 change blocks. 
1 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)