@wix/headless-stores 0.0.8 → 0.0.9

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.
@@ -53,5 +53,6 @@ export interface BuyNowProps {
53
53
  * )}
54
54
  * </BuyNow>
55
55
  * ```
56
+ * @component
56
57
  */
57
58
  export declare function BuyNow(props: BuyNowProps): React.ReactNode;
@@ -30,6 +30,7 @@ const buy_now_service_1 = require("../services/buy-now-service");
30
30
  * )}
31
31
  * </BuyNow>
32
32
  * ```
33
+ * @component
33
34
  */
34
35
  function BuyNow(props) {
35
36
  const { redirectToCheckout, loadingSignal, productName, errorSignal, price, currency, inStock, preOrderAvailable, } = (0, services_manager_react_1.useService)(buy_now_service_1.BuyNowServiceDefinition);
@@ -39,5 +39,6 @@ export interface PayNowProps {
39
39
  * )}
40
40
  * </PayNow>
41
41
  * ```
42
+ * @component
42
43
  */
43
44
  export declare function PayNow(props: PayNowProps): React.ReactNode;
@@ -26,6 +26,7 @@ const pay_now_service_1 = require("../services/pay-now-service");
26
26
  * )}
27
27
  * </PayNow>
28
28
  * ```
29
+ * @component
29
30
  */
30
31
  function PayNow(props) {
31
32
  const { redirectToCheckout, loadingSignal, errorSignal, } = (0, services_manager_react_1.useService)(pay_now_service_1.PayNowServiceDefinition);
@@ -53,5 +53,6 @@ export interface BuyNowProps {
53
53
  * )}
54
54
  * </BuyNow>
55
55
  * ```
56
+ * @component
56
57
  */
57
58
  export declare function BuyNow(props: BuyNowProps): React.ReactNode;
@@ -27,6 +27,7 @@ import { BuyNowServiceDefinition } from "../services/buy-now-service";
27
27
  * )}
28
28
  * </BuyNow>
29
29
  * ```
30
+ * @component
30
31
  */
31
32
  export function BuyNow(props) {
32
33
  const { redirectToCheckout, loadingSignal, productName, errorSignal, price, currency, inStock, preOrderAvailable, } = useService(BuyNowServiceDefinition);
@@ -39,5 +39,6 @@ export interface PayNowProps {
39
39
  * )}
40
40
  * </PayNow>
41
41
  * ```
42
+ * @component
42
43
  */
43
44
  export declare function PayNow(props: PayNowProps): React.ReactNode;
@@ -23,6 +23,7 @@ import { PayNowServiceDefinition } from "../services/pay-now-service";
23
23
  * )}
24
24
  * </PayNow>
25
25
  * ```
26
+ * @component
26
27
  */
27
28
  export function PayNow(props) {
28
29
  const { redirectToCheckout, loadingSignal, errorSignal, } = useService(PayNowServiceDefinition);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/headless-stores",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "npm run build:esm && npm run build:cjs",