@quantaroute/checkout 1.0.1 → 1.1.0
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 +1 -1
- package/dist/lib/index.d.ts +15 -0
- package/dist/lib/quantaroute-checkout.es.js +40 -17528
- package/dist/lib/quantaroute-checkout.umd.js +77 -5024
- package/package.json +10 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantaroute/checkout",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
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",
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
22
|
"dev": "vite",
|
|
23
|
-
"build": "
|
|
23
|
+
"build": "npm run build:lib && npm run build:demo",
|
|
24
24
|
"build:lib": "vite build --config vite.lib.config.ts",
|
|
25
|
-
"
|
|
25
|
+
"build:demo": "vite build",
|
|
26
|
+
"preview": "vite preview --outDir dist/demo",
|
|
26
27
|
"type-check": "tsc --noEmit",
|
|
27
28
|
"prepublishOnly": "npm run type-check && npm run build:lib"
|
|
28
29
|
},
|
|
@@ -62,7 +63,8 @@
|
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
65
|
"react": ">=18.2.0",
|
|
65
|
-
"react-dom": ">=18.2.0"
|
|
66
|
+
"react-dom": ">=18.2.0",
|
|
67
|
+
"maplibre-gl": ">=4.0.0"
|
|
66
68
|
},
|
|
67
69
|
"peerDependenciesMeta": {
|
|
68
70
|
"react": {
|
|
@@ -70,11 +72,12 @@
|
|
|
70
72
|
},
|
|
71
73
|
"react-dom": {
|
|
72
74
|
"optional": false
|
|
75
|
+
},
|
|
76
|
+
"maplibre-gl": {
|
|
77
|
+
"optional": false
|
|
73
78
|
}
|
|
74
79
|
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"maplibre-gl": "^4.7.1"
|
|
77
|
-
},
|
|
80
|
+
"dependencies": {},
|
|
78
81
|
"devDependencies": {
|
|
79
82
|
"@types/react": "^18.3.12",
|
|
80
83
|
"@types/react-dom": "^18.3.1",
|