@wix/auto_sdk_ecom_cart-v-2 1.0.28 → 1.0.29

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.
@@ -1503,7 +1503,7 @@ interface CartSummary {
1503
1503
  /**
1504
1504
  * A token representing the Cart's calculated prices.
1505
1505
  *
1506
- * The client can pass this token when completing the checkout to ensure that the
1506
+ * The client can pass this token on place order to ensure that the
1507
1507
  * prices the customer saw match the final prices at checkout.
1508
1508
  *
1509
1509
  * The server will validate the token if provided by recalculating the cart and comparing the
@@ -2679,11 +2679,11 @@ interface PlaceOrderRequest {
2679
2679
  */
2680
2680
  cartId: string;
2681
2681
  /**
2682
- * The pricing token received from `CalculateCart`'s response.
2682
+ * The price verification token received from `CalculateCart`'s response.
2683
2683
  * Used to verify that the prices shown to the customer have not changed before completing checkout.
2684
2684
  * @maxLength 3000
2685
2685
  */
2686
- pricingToken?: string | null;
2686
+ priceVerificationToken?: string | null;
2687
2687
  /**
2688
2688
  * Payment token.
2689
2689
  * @maxLength 100
@@ -3084,11 +3084,11 @@ interface GetCheckoutUrlOptions {
3084
3084
  }
3085
3085
  interface PlaceOrderOptions {
3086
3086
  /**
3087
- * The pricing token received from `CalculateCart`'s response.
3087
+ * The price verification token received from `CalculateCart`'s response.
3088
3088
  * Used to verify that the prices shown to the customer have not changed before completing checkout.
3089
3089
  * @maxLength 3000
3090
3090
  */
3091
- pricingToken?: string | null;
3091
+ priceVerificationToken?: string | null;
3092
3092
  /**
3093
3093
  * Payment token.
3094
3094
  * @maxLength 100
@@ -1541,7 +1541,7 @@ async function placeOrder2(cartId, options) {
1541
1541
  const { httpClient, sideEffects } = arguments[2];
1542
1542
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1543
1543
  cartId,
1544
- pricingToken: options?.pricingToken,
1544
+ priceVerificationToken: options?.priceVerificationToken,
1545
1545
  paymentToken: options?.paymentToken,
1546
1546
  redirectUrls: options?.redirectUrls,
1547
1547
  savePaymentMethod: options?.savePaymentMethod,
@@ -1560,7 +1560,7 @@ async function placeOrder2(cartId, options) {
1560
1560
  spreadPathsToArguments: {},
1561
1561
  explicitPathsToArguments: {
1562
1562
  cartId: "$[0]",
1563
- pricingToken: "$[1].pricingToken",
1563
+ priceVerificationToken: "$[1].priceVerificationToken",
1564
1564
  paymentToken: "$[1].paymentToken",
1565
1565
  redirectUrls: "$[1].redirectUrls",
1566
1566
  savePaymentMethod: "$[1].savePaymentMethod",