@getspot/spot-widget-vue2 2.1.1 → 3.0.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/CHANGELOG.md +19 -0
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @getspot/spot-widget-vue2
|
|
2
2
|
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a7c82e3: Update to possible values of QuoteUpdates; Also, handle the yesOptionText replacement for spotPriceWithFees
|
|
8
|
+
- Updated dependencies [a7c82e3]
|
|
9
|
+
- @getspot/spot-widget@3.0.1
|
|
10
|
+
|
|
11
|
+
## 3.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
15
|
+
- c1cce5f: Add ability to override displayed price in onQuoteRetrieved callback
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [c1cce5f]
|
|
20
|
+
- @getspot/spot-widget@3.0.0
|
|
21
|
+
|
|
3
22
|
## 2.1.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
|
-
import type { SpotWidgetOptions, SelectionData, Quote } from '@getspot/spot-widget';
|
|
2
|
+
import type { SpotWidgetOptions, SelectionData, Quote, QuoteUpdates } from '@getspot/spot-widget';
|
|
3
3
|
|
|
4
4
|
export interface Vue2SpotWidgetProps extends Omit<SpotWidgetOptions, 'location' | 'callbacks'> {
|
|
5
|
-
onQuoteRetrieved?: (quote: Quote) => void;
|
|
5
|
+
onQuoteRetrieved?: (quote: Quote) => QuoteUpdates | void;
|
|
6
6
|
onOptIn?: (data: SelectionData) => void;
|
|
7
7
|
onOptOut?: (data: SelectionData) => void;
|
|
8
8
|
onError?: (error: { message: string; status?: number; responseBody?: any }) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getspot/spot-widget-vue2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"CHANGELOG.md"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@getspot/spot-widget": "
|
|
16
|
+
"@getspot/spot-widget": "3.0.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"vue": "^2.6.0"
|