@stigg/js-client-sdk 1.0.1 → 1.1.1

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,5 +1,5 @@
1
1
  import { BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PackageEntitlementFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment } from './api/generated/types';
2
- export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, ExperimentGroupType, WidgetType, } from './api/generated/types';
2
+ export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, ExperimentGroupType, WidgetType, FontWeight, Alignment, } from './api/generated/types';
3
3
  interface Metadata {
4
4
  [key: string]: string;
5
5
  }
@@ -232,12 +232,12 @@ export declare type CustomerPortal = {
232
232
  showWatermark: boolean;
233
233
  canUpgradeSubscription: boolean;
234
234
  billingPortalUrl?: string | null;
235
- configuration?: CustomerPortalConfiguration;
235
+ configuration?: CustomerPortalConfiguration | null;
236
236
  };
237
237
  export declare type PaywallConfiguration = Omit<PaywallConfigurationFragment, '__typename'>;
238
238
  export declare type Paywall = {
239
239
  plans: Plan[];
240
- configuration: PaywallConfiguration;
240
+ configuration?: PaywallConfiguration | null;
241
241
  };
242
242
  export declare type Customer = {
243
243
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/js-client-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "Stigg client-side SDK for Browser",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",