@stacksjs/commerce 0.75.90 → 0.75.91
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.ts +4 -0
- package/dist/index.js +5 -5
- package/dist/register.d.ts +7 -0
- package/dist/register.js +1 -1
- package/dist/sales-tax.d.ts +73 -0
- package/dist/sales-tax.js +2 -0
- package/dist/tax/breakdown.d.ts +4 -42
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import * as shippings from './shippings/index';
|
|
|
19
19
|
import * as tax from './tax/index';
|
|
20
20
|
import * as waitlists from './waitlists/index';
|
|
21
21
|
export type { MoneyInputOptions } from './money';
|
|
22
|
+
export type { TaxRateRow } from './sales-tax';
|
|
22
23
|
export declare const commerce: CommerceNamespace;
|
|
23
24
|
export declare interface CommerceNamespace {
|
|
24
25
|
auctions: AuctionsModule
|
|
@@ -98,4 +99,7 @@ export {
|
|
|
98
99
|
parseMoneyInput,
|
|
99
100
|
PriceFormatError,
|
|
100
101
|
} from './money';
|
|
102
|
+
// Itemised sales tax on an amount: pure, so a register shows it before it
|
|
103
|
+
// charges. Browser code imports it from `@stacksjs/commerce/sales-tax`.
|
|
104
|
+
export { breakdownFor, multiplierOf } from './sales-tax';
|
|
101
105
|
export default commerce;
|