@tivio/sdk-react 3.6.3 → 3.7.0
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/README.md +3 -0
- package/README.md.bak +3 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.js +1 -1
- package/dist/sdk-react.d.ts +13 -5
- package/package.json +2 -2
package/README.md
CHANGED
package/README.md.bak
CHANGED
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
|
-
|
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
|
|