@raydiant/playlist-window-manager 0.25.2-rc.2 → 0.25.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.
@@ -260,11 +260,17 @@ describe('payments', function () {
260
260
  _a.sent();
261
261
  testRenderer.runReceiveMessageCallback('payments-charge-request', {
262
262
  requestId: 'test',
263
- amount: 100,
263
+ subTotal: 100,
264
+ tip: 1,
265
+ tax: 10,
266
+ total: 111,
264
267
  });
265
268
  expect(callback).toHaveBeenCalledWith({
266
269
  requestId: 'test',
267
- amount: 100,
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.25.2-rc.2",
3
+ "version": "0.25.2",
4
4
  "description": "Window manager for playlist playback.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -238,12 +238,18 @@ describe('payments', () => {
238
238
 
239
239
  testRenderer.runReceiveMessageCallback('payments-charge-request', {
240
240
  requestId: 'test',
241
- amount: 100,
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
- amount: 100,
249
+ subTotal: 100,
250
+ tip: 1,
251
+ tax: 10,
252
+ total: 111,
247
253
  });
248
254
 
249
255
  // Send charge response.