@frigade/react 1.35.15 → 1.35.17

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
@@ -681,7 +681,7 @@ declare function useFlowOpens(): {
681
681
  declare function useUser(): {
682
682
  readonly userId: string | null;
683
683
  readonly setUserId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
684
- readonly setUserIdWithProperties: (userId: string, properties?: EntityProperties) => void;
684
+ readonly setUserIdWithProperties: (userId: string, properties?: EntityProperties) => Promise<void>;
685
685
  readonly addPropertiesToUser: (properties: EntityProperties) => Promise<void>;
686
686
  readonly trackEventForUser: (event: string, properties?: EntityProperties) => Promise<void>;
687
687
  };
@@ -689,7 +689,7 @@ declare function useUser(): {
689
689
  declare function useOrganization(): {
690
690
  readonly organizationId: string | null;
691
691
  readonly setOrganizationId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
692
- readonly setOrganizationIdWithProperties: (organizationId: string, properties?: EntityProperties) => void;
692
+ readonly setOrganizationIdWithProperties: (organizationId: string, properties?: EntityProperties) => Promise<void>;
693
693
  readonly addPropertiesToOrganization: (properties: EntityProperties) => Promise<void>;
694
694
  readonly trackEventForOrganization: (event: string, properties?: EntityProperties) => Promise<void>;
695
695
  };