
codes first, and then get the IPs from thereSet, which will collapse them into a single unique instanceSet, so that you then dedupe themconst { keys } = await env.KV.list();
const ips = new Set();
for(const { name } of keys) {
ips.add(await env.KV.get(name));
}
console.log(Array.from(ips.values()));