@revenuecat/purchases-js 0.17.0 → 0.18.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 +1 -1
- package/dist/Purchases.es.d.ts +7 -4
- package/dist/Purchases.es.js +3058 -2564
- package/dist/Purchases.umd.js +23 -21
- package/package.json +8 -3
package/README.md
CHANGED
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -691,6 +691,10 @@ export declare interface PurchaseResult {
|
|
|
691
691
|
* The redemption information after the purchase if available.
|
|
692
692
|
*/
|
|
693
693
|
readonly redemptionInfo: RedemptionInfo | null;
|
|
694
|
+
/**
|
|
695
|
+
* The operation session id of the purchase.
|
|
696
|
+
*/
|
|
697
|
+
readonly operationSessionId: string;
|
|
694
698
|
}
|
|
695
699
|
|
|
696
700
|
/**
|
|
@@ -730,12 +734,11 @@ export declare class Purchases {
|
|
|
730
734
|
static configure(apiKey: string, appUserId: string, httpConfig?: HttpConfig, flags?: FlagsConfig): Purchases;
|
|
731
735
|
/**
|
|
732
736
|
* Loads and caches some optional data in the Purchases SDK.
|
|
733
|
-
* Currently only fetching branding information.
|
|
734
|
-
* after configuring the SDK to speed
|
|
735
|
-
* {@link Purchases.purchase}.
|
|
737
|
+
* Currently only fetching branding information.
|
|
738
|
+
* You can call this method after configuring the SDK to speed
|
|
739
|
+
* up the first call to {@link Purchases.purchase}.
|
|
736
740
|
*/
|
|
737
741
|
preload(): Promise<void>;
|
|
738
|
-
private hasLoadedResources;
|
|
739
742
|
/**
|
|
740
743
|
* Fetch the configured offerings for this user. You can configure these
|
|
741
744
|
* in the RevenueCat dashboard.
|