@getspot/spot-widget-react 4.0.0 → 4.0.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 +14 -0
- package/README.md +3 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.0.2](https://gitlab.com/getspot/spot-widget/compare/@getspot/spot-widget-react@4.0.1...@getspot/spot-widget-react@4.0.2) (2026-01-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **core:** render payment terms if initial selection is YES ([b3db801](https://gitlab.com/getspot/spot-widget/commit/b3db801adf04d6949745c25160f9fbbca88b7f42))
|
|
7
|
+
|
|
8
|
+
## [4.0.1](https://gitlab.com/getspot/spot-widget/compare/@getspot/spot-widget-react@4.0.0...@getspot/spot-widget-react@4.0.1) (2026-01-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* when the selection is no we need to check the NO option ([628f5f4](https://gitlab.com/getspot/spot-widget/commit/628f5f453d95bf4956ed4328b8c1fceeb633edd2))
|
|
14
|
+
|
|
1
15
|
# [4.0.0](https://gitlab.com/getspot/spot-widget/compare/@getspot/spot-widget-react@3.3.2...@getspot/spot-widget-react@4.0.0) (2026-01-12)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -184,11 +184,9 @@ For multiple items in a cart:
|
|
|
184
184
|
|
|
185
185
|
```tsx
|
|
186
186
|
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
currencyCode: 'USD' | 'CAD' | 'AUD'
|
|
191
|
-
},
|
|
187
|
+
cartId: string,
|
|
188
|
+
cartName: string,
|
|
189
|
+
currencyCode: 'USD' | 'CAD' | 'AUD',
|
|
192
190
|
items: Array<{
|
|
193
191
|
// Same fields as single quote, minus cartId and currencyCode
|
|
194
192
|
cartItemId?: string // Optional unique identifier for cart item
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getspot/spot-widget-react",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "React wrapper for Spot Widget",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"CHANGELOG.md"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@getspot/spot-widget": "^4.0.
|
|
17
|
+
"@getspot/spot-widget": "^4.0.2"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@types/react": ">=18.0.0",
|