@graphcommerce/magento-cart-payment-method 2.106.11 → 2.106.15

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": "@graphcommerce/magento-cart-payment-method",
3
- "version": "2.106.11",
3
+ "version": "2.106.15",
4
4
  "sideEffects": false,
5
5
  "engines": {
6
6
  "node": "14.x"
@@ -17,20 +17,20 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@graphcommerce/browserslist-config-pwa": "^3.0.2",
20
- "@graphcommerce/eslint-config-pwa": "^3.0.6",
20
+ "@graphcommerce/eslint-config-pwa": "^3.0.7",
21
21
  "@graphcommerce/prettier-config-pwa": "^3.0.3",
22
22
  "@graphcommerce/typescript-config-pwa": "^3.1.1",
23
- "@playwright/test": "^1.15.0"
23
+ "@playwright/test": "^1.15.2"
24
24
  },
25
25
  "dependencies": {
26
26
  "@apollo/client": "^3.4.16",
27
- "@graphcommerce/framer-scroller": "^0.2.10",
28
- "@graphcommerce/graphql": "^2.103.6",
29
- "@graphcommerce/image": "^2.104.9",
30
- "@graphcommerce/magento-cart": "^3.1.10",
31
- "@graphcommerce/magento-store": "^3.0.21",
32
- "@graphcommerce/next-ui": "^3.3.1",
33
- "@graphcommerce/react-hook-form": "^2.102.7",
27
+ "@graphcommerce/framer-scroller": "^0.2.11",
28
+ "@graphcommerce/graphql": "^2.103.7",
29
+ "@graphcommerce/image": "^2.104.10",
30
+ "@graphcommerce/magento-cart": "^3.1.14",
31
+ "@graphcommerce/magento-store": "^3.0.25",
32
+ "@graphcommerce/next-ui": "^3.5.0",
33
+ "@graphcommerce/react-hook-form": "^2.102.8",
34
34
  "@graphql-typed-document-node/core": "^3.1.0",
35
35
  "@material-ui/core": "^4.12.3",
36
36
  "@material-ui/lab": "^4.0.0-alpha.60",
@@ -39,7 +39,7 @@
39
39
  "next": "^11.1.2",
40
40
  "react": "^17.0.1",
41
41
  "react-dom": "^17.0.1",
42
- "type-fest": "^2.3.4"
42
+ "type-fest": "^2.5.0"
43
43
  },
44
- "gitHead": "06977d2e65b4ab4eb4a472fc56f8b1a99512f1bd"
44
+ "gitHead": "08f4dbe739a38ece2c47aa1e94c10f8397da27fa"
45
45
  }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type AvailablePaymentMethodFragment = { code: string, title: string, mollie_available_issuers?: Array<{ code?: string | null | undefined, image: string, name?: string | null | undefined, svg: string } | null | undefined> | null | undefined, mollie_meta: { image?: string | null | undefined } };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type OrderPlacedFragment = { order_number: string };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type PaymentMethodContextFragment = { available_payment_methods?: Array<{ code: string, title: string, mollie_available_issuers?: Array<{ code?: string | null | undefined, image: string, name?: string | null | undefined, svg: string } | null | undefined> | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined> | null | undefined, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined, shipping_addresses: Array<{ country: { code: string } } | null | undefined>, prices?: { grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type PaymentMethodUpdatedFragment = { id: string, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type SelectedPaymentMethodFragment = { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const GetPaymentMethodContextDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodContext"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"available_payment_methods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"mollie_available_issuers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"svg"}}]}},{"kind":"Field","name":{"kind":"Name","value":"mollie_meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"selected_payment_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"purchase_order_number"}},{"kind":"Field","name":{"kind":"Name","value":"mollie_meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"grand_total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetPaymentMethodContextQuery, GetPaymentMethodContextQueryVariables>;
7
- export type GetPaymentMethodContextQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type GetPaymentMethodContextQuery = { cart?: { __typename: 'Cart', id: string, available_payment_methods?: Array<{ code: string, title: string, mollie_available_issuers?: Array<{ code?: string | null | undefined, image: string, name?: string | null | undefined, svg: string } | null | undefined> | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined> | null | undefined, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined, shipping_addresses: Array<{ country: { code: string } } | null | undefined>, prices?: { grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | null | undefined };
@@ -1,13 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const PaymentMethodOptionsNoopDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PaymentMethodOptionsNoop"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"code"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setPaymentMethodOnCart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"payment_method"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"code"},"value":{"kind":"Variable","name":{"kind":"Name","value":"code"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"selected_payment_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"purchase_order_number"}},{"kind":"Field","name":{"kind":"Name","value":"mollie_meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<PaymentMethodOptionsNoopMutation, PaymentMethodOptionsNoopMutationVariables>;
7
- export type PaymentMethodOptionsNoopMutationVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- code: Types.Scalars['String'];
10
- }>;
11
-
12
-
13
- export type PaymentMethodOptionsNoopMutation = { setPaymentMethodOnCart?: { cart: { id: string, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined } } | null | undefined };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const PaymentMethodPlaceOrderNoopDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PaymentMethodPlaceOrderNoop"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"placeOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order_number"}}]}}]}}]}}]} as unknown as DocumentNode<PaymentMethodPlaceOrderNoopMutation, PaymentMethodPlaceOrderNoopMutationVariables>;
7
- export type PaymentMethodPlaceOrderNoopMutationVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type PaymentMethodPlaceOrderNoopMutation = { placeOrder?: { order: { order_number: string } } | null | undefined };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const UseCartLockDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UseCartLock"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"locked"}}]}}]}}]} as unknown as DocumentNode<UseCartLockQuery, UseCartLockQueryVariables>;
7
- export type UseCartLockQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type UseCartLockQuery = { cart?: { __typename: 'Cart', id: string, locked: boolean } | null | undefined };