@quantaroute/checkout 1.7.1 → 1.7.2
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 +12 -0
- package/dist/lib/index.d.ts +60 -0
- package/dist/lib/quantaroute-checkout.es.js +195 -186
- package/dist/lib/quantaroute-checkout.umd.js +132 -123
- package/package.json +1 -1
- package/src/components/CheckoutWidget.tsx +6 -0
- package/src/components/MapPinSelector.tsx +250 -175
- package/src/core/map-runtime.ts +100 -0
- package/src/core/types.ts +21 -0
- package/src/index.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantaroute/checkout",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Embeddable DigiPin-powered smart address checkout widget — React (web), React Native & Expo (iOS/Android)",
|
|
5
5
|
"main": "./dist/lib/quantaroute-checkout.umd.js",
|
|
6
6
|
"module": "./dist/lib/quantaroute-checkout.es.js",
|
|
@@ -211,6 +211,8 @@ const CheckoutWidget: React.FC<CheckoutWidgetProps> = ({
|
|
|
211
211
|
mobileStepLabels,
|
|
212
212
|
indiaBoundaryUrl,
|
|
213
213
|
enableSearch = true,
|
|
214
|
+
mapStyle,
|
|
215
|
+
embedMode,
|
|
214
216
|
enablePhoneAuth = false,
|
|
215
217
|
merchantId = '',
|
|
216
218
|
supabaseFunctionBaseUrl = '',
|
|
@@ -942,6 +944,8 @@ const CheckoutWidget: React.FC<CheckoutWidgetProps> = ({
|
|
|
942
944
|
apiKey={apiKey}
|
|
943
945
|
apiBaseUrl={apiBaseUrl}
|
|
944
946
|
brandColor={brandColor}
|
|
947
|
+
mapStyle={mapStyle}
|
|
948
|
+
embedMode={embedMode}
|
|
945
949
|
/>
|
|
946
950
|
</>
|
|
947
951
|
)}
|
|
@@ -959,6 +963,8 @@ const CheckoutWidget: React.FC<CheckoutWidgetProps> = ({
|
|
|
959
963
|
apiKey={apiKey}
|
|
960
964
|
apiBaseUrl={apiBaseUrl}
|
|
961
965
|
brandColor={brandColor}
|
|
966
|
+
mapStyle={mapStyle}
|
|
967
|
+
embedMode={embedMode}
|
|
962
968
|
/>
|
|
963
969
|
)}
|
|
964
970
|
|