arky-sdk 0.4.23 → 0.4.25
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/README.md +0 -3
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -310,9 +310,6 @@ const payment = arky.utils.formatPayment(paymentObject)
|
|
|
310
310
|
// Format prices from array
|
|
311
311
|
const formatted = arky.utils.formatPrice(prices) // "$9.99"
|
|
312
312
|
const amount = arky.utils.getPriceAmount(prices, 'US')
|
|
313
|
-
|
|
314
|
-
// Currency
|
|
315
|
-
const symbol = arky.utils.getCurrencySymbol('USD') // "$"
|
|
316
313
|
```
|
|
317
314
|
|
|
318
315
|
### Text Utilities
|
package/dist/index.cjs
CHANGED
|
@@ -1641,7 +1641,7 @@ function track(eventName, params) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
1643
|
// src/index.ts
|
|
1644
|
-
var SDK_VERSION = "0.4.
|
|
1644
|
+
var SDK_VERSION = "0.4.25";
|
|
1645
1645
|
var SUPPORTED_FRAMEWORKS = [
|
|
1646
1646
|
"astro",
|
|
1647
1647
|
"react",
|
|
@@ -1672,6 +1672,8 @@ async function createArkySDK(config) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}).catch(() => {
|
|
1674
1674
|
});
|
|
1675
|
+
platformApi.getConfig().catch(() => {
|
|
1676
|
+
});
|
|
1675
1677
|
}
|
|
1676
1678
|
const sdk = {
|
|
1677
1679
|
auth: authApi,
|