Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
This repository was archived by the owner on Jul 27, 2026. It is now read-only.

Move currency specific constants/methods from lib to monetary #512

Open

Description

@bvotteler
  1. Move ATOMIC_UNIT constant to monetary
    See PR comment: Chore: Update monetary-js, and remove currency units #435 (review)

  2. Recreate atomicToBaseAmount() in monetary
    See PR comment: Chore: Update monetary-js, and remove currency units #435 (review)

  3. Recreate static method newMonetaryAmount() (in src/util/currency.ts) in monetary-js

  4. Mark recreated methods as @deprecated to be removed in future updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      Todo ⏳

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions