@moonbase.sh/storefront 0.2.78 → 0.2.81
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/moonbase.d.ts +4 -1
- package/dist/moonbase.js +1623 -1545
- package/dist/moonbase.umd.cjs +13 -13
- package/package.json +2 -2
package/dist/moonbase.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare class MoonbaseImpl implements MoonbaseInstance {
|
|
|
27
27
|
add_to_cart(parameters?: MoonbaseIntentArgs['add_to_cart']): Promise<void>;
|
|
28
28
|
checkout(parameters?: MoonbaseIntentArgs['checkout']): void;
|
|
29
29
|
close_checkout(): void;
|
|
30
|
+
view_about(): void;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export declare type MoonbaseInstance = MoonbaseInstanceIntents & {
|
|
@@ -53,7 +54,8 @@ export declare enum MoonbaseIntent {
|
|
|
53
54
|
ViewCart = "view_cart",
|
|
54
55
|
AddToCart = "add_to_cart",
|
|
55
56
|
Checkout = "checkout",
|
|
56
|
-
CloseCheckout = "close_checkout"
|
|
57
|
+
CloseCheckout = "close_checkout",
|
|
58
|
+
ViewAbout = "view_about"
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
export declare interface MoonbaseIntentArgs {
|
|
@@ -105,6 +107,7 @@ export declare interface MoonbaseIntentArgs {
|
|
|
105
107
|
complete?: boolean;
|
|
106
108
|
};
|
|
107
109
|
[MoonbaseIntent.CloseCheckout]: never;
|
|
110
|
+
[MoonbaseIntent.ViewAbout]: never;
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
declare interface MoonbaseOptions {
|