@raydiant/playlist-window-manager 0.25.2-rc.1 → 0.25.2-rc.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.
|
@@ -98,7 +98,10 @@ var isValidChargeRequest = function (value) {
|
|
|
98
98
|
return value &&
|
|
99
99
|
typeof value === 'object' &&
|
|
100
100
|
typeof value.requestId === 'string' &&
|
|
101
|
-
typeof value.
|
|
101
|
+
typeof value.subTotal === 'number' &&
|
|
102
|
+
typeof value.tip === 'number' &&
|
|
103
|
+
typeof value.tax === 'number' &&
|
|
104
|
+
typeof value.total === 'number';
|
|
102
105
|
};
|
|
103
106
|
var isValidAcquireLockRequest = function (value) {
|
|
104
107
|
return value && typeof value === 'object' && typeof value.requestId === 'string';
|
package/package.json
CHANGED
|
@@ -80,7 +80,10 @@ const isValidChargeRequest = (value: any): value is ChargeRequest =>
|
|
|
80
80
|
value &&
|
|
81
81
|
typeof value === 'object' &&
|
|
82
82
|
typeof value.requestId === 'string' &&
|
|
83
|
-
typeof value.
|
|
83
|
+
typeof value.subTotal === 'number' &&
|
|
84
|
+
typeof value.tip === 'number' &&
|
|
85
|
+
typeof value.tax === 'number' &&
|
|
86
|
+
typeof value.total === 'number';
|
|
84
87
|
|
|
85
88
|
const isValidAcquireLockRequest = (
|
|
86
89
|
value: any
|