@verified-network/verified-custody 0.3.7 → 0.3.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/README.md +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -179,7 +179,7 @@ export interface VerifiedCustodyHelpers {
|
|
|
179
179
|
|
|
180
180
|
action:
|
|
181
181
|
Optional. Can be one of:
|
|
182
|
-
"connect_wallet" | "getPk" | "invitation" | "signRecovery" | "completeRecovery" | "eth_sendTransaction"
|
|
182
|
+
"connect_wallet" | "getPk" | "invitation" | "signRecovery" | "completeRecovery" | "eth_requestAccounts" | "eth_sendTransaction"
|
|
183
183
|
If omitted, the component handles account creation or login for new/existing users.
|
|
184
184
|
|
|
185
185
|
helperFunctions:
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
|
|
3
|
-
type VerifiedWalletAction = "connect_wallet" | "getPk" | "invitation" | "signRecovery" | "completeRecovery" | null;
|
|
3
|
+
type VerifiedWalletAction = "connect_wallet" | "getPk" | "invitation" | "signRecovery" | "completeRecovery" | "eth_requestAccounts" | null;
|
|
4
4
|
type VerifiedWalletVault = {
|
|
5
5
|
vaultId?: string;
|
|
6
6
|
hashedVaultId?: string;
|
|
@@ -144,6 +144,7 @@ declare const CreatePinPage: (props: {
|
|
|
144
144
|
vaultData?: any;
|
|
145
145
|
txData?: any;
|
|
146
146
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
147
|
+
isExistingUser?: boolean;
|
|
147
148
|
}) => React$1.JSX.Element;
|
|
148
149
|
|
|
149
150
|
declare const ContactPage: (props: {
|
|
@@ -174,6 +175,7 @@ declare const OTPPage: (props: {
|
|
|
174
175
|
setIsLoading: (isLoading: boolean) => void;
|
|
175
176
|
setUserNumberFmt: (number: string) => void;
|
|
176
177
|
setUserEmail: (email: string) => void;
|
|
178
|
+
setIsExistingUser?: (isExistingUser: boolean) => void;
|
|
177
179
|
selectedCountry: {
|
|
178
180
|
name: string;
|
|
179
181
|
area: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
|
|
3
|
-
type VerifiedWalletAction = "connect_wallet" | "getPk" | "invitation" | "signRecovery" | "completeRecovery" | null;
|
|
3
|
+
type VerifiedWalletAction = "connect_wallet" | "getPk" | "invitation" | "signRecovery" | "completeRecovery" | "eth_requestAccounts" | null;
|
|
4
4
|
type VerifiedWalletVault = {
|
|
5
5
|
vaultId?: string;
|
|
6
6
|
hashedVaultId?: string;
|
|
@@ -144,6 +144,7 @@ declare const CreatePinPage: (props: {
|
|
|
144
144
|
vaultData?: any;
|
|
145
145
|
txData?: any;
|
|
146
146
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
147
|
+
isExistingUser?: boolean;
|
|
147
148
|
}) => React$1.JSX.Element;
|
|
148
149
|
|
|
149
150
|
declare const ContactPage: (props: {
|
|
@@ -174,6 +175,7 @@ declare const OTPPage: (props: {
|
|
|
174
175
|
setIsLoading: (isLoading: boolean) => void;
|
|
175
176
|
setUserNumberFmt: (number: string) => void;
|
|
176
177
|
setUserEmail: (email: string) => void;
|
|
178
|
+
setIsExistingUser?: (isExistingUser: boolean) => void;
|
|
177
179
|
selectedCountry: {
|
|
178
180
|
name: string;
|
|
179
181
|
area: string;
|