@stonecrop/graphql-client 0.2.67 → 0.3.1

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.
@@ -1,6 +1,6 @@
1
1
  import { queries } from './queries';
2
2
  import typeDefs from './gql/schema';
3
- import type { Meta, MetaParser, MetaResponse } from '@/types';
3
+ import type { Meta, MetaParser, MetaResponse } from './types';
4
4
  /**
5
5
  * Get meta information for a doctype
6
6
  * @param doctype - The doctype to get meta information for
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/graphql-client",
3
- "version": "0.2.67",
3
+ "version": "0.3.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": {
@@ -33,7 +33,7 @@
33
33
  "decimal.js": "^10.4.3",
34
34
  "graphql": "~16.6.0",
35
35
  "graphql-request": "~6.0.0",
36
- "@stonecrop/stonecrop": "0.2.67"
36
+ "@stonecrop/stonecrop": "0.3.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@microsoft/api-documenter": "^7.26.2",
package/src/index.ts CHANGED
@@ -3,7 +3,7 @@ import { GraphQLClient } from 'graphql-request'
3
3
 
4
4
  import { queries } from './queries'
5
5
  import typeDefs from './gql/schema'
6
- import type { Meta, MetaParser, MetaResponse } from '@/types'
6
+ import type { Meta, MetaParser, MetaResponse } from './types'
7
7
 
8
8
  /**
9
9
  * Parse the response from the GraphQL server. Converts the stringified JSON to JSON and converts the stringified numbers to Decimal.