@naculus/connect-appkit-ui 0.9.0 → 0.10.0

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
@@ -699,6 +699,7 @@ declare function WalletPicker({ wallets, onSelect, loading, error, }: WalletPick
699
699
  interface AuthorizationConsentProps {
700
700
  authorization: Authorization | ListedAuthorization | AuthorizationDescription;
701
701
  assets?: Record<string, AuthorizationAssetMetadata>;
702
+ trustedAssets?: readonly string[];
702
703
  locale?: string;
703
704
  /** Unix timestamp in seconds, for a stable relative expiry. */
704
705
  now?: number;
@@ -713,19 +714,20 @@ interface AuthorizationConsentProps {
713
714
  busy?: boolean;
714
715
  className?: string;
715
716
  }
716
- declare function AuthorizationConsent({ authorization, assets, locale, now, requester, preview, onApprove, onDecline, busy, className, }: AuthorizationConsentProps): React__default.JSX.Element;
717
+ declare function AuthorizationConsent({ authorization, assets, trustedAssets, locale, now, requester, preview, onApprove, onDecline, busy, className, }: AuthorizationConsentProps): React__default.JSX.Element;
717
718
 
718
719
  interface AuthorizationListProps {
719
720
  entries: ListedAuthorization[] | {
720
721
  entries: ListedAuthorization[];
721
722
  };
722
723
  assets?: Record<string, AuthorizationAssetMetadata>;
724
+ trustedAssets?: readonly string[];
723
725
  onRevoke: (entry: ListedAuthorization) => RevokeListedAuthorizationResult | Promise<RevokeListedAuthorizationResult>;
724
726
  revokingId?: string;
725
727
  locale?: string;
726
728
  className?: string;
727
729
  }
728
- declare function AuthorizationList({ entries: input, assets, onRevoke, revokingId, locale, className, }: AuthorizationListProps): React__default.JSX.Element;
730
+ declare function AuthorizationList({ entries: input, assets, trustedAssets, onRevoke, revokingId, locale, className, }: AuthorizationListProps): React__default.JSX.Element;
729
731
 
730
732
  interface PaymentReceiptProps {
731
733
  record: PaymentRecord;
package/dist/index.d.ts CHANGED
@@ -699,6 +699,7 @@ declare function WalletPicker({ wallets, onSelect, loading, error, }: WalletPick
699
699
  interface AuthorizationConsentProps {
700
700
  authorization: Authorization | ListedAuthorization | AuthorizationDescription;
701
701
  assets?: Record<string, AuthorizationAssetMetadata>;
702
+ trustedAssets?: readonly string[];
702
703
  locale?: string;
703
704
  /** Unix timestamp in seconds, for a stable relative expiry. */
704
705
  now?: number;
@@ -713,19 +714,20 @@ interface AuthorizationConsentProps {
713
714
  busy?: boolean;
714
715
  className?: string;
715
716
  }
716
- declare function AuthorizationConsent({ authorization, assets, locale, now, requester, preview, onApprove, onDecline, busy, className, }: AuthorizationConsentProps): React__default.JSX.Element;
717
+ declare function AuthorizationConsent({ authorization, assets, trustedAssets, locale, now, requester, preview, onApprove, onDecline, busy, className, }: AuthorizationConsentProps): React__default.JSX.Element;
717
718
 
718
719
  interface AuthorizationListProps {
719
720
  entries: ListedAuthorization[] | {
720
721
  entries: ListedAuthorization[];
721
722
  };
722
723
  assets?: Record<string, AuthorizationAssetMetadata>;
724
+ trustedAssets?: readonly string[];
723
725
  onRevoke: (entry: ListedAuthorization) => RevokeListedAuthorizationResult | Promise<RevokeListedAuthorizationResult>;
724
726
  revokingId?: string;
725
727
  locale?: string;
726
728
  className?: string;
727
729
  }
728
- declare function AuthorizationList({ entries: input, assets, onRevoke, revokingId, locale, className, }: AuthorizationListProps): React__default.JSX.Element;
730
+ declare function AuthorizationList({ entries: input, assets, trustedAssets, onRevoke, revokingId, locale, className, }: AuthorizationListProps): React__default.JSX.Element;
729
731
 
730
732
  interface PaymentReceiptProps {
731
733
  record: PaymentRecord;