@graphcommerce/magento-cart-payment-method 9.1.0-canary.18 → 9.1.0-canary.19

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.
@@ -8,9 +8,7 @@ fragment PaymentMethodContext on Cart {
8
8
  }
9
9
  prices {
10
10
  applied_taxes {
11
- amount {
12
- ...Money
13
- }
11
+ ...CartTaxItem
14
12
  }
15
13
  }
16
14
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0-canary.19
4
+
3
5
  ## 9.1.0-canary.18
4
6
 
5
7
  ## 9.1.0-canary.17
@@ -1,6 +1,5 @@
1
1
  import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
2
2
  import { useFormCompose } from '@graphcommerce/react-hook-form'
3
- import { t } from '@lingui/macro'
4
3
  import type { PaymentPlaceOrderProps } from '../Api/PaymentMethod'
5
4
  import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
6
5
  import { assertOrderPlaced } from './assertOrderPlaced'
@@ -13,7 +12,6 @@ export function PaymentMethodPlaceOrderNoop(props: PaymentPlaceOrderProps) {
13
12
  const form = useFormGqlMutationCart(PaymentMethodPlaceOrderNoopDocument, {
14
13
  onComplete: async (result) => {
15
14
  assertOrderPlaced(result)
16
- console.log('result', result)
17
15
  await onSuccess(result.data.placeOrder.order.order_number)
18
16
  },
19
17
  submitWhileLocked: true,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-payment-method",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.1.0-canary.18",
5
+ "version": "9.1.0-canary.19",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,18 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.1.0-canary.18",
16
- "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.18",
17
- "@graphcommerce/framer-scroller": "^9.1.0-canary.18",
18
- "@graphcommerce/graphql": "^9.1.0-canary.18",
19
- "@graphcommerce/image": "^9.1.0-canary.18",
20
- "@graphcommerce/magento-cart": "^9.1.0-canary.18",
21
- "@graphcommerce/magento-cart-shipping-address": "^9.1.0-canary.18",
22
- "@graphcommerce/magento-store": "^9.1.0-canary.18",
23
- "@graphcommerce/next-ui": "^9.1.0-canary.18",
24
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.18",
25
- "@graphcommerce/react-hook-form": "^9.1.0-canary.18",
26
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.18",
15
+ "@graphcommerce/ecommerce-ui": "^9.1.0-canary.19",
16
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.19",
17
+ "@graphcommerce/framer-scroller": "^9.1.0-canary.19",
18
+ "@graphcommerce/graphql": "^9.1.0-canary.19",
19
+ "@graphcommerce/image": "^9.1.0-canary.19",
20
+ "@graphcommerce/magento-cart": "^9.1.0-canary.19",
21
+ "@graphcommerce/magento-cart-shipping-address": "^9.1.0-canary.19",
22
+ "@graphcommerce/magento-store": "^9.1.0-canary.19",
23
+ "@graphcommerce/next-ui": "^9.1.0-canary.19",
24
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.19",
25
+ "@graphcommerce/react-hook-form": "^9.1.0-canary.19",
26
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.19",
27
27
  "@lingui/core": "^4.2.1",
28
28
  "@lingui/macro": "^4.2.1",
29
29
  "@lingui/react": "^4.2.1",