webfast 0.1.41 → 0.1.42

Sign up to get free protection for your applications and to get access to all the features.
@@ -164,7 +164,6 @@ web.fast.connectWebSocket = function(socketURL,maxRetries = 40, retries = 0) {
164
164
  }
165
165
 
166
166
  // Call the function to start the WebSocket connection
167
- web.fast.connectWebSocket(socketURL);
168
167
  web.fast.receive = function(data,message) {
169
168
  // Placeholder for processing the received data
170
169
  // Implement your logic here (e.g., update UI, handle specific messages)
@@ -303,4 +302,7 @@ jQuery(document).ready(function() {
303
302
  console.error(`No Action for : ${elementType}`);
304
303
  }
305
304
  });
305
+
306
+ // Connect to websocket
307
+ web.fast.connectWebSocket(socketURL);
306
308
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webfast",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
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": {