Skip to content

Commit 718cd2a

Browse files
committed
v0.3.1, bumps Thing.js version to 0.3.1
1 parent 5c0b344 commit 718cd2a

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

lib/Grow.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,6 @@ class Grow extends Thing {
104104
this.emit = (event) => {
105105
super.emit(event);
106106

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-
118107
this.ddpclient.call(
119108
'Thing.emit',
120109
[{uuid: this.uuid, token: this.token}, event],

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Grow.js",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Easily create new IoT devices and connect them to a Grow-IoT instance.",
55
"main": "dist/Grow.umd.js",
66
"jsnext:main": "dist/Grow.es6.js",
@@ -32,7 +32,7 @@
3232
],
3333
"homepage": "https://github.com/CommonGarden/Grow.js",
3434
"dependencies": {
35-
"Thing.js": "^0.3.0",
35+
"Thing.js": "^0.3.1",
3636
"awesome-pid": "^1.0.3",
3737
"coap": "^0.20.0",
3838
"ddp": ">=0.11.0",

0 commit comments

Comments
 (0)