@frigade/react 1.35.11 → 1.35.13

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
@@ -674,6 +674,7 @@ declare function useFlowOpens(): {
674
674
  declare function useUser(): {
675
675
  readonly userId: string | null;
676
676
  readonly setUserId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
677
+ readonly setUserIdWithProperties: (userId: string, properties?: EntityProperties) => void;
677
678
  readonly addPropertiesToUser: (properties: EntityProperties) => Promise<void>;
678
679
  readonly trackEventForUser: (event: string, properties?: EntityProperties) => Promise<void>;
679
680
  };
@@ -681,6 +682,7 @@ declare function useUser(): {
681
682
  declare function useOrganization(): {
682
683
  readonly organizationId: string | null;
683
684
  readonly setOrganizationId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
685
+ readonly setOrganizationIdWithProperties: (organizationId: string, properties?: EntityProperties) => void;
684
686
  readonly addPropertiesToOrganization: (properties: EntityProperties) => Promise<void>;
685
687
  readonly trackEventForOrganization: (event: string, properties?: EntityProperties) => Promise<void>;
686
688
  };