@revenuecat/purchases-js 1.9.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.
@@ -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
@@ -1374,6 +1397,10 @@ export declare class Purchases {
1374
1397
  * The trial information for this subscription option if available.
1375
1398
  */
1376
1399
  readonly trial: PricingPhase | null;
1400
+ /**
1401
+ * The introductory price period for this subscription option if available.
1402
+ */
1403
+ readonly introPrice: PricingPhase | null;
1377
1404
  }
1378
1405
 
1379
1406
  /**