@getspot/spot-widget-vue 2.1.0 → 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 +27 -0
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @getspot/spot-widget-vue
|
|
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
|
+
|
|
22
|
+
## 2.1.1
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 0308688: test publish commands
|
|
27
|
+
- Updated dependencies [0308688]
|
|
28
|
+
- @getspot/spot-widget@2.1.1
|
|
29
|
+
|
|
3
30
|
## 2.1.0
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent } 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 VueSpotWidgetProps 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-vue",
|
|
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": "^3.0.0"
|