@faststore/api 1.9.8 → 1.9.9

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/README.md CHANGED
@@ -28,9 +28,11 @@ From the command line in your project directory, run yarn add `@faststore/api`.
28
28
  ```cmd
29
29
  yarn add @faststore/api
30
30
  ```
31
+
31
32
  ## Usage
32
33
 
33
- With servers like express:
34
+ With servers like express:
35
+
34
36
  ```ts
35
37
  import { execute } from 'graphql'
36
38
  import { getSchema } from '@faststore/api'
@@ -45,7 +47,7 @@ app.get('/graphql', async (req, res) => {
45
47
  const result = await execute({
46
48
  schema: await getSchema(),
47
49
  variableValues: variables,
48
- operationName
50
+ operationName,
49
51
  })
50
52
 
51
53
  res.status(200)
@@ -54,4 +56,5 @@ app.get('/graphql', async (req, res) => {
54
56
  ```
55
57
 
56
58
  ## Docs
59
+
57
60
  For more information, please refer to our documentation: https://faststore.dev/reference/api/faststore-api