@unifold/core 0.1.68-beta.2 → 0.1.68

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.mts CHANGED
@@ -568,6 +568,23 @@ interface ProjectConfigResponse {
568
568
  */
569
569
  is_hidden?: boolean;
570
570
  };
571
+ stripe_link?: {
572
+ /**
573
+ * Developer/merchant toggle for the "Pay with Link" on-ramp, overridable by
574
+ * the SDK `enableStripeLink` prop. There is no dashboard control yet, so it
575
+ * currently resolves to `false` (SDK prop governs). Mirrors `fiat_onramp`.
576
+ */
577
+ enabled?: boolean;
578
+ /**
579
+ * Platform-controlled hard hide for the "Pay with Link" on-ramp. Defaults
580
+ * to false. Stripe Link's crypto on-ramp is only available in a limited set
581
+ * of countries (currently the US); when true, the SDK MUST hide it
582
+ * regardless of `enabled` or the `enableStripeLink` prop. Resolved
583
+ * server-side from the caller's country (`country_code` query param / IP
584
+ * geolocation).
585
+ */
586
+ is_hidden?: boolean;
587
+ };
571
588
  deposit_tracker?: {
572
589
  enabled: boolean;
573
590
  };
@@ -663,7 +680,7 @@ interface AddressBalancesResponse {
663
680
  */
664
681
  declare function getAddressBalances(address: string, chainType: ChainType, publishableKey?: string): Promise<AddressBalancesResponse>;
665
682
  /** Wallet ids supported by the connect-wallet flow. */
666
- type WalletMobileDeepLinkWallet = 'phantom' | 'metamask' | 'coinbase' | 'trust' | 'rainbow' | 'rabby' | 'okx';
683
+ type WalletMobileDeepLinkWallet = 'phantom' | 'metamask' | 'coinbase' | 'trust' | 'rainbow' | 'rabby' | 'okx' | 'solflare' | 'backpack';
667
684
  /** Chain types an external wallet can connect on. */
668
685
  type ExternalWalletChainType = 'ethereum' | 'solana';
669
686
  /** A supported external (self-custody) wallet from the directory endpoint. */
package/dist/index.d.ts CHANGED
@@ -568,6 +568,23 @@ interface ProjectConfigResponse {
568
568
  */
569
569
  is_hidden?: boolean;
570
570
  };
571
+ stripe_link?: {
572
+ /**
573
+ * Developer/merchant toggle for the "Pay with Link" on-ramp, overridable by
574
+ * the SDK `enableStripeLink` prop. There is no dashboard control yet, so it
575
+ * currently resolves to `false` (SDK prop governs). Mirrors `fiat_onramp`.
576
+ */
577
+ enabled?: boolean;
578
+ /**
579
+ * Platform-controlled hard hide for the "Pay with Link" on-ramp. Defaults
580
+ * to false. Stripe Link's crypto on-ramp is only available in a limited set
581
+ * of countries (currently the US); when true, the SDK MUST hide it
582
+ * regardless of `enabled` or the `enableStripeLink` prop. Resolved
583
+ * server-side from the caller's country (`country_code` query param / IP
584
+ * geolocation).
585
+ */
586
+ is_hidden?: boolean;
587
+ };
571
588
  deposit_tracker?: {
572
589
  enabled: boolean;
573
590
  };
@@ -663,7 +680,7 @@ interface AddressBalancesResponse {
663
680
  */
664
681
  declare function getAddressBalances(address: string, chainType: ChainType, publishableKey?: string): Promise<AddressBalancesResponse>;
665
682
  /** Wallet ids supported by the connect-wallet flow. */
666
- type WalletMobileDeepLinkWallet = 'phantom' | 'metamask' | 'coinbase' | 'trust' | 'rainbow' | 'rabby' | 'okx';
683
+ type WalletMobileDeepLinkWallet = 'phantom' | 'metamask' | 'coinbase' | 'trust' | 'rainbow' | 'rabby' | 'okx' | 'solflare' | 'backpack';
667
684
  /** Chain types an external wallet can connect on. */
668
685
  type ExternalWalletChainType = 'ethereum' | 'solana';
669
686
  /** A supported external (self-custody) wallet from the directory endpoint. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/core",
3
- "version": "0.1.68-beta.2",
3
+ "version": "0.1.68",
4
4
  "description": "Unifold Core SDK - Core types, API client, and business logic",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",