@swishapp/sdk 0.90.1 → 0.91.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/intents/handlers/delete-item-handler.d.ts +1 -1
- package/dist/intents/handlers/delete-list-handler.d.ts +1 -1
- package/dist/intents/handlers/edit-item-lists-handler.d.ts +1 -1
- package/dist/intents/handlers/edit-item-variant-handler.d.ts +1 -1
- package/dist/intents/handlers/edit-list-handler.d.ts +1 -1
- package/dist/intents/handlers/open-list-detail-page-menu-handler.d.ts +11 -0
- package/dist/intents/handlers/open-list-handler.d.ts +11 -0
- package/dist/intents/handlers/open-list-menu-handler.d.ts +1 -1
- package/dist/intents/handlers/open-lists-handler.d.ts +6 -0
- package/dist/intents/handlers/open-notifications-handler.d.ts +6 -0
- package/dist/intents/handlers/open-order-handler.d.ts +11 -0
- package/dist/intents/handlers/open-orders-handler.d.ts +6 -0
- package/dist/intents/handlers/open-product-handler.d.ts +12 -0
- package/dist/intents/handlers/open-profile-handler.d.ts +6 -0
- package/dist/intents/handlers/open-quick-buy-handler.d.ts +3 -3
- package/dist/intents/handlers/open-saves-handler.d.ts +6 -0
- package/dist/intents/handlers/open-sign-in-handler.d.ts +1 -1
- package/dist/intents/handlers/{create-item-handler.d.ts → save-item-handler.d.ts} +6 -6
- package/dist/intents/handlers/show-toast-handler.d.ts +1 -1
- package/dist/intents/hooks/after-save-item-hook.d.ts +5 -0
- package/dist/intents/types.d.ts +32 -5
- package/dist/options/types.d.ts +3 -2
- package/dist/swish-api/swish-api-client.d.ts +1 -0
- package/dist/swish-ui/swish-ui.d.ts +2 -6
- package/dist/swish-ui/types.d.ts +13 -4
- package/dist/swish.d.ts +9 -1
- package/dist/swish.js +52 -55
- package/package.json +1 -1
- package/dist/intents/hooks/after-create-item-hook.d.ts +0 -5
- package/dist/utils/shop-bridge.d.ts +0 -31
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
declare const BaseElement: typeof HTMLElement;
|
|
2
|
-
export declare class ShopBridge extends BaseElement {
|
|
3
|
-
get swish(): import("../swish").SwishApp | undefined;
|
|
4
|
-
private readonly emailInput;
|
|
5
|
-
private readonly shopModalObserver;
|
|
6
|
-
constructor();
|
|
7
|
-
disconnectedCallback(): void;
|
|
8
|
-
load(): Promise<void>;
|
|
9
|
-
update(changes: any): void;
|
|
10
|
-
}
|
|
11
|
-
declare global {
|
|
12
|
-
interface Window {
|
|
13
|
-
Shopify?: {
|
|
14
|
-
analytics?: {
|
|
15
|
-
publish?: (event: string, data: Record<string, any>) => void;
|
|
16
|
-
};
|
|
17
|
-
featureAssets?: {
|
|
18
|
-
"shop-js"?: {
|
|
19
|
-
"init-customer-accounts"?: string[];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
SignInWithShop?: {
|
|
23
|
-
initCustomerAccounts?: (enabled: boolean, options: {
|
|
24
|
-
fedCMEnabled: boolean;
|
|
25
|
-
windoidEnabled: boolean;
|
|
26
|
-
}) => void;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export {};
|