webfast 0.1.57 → 0.1.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -124,6 +124,7 @@ web.fast.connectWebSocket = function(socketURL,maxRetries = 40, retries = 0) {
124
124
  console.log('WebSocket connected');
125
125
  // Start other things (e.g., send initial data)
126
126
  web.fast.que.state = true;
127
+
127
128
  };
128
129
 
129
130
  ws.onmessage = (event) => {
@@ -134,6 +135,7 @@ web.fast.connectWebSocket = function(socketURL,maxRetries = 40, retries = 0) {
134
135
  if (json.type == `user`) {
135
136
  // We have user data
136
137
  console.log(`Set User Data`);
138
+ web.fast.user = json;
137
139
  // Now go Through to set all data
138
140
  // Get all webfast client
139
141
  jQuery(`[webfast-client]`).each(function(){
@@ -349,7 +349,8 @@ module.exports = async function (program) {
349
349
  sendData.images = allImages;
350
350
 
351
351
  // TODO ADD OTHER DATA
352
-
352
+ //program.express.process.socket.api.
353
+ // TODO location
353
354
  ws.send(JSON.stringify({ type: 'user', clientId: clientId, data : sendData }));
354
355
 
355
356
  }});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webfast",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "description": "WebFast! Bot Application, including TON mini-apps for makign it easy and fast to build ini-apps",
5
5
  "main": "index.js",
6
6
  "repository": {