@amboras-dev/money 0.2.0 → 0.4.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.
Files changed (78) hide show
  1. package/README.md +22 -11
  2. package/dist/ai.cjs +12 -13
  3. package/dist/ai.d.cts +5 -9
  4. package/dist/ai.d.ts +5 -9
  5. package/dist/ai.js +12 -13
  6. package/dist/{allocate-CZRg4TOP.cjs → allocate-AusholrC.cjs} +3 -4
  7. package/dist/{allocate-X7_jAtOj.js → allocate-BBRfdaSC.js} +3 -4
  8. package/dist/{amount-BV0O-aN8.cjs → amount-Bzxw9aD4.cjs} +32 -14
  9. package/dist/{amount-BoYBMgK9.js → amount-off8IMBJ.js} +32 -14
  10. package/dist/{arithmetic-BhNwisjb.js → arithmetic-C97-YafD.js} +4 -5
  11. package/dist/{arithmetic-DjT4Kzgt.cjs → arithmetic-D8A6IeZ0.cjs} +4 -5
  12. package/dist/billing.cjs +5 -8
  13. package/dist/billing.d.cts +1 -9
  14. package/dist/billing.d.ts +1 -9
  15. package/dist/billing.js +5 -8
  16. package/dist/commerce.cjs +15 -23
  17. package/dist/commerce.d.cts +2 -16
  18. package/dist/commerce.d.ts +2 -16
  19. package/dist/commerce.js +15 -23
  20. package/dist/{format-DLhno7eX.cjs → format-92fzvTXY.cjs} +9 -9
  21. package/dist/{format-BdPnijvn.js → format-BJC513u4.js} +9 -9
  22. package/dist/fx.cjs +12 -18
  23. package/dist/fx.d.cts +5 -15
  24. package/dist/fx.d.ts +5 -15
  25. package/dist/fx.js +12 -18
  26. package/dist/index.cjs +10 -12
  27. package/dist/index.d.cts +17 -23
  28. package/dist/index.d.ts +17 -23
  29. package/dist/index.js +10 -12
  30. package/dist/input.cjs +7 -10
  31. package/dist/input.d.cts +16 -22
  32. package/dist/input.d.ts +16 -22
  33. package/dist/input.js +7 -10
  34. package/dist/{iso-minor-wSwJN57T.cjs → iso-minor-DyNjT9A1.cjs} +2 -3
  35. package/dist/{iso-minor-CqkWDxHS.js → iso-minor-odkY-e6I.js} +2 -3
  36. package/dist/{medusa-lRY9xlsf.cjs → medusa-CzVK0bth.cjs} +3 -4
  37. package/dist/{medusa-DBXJXXvF.d.ts → medusa-DofdvIgQ.d.cts} +1 -3
  38. package/dist/{medusa-4K8N1pUc.d.cts → medusa-DrbYmD2Y.d.ts} +1 -3
  39. package/dist/{medusa-DqJY1qpj.js → medusa-pKGlImn9.js} +3 -4
  40. package/dist/{money-B-3aFjNJ.d.cts → money-BkMeYDEW.d.cts} +0 -6
  41. package/dist/{money-B-3aFjNJ.d.ts → money-BkMeYDEW.d.ts} +0 -6
  42. package/dist/{money-WhnGiI00.js → money-BxbAw7BP.js} +7 -15
  43. package/dist/{money-B3wH_Z4S.cjs → money-DWBjuuEK.cjs} +7 -15
  44. package/dist/{number-text-DE-q4jO5.js → number-text-Bj-gZXiF.js} +3 -4
  45. package/dist/{number-text-BWu67jUq.cjs → number-text-CWuVwrlg.cjs} +3 -4
  46. package/dist/{own-oP9DXFWv.cjs → own-C5imDkyB.cjs} +1 -2
  47. package/dist/{own-D7544D3k.js → own-DHxqIYqL.js} +1 -2
  48. package/dist/{percent-D1VB9xXG.js → percent-CB3Ixjc_.js} +2 -3
  49. package/dist/{percent-C0InC2t2.cjs → percent-DABHiSBs.cjs} +2 -3
  50. package/dist/{rate-DBPiYgT1.d.ts → rate-BvvZUdSu.d.ts} +1 -3
  51. package/dist/{rate-tqK8ijG0.d.cts → rate-CEakW3ia.d.cts} +1 -3
  52. package/dist/{rate-CVeMii4a.cjs → rate-CEjWTATc.cjs} +3 -4
  53. package/dist/{rate-DicStBue.js → rate-D6S2_wgZ.js} +3 -4
  54. package/dist/{reporting-tpGJbqYp.d.ts → reporting-DFNyDBdi.d.cts} +2 -4
  55. package/dist/{reporting-CG-ai2sM.d.cts → reporting-jIBILvnr.d.ts} +2 -4
  56. package/dist/{retail-DRUTTQoJ.d.ts → retail-B04CjW3b.d.ts} +1 -3
  57. package/dist/{retail-Cml8YSKg.cjs → retail-CYGPU4ea.cjs} +4 -5
  58. package/dist/{retail-C_BPLvMj.d.cts → retail-CmEyJQOH.d.cts} +1 -3
  59. package/dist/{retail-1mu888J1.js → retail-DXgs11ov.js} +4 -5
  60. package/dist/{rounding-DHBtNCHG.cjs → rounding-4QKTRbMQ.cjs} +2 -3
  61. package/dist/{rounding-g9rvye0k.js → rounding-CA1PVP3b.js} +2 -3
  62. package/dist/sql.cjs +9 -15
  63. package/dist/sql.d.cts +2 -12
  64. package/dist/sql.d.ts +2 -12
  65. package/dist/sql.js +9 -15
  66. package/dist/testing.cjs +39198 -12
  67. package/dist/testing.d.cts +20 -13
  68. package/dist/testing.d.ts +20 -13
  69. package/dist/testing.js +39198 -13
  70. package/dist/{wire-sW0yzqth.js → wire-B4QU8O3W.js} +350 -93
  71. package/dist/{wire-CaUN9Vf_.d.ts → wire-CVNicirK.d.ts} +165 -46
  72. package/dist/{wire-xjYXv4go.d.cts → wire-CtNJmWVP.d.cts} +165 -46
  73. package/dist/{wire-Bhuut8cW.cjs → wire-u2tmHY0Y.cjs} +403 -92
  74. package/dist/wire.cjs +10 -1
  75. package/dist/wire.d.cts +2 -2
  76. package/dist/wire.d.ts +2 -2
  77. package/dist/wire.js +1 -2
  78. package/package.json +4 -3
package/dist/wire.cjs CHANGED
@@ -1,9 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_wire = require("./wire-Bhuut8cW.cjs");
2
+ const require_wire = require("./wire-u2tmHY0Y.cjs");
3
3
  exports.ISO_MINOR_V2 = require_wire.ISO_MINOR_V2;
4
+ exports.PAYSTACK_CURRENCIES = require_wire.PAYSTACK_CURRENCIES;
4
5
  exports.PRE_CUTOVER = require_wire.PRE_CUTOVER;
5
6
  exports.PSP_IDS = require_wire.PSP_IDS;
6
7
  exports.RAZORPAY_AFA_FREE_CAP = require_wire.RAZORPAY_AFA_FREE_CAP;
8
+ exports.WIRE_ROUNDING_EXACT = require_wire.WIRE_ROUNDING_EXACT;
9
+ exports.WIRE_ROUNDING_KEY = require_wire.WIRE_ROUNDING_KEY;
10
+ exports.WIRE_ROUNDING_MARKER = require_wire.WIRE_ROUNDING_MARKER;
7
11
  exports.WIRE_SCALE_ISO_MINOR_V2 = require_wire.WIRE_SCALE_ISO_MINOR_V2;
8
12
  exports.WIRE_SCALE_KEY = require_wire.WIRE_SCALE_KEY;
9
13
  exports.WIRE_SCALE_MARKER = require_wire.WIRE_SCALE_MARKER;
@@ -18,10 +22,15 @@ exports.feedPrice = require_wire.feedPrice;
18
22
  exports.googleMicros = require_wire.googleMicros;
19
23
  exports.iyzicoPrice = require_wire.iyzicoPrice;
20
24
  exports.jsonDecimalLiteral = require_wire.jsonDecimalLiteral;
25
+ exports.legacyFloatRefundClamp = require_wire.legacyFloatRefundClamp;
26
+ exports.mayHoldLegacyFloatRounding = require_wire.mayHoldLegacyFloatRounding;
21
27
  exports.oneWireUnit = require_wire.oneWireUnit;
22
28
  exports.parseProviderAmount = require_wire.parseProviderAmount;
29
+ exports.pspAccountCountryForCurrency = require_wire.pspAccountCountryForCurrency;
23
30
  exports.pspCurrencies = require_wire.pspCurrencies;
24
31
  exports.pspDefaultCurrency = require_wire.pspDefaultCurrency;
32
+ exports.pspHomeCountry = require_wire.pspHomeCountry;
33
+ exports.pspHomeCurrency = require_wire.pspHomeCurrency;
25
34
  exports.pspMinimumAmount = require_wire.pspMinimumAmount;
26
35
  exports.pspPresentment = require_wire.pspPresentment;
27
36
  exports.pspPresentmentCurrencies = require_wire.pspPresentmentCurrencies;
package/dist/wire.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as jsonDecimalLiteral, A as pspMinimumAmount, B as WIRE_SCALE_KEY, C as EncodeWireOptions, D as encodeWire, E as decodeWire, F as wireBreakdown, G as IsoMinorPsp, H as conventionOf, I as Convention, J as PSP_IDS, K as MajorNumberPsp, L as ISO_MINOR_V2, M as pspWireDigits, N as tryDecodeWire, O as pspCurrencies, P as wireFactor, Q as authorizeNetReversibleAmount, R as PRE_CUTOVER, S as wireKeyPart, T as assertPspCurrency, U as EncodeGatedPsp, V as WIRE_SCALE_MARKER, W as GatedPsp, X as WireAmount, Y as PspId, Z as AuthorizeNetAmounts, _ as googleMicros, a as iyzicoPrice, b as oneWireUnit, c as parseProviderAmount, d as pspPresentmentCurrencies, f as DestinationValue, g as feedPrice, h as eventMoney, i as RAZORPAY_AFA_FREE_CAP, j as pspSupportsCurrency, k as pspDefaultCurrency, l as PspPresentment, m as destinationAmount, n as readSlotMoney, o as verificationCharge, p as EventMoney, q as MajorStringPsp, r as slotMoney, s as ProviderAmountOptions, t as SlotMoney, u as pspPresentment, v as DestinationId, w as TryDecodeWireOptions, x as sameWireAmount, y as SameWireAmountOptions, z as WIRE_SCALE_ISO_MINOR_V2 } from "./wire-xjYXv4go.cjs";
2
- export { type AuthorizeNetAmounts, type Convention, type DestinationId, type DestinationValue, type EncodeGatedPsp, type EncodeWireOptions, type EventMoney, type GatedPsp, ISO_MINOR_V2, type IsoMinorPsp, type MajorNumberPsp, type MajorStringPsp, PRE_CUTOVER, PSP_IDS, type ProviderAmountOptions, type PspId, type PspPresentment, RAZORPAY_AFA_FREE_CAP, type SameWireAmountOptions, type SlotMoney, type TryDecodeWireOptions, WIRE_SCALE_ISO_MINOR_V2, WIRE_SCALE_KEY, WIRE_SCALE_MARKER, type WireAmount, assertPspCurrency, authorizeNetReversibleAmount, conventionOf, decodeWire, destinationAmount, encodeWire, eventMoney, feedPrice, googleMicros, iyzicoPrice, jsonDecimalLiteral, oneWireUnit, parseProviderAmount, pspCurrencies, pspDefaultCurrency, pspMinimumAmount, pspPresentment, pspPresentmentCurrencies, pspSupportsCurrency, pspWireDigits, readSlotMoney, sameWireAmount, slotMoney, tryDecodeWire, verificationCharge, wireBreakdown, wireFactor, wireKeyPart };
1
+ import { $ as WIRE_SCALE_ISO_MINOR_V2, A as wireKeyPart, B as pspHomeCurrency, C as eventMoney, D as SameWireAmountOptions, E as DestinationId, F as decodeWire, G as wireFactor, H as pspSupportsCurrency, I as encodeWire, J as ISO_MINOR_V2, K as wireBreakdown, L as pspCurrencies, M as EncodeWireOptions, N as TryDecodeWireOptions, O as oneWireUnit, P as assertPspCurrency, Q as WIRE_ROUNDING_MARKER, R as pspDefaultCurrency, S as destinationAmount, T as googleMicros, U as pspWireDigits, V as pspMinimumAmount, W as tryDecodeWire, X as WIRE_ROUNDING_EXACT, Y as PRE_CUTOVER, Z as WIRE_ROUNDING_KEY, _ as LegacyFloatRefund, _t as AuthorizeNetAmounts, a as VerificationDefaultPsp, at as EncodeGatedPsp, b as DestinationValue, bt as PAYSTACK_CURRENCIES, c as verificationCharge, ct as IyzicoCurrency, d as PresentmentOptions, dt as PSP_IDS, et as WIRE_SCALE_KEY, f as PspAccountCountry, ft as PaystackCurrency, g as pspPresentmentCurrencies, gt as WireAmount, h as pspPresentment, ht as VndOnlyPsp, i as RAZORPAY_AFA_FREE_CAP, it as AuthorizeNetCurrency, j as DecodeWireOptions, k as sameWireAmount, l as ProviderAmountOptions, lt as MajorNumberPsp, m as pspAccountCountryForCurrency, mt as PspId, n as readSlotMoney, nt as conventionOf, o as VerificationPsp, ot as GatedPsp, p as PspPresentment, pt as PspCurrency, q as Convention, r as slotMoney, rt as mayHoldLegacyFloatRounding, s as iyzicoPrice, st as IsoMinorPsp, t as SlotMoney, tt as WIRE_SCALE_MARKER, u as parseProviderAmount, ut as MajorStringPsp, v as LegacyFloatRefundInput, vt as authorizeNetReversibleAmount, w as feedPrice, x as EventMoney, y as legacyFloatRefundClamp, yt as jsonDecimalLiteral, z as pspHomeCountry } from "./wire-CtNJmWVP.cjs";
2
+ export { type AuthorizeNetAmounts, type AuthorizeNetCurrency, type Convention, type DecodeWireOptions, type DestinationId, type DestinationValue, type EncodeGatedPsp, type EncodeWireOptions, type EventMoney, type GatedPsp, ISO_MINOR_V2, type IsoMinorPsp, type IyzicoCurrency, type LegacyFloatRefund, type LegacyFloatRefundInput, type MajorNumberPsp, type MajorStringPsp, PAYSTACK_CURRENCIES, PRE_CUTOVER, PSP_IDS, type PaystackCurrency, type PresentmentOptions, type ProviderAmountOptions, type PspAccountCountry, type PspCurrency, type PspId, type PspPresentment, RAZORPAY_AFA_FREE_CAP, type SameWireAmountOptions, type SlotMoney, type TryDecodeWireOptions, type VerificationDefaultPsp, type VerificationPsp, type VndOnlyPsp, WIRE_ROUNDING_EXACT, WIRE_ROUNDING_KEY, WIRE_ROUNDING_MARKER, WIRE_SCALE_ISO_MINOR_V2, WIRE_SCALE_KEY, WIRE_SCALE_MARKER, type WireAmount, assertPspCurrency, authorizeNetReversibleAmount, conventionOf, decodeWire, destinationAmount, encodeWire, eventMoney, feedPrice, googleMicros, iyzicoPrice, jsonDecimalLiteral, legacyFloatRefundClamp, mayHoldLegacyFloatRounding, oneWireUnit, parseProviderAmount, pspAccountCountryForCurrency, pspCurrencies, pspDefaultCurrency, pspHomeCountry, pspHomeCurrency, pspMinimumAmount, pspPresentment, pspPresentmentCurrencies, pspSupportsCurrency, pspWireDigits, readSlotMoney, sameWireAmount, slotMoney, tryDecodeWire, verificationCharge, wireBreakdown, wireFactor, wireKeyPart };
package/dist/wire.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as jsonDecimalLiteral, A as pspMinimumAmount, B as WIRE_SCALE_KEY, C as EncodeWireOptions, D as encodeWire, E as decodeWire, F as wireBreakdown, G as IsoMinorPsp, H as conventionOf, I as Convention, J as PSP_IDS, K as MajorNumberPsp, L as ISO_MINOR_V2, M as pspWireDigits, N as tryDecodeWire, O as pspCurrencies, P as wireFactor, Q as authorizeNetReversibleAmount, R as PRE_CUTOVER, S as wireKeyPart, T as assertPspCurrency, U as EncodeGatedPsp, V as WIRE_SCALE_MARKER, W as GatedPsp, X as WireAmount, Y as PspId, Z as AuthorizeNetAmounts, _ as googleMicros, a as iyzicoPrice, b as oneWireUnit, c as parseProviderAmount, d as pspPresentmentCurrencies, f as DestinationValue, g as feedPrice, h as eventMoney, i as RAZORPAY_AFA_FREE_CAP, j as pspSupportsCurrency, k as pspDefaultCurrency, l as PspPresentment, m as destinationAmount, n as readSlotMoney, o as verificationCharge, p as EventMoney, q as MajorStringPsp, r as slotMoney, s as ProviderAmountOptions, t as SlotMoney, u as pspPresentment, v as DestinationId, w as TryDecodeWireOptions, x as sameWireAmount, y as SameWireAmountOptions, z as WIRE_SCALE_ISO_MINOR_V2 } from "./wire-CaUN9Vf_.js";
2
- export { type AuthorizeNetAmounts, type Convention, type DestinationId, type DestinationValue, type EncodeGatedPsp, type EncodeWireOptions, type EventMoney, type GatedPsp, ISO_MINOR_V2, type IsoMinorPsp, type MajorNumberPsp, type MajorStringPsp, PRE_CUTOVER, PSP_IDS, type ProviderAmountOptions, type PspId, type PspPresentment, RAZORPAY_AFA_FREE_CAP, type SameWireAmountOptions, type SlotMoney, type TryDecodeWireOptions, WIRE_SCALE_ISO_MINOR_V2, WIRE_SCALE_KEY, WIRE_SCALE_MARKER, type WireAmount, assertPspCurrency, authorizeNetReversibleAmount, conventionOf, decodeWire, destinationAmount, encodeWire, eventMoney, feedPrice, googleMicros, iyzicoPrice, jsonDecimalLiteral, oneWireUnit, parseProviderAmount, pspCurrencies, pspDefaultCurrency, pspMinimumAmount, pspPresentment, pspPresentmentCurrencies, pspSupportsCurrency, pspWireDigits, readSlotMoney, sameWireAmount, slotMoney, tryDecodeWire, verificationCharge, wireBreakdown, wireFactor, wireKeyPart };
1
+ import { $ as WIRE_SCALE_ISO_MINOR_V2, A as wireKeyPart, B as pspHomeCurrency, C as eventMoney, D as SameWireAmountOptions, E as DestinationId, F as decodeWire, G as wireFactor, H as pspSupportsCurrency, I as encodeWire, J as ISO_MINOR_V2, K as wireBreakdown, L as pspCurrencies, M as EncodeWireOptions, N as TryDecodeWireOptions, O as oneWireUnit, P as assertPspCurrency, Q as WIRE_ROUNDING_MARKER, R as pspDefaultCurrency, S as destinationAmount, T as googleMicros, U as pspWireDigits, V as pspMinimumAmount, W as tryDecodeWire, X as WIRE_ROUNDING_EXACT, Y as PRE_CUTOVER, Z as WIRE_ROUNDING_KEY, _ as LegacyFloatRefund, _t as AuthorizeNetAmounts, a as VerificationDefaultPsp, at as EncodeGatedPsp, b as DestinationValue, bt as PAYSTACK_CURRENCIES, c as verificationCharge, ct as IyzicoCurrency, d as PresentmentOptions, dt as PSP_IDS, et as WIRE_SCALE_KEY, f as PspAccountCountry, ft as PaystackCurrency, g as pspPresentmentCurrencies, gt as WireAmount, h as pspPresentment, ht as VndOnlyPsp, i as RAZORPAY_AFA_FREE_CAP, it as AuthorizeNetCurrency, j as DecodeWireOptions, k as sameWireAmount, l as ProviderAmountOptions, lt as MajorNumberPsp, m as pspAccountCountryForCurrency, mt as PspId, n as readSlotMoney, nt as conventionOf, o as VerificationPsp, ot as GatedPsp, p as PspPresentment, pt as PspCurrency, q as Convention, r as slotMoney, rt as mayHoldLegacyFloatRounding, s as iyzicoPrice, st as IsoMinorPsp, t as SlotMoney, tt as WIRE_SCALE_MARKER, u as parseProviderAmount, ut as MajorStringPsp, v as LegacyFloatRefundInput, vt as authorizeNetReversibleAmount, w as feedPrice, x as EventMoney, y as legacyFloatRefundClamp, yt as jsonDecimalLiteral, z as pspHomeCountry } from "./wire-CVNicirK.js";
2
+ export { type AuthorizeNetAmounts, type AuthorizeNetCurrency, type Convention, type DecodeWireOptions, type DestinationId, type DestinationValue, type EncodeGatedPsp, type EncodeWireOptions, type EventMoney, type GatedPsp, ISO_MINOR_V2, type IsoMinorPsp, type IyzicoCurrency, type LegacyFloatRefund, type LegacyFloatRefundInput, type MajorNumberPsp, type MajorStringPsp, PAYSTACK_CURRENCIES, PRE_CUTOVER, PSP_IDS, type PaystackCurrency, type PresentmentOptions, type ProviderAmountOptions, type PspAccountCountry, type PspCurrency, type PspId, type PspPresentment, RAZORPAY_AFA_FREE_CAP, type SameWireAmountOptions, type SlotMoney, type TryDecodeWireOptions, type VerificationDefaultPsp, type VerificationPsp, type VndOnlyPsp, WIRE_ROUNDING_EXACT, WIRE_ROUNDING_KEY, WIRE_ROUNDING_MARKER, WIRE_SCALE_ISO_MINOR_V2, WIRE_SCALE_KEY, WIRE_SCALE_MARKER, type WireAmount, assertPspCurrency, authorizeNetReversibleAmount, conventionOf, decodeWire, destinationAmount, encodeWire, eventMoney, feedPrice, googleMicros, iyzicoPrice, jsonDecimalLiteral, legacyFloatRefundClamp, mayHoldLegacyFloatRounding, oneWireUnit, parseProviderAmount, pspAccountCountryForCurrency, pspCurrencies, pspDefaultCurrency, pspHomeCountry, pspHomeCurrency, pspMinimumAmount, pspPresentment, pspPresentmentCurrencies, pspSupportsCurrency, pspWireDigits, readSlotMoney, sameWireAmount, slotMoney, tryDecodeWire, verificationCharge, wireBreakdown, wireFactor, wireKeyPart };
package/dist/wire.js CHANGED
@@ -1,2 +1 @@
1
- import { A as WIRE_SCALE_KEY, C as pspSupportsCurrency, D as ISO_MINOR_V2, E as wireFactor, F as jsonDecimalLiteral, M as conventionOf, N as PSP_IDS, O as PRE_CUTOVER, P as authorizeNetReversibleAmount, S as pspMinimumAmount, T as tryDecodeWire, _ as assertPspCurrency, a as verificationCharge, b as pspCurrencies, c as pspPresentmentCurrencies, d as feedPrice, f as googleMicros, g as wireBreakdown, h as wireKeyPart, i as iyzicoPrice, j as WIRE_SCALE_MARKER, k as WIRE_SCALE_ISO_MINOR_V2, l as destinationAmount, m as sameWireAmount, n as slotMoney, o as parseProviderAmount, p as oneWireUnit, r as RAZORPAY_AFA_FREE_CAP, s as pspPresentment, t as readSlotMoney, u as eventMoney, v as decodeWire, w as pspWireDigits, x as pspDefaultCurrency, y as encodeWire } from "./wire-sW0yzqth.js";
2
- export { ISO_MINOR_V2, PRE_CUTOVER, PSP_IDS, RAZORPAY_AFA_FREE_CAP, WIRE_SCALE_ISO_MINOR_V2, WIRE_SCALE_KEY, WIRE_SCALE_MARKER, assertPspCurrency, authorizeNetReversibleAmount, conventionOf, decodeWire, destinationAmount, encodeWire, eventMoney, feedPrice, googleMicros, iyzicoPrice, jsonDecimalLiteral, oneWireUnit, parseProviderAmount, pspCurrencies, pspDefaultCurrency, pspMinimumAmount, pspPresentment, pspPresentmentCurrencies, pspSupportsCurrency, pspWireDigits, readSlotMoney, sameWireAmount, slotMoney, tryDecodeWire, verificationCharge, wireBreakdown, wireFactor, wireKeyPart };
1
+ export { j as ISO_MINOR_V2, W as PAYSTACK_CURRENCIES, M as PRE_CUTOVER, V as PSP_IDS, r as RAZORPAY_AFA_FREE_CAP, N as WIRE_ROUNDING_EXACT, P as WIRE_ROUNDING_KEY, F as WIRE_ROUNDING_MARKER, I as WIRE_SCALE_ISO_MINOR_V2, L as WIRE_SCALE_KEY, R as WIRE_SCALE_MARKER, y as assertPspCurrency, H as authorizeNetReversibleAmount, z as conventionOf, b as decodeWire, d as destinationAmount, x as encodeWire, f as eventMoney, p as feedPrice, m as googleMicros, i as iyzicoPrice, U as jsonDecimalLiteral, u as legacyFloatRefundClamp, B as mayHoldLegacyFloatRounding, h as oneWireUnit, o as parseProviderAmount, s as pspAccountCountryForCurrency, S as pspCurrencies, C as pspDefaultCurrency, w as pspHomeCountry, T as pspHomeCurrency, E as pspMinimumAmount, c as pspPresentment, l as pspPresentmentCurrencies, D as pspSupportsCurrency, O as pspWireDigits, t as readSlotMoney, g as sameWireAmount, n as slotMoney, k as tryDecodeWire, a as verificationCharge, v as wireBreakdown, A as wireFactor, _ as wireKeyPart } from "./wire-B4QU8O3W.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amboras-dev/money",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Money for Amboras: the storage rule (x100 for every currency, x1000 for seven), a generated currency registry, exact decimal arithmetic, Medusa amount parsing, PSP wire codecs, SQL builders, FX, commerce and billing math, agent-tool money and text entry. Zero dependencies.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -144,11 +144,12 @@
144
144
  "access": "public"
145
145
  },
146
146
  "devDependencies": {
147
- "@vitest/coverage-v8": "3.2.7",
147
+ "@vitest/coverage-v8": "5.0.5",
148
148
  "fast-check": "4.3.0",
149
149
  "tsdown": "0.23.0",
150
150
  "typescript": "5.9.3",
151
- "vitest": "3.2.7"
151
+ "vite": "8.3.5",
152
+ "vitest": "5.0.5"
152
153
  },
153
154
  "scripts": {
154
155
  "build": "tsdown",