@stigg/js-client-sdk 4.12.0 → 4.14.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/models.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BillingCadence, BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, SubscriptionQueryFragment, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment, WidgetType, CustomerPortalSubscriptionScheduledUpdateDataFragment, DiscountType, DiscountDurationType, PackageEntitlementFragment, PageInfoFragment, PaywallCurrencyFragment, FeatureType, MeterType, EntitlementResetPeriod, PaywallCalculatedPricePointsFragment, SubscriptionInvoiceFragment, PaymentCollection, PlanFragment, BillingVendorIdentifier, TiersMode, SubscriptionFutureUpdateDataFragment, PriceTierFragment, TotalPriceFragment, CheckoutConfigurationFragment, TypographyConfigurationFragment, BillingAddress, ScheduleStrategy, PaymentCollectionMethod, BudgetConfigurationInput, SubscriptionProrationBehavior, SubscriptionBillingCycleAnchor, PaymentSessionInput, CreditBalanceSummaryInput, StripeCheckoutCredentialsFragment, ZuoraCheckoutCredentialsFragment, GetCreditGrantsInput as GetCreditGrantsInputGenerated, CreditLedgerInput, CreditUsageInput, CreditGrantFragment, CreditLedgerFragment, AutoRechargeSettingsFragment, GetAutoRechargeSettingsInput, SaveAutoRechargeSettingsInput, PackageEntitlementUnionFragment, EntitlementUnionFragment } from '@stigg/api-client-js';
1
+ import { BillingCadence, BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, SubscriptionQueryFragment, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment, WidgetType, CustomerPortalSubscriptionScheduledUpdateDataFragment, DiscountType, DiscountDurationType, PackageEntitlementFragment, PageInfoFragment, PaywallCurrencyFragment, FeatureType, MeterType, EntitlementResetPeriod, PaywallCalculatedPricePointsFragment, SubscriptionInvoiceFragment, PaymentCollection, PlanFragment, BillingVendorIdentifier, TiersMode, SubscriptionFutureUpdateDataFragment, PriceTierFragment, TotalPriceFragment, CheckoutConfigurationFragment, TypographyConfigurationFragment, BillingAddress, ScheduleStrategy, PaymentCollectionMethod, BudgetConfigurationInput, SubscriptionProrationBehavior, SubscriptionBillingCycleAnchor, PaymentSessionInput, CreditBalanceSummaryInput, StripeCheckoutCredentialsFragment, ZuoraCheckoutCredentialsFragment, AirwallexCheckoutCredentialsFragment, GetCreditGrantsInput as GetCreditGrantsInputGenerated, CreditLedgerInput, CreditUsageInput, CreditGrantFragment, CreditLedgerFragment, AutoRechargeSettingsFragment, GetAutoRechargeSettingsInput, SaveAutoRechargeSettingsInput, PackageEntitlementUnionFragment, EntitlementUnionFragment } from '@stigg/api-client-js';
2
2
  export { BaseEntitlement, BooleanEntitlement, EnumEntitlement, NumericEntitlement, MeteredEntitlement, CreditEntitlement, Entitlement, EntitlementV2, CustomerEntitlementsResult, CustomerEntitlementsResultV2, BOOLEAN_DEFAULT_FALLBACK_ENTITLEMENT, NUMERIC_DEFAULT_FALLBACK_ENTITLEMENT, METERED_DEFAULT_FALLBACK_ENTITLEMENT, ENUM_DEFAULT_FALLBACK_ENTITLEMENT, CREDIT_DEFAULT_FALLBACK_ENTITLEMENT, BooleanEntitlementFallback, BooleanEntitlementOptions, NumericEntitlementFallback, NumericEntitlementOptions, MeteredEntitlementFallback, MeteredEntitlementOptions, EnumEntitlementFallback, EnumEntitlementOptions, CreditEntitlementFallback, CreditEntitlementOptions, EntitlementsFallback, } from '@stigg/sdk-core';
3
3
  import type { GetBooleanEntitlement as SdkCoreGetBooleanEntitlement, GetNumericEntitlement as SdkCoreGetNumericEntitlement, GetMeteredEntitlement as SdkCoreGetMeteredEntitlement, GetEnumEntitlement as SdkCoreGetEnumEntitlement, GetCreditEntitlement as SdkCoreGetCreditEntitlement } from '@stigg/sdk-core';
4
4
  export * from '@stigg/api-client-js';
@@ -299,7 +299,7 @@ export type CustomerPortal = {
299
299
  export type CheckoutStatePlan = Plan & Pick<PlanFragment, 'prices'>;
300
300
  export type CheckoutBillingIntegration = {
301
301
  billingIdentifier: BillingVendorIdentifier;
302
- billingCredentials: StripeCheckoutCredentialsFragment | ZuoraCheckoutCredentialsFragment;
302
+ billingCredentials: StripeCheckoutCredentialsFragment | ZuoraCheckoutCredentialsFragment | AirwallexCheckoutCredentialsFragment;
303
303
  credentials: {
304
304
  accountId?: string | null;
305
305
  publicKey?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/js-client-sdk",
3
- "version": "4.12.0",
3
+ "version": "4.14.0",
4
4
  "description": "Stigg client-side SDK for Browser",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -36,9 +36,9 @@
36
36
  "dependencies": {
37
37
  "@apollo/client": "^3.4.17",
38
38
  "@sentry/browser": "^7.11.1",
39
- "@stigg/api-client-js": "6.20.0",
40
- "@stigg/cache-core": "1.22.0",
41
- "@stigg/sdk-core": "2.12.0",
39
+ "@stigg/api-client-js": "6.22.0",
40
+ "@stigg/cache-core": "1.24.0",
41
+ "@stigg/sdk-core": "2.14.0",
42
42
  "cross-fetch": "^3.1.6",
43
43
  "dayjs": "^1.11.13",
44
44
  "fetch-retry": "^5.0.6",