@revenuecat/purchases-js-vega 1.76.0 → 1.78.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.
@@ -345,6 +345,8 @@ export declare interface ExpressPurchaseButtonUpdater {
345
345
  updatePurchase: (pkg: Package, purchaseOption?: PurchaseOption) => void;
346
346
  }
347
347
 
348
+ /* Excluded from this release type: ExternalPurchaseOutcome */
349
+
348
350
  /**
349
351
  * Flags used to enable or disable certain features in the sdk.
350
352
  * @public
@@ -445,7 +447,7 @@ declare type JsonValue = JsonPrimitive | JsonValue[] | {
445
447
  declare class LocaleTranslations {
446
448
  readonly labels: Record<string, string>;
447
449
  readonly localeKey: string;
448
- constructor(labels: Record<string, string> | undefined, localeKey: string);
450
+ constructor(labels: Record<string, string>, localeKey: string);
449
451
  private replaceVariables;
450
452
  translate(labelId: LocalizationKeys | EmptyString, variables?: TranslationVariables): string | undefined;
451
453
  translatePeriod(amount: number, period: PeriodUnit, options?: TranslatePeriodOptions): string | undefined;
@@ -1857,6 +1859,7 @@ export declare class Purchases extends Purchases_2 {
1857
1859
  /* Excluded from this release type: prepareForQuickPurchases */
1858
1860
  /* Excluded from this release type: prepareStripeBillingQuickPurchase */
1859
1861
  /* Excluded from this release type: resolveStripeBillingQuickPurchaseContext */
1862
+ /* Excluded from this release type: resumeExternalPurchase */
1860
1863
  /**
1861
1864
  * Method to perform a purchase for a given package. You can obtain the
1862
1865
  * package from {@link Purchases.getOfferings}. This method will present the purchase
@@ -2370,7 +2373,9 @@ export declare class Purchases extends Purchases_2 {
2370
2373
  customerInfo: CustomerInfo;
2371
2374
  }
2372
2375
 
2373
- declare type SDKEventContextSource = "sdk" | "wpl" | string;
2376
+ /* Excluded from this release type: ResumeExternalPurchaseParams */
2377
+
2378
+ declare type SDKEventContextSource = "sdk" | "wpl" | (string & {});
2374
2379
 
2375
2380
  /**
2376
2381
  * The store where the user originally subscribed.