@aikidosec/broker-client 0.0.5 → 1.0.1

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.
Files changed (2) hide show
  1. package/app/client.js +2 -2
  2. package/package.json +1 -1
package/app/client.js CHANGED
@@ -22,7 +22,7 @@ const log = {
22
22
  };
23
23
 
24
24
  // Broker Server Configuration
25
- const SERVER_URL = "https://broker.aikidobrokerstaging.com";
25
+ const SERVER_URL = "https://broker.aikidobroker.com";
26
26
 
27
27
  // Client Configuration (from environment)
28
28
  const CLIENT_SECRET = process.env.CLIENT_SECRET;
@@ -472,7 +472,7 @@ async function registerWithServer() {
472
472
  * Runs continuously while client is connected.
473
473
  */
474
474
  async function resourceSyncTask() {
475
- await new Promise(resolve => setTimeout(resolve, 15000)); // Initial delay before first sync
475
+ await new Promise(resolve => setTimeout(resolve, 15000)); // Small initial delay before first sync
476
476
 
477
477
  while (true) {
478
478
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikidosec/broker-client",
3
- "version": "0.0.5",
3
+ "version": "1.0.1",
4
4
  "description": "Aikido Broker Client - Runs in customer network to forward requests to internal resources",
5
5
  "main": "app/client.js",
6
6
  "type": "module",