@tivio/sdk-react 3.6.3 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -6,6 +6,9 @@ settings in the administration of Tivio Studio while having the freedom to build
6
6
 
7
7
  ## Changelog
8
8
 
9
+ * v3.7.0
10
+ * minor: purchase contains created and updated
11
+
9
12
  * v3.6.3
10
13
  * patch: improve README.md
11
14
 
package/README.md.bak CHANGED
@@ -6,6 +6,9 @@ settings in the administration of Tivio Studio while having the freedom to build
6
6
 
7
7
  ## Changelog
8
8
 
9
+ * v3.7.0
10
+ * minor: purchase contains created and updated
11
+
9
12
  * v3.6.3
10
13
  * patch: improve README.md
11
14
 
package/dist/index.d.ts CHANGED
@@ -938,18 +938,26 @@ export declare interface PubSub {
938
938
  * @public
939
939
  */
940
940
  export declare type Purchase = {
941
+ /**
942
+ * Timestamp of the purchase creation in milliseconds.
943
+ */
944
+ created: number | null;
945
+ expirationDate: Date | null;
941
946
  id: string;
947
+ isExpired: boolean;
942
948
  isPurchased: boolean;
943
- monetizationRef: any | null;
944
949
  monetization: PurchaseMonetization | null;
945
950
  monetizationId: string | null;
946
- type: MonetizationType | null;
947
- videoId: string | null;
951
+ monetizationRef: any | null;
948
952
  status: PurchaseStatus | null;
953
+ type: MonetizationType | null;
954
+ /**
955
+ * Timestamp of the last purchase status update in milliseconds.
956
+ */
957
+ updated: number | null;
949
958
  video: Video | null;
959
+ videoId: string | null;
950
960
  videoRef: any | null;
951
- expirationDate: Date | null;
952
- isExpired: boolean;
953
961
  voucherId?: string;
954
962
  };
955
963