@wix/ecom 1.0.844 → 1.0.845

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.844",
3
+ "version": "1.0.845",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -26,13 +26,13 @@
26
26
  "@wix/ecom_additional-fees": "1.0.35",
27
27
  "@wix/ecom_back-in-stock-notifications": "1.0.61",
28
28
  "@wix/ecom_back-in-stock-settings": "1.0.44",
29
- "@wix/ecom_cart": "1.0.105",
29
+ "@wix/ecom_cart": "1.0.106",
30
30
  "@wix/ecom_checkout": "1.0.112",
31
31
  "@wix/ecom_checkout-content": "1.0.15",
32
32
  "@wix/ecom_checkout-settings": "1.0.60",
33
33
  "@wix/ecom_checkout-templates": "1.0.110",
34
34
  "@wix/ecom_currencies": "1.0.45",
35
- "@wix/ecom_current-cart": "1.0.105",
35
+ "@wix/ecom_current-cart": "1.0.106",
36
36
  "@wix/ecom_custom-triggers": "1.0.31",
37
37
  "@wix/ecom_delivery-profile": "1.0.29",
38
38
  "@wix/ecom_delivery-solutions": "1.0.12",
@@ -87,5 +87,5 @@
87
87
  "fqdn": ""
88
88
  }
89
89
  },
90
- "falconPackageHash": "8031e3b5087c0cd708b41cce5c68e5b8acf836dc3ec8c3af0b1bd3c6"
90
+ "falconPackageHash": "03ceb4ce3292a75c176f56798e36625708da70aecbca8e224cb3cfaa"
91
91
  }
@@ -7858,11 +7858,11 @@ interface EventMetadata$a extends BaseEventMetadata$a {
7858
7858
  */
7859
7859
  entityEventSequence?: string | null;
7860
7860
  }
7861
- interface CartUpdatedEnvelope$1 {
7862
- entity: Cart$1;
7861
+ interface CartDeletedEnvelope$1 {
7863
7862
  metadata: EventMetadata$a;
7864
7863
  }
7865
- interface CartDeletedEnvelope$1 {
7864
+ interface CartUpdatedEnvelope$1 {
7865
+ entity: Cart$1;
7866
7866
  metadata: EventMetadata$a;
7867
7867
  }
7868
7868
  interface CartCreatedEnvelope$1 {
@@ -8171,8 +8171,8 @@ interface DeleteCartSignature {
8171
8171
  */
8172
8172
  (_id: string): Promise<void>;
8173
8173
  }
8174
- declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
8175
8174
  declare const onCartDeleted$3: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
8175
+ declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
8176
8176
  declare const onCartCreated$3: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
8177
8177
 
8178
8178
  declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -8188,18 +8188,18 @@ declare const updateLineItemsQuantity$2: MaybeContext<BuildRESTFunction<typeof u
8188
8188
  declare const estimateTotals: MaybeContext<BuildRESTFunction<typeof estimateTotals$1> & typeof estimateTotals$1>;
8189
8189
  declare const deleteCart: MaybeContext<BuildRESTFunction<typeof deleteCart$1> & typeof deleteCart$1>;
8190
8190
 
8191
- type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
8192
- /**
8193
- * Triggered when a cart is updated.
8194
- */
8195
- declare const onCartUpdated$2: ReturnType<typeof createEventModule$a<_publicOnCartUpdatedType>>;
8196
-
8197
8191
  type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
8198
8192
  /**
8199
8193
  * Triggered when a cart is deleted.
8200
8194
  */
8201
8195
  declare const onCartDeleted$2: ReturnType<typeof createEventModule$a<_publicOnCartDeletedType>>;
8202
8196
 
8197
+ type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
8198
+ /**
8199
+ * Triggered when a cart is updated.
8200
+ */
8201
+ declare const onCartUpdated$2: ReturnType<typeof createEventModule$a<_publicOnCartUpdatedType>>;
8202
+
8203
8203
  type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
8204
8204
  /**
8205
8205
  * Triggered when a cart is created.
@@ -10611,11 +10611,11 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
10611
10611
  */
10612
10612
  entityEventSequence?: string | null;
10613
10613
  }
10614
- interface CartUpdatedEnvelope {
10615
- entity: Cart;
10614
+ interface CartDeletedEnvelope {
10616
10615
  metadata: EventMetadata$9;
10617
10616
  }
10618
- interface CartDeletedEnvelope {
10617
+ interface CartUpdatedEnvelope {
10618
+ entity: Cart;
10619
10619
  metadata: EventMetadata$9;
10620
10620
  }
10621
10621
  interface CartCreatedEnvelope {
@@ -10799,8 +10799,8 @@ interface DeleteCurrentCartSignature {
10799
10799
  */
10800
10800
  (): Promise<void>;
10801
10801
  }
10802
- declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
10803
10802
  declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
10803
+ declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
10804
10804
  declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
10805
10805
 
10806
10806
  declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -10815,18 +10815,18 @@ declare const updateCurrentCartLineItemQuantity: MaybeContext<BuildRESTFunction<
10815
10815
  declare const estimateCurrentCartTotals: MaybeContext<BuildRESTFunction<typeof estimateCurrentCartTotals$1> & typeof estimateCurrentCartTotals$1>;
10816
10816
  declare const deleteCurrentCart: MaybeContext<BuildRESTFunction<typeof deleteCurrentCart$1> & typeof deleteCurrentCart$1>;
10817
10817
 
10818
- type _publicOnCartUpdatedType = typeof onCartUpdated$1;
10819
- /**
10820
- * Triggered when a cart is updated.
10821
- */
10822
- declare const onCartUpdated: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
10823
-
10824
10818
  type _publicOnCartDeletedType = typeof onCartDeleted$1;
10825
10819
  /**
10826
10820
  * Triggered when a cart is deleted.
10827
10821
  */
10828
10822
  declare const onCartDeleted: ReturnType<typeof createEventModule$9<_publicOnCartDeletedType>>;
10829
10823
 
10824
+ type _publicOnCartUpdatedType = typeof onCartUpdated$1;
10825
+ /**
10826
+ * Triggered when a cart is updated.
10827
+ */
10828
+ declare const onCartUpdated: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
10829
+
10830
10830
  type _publicOnCartCreatedType = typeof onCartCreated$1;
10831
10831
  /**
10832
10832
  * Triggered when a cart is created.
@@ -7858,11 +7858,11 @@ interface EventMetadata$a extends BaseEventMetadata$a {
7858
7858
  */
7859
7859
  entityEventSequence?: string | null;
7860
7860
  }
7861
- interface CartUpdatedEnvelope$1 {
7862
- entity: Cart$1;
7861
+ interface CartDeletedEnvelope$1 {
7863
7862
  metadata: EventMetadata$a;
7864
7863
  }
7865
- interface CartDeletedEnvelope$1 {
7864
+ interface CartUpdatedEnvelope$1 {
7865
+ entity: Cart$1;
7866
7866
  metadata: EventMetadata$a;
7867
7867
  }
7868
7868
  interface CartCreatedEnvelope$1 {
@@ -8171,8 +8171,8 @@ interface DeleteCartSignature {
8171
8171
  */
8172
8172
  (_id: string): Promise<void>;
8173
8173
  }
8174
- declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
8175
8174
  declare const onCartDeleted$3: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
8175
+ declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
8176
8176
  declare const onCartCreated$3: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
8177
8177
 
8178
8178
  declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -8188,18 +8188,18 @@ declare const updateLineItemsQuantity$2: MaybeContext<BuildRESTFunction<typeof u
8188
8188
  declare const estimateTotals: MaybeContext<BuildRESTFunction<typeof estimateTotals$1> & typeof estimateTotals$1>;
8189
8189
  declare const deleteCart: MaybeContext<BuildRESTFunction<typeof deleteCart$1> & typeof deleteCart$1>;
8190
8190
 
8191
- type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
8192
- /**
8193
- * Triggered when a cart is updated.
8194
- */
8195
- declare const onCartUpdated$2: ReturnType<typeof createEventModule$a<_publicOnCartUpdatedType>>;
8196
-
8197
8191
  type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
8198
8192
  /**
8199
8193
  * Triggered when a cart is deleted.
8200
8194
  */
8201
8195
  declare const onCartDeleted$2: ReturnType<typeof createEventModule$a<_publicOnCartDeletedType>>;
8202
8196
 
8197
+ type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
8198
+ /**
8199
+ * Triggered when a cart is updated.
8200
+ */
8201
+ declare const onCartUpdated$2: ReturnType<typeof createEventModule$a<_publicOnCartUpdatedType>>;
8202
+
8203
8203
  type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
8204
8204
  /**
8205
8205
  * Triggered when a cart is created.
@@ -10611,11 +10611,11 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
10611
10611
  */
10612
10612
  entityEventSequence?: string | null;
10613
10613
  }
10614
- interface CartUpdatedEnvelope {
10615
- entity: Cart;
10614
+ interface CartDeletedEnvelope {
10616
10615
  metadata: EventMetadata$9;
10617
10616
  }
10618
- interface CartDeletedEnvelope {
10617
+ interface CartUpdatedEnvelope {
10618
+ entity: Cart;
10619
10619
  metadata: EventMetadata$9;
10620
10620
  }
10621
10621
  interface CartCreatedEnvelope {
@@ -10799,8 +10799,8 @@ interface DeleteCurrentCartSignature {
10799
10799
  */
10800
10800
  (): Promise<void>;
10801
10801
  }
10802
- declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
10803
10802
  declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
10803
+ declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
10804
10804
  declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
10805
10805
 
10806
10806
  declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -10815,18 +10815,18 @@ declare const updateCurrentCartLineItemQuantity: MaybeContext<BuildRESTFunction<
10815
10815
  declare const estimateCurrentCartTotals: MaybeContext<BuildRESTFunction<typeof estimateCurrentCartTotals$1> & typeof estimateCurrentCartTotals$1>;
10816
10816
  declare const deleteCurrentCart: MaybeContext<BuildRESTFunction<typeof deleteCurrentCart$1> & typeof deleteCurrentCart$1>;
10817
10817
 
10818
- type _publicOnCartUpdatedType = typeof onCartUpdated$1;
10819
- /**
10820
- * Triggered when a cart is updated.
10821
- */
10822
- declare const onCartUpdated: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
10823
-
10824
10818
  type _publicOnCartDeletedType = typeof onCartDeleted$1;
10825
10819
  /**
10826
10820
  * Triggered when a cart is deleted.
10827
10821
  */
10828
10822
  declare const onCartDeleted: ReturnType<typeof createEventModule$9<_publicOnCartDeletedType>>;
10829
10823
 
10824
+ type _publicOnCartUpdatedType = typeof onCartUpdated$1;
10825
+ /**
10826
+ * Triggered when a cart is updated.
10827
+ */
10828
+ declare const onCartUpdated: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
10829
+
10830
10830
  type _publicOnCartCreatedType = typeof onCartCreated$1;
10831
10831
  /**
10832
10832
  * Triggered when a cart is created.