Skip to content

1268.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 19:45
9ff37e5

@metamask/ramps-controller 24.0.0

Added

  • Add NeoBankService:getAutoramps to load all autoramp accounts for the authenticated customer from GET /neobank/autoramps (#10278)
  • Add RampsController:hydrateVbaOnboarding, the persisted vbaOnboardingStage state, and the VbaOnboardingStage enum for Mobile routing (#10278)
    • Resolve the current onboarding stage (email OTP, vendor terms, provider terms, SumSub, pending KYC, rejected KYC, or completed) from the customer's KYC session status.
    • After KYC acceptance, register the Money Account wallet, load the customer's authoritative autoramps, and create one only when needed; keep the user on the pending stage if account activation is momentarily unavailable.
    • Coalesce overlapping hydration calls to prevent duplicate wallet signatures or autoramp creation during polling.

Changed

  • BREAKING: RampsControllerMessenger now requires the KycController:getSessionStatusForVendor, KycController:refreshSessionStatus, KycController:hasCompletedVendorDisclaimers, and KycController:hasCompletedSessionDisclaimers actions to hydrate VBA onboarding (#10278)
    • The action types are declared structurally in the ramps package, so no dependency on @metamask/kyc-controller is added.
  • Stop sending crypto on RampsService.getPaymentMethods. Payment methods are provider + region; the param was ignored by /v2/regions/:region/payments and split the CDN cache per token. assetId remains on the method for caller cache keys. (#10307)

@metamask/transaction-pay-controller 29.0.1

Changed

  • Bump @metamask/transaction-controller from ^70.0.1 to ^70.1.0 (#10262)
  • Bump @metamask/ramps-controller from ^23.0.0 to ^24.0.0 (#10326)