@frigade/react 1.35.7 → 1.35.9

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.
package/lib/index.d.ts CHANGED
@@ -670,17 +670,17 @@ declare function useFlowOpens(): {
670
670
  };
671
671
 
672
672
  declare function useUser(): {
673
- userId: string;
674
- setUserId: React__default.Dispatch<React__default.SetStateAction<string>>;
675
- addPropertiesToUser: (properties: EntityProperties) => Promise<void>;
676
- trackEventForUser: (event: string, properties?: EntityProperties) => Promise<void>;
673
+ readonly userId: string | null;
674
+ readonly setUserId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
675
+ readonly addPropertiesToUser: (properties: EntityProperties) => Promise<void>;
676
+ readonly trackEventForUser: (event: string, properties?: EntityProperties) => Promise<void>;
677
677
  };
678
678
 
679
679
  declare function useOrganization(): {
680
- organizationId: string;
681
- setOrganizationId: React__default.Dispatch<React__default.SetStateAction<string>>;
682
- addPropertiesToOrganization: (properties: EntityProperties) => Promise<void>;
683
- trackEventForOrganization: (event: string, properties?: EntityProperties) => Promise<void>;
680
+ readonly organizationId: string | null;
681
+ readonly setOrganizationId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
682
+ readonly addPropertiesToOrganization: (properties: EntityProperties) => Promise<void>;
683
+ readonly trackEventForOrganization: (event: string, properties?: EntityProperties) => Promise<void>;
684
684
  };
685
685
 
686
686
  interface PublicUserFlowState {