ui.shipaid.com 0.3.95 → 0.3.96

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.
@@ -59,6 +59,7 @@ export declare class ShipAidWidget extends LitElement {
59
59
  hasLoadedStrings: boolean;
60
60
  fetchInterceptorCleanup: () => void;
61
61
  intervalId: NodeJS.Timeout | null;
62
+ private _sellingPlanId?;
62
63
  protected shouldUpdate(props: PropertyValues): boolean;
63
64
  protected shouldPersistPopup(): "learn-more" | null;
64
65
  protected setPopupKey(): void;
@@ -118,7 +119,7 @@ export declare class ShipAidWidget extends LitElement {
118
119
  /** Update the internal cart, which will trigger any protection fee updates */
119
120
  updateCart(cart?: ShopifyCart): Promise<void>;
120
121
  addCartProtectionVariant(): Promise<any>;
121
- updateCartProtectionVariant(qty: number, protectionCartItem?: ShopifyCartItem | null, sellingPlanId?: string | null): Promise<any>;
122
+ updateCartProtectionVariant(qty: number, protectionCartItem?: ShopifyCartItem | null): Promise<any>;
122
123
  /** Add ShipAid shipping protection. */
123
124
  addProtection(): Promise<void>;
124
125
  /** Remove ShipAid shipping protection. */
@@ -133,6 +134,8 @@ export declare class ShipAidWidget extends LitElement {
133
134
  addStylesIfNeeded: () => void;
134
135
  contactlessCheckoutButtonTemplate(): typeof nothing | undefined;
135
136
  createRenderRoot(): Element | ShadowRoot;
137
+ getSubscription(_cart: ShopifyCart | undefined): Promise<string | null | undefined>;
138
+ getCheckoutURL(): string;
136
139
  checkoutButtonTemplate(): import("lit").TemplateResult<1> | undefined;
137
140
  renderPopups(): import("lit").TemplateResult<1> | null;
138
141
  promptTemplate(): import("lit").TemplateResult<1> | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui.shipaid.com",
3
3
  "private": false,
4
- "version": "0.3.95",
4
+ "version": "0.3.96",
5
5
  "type": "module",
6
6
  "main": "dist/widget.umd.js",
7
7
  "unpkg": "dist/widget.iife.js",