@revenuecat/purchases-js-vega 1.76.0 → 1.77.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.vega.es.d.ts +7 -2
- package/dist/Purchases.vega.es.js +2690 -1316
- package/dist/Purchases.vega.umd.js +81 -81
- package/package.json +1 -1
|
@@ -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
|
|
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
|
-
|
|
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.
|