@raydiant/playlist-window-manager 0.25.2-rc.2 → 0.26.0-rc1
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.
|
@@ -81,7 +81,7 @@ var PlaylistWindowManager_1 = __importDefault(require("./PlaylistWindowManager")
|
|
|
81
81
|
var WindowTimeoutError_1 = __importDefault(require("./WindowTimeoutError"));
|
|
82
82
|
var WindowLoadError_1 = __importDefault(require("./WindowLoadError"));
|
|
83
83
|
// TODO: Automatically inject latest version when building in CI.
|
|
84
|
-
var defaultAppRendererUrl = 'https://apps.raydiant.com/3.0
|
|
84
|
+
var defaultAppRendererUrl = 'https://apps.raydiant.com/3.1.0/index.html';
|
|
85
85
|
var isValidNumber = function (value) {
|
|
86
86
|
return typeof value === 'number' && !isNaN(value);
|
|
87
87
|
};
|
|
@@ -260,11 +260,17 @@ describe('payments', function () {
|
|
|
260
260
|
_a.sent();
|
|
261
261
|
testRenderer.runReceiveMessageCallback('payments-charge-request', {
|
|
262
262
|
requestId: 'test',
|
|
263
|
-
|
|
263
|
+
subTotal: 100,
|
|
264
|
+
tip: 1,
|
|
265
|
+
tax: 10,
|
|
266
|
+
total: 111,
|
|
264
267
|
});
|
|
265
268
|
expect(callback).toHaveBeenCalledWith({
|
|
266
269
|
requestId: 'test',
|
|
267
|
-
|
|
270
|
+
subTotal: 100,
|
|
271
|
+
tip: 1,
|
|
272
|
+
tax: 10,
|
|
273
|
+
total: 111,
|
|
268
274
|
});
|
|
269
275
|
// Send charge response.
|
|
270
276
|
window.sendChargeResponse({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raydiant/playlist-window-manager",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0-rc1",
|
|
4
4
|
"description": "Window manager for playlist playback.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"fast-deep-equal": "^3.1.3",
|
|
15
|
-
"@raydiant/playlist-rule-engine": "3.
|
|
15
|
+
"@raydiant/playlist-rule-engine": "3.3.0-rc1",
|
|
16
16
|
"raydiant-kit": "4.7.3",
|
|
17
17
|
"uuid": "^8.3.0",
|
|
18
18
|
"eventemitter3": "^4.0.7"
|
|
@@ -238,12 +238,18 @@ describe('payments', () => {
|
|
|
238
238
|
|
|
239
239
|
testRenderer.runReceiveMessageCallback('payments-charge-request', {
|
|
240
240
|
requestId: 'test',
|
|
241
|
-
|
|
241
|
+
subTotal: 100,
|
|
242
|
+
tip: 1,
|
|
243
|
+
tax: 10,
|
|
244
|
+
total: 111,
|
|
242
245
|
});
|
|
243
246
|
|
|
244
247
|
expect(callback).toHaveBeenCalledWith({
|
|
245
248
|
requestId: 'test',
|
|
246
|
-
|
|
249
|
+
subTotal: 100,
|
|
250
|
+
tip: 1,
|
|
251
|
+
tax: 10,
|
|
252
|
+
total: 111,
|
|
247
253
|
});
|
|
248
254
|
|
|
249
255
|
// Send charge response.
|
|
@@ -62,7 +62,7 @@ export interface PresentationWindowOptions {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
// TODO: Automatically inject latest version when building in CI.
|
|
65
|
-
const defaultAppRendererUrl = 'https://apps.raydiant.com/3.0
|
|
65
|
+
const defaultAppRendererUrl = 'https://apps.raydiant.com/3.1.0/index.html';
|
|
66
66
|
|
|
67
67
|
const isValidNumber = (value: any) =>
|
|
68
68
|
typeof value === 'number' && !isNaN(value);
|
package/tasks/npm-publish.sh
CHANGED