@betterstore/sdk 0.3.33 → 0.3.34
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -222,7 +222,7 @@ declare class Customer {
|
|
|
222
222
|
declare class Helpers {
|
|
223
223
|
proxy?: string;
|
|
224
224
|
constructor(proxy?: string);
|
|
225
|
-
formatPrice(priceInCents: number, currency: string, exchangeRate?: number): string;
|
|
225
|
+
formatPrice(priceInCents: number, currency: string, exchangeRate?: number | null): string;
|
|
226
226
|
getExchangeRate(baseCurrency: string, targetCurrency: string): Promise<number>;
|
|
227
227
|
}
|
|
228
228
|
|
package/dist/index.d.ts
CHANGED
|
@@ -222,7 +222,7 @@ declare class Customer {
|
|
|
222
222
|
declare class Helpers {
|
|
223
223
|
proxy?: string;
|
|
224
224
|
constructor(proxy?: string);
|
|
225
|
-
formatPrice(priceInCents: number, currency: string, exchangeRate?: number): string;
|
|
225
|
+
formatPrice(priceInCents: number, currency: string, exchangeRate?: number | null): string;
|
|
226
226
|
getExchangeRate(baseCurrency: string, targetCurrency: string): Promise<number>;
|
|
227
227
|
}
|
|
228
228
|
|