@privy-io/react-auth 1.21.0-beta.7 → 1.21.0-beta.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/dist/esm/index.js +81 -81
- package/dist/index.d.ts +4 -0
- package/dist/index.js +83 -83
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -785,6 +785,7 @@ declare class PrivyClient {
|
|
|
785
785
|
private api;
|
|
786
786
|
private appId;
|
|
787
787
|
private session;
|
|
788
|
+
private clientAnalyticsId;
|
|
788
789
|
authFlow?: AuthFlow;
|
|
789
790
|
connectors: ConnectorManager;
|
|
790
791
|
/**
|
|
@@ -816,6 +817,9 @@ declare class PrivyClient {
|
|
|
816
817
|
unlinkPhone(phoneNumber: string): Promise<User>;
|
|
817
818
|
unlinkWallet(address: string): Promise<User>;
|
|
818
819
|
unlinkOAuth(provider: OAuthProviderType, subject: string): Promise<User>;
|
|
820
|
+
createAnalyticsEvent(eventName: string, payload?: {
|
|
821
|
+
[key: string]: any;
|
|
822
|
+
}, timestamp?: Date): Promise<void>;
|
|
819
823
|
/** DATA METHODS */
|
|
820
824
|
/**
|
|
821
825
|
* Fetches the currently authenticed user from the API or
|