@volr/react 0.2.4 → 0.2.5

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
@@ -146,6 +146,7 @@ interface UserDto {
146
146
  signerType?: 'passkey' | 'external_wallet' | 'mpc';
147
147
  walletConnector?: string;
148
148
  lastWalletChainId?: number;
149
+ externalWalletPreferred?: boolean;
149
150
  blobUrl?: string;
150
151
  prfInput?: PrfInputDto;
151
152
  credentialId?: string;
@@ -276,6 +277,7 @@ interface VolrUser {
276
277
  signerType?: SignerType;
277
278
  walletConnector?: string;
278
279
  lastWalletChainId?: number;
280
+ externalWalletPreferred?: boolean;
279
281
  blobUrl?: string;
280
282
  prfInput?: PrfInputDto;
281
283
  credentialId?: string;
@@ -294,8 +296,8 @@ type VolrConfig = {
294
296
  * If the user's locale is not allowed, English is used.
295
297
  */
296
298
  allowedLocales?: Array<"en" | "ko">;
297
- providerPolicy?: {
298
- enforceOnFirstLogin?: boolean;
299
+ walletPolicy?: {
300
+ requireVolrWalletOnLogin?: boolean;
299
301
  };
300
302
  /**
301
303
  * Deposit/Topup configuration for multi-chain, multi-token support
@@ -971,6 +973,7 @@ interface PaymentToken {
971
973
  decimals: number;
972
974
  address: string;
973
975
  iconUrl?: string | null;
976
+ permitSupported?: boolean;
974
977
  }
975
978
  interface PaymentResult {
976
979
  id: string;
package/dist/index.d.ts CHANGED
@@ -146,6 +146,7 @@ interface UserDto {
146
146
  signerType?: 'passkey' | 'external_wallet' | 'mpc';
147
147
  walletConnector?: string;
148
148
  lastWalletChainId?: number;
149
+ externalWalletPreferred?: boolean;
149
150
  blobUrl?: string;
150
151
  prfInput?: PrfInputDto;
151
152
  credentialId?: string;
@@ -276,6 +277,7 @@ interface VolrUser {
276
277
  signerType?: SignerType;
277
278
  walletConnector?: string;
278
279
  lastWalletChainId?: number;
280
+ externalWalletPreferred?: boolean;
279
281
  blobUrl?: string;
280
282
  prfInput?: PrfInputDto;
281
283
  credentialId?: string;
@@ -294,8 +296,8 @@ type VolrConfig = {
294
296
  * If the user's locale is not allowed, English is used.
295
297
  */
296
298
  allowedLocales?: Array<"en" | "ko">;
297
- providerPolicy?: {
298
- enforceOnFirstLogin?: boolean;
299
+ walletPolicy?: {
300
+ requireVolrWalletOnLogin?: boolean;
299
301
  };
300
302
  /**
301
303
  * Deposit/Topup configuration for multi-chain, multi-token support
@@ -971,6 +973,7 @@ interface PaymentToken {
971
973
  decimals: number;
972
974
  address: string;
973
975
  iconUrl?: string | null;
976
+ permitSupported?: boolean;
974
977
  }
975
978
  interface PaymentResult {
976
979
  id: string;