From 24137380820b2a6a2404ea7c8a4f1583438ad9c4 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sun, 27 Aug 2017 14:00:20 +0100 Subject: [PATCH] update pusher nodes to later api to close #347 and close #348 --- social/pusher/package.json | 6 +++--- social/pusher/pusher.html | 34 +++++++++++++++++++++++++++------- social/pusher/pusher.js | 37 ++++++++++++++++++++----------------- 3 files changed, 50 insertions(+), 27 deletions(-) diff --git a/social/pusher/package.json b/social/pusher/package.json index 7dfc7900..e2225318 100644 --- a/social/pusher/package.json +++ b/social/pusher/package.json @@ -1,10 +1,10 @@ { "name" : "node-red-node-pusher", - "version" : "0.0.6", + "version" : "0.1.0", "description" : "A Node-RED node to send and receive messages using Pusher.com", "dependencies" : { - "pusher": "1.0.5", - "pusher-client": "0.2.3" + "pusher": "^1.5.1", + "pusher-client": "^1.1.0" }, "repository" : { "type":"git", diff --git a/social/pusher/pusher.html b/social/pusher/pusher.html index f0053fc4..c34e41cf 100644 --- a/social/pusher/pusher.html +++ b/social/pusher/pusher.html @@ -9,8 +9,17 @@
- - + + +
+
+ +
@@ -30,10 +39,11 @@ defaults: { name: {value:""}, channel: {value:"", required:true}, + cluster: {value:"mt1"}, eventname: {value:"", required:true} }, credentials: { - pusherappkey_sub: "text" + pusherappkeysub: {type:"text"} }, inputs:0, outputs:1, @@ -60,27 +70,36 @@
- +
- +
- +
+
+ + +
+
-