@signalapp/mock-server
Advanced tools
Comparing version 2.15.0 to 2.16.0
{ | ||
"name": "@signalapp/mock-server", | ||
"version": "2.15.0", | ||
"version": "2.16.0", | ||
"description": "Mock Signal Server for writing tests", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -190,2 +190,3 @@ /// <reference types="node" /> | ||
sendText(target: Device, text: string, options?: EncryptTextOptions): Promise<void>; | ||
sendRaw(target: Device, content: Proto.IContent, options?: EncryptOptions): Promise<void>; | ||
receive(source: Device, encrypted: Buffer): Promise<void>; | ||
@@ -192,0 +193,0 @@ waitForMessage(): Promise<MessageQueueEntry>; |
@@ -685,2 +685,5 @@ "use strict"; | ||
} | ||
async sendRaw(target, content, options) { | ||
await this.config.send(target, await this.encryptContent(target, content, options)); | ||
} | ||
async receive(source, encrypted) { | ||
@@ -687,0 +690,0 @@ const envelope = compiled_1.signalservice.Envelope.decode(encrypted); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3228844
59469