@revenuecat/purchases-js 1.10.0 → 1.11.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/dist/Purchases.es.d.ts +23 -0
- package/dist/Purchases.es.js +956 -944
- package/dist/Purchases.umd.js +26 -26
- package/package.json +1 -1
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -811,6 +811,10 @@ export declare interface PurchaseResult {
|
|
|
811
811
|
* The operation session id of the purchase.
|
|
812
812
|
*/
|
|
813
813
|
readonly operationSessionId: string;
|
|
814
|
+
/**
|
|
815
|
+
* The store transaction associated with the purchase.
|
|
816
|
+
*/
|
|
817
|
+
readonly storeTransaction: StoreTransaction;
|
|
814
818
|
}
|
|
815
819
|
|
|
816
820
|
/**
|
|
@@ -1279,6 +1283,25 @@ export declare class Purchases {
|
|
|
1279
1283
|
*/
|
|
1280
1284
|
export declare type Store = "app_store" | "mac_app_store" | "play_store" | "amazon" | "stripe" | "rc_billing" | "promotional" | "paddle" | "unknown";
|
|
1281
1285
|
|
|
1286
|
+
/**
|
|
1287
|
+
* Represents a transaction made in the store.
|
|
1288
|
+
* @public
|
|
1289
|
+
*/
|
|
1290
|
+
export declare interface StoreTransaction {
|
|
1291
|
+
/**
|
|
1292
|
+
* The unique identifier for the store transaction.
|
|
1293
|
+
*/
|
|
1294
|
+
readonly storeTransactionId: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* The identifier of the product purchased in the transaction.
|
|
1297
|
+
*/
|
|
1298
|
+
readonly productIdentifier: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* The date when the transaction was made.
|
|
1301
|
+
*/
|
|
1302
|
+
readonly purchaseDate: Date;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1282
1305
|
/**
|
|
1283
1306
|
* Subscription purchases of the Customer.
|
|
1284
1307
|
* @public
|