@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 CHANGED
@@ -102,7 +102,7 @@ npm run test
102
102
  ## Running linters
103
103
 
104
104
  ```bash
105
- npm run test:typeCheck
105
+ npm run test:typecheck
106
106
  npm run svelte-check
107
107
  npm run prettier
108
108
  npm run lint
@@ -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. You can call this method
734
- * after configuring the SDK to speed up the first call to
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.