File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,6 @@ class Grow extends Thing {
104
104
this . emit = ( event ) => {
105
105
super . emit ( event ) ;
106
106
107
- if ( typeof event === 'object' ) {
108
- event . timestamp = new Date ( ) ;
109
- }
110
-
111
- else if ( typeof event === 'string' ) {
112
- event = {
113
- event,
114
- timestamp : new Date ( )
115
- }
116
- }
117
-
118
107
this . ddpclient . call (
119
108
'Thing.emit' ,
120
109
[ { uuid : this . uuid , token : this . token } , event ] ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Grow.js" ,
3
- "version" : " 0.3.0 " ,
3
+ "version" : " 0.3.1 " ,
4
4
"description" : " Easily create new IoT devices and connect them to a Grow-IoT instance." ,
5
5
"main" : " dist/Grow.umd.js" ,
6
6
"jsnext:main" : " dist/Grow.es6.js" ,
32
32
],
33
33
"homepage" : " https://github.com/CommonGarden/Grow.js" ,
34
34
"dependencies" : {
35
- "Thing.js" : " ^0.3.0 " ,
35
+ "Thing.js" : " ^0.3.1 " ,
36
36
"awesome-pid" : " ^1.0.3" ,
37
37
"coap" : " ^0.20.0" ,
38
38
"ddp" : " >=0.11.0" ,
You can’t perform that action at this time.
0 commit comments