@adventurelabs/scout-core 1.0.50 → 1.0.51

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.
@@ -75,7 +75,7 @@ export async function server_list_api_keys_batch(device_ids) {
75
75
  result[device_id] = [];
76
76
  }
77
77
  result[device_id].push({
78
- id: item.api_key_id.toString(),
78
+ id: item.api_key_id, // Now a string, no need for toString()
79
79
  key: item.api_key_key,
80
80
  });
81
81
  });
@@ -750,7 +750,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", {
750
750
  };
751
751
  Returns: {
752
752
  device_id: number;
753
- api_key_id: number;
753
+ api_key_id: string;
754
754
  api_key_key: string;
755
755
  }[];
756
756
  };
@@ -741,7 +741,7 @@ export declare function newServerClient(): Promise<import("@supabase/supabase-js
741
741
  };
742
742
  Returns: {
743
743
  device_id: number;
744
- api_key_id: number;
744
+ api_key_id: string;
745
745
  api_key_key: string;
746
746
  }[];
747
747
  };
@@ -808,7 +808,7 @@ export type Database = {
808
808
  };
809
809
  Returns: {
810
810
  device_id: number;
811
- api_key_id: number;
811
+ api_key_id: string;
812
812
  api_key_key: string;
813
813
  }[];
814
814
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adventurelabs/scout-core",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
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",