@volr/react-ui 0.2.4 → 0.2.6

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/index.d.cts CHANGED
@@ -29,6 +29,7 @@ interface VolrUIConfig extends VolrConfig {
29
29
  socialProviders?: ("google" | "twitter")[];
30
30
  branding?: BrandingConfig;
31
31
  keyStorageType?: KeyStorageType;
32
+ allowExternalWalletPayment?: boolean;
32
33
  }
33
34
  interface VolrUIProviderProps {
34
35
  config: VolrUIConfig;
@@ -42,6 +43,7 @@ declare const useVolrUI: () => {
42
43
  socialProviders?: ("google" | "twitter" | "apple")[];
43
44
  branding?: BrandingConfig;
44
45
  keyStorageType?: KeyStorageType;
46
+ allowExternalWalletPayment?: boolean;
45
47
  };
46
48
  /**
47
49
  * Optional version of useVolrUI that returns null instead of throwing
@@ -55,6 +57,7 @@ declare const useVolrUIOptional: () => {
55
57
  socialProviders?: ("google" | "twitter" | "apple")[];
56
58
  branding?: BrandingConfig;
57
59
  keyStorageType?: KeyStorageType;
60
+ allowExternalWalletPayment?: boolean;
58
61
  } | null;
59
62
  declare const VolrUIProvider: React$1.FC<VolrUIProviderProps>;
60
63
 
@@ -324,12 +327,12 @@ declare const en: {
324
327
  readonly domainLabel: "Domain";
325
328
  };
326
329
  readonly walletRequired: {
327
- readonly ariaLabel: "Create wallet";
328
- readonly titleTx: "Create your wallet to continue";
329
- readonly titleMessage: "Create your wallet to continue";
330
- readonly titleTypedData: "Create your wallet to continue";
331
- readonly description: "Create a wallet in about 1 second to continue.";
332
- readonly cta: "Create wallet in 1 second";
330
+ readonly ariaLabel: "Passkey required";
331
+ readonly titleTx: "Passkey required to continue";
332
+ readonly titleMessage: "Passkey required to continue";
333
+ readonly titleTypedData: "Passkey required to continue";
334
+ readonly description: "You need to register a passkey wallet to proceed.";
335
+ readonly cta: "Register passkey";
333
336
  readonly notNow: "Not now";
334
337
  };
335
338
  readonly payment: {
@@ -337,6 +340,7 @@ declare const en: {
337
340
  readonly title: "Choose how to pay";
338
341
  readonly description: "Use your existing wallet, or create a wallet in about 1 second.";
339
342
  readonly externalCta: "Use my wallet";
343
+ readonly externalInlineCta: "I already have a wallet";
340
344
  readonly createAccountCta: "Create wallet in 1 second";
341
345
  readonly externalDisabledNative: "External wallet payments are available for ERC-20 permit tokens only.";
342
346
  readonly externalTitle: "Select a wallet";
package/dist/index.d.ts CHANGED
@@ -29,6 +29,7 @@ interface VolrUIConfig extends VolrConfig {
29
29
  socialProviders?: ("google" | "twitter")[];
30
30
  branding?: BrandingConfig;
31
31
  keyStorageType?: KeyStorageType;
32
+ allowExternalWalletPayment?: boolean;
32
33
  }
33
34
  interface VolrUIProviderProps {
34
35
  config: VolrUIConfig;
@@ -42,6 +43,7 @@ declare const useVolrUI: () => {
42
43
  socialProviders?: ("google" | "twitter" | "apple")[];
43
44
  branding?: BrandingConfig;
44
45
  keyStorageType?: KeyStorageType;
46
+ allowExternalWalletPayment?: boolean;
45
47
  };
46
48
  /**
47
49
  * Optional version of useVolrUI that returns null instead of throwing
@@ -55,6 +57,7 @@ declare const useVolrUIOptional: () => {
55
57
  socialProviders?: ("google" | "twitter" | "apple")[];
56
58
  branding?: BrandingConfig;
57
59
  keyStorageType?: KeyStorageType;
60
+ allowExternalWalletPayment?: boolean;
58
61
  } | null;
59
62
  declare const VolrUIProvider: React$1.FC<VolrUIProviderProps>;
60
63
 
@@ -324,12 +327,12 @@ declare const en: {
324
327
  readonly domainLabel: "Domain";
325
328
  };
326
329
  readonly walletRequired: {
327
- readonly ariaLabel: "Create wallet";
328
- readonly titleTx: "Create your wallet to continue";
329
- readonly titleMessage: "Create your wallet to continue";
330
- readonly titleTypedData: "Create your wallet to continue";
331
- readonly description: "Create a wallet in about 1 second to continue.";
332
- readonly cta: "Create wallet in 1 second";
330
+ readonly ariaLabel: "Passkey required";
331
+ readonly titleTx: "Passkey required to continue";
332
+ readonly titleMessage: "Passkey required to continue";
333
+ readonly titleTypedData: "Passkey required to continue";
334
+ readonly description: "You need to register a passkey wallet to proceed.";
335
+ readonly cta: "Register passkey";
333
336
  readonly notNow: "Not now";
334
337
  };
335
338
  readonly payment: {
@@ -337,6 +340,7 @@ declare const en: {
337
340
  readonly title: "Choose how to pay";
338
341
  readonly description: "Use your existing wallet, or create a wallet in about 1 second.";
339
342
  readonly externalCta: "Use my wallet";
343
+ readonly externalInlineCta: "I already have a wallet";
340
344
  readonly createAccountCta: "Create wallet in 1 second";
341
345
  readonly externalDisabledNative: "External wallet payments are available for ERC-20 permit tokens only.";
342
346
  readonly externalTitle: "Select a wallet";