@adventurelabs/scout-core 1.0.44 → 1.0.46

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.
@@ -21,6 +21,7 @@ export async function server_list_api_keys_batch(device_ids) {
21
21
  const startTime = Date.now();
22
22
  console.log(`[API Keys Batch] Starting batch load for ${device_ids.length} devices at ${new Date().toISOString()}`);
23
23
  console.log(`[API Keys Batch] Debug: device_ids array:`, device_ids);
24
+ console.log(`[API Keys Batch] Debug: device_ids types:`, device_ids.map((id) => ({ id, type: typeof id })));
24
25
  const supabase = await newServerClient();
25
26
  console.log(`[API Keys Batch] Making RPC call to load_api_keys_batch...`);
26
27
  const { data, error } = await supabase.rpc("load_api_keys_batch", {
@@ -149,6 +149,8 @@ export async function server_get_events_and_tags_for_device(device_id, limit = 3
149
149
  export async function server_get_events_and_tags_for_devices_batch(device_ids, limit = 1) {
150
150
  const startTime = Date.now();
151
151
  console.log(`[Events Batch] Starting batch load for ${device_ids.length} devices (limit: ${limit}) at ${new Date().toISOString()}`);
152
+ console.log(`[Events Batch] Debug: device_ids array:`, device_ids);
153
+ console.log(`[Events Batch] Debug: device_ids types:`, device_ids.map((id) => ({ id, type: typeof id })));
152
154
  const supabase = await newServerClient();
153
155
  console.log(`[Events Batch] Making RPC call to get_events_and_tags_for_devices_batch...`);
154
156
  // Use single RPC call for all devices
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adventurelabs/scout-core",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "Core utilities and helpers for Adventure Labs Scout applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",