@raydiant/playlist-window-manager 0.22.0 → 0.22.1-rc.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/build/types.d.ts CHANGED
@@ -143,8 +143,13 @@ export interface AnalyticsEvent {
143
143
  export interface ChargeRequest {
144
144
  requestId: string;
145
145
  amount: number;
146
- tags?: Record<string, undefined | null | boolean | number | string>;
147
- idempotencyId?: string;
146
+ items: Array<{
147
+ name: string;
148
+ price: number;
149
+ description?: string;
150
+ sku?: string;
151
+ quantity?: number;
152
+ }>;
148
153
  }
149
154
  export interface Charge {
150
155
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raydiant/playlist-window-manager",
3
- "version": "0.22.0",
3
+ "version": "0.22.1-rc.1",
4
4
  "description": "Window manager for playlist playback.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
package/src/types.ts CHANGED
@@ -177,8 +177,13 @@ export interface AnalyticsEvent {
177
177
  export interface ChargeRequest {
178
178
  requestId: string;
179
179
  amount: number;
180
- tags?: Record<string, undefined | null | boolean | number | string>;
181
- idempotencyId?: string;
180
+ items: Array<{
181
+ name: string;
182
+ price: number;
183
+ description?: string;
184
+ sku?: string;
185
+ quantity?: number;
186
+ }>;
182
187
  }
183
188
 
184
189
  export interface Charge {