bschat-sdk
Advanced tools
Comparing version 0.0.3-a to 0.0.3-b
@@ -86,5 +86,10 @@ "use strict"; | ||
} | ||
this.bsChat | ||
.connect(this.signer).on('MessageCreated', (...args) => { | ||
_func(args); | ||
this.bsChat.connect(this.signer).on('MessageCreated', (...args) => { | ||
const event = { | ||
messageId: args[0], | ||
sender: args[1], | ||
recipient: args[2], | ||
createDate: args[3] | ||
}; | ||
_func(event); | ||
}); | ||
@@ -91,0 +96,0 @@ } |
{ | ||
"name": "bschat-sdk", | ||
"version": "0.0.3-a", | ||
"version": "0.0.3-b", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "author": "33357 <43600005+33357@users.noreply.github.com>", |
Sorry, the diff of this file is not supported yet
448122
10897