@swirls/sdk 0.0.8 → 0.0.10
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 +1 -1
- package/dist/client/client.d.ts +12339 -9
- package/dist/client/client.js +2301 -5
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ The [`@swirls/sdk/client`](src/client/README.md) subpackage provides a type-safe
|
|
|
14
14
|
import { Swirls } from '@swirls/sdk/client'
|
|
15
15
|
|
|
16
16
|
const swirls = new Swirls({ apiKey: process.env.SWIRLS_API_KEY! })
|
|
17
|
-
const graphs = await swirls.
|
|
17
|
+
const graphs = await swirls.graphs.listGraphs({ projectId })
|
|
18
18
|
// With React: useQuery(swirls.query.graphs.listGraphs.queryOptions({ input: { projectId } }))
|
|
19
19
|
```
|
|
20
20
|
|