apirocket 0.5.0 → 0.5.1
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/ecommerce.js +1 -1
- package/dist/lib/utils.d.ts +2 -1
- package/package.json +1 -1
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const dataset: (element: HTMLElement, property: string) => any;
|
|
2
|
+
declare const euros: (valor: number, decimales: number, cero?: boolean) => string;
|
|
2
3
|
declare const millares: (valor: number, decimales: number, cero?: boolean) => string;
|
|
3
4
|
declare const asFloat: (value: string | number | Array<string> | undefined, decimales?: number) => number;
|
|
4
5
|
declare const asInteger: (value: string | number | Array<string> | boolean | undefined) => number;
|
|
@@ -13,4 +14,4 @@ declare const orderError: () => void;
|
|
|
13
14
|
declare const orderSummary: () => void;
|
|
14
15
|
declare const payment: () => void;
|
|
15
16
|
declare const account: () => void;
|
|
16
|
-
export { account, asFloat, asInteger, backToShopping, cart, checkout, dataset, millares, orderError, orderSummary, payment, rememberPassword, round, signIn, storageAvailable };
|
|
17
|
+
export { account, asFloat, asInteger, backToShopping, cart, checkout, dataset, euros, millares, orderError, orderSummary, payment, rememberPassword, round, signIn, storageAvailable };
|