We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b66363e commit c87d87aCopy full SHA for c87d87a
1 file changed
src/comms/isocket-comms.js
@@ -98,14 +98,15 @@ class ISocketComms extends EventEmitter {
98
if(this.aesStream){
99
debug('decrypting quantum aes')
100
console.log(reply, typeof reply)
101
+ console.log(typeof reply.data)
102
- let buf = reply
103
+ let buf = reply.data
104
105
if(buf instanceof Blob){
- debug('reply is a blob')
106
- buf = await reply.arrayBuffer();
+ debug('reply.data is a blob')
107
+ buf = await reply.data.arrayBuffer();
108
} else {
- buf = reply.data
109
+ //buf = reply.data
110
}
111
112
const contentBSON = await this.aesStream.decrypt( new Uint8Array(buf) )
0 commit comments