@adventurelabs/scout-core 1.0.38 → 1.0.39

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.
@@ -630,25 +630,11 @@ export declare function useSupabase(): SupabaseClient<Database, "public", {
630
630
  };
631
631
  Returns: Database["public"]["CompositeTypes"]["device_pretty_location"];
632
632
  };
633
- get_device_from_api_key: {
633
+ get_device_by_api_key: {
634
634
  Args: {
635
635
  device_api_key: string;
636
636
  };
637
- Returns: {
638
- altitude: number | null;
639
- created_by: string;
640
- description: string;
641
- device_type: Database["public"]["Enums"]["device_type"];
642
- domain_name: string | null;
643
- heading: number | null;
644
- herd_id: number;
645
- id: number;
646
- inserted_at: string;
647
- location: unknown | null;
648
- name: string;
649
- video_publisher_token: string | null;
650
- video_subscriber_token: string | null;
651
- };
637
+ Returns: Database["public"]["CompositeTypes"]["device_pretty_location"];
652
638
  };
653
639
  get_device_id_from_key: {
654
640
  Args: {
@@ -621,25 +621,11 @@ export declare function newServerClient(): Promise<import("@supabase/supabase-js
621
621
  };
622
622
  Returns: Database["public"]["CompositeTypes"]["device_pretty_location"];
623
623
  };
624
- get_device_from_api_key: {
624
+ get_device_by_api_key: {
625
625
  Args: {
626
626
  device_api_key: string;
627
627
  };
628
- Returns: {
629
- altitude: number | null;
630
- created_by: string;
631
- description: string;
632
- device_type: Database["public"]["Enums"]["device_type"];
633
- domain_name: string | null;
634
- heading: number | null;
635
- herd_id: number;
636
- id: number;
637
- inserted_at: string;
638
- location: unknown | null;
639
- name: string;
640
- video_publisher_token: string | null;
641
- video_subscriber_token: string | null;
642
- };
628
+ Returns: Database["public"]["CompositeTypes"]["device_pretty_location"];
643
629
  };
644
630
  get_device_id_from_key: {
645
631
  Args: {
@@ -688,25 +688,11 @@ export type Database = {
688
688
  };
689
689
  Returns: Database["public"]["CompositeTypes"]["device_pretty_location"];
690
690
  };
691
- get_device_from_api_key: {
691
+ get_device_by_api_key: {
692
692
  Args: {
693
693
  device_api_key: string;
694
694
  };
695
- Returns: {
696
- altitude: number | null;
697
- created_by: string;
698
- description: string;
699
- device_type: Database["public"]["Enums"]["device_type"];
700
- domain_name: string | null;
701
- heading: number | null;
702
- herd_id: number;
703
- id: number;
704
- inserted_at: string;
705
- location: unknown | null;
706
- name: string;
707
- video_publisher_token: string | null;
708
- video_subscriber_token: string | null;
709
- };
695
+ Returns: Database["public"]["CompositeTypes"]["device_pretty_location"];
710
696
  };
711
697
  get_device_id_from_key: {
712
698
  Args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adventurelabs/scout-core",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
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",