@quantaroute/checkout 1.1.0 → 1.1.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/README.md
CHANGED
|
@@ -72,7 +72,7 @@ yarn add @quantaroute/checkout maplibre-gl
|
|
|
72
72
|
```ts
|
|
73
73
|
// In your app's entry file (main.tsx / _app.tsx / nuxt.config.ts, etc.)
|
|
74
74
|
import 'maplibre-gl/dist/maplibre-gl.css';
|
|
75
|
-
import '@quantaroute/checkout/
|
|
75
|
+
import '@quantaroute/checkout/style.css';
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
### 3 · Drop it in
|
|
@@ -179,7 +179,7 @@ export default function CheckoutPage() {
|
|
|
179
179
|
Add CSS imports to `app/layout.tsx`:
|
|
180
180
|
```tsx
|
|
181
181
|
import 'maplibre-gl/dist/maplibre-gl.css';
|
|
182
|
-
import '@quantaroute/checkout/
|
|
182
|
+
import '@quantaroute/checkout/style.css';
|
|
183
183
|
```
|
|
184
184
|
|
|
185
185
|
---
|
|
@@ -243,7 +243,7 @@ function handleComplete(address) {
|
|
|
243
243
|
```tsx
|
|
244
244
|
// src/App.tsx
|
|
245
245
|
import 'maplibre-gl/dist/maplibre-gl.css';
|
|
246
|
-
import '@quantaroute/checkout/
|
|
246
|
+
import '@quantaroute/checkout/style.css';
|
|
247
247
|
import { CheckoutWidget } from '@quantaroute/checkout';
|
|
248
248
|
|
|
249
249
|
function App() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react/jsx-runtime"),require("react"),require("maplibre-gl")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime","react","maplibre-gl"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).QuantaRouteCheckout={},e.ReactJSXRuntime,e.React,e.maplibregl)}(this,function(e,r,a,n){"use strict"
|
|
2
2
|
|
|
3
3
|
;/*!
|
|
4
|
-
* @quantaroute/checkout v1.1.
|
|
4
|
+
* @quantaroute/checkout v1.1.1
|
|
5
5
|
* (c) 2026 QuantaRoute – https://quantaroute.com
|
|
6
6
|
* Released under the MIT License.
|
|
7
7
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantaroute/checkout",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Embeddable DigiPin-powered smart address checkout widget for Indian e-commerce",
|
|
5
5
|
"main": "./dist/lib/quantaroute-checkout.umd.js",
|
|
6
6
|
"module": "./dist/lib/quantaroute-checkout.es.js",
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
"require": "./dist/lib/quantaroute-checkout.umd.js",
|
|
12
12
|
"types": "./dist/lib/index.d.ts"
|
|
13
13
|
},
|
|
14
|
-
"./
|
|
14
|
+
"./style.css": "./dist/style.css"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"dist/lib",
|
|
18
|
+
"dist/style.css",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE"
|
|
20
21
|
],
|
|
@@ -62,9 +63,9 @@
|
|
|
62
63
|
"npm": ">=10.0.0"
|
|
63
64
|
},
|
|
64
65
|
"peerDependencies": {
|
|
66
|
+
"maplibre-gl": ">=4.0.0",
|
|
65
67
|
"react": ">=18.2.0",
|
|
66
|
-
"react-dom": ">=18.2.0"
|
|
67
|
-
"maplibre-gl": ">=4.0.0"
|
|
68
|
+
"react-dom": ">=18.2.0"
|
|
68
69
|
},
|
|
69
70
|
"peerDependenciesMeta": {
|
|
70
71
|
"react": {
|
|
@@ -79,9 +80,11 @@
|
|
|
79
80
|
},
|
|
80
81
|
"dependencies": {},
|
|
81
82
|
"devDependencies": {
|
|
83
|
+
"@quantaroute/checkout": "^1.1.1",
|
|
82
84
|
"@types/react": "^18.3.12",
|
|
83
85
|
"@types/react-dom": "^18.3.1",
|
|
84
86
|
"@vitejs/plugin-react": "^4.3.4",
|
|
87
|
+
"maplibre-gl": "^4.7.1",
|
|
85
88
|
"react": "^18.3.1",
|
|
86
89
|
"react-dom": "^18.3.1",
|
|
87
90
|
"terser": "^5.46.0",
|
|
File without changes
|