app/models/spree/api_dependencies.rb in spree_api-4.3.0.rc3 vs app/models/spree/api_dependencies.rb in spree_api-4.3.0

- old
+ new

@@ -12,16 +12,17 @@ :storefront_cart_compare_line_items_service, :storefront_cart_serializer, :storefront_credit_card_serializer, :storefront_credit_card_finder, :storefront_shipment_serializer, :storefront_payment_method_serializer, :storefront_country_finder, :storefront_country_serializer, :storefront_menu_serializer, :storefront_menu_finder, :storefront_current_order_finder, :storefront_completed_order_finder, :storefront_order_sorter, :storefront_collection_paginator, :storefront_user_serializer, :storefront_products_sorter, :storefront_products_finder, :storefront_product_serializer, :storefront_taxon_serializer, - :storefront_taxon_finder, :storefront_find_by_variant_finder, :storefront_cart_update_service, + :storefront_taxon_finder, :storefront_find_by_variant_finder, :storefront_cart_update_service, :storefront_cart_associate_service, :storefront_cart_estimate_shipping_rates_service, :storefront_estimated_shipment_serializer, :storefront_store_serializer, :storefront_address_serializer, :storefront_order_serializer, :storefront_account_create_address_service, :storefront_account_update_address_service, :storefront_address_finder, :storefront_account_create_service, :storefront_account_update_service, :storefront_collection_sorter, :error_handler, - :storefront_cart_empty_service, :storefront_cart_destroy_service, :storefront_credit_cards_destroy_service, :platform_products_sorter + :storefront_cart_empty_service, :storefront_cart_destroy_service, :storefront_credit_cards_destroy_service, :platform_products_sorter, + :storefront_cart_change_currency_service ].freeze attr_accessor *INJECTION_POINTS def initialize @@ -41,9 +42,11 @@ @storefront_cart_set_item_quantity_service = Spree::Dependencies.cart_set_item_quantity_service @storefront_cart_recalculate_service = Spree::Dependencies.cart_recalculate_service @storefront_cart_estimate_shipping_rates_service = Spree::Dependencies.cart_estimate_shipping_rates_service @storefront_cart_empty_service = Spree::Dependencies.cart_empty_service @storefront_cart_destroy_service = Spree::Dependencies.cart_destroy_service + @storefront_cart_associate_service = Spree::Dependencies.cart_associate_service + @storefront_cart_change_currency_service = Spree::Dependencies.cart_change_currency_service # coupon code handler @storefront_coupon_handler = Spree::Dependencies.coupon_handler # checkout services