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.
- package/dist/widget.es.js +61 -39
- package/dist/widget.iife.js +83 -79
- package/dist/widget.umd.js +83 -79
- package/dist-types/widget/src/shipaid-widget.d.ts +4 -1
- package/package.json +1 -1
|
@@ -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
|
|
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;
|