File size: 637 Bytes
116b4cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { getConsistentMachineId } from "./machineId";

// Get machine ID using node-machine-id with salt
export async function getMachineId() {
  return await getConsistentMachineId();
}

// Keep sync functions for backward compatibility but make them no-ops
// (Frontend sync is disabled - use backend sync instead)
export async function syncProviderDataToCloud(cloudUrl) {
  console.log("Frontend sync is disabled. Use backend sync instead.");
  return Promise.resolve(true);
}

export async function getProvidersNeedingRefresh() {
  console.log("Frontend sync is disabled. Use backend sync instead.");
  return Promise.resolve([]);
}