@raydiant/playlist-window-manager 0.22.1-rc.1 → 0.22.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.
@@ -98,13 +98,7 @@ var isValidChargeRequest = function (value) {
98
98
  return value &&
99
99
  typeof value === 'object' &&
100
100
  typeof value.requestId === 'string' &&
101
- typeof value.amount === 'number' &&
102
- (value.tags === undefined ||
103
- value.tags === null ||
104
- typeof value.tags === 'object') &&
105
- (value.idempotencyId === undefined ||
106
- value.idempotencyId === null ||
107
- typeof value.idempotencyId === 'string');
101
+ typeof value.amount === 'number';
108
102
  };
109
103
  var PresentationWindow = /** @class */ (function () {
110
104
  function PresentationWindow(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raydiant/playlist-window-manager",
3
- "version": "0.22.1-rc.1",
3
+ "version": "0.22.1",
4
4
  "description": "Window manager for playlist playback.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -78,13 +78,7 @@ const isValidChargeRequest = (value: any): value is ChargeRequest =>
78
78
  value &&
79
79
  typeof value === 'object' &&
80
80
  typeof value.requestId === 'string' &&
81
- typeof value.amount === 'number' &&
82
- (value.tags === undefined ||
83
- value.tags === null ||
84
- typeof value.tags === 'object') &&
85
- (value.idempotencyId === undefined ||
86
- value.idempotencyId === null ||
87
- typeof value.idempotencyId === 'string');
81
+ typeof value.amount === 'number';
88
82
 
89
83
  export default class PresentationWindow {
90
84
  private didReceiveReady: boolean = false;