webfast 0.1.41 → 0.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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": {