@kiva/kv-shop 3.0.1 → 3.0.2

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/dist/basket.js CHANGED
@@ -1,4 +1,4 @@
1
- import { gql as i } from "@apollo/client";
1
+ import { gql as i } from "@apollo/client/core";
2
2
  import { getCookieValue as c, setCookieValue as o } from "./util/cookie.js";
3
3
  import { parseShopError as u } from "./shopError.js";
4
4
  function B() {
@@ -1,4 +1,4 @@
1
- import { gql as i } from "@apollo/client";
1
+ import { gql as i } from "@apollo/client/core";
2
2
  import { callShopMutation as m } from "./shopQueries.js";
3
3
  async function C(t) {
4
4
  var r;
@@ -1,4 +1,4 @@
1
- import { gql as r } from "@apollo/client";
1
+ import { gql as r } from "@apollo/client/core";
2
2
  import p from "numeral";
3
3
  import { callShopMutation as m } from "./shopQueries.js";
4
4
  async function d({ amount: a, apollo: o, metadata: e }) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client";
1
+ import { gql as e } from "@apollo/client/core";
2
2
  import { watchShopQuery as t } from "./shopQueries.js";
3
3
  const l = e`query basketTotals($basketId: String) {
4
4
  shop (basketId: $basketId) {
@@ -1,4 +1,4 @@
1
- import { gql as u } from "@apollo/client";
1
+ import { gql as u } from "@apollo/client/core";
2
2
  import { poll as d } from "./util/poll.js";
3
3
  import { getVisitorID as I } from "./util/visitorId.js";
4
4
  async function f({ apollo: t, transactionSagaId: r }) {
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import { ApolloClient } from '@apollo/client';
2
- import { DocumentNode } from '@apollo/client';
1
+ import { ApolloClient } from '@apollo/client/core';
2
+ import { DocumentNode } from 'graphql/language/ast';
3
3
  import { Dropin } from 'braintree-web-drop-in';
4
4
  import { default as KvPaymentSelect } from './components/KvPaymentSelect.js';
5
- import { MutationOptions } from '@apollo/client';
6
- import { ObservableQuery } from '@apollo/client';
5
+ import { MutationOptions } from '@apollo/client/core';
6
+ import { ObservableQuery } from '@apollo/client/core';
7
7
  import { PaymentMethodPayload } from 'braintree-web-drop-in';
8
- import { QueryOptions } from '@apollo/client';
8
+ import { QueryOptions } from '@apollo/client/core';
9
9
  import { Ref } from 'vue';
10
10
  import { TransactionData } from '@kiva/kv-analytics';
11
- import { WatchQueryOptions } from '@apollo/client';
11
+ import { WatchQueryOptions } from '@apollo/client/core';
12
12
 
13
13
  export declare function applyKivaCredit(apollo: ApolloClient<any>): Promise<boolean>;
14
14
 
@@ -1,4 +1,4 @@
1
- import { gql as i } from "@apollo/client";
1
+ import { gql as i } from "@apollo/client/core";
2
2
  import { callShopQuery as l } from "./shopQueries.js";
3
3
  async function c(d, e) {
4
4
  var r, a;
@@ -1,4 +1,4 @@
1
- import { gql as s } from "@apollo/client";
1
+ import { gql as s } from "@apollo/client/core";
2
2
  import { trackTransaction as C } from "@kiva/kv-analytics";
3
3
  import M from "numeral";
4
4
  import { pollForFinishedCheckout as P } from "./checkoutStatus.js";
package/dist/receipt.js CHANGED
@@ -1,4 +1,4 @@
1
- import { gql as T } from "@apollo/client";
1
+ import { gql as T } from "@apollo/client/core";
2
2
  import { getVisitorID as k } from "./util/visitorId.js";
3
3
  async function g(o) {
4
4
  var n, i, s;
@@ -1,4 +1,4 @@
1
- import { gql as g } from "@apollo/client";
1
+ import { gql as g } from "@apollo/client/core";
2
2
  import { ShopError as r, parseShopError as w } from "./shopError.js";
3
3
  async function f(a) {
4
4
  var c, n, s, i, u, d, e;
@@ -1,4 +1,4 @@
1
- import { gql as C } from "@apollo/client";
1
+ import { gql as C } from "@apollo/client/core";
2
2
  import s from "numeral";
3
3
  import { ref as b } from "vue";
4
4
  import { parseShopError as A, ShopError as I } from "./shopError.js";
@@ -1,4 +1,4 @@
1
- import { gql as l } from "@apollo/client";
1
+ import { gql as l } from "@apollo/client/core";
2
2
  import { callShopMutation as m } from "./shopQueries.js";
3
3
  import { getVisitorID as c } from "./util/visitorId.js";
4
4
  import { parseShopError as p, ShopError as u } from "./shopError.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-shop",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -57,5 +57,5 @@
57
57
  "bundleDependencies": [
58
58
  "braintree-web-drop-in"
59
59
  ],
60
- "gitHead": "081bd6d623814f7eb5cd6b79e31afd684665fff0"
60
+ "gitHead": "128eeda9edbeb21b2e4756f52006689eb9760ae4"
61
61
  }