@fill-easy/api 1.0.5 → 1.0.7

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
@@ -2,6 +2,8 @@
2
2
 
3
3
  Type-safe SDK for Fill Easy API, generated from OpenAPI specification.
4
4
 
5
+ Read full docs here: https://fill-easy.gitbook.io/fill-easy-docs
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
@@ -11,13 +13,16 @@ npm install @fill-easy/api
11
13
  ## Usage
12
14
 
13
15
  ```typescript
14
- import createApiClient from "@fill-easy/api"
16
+ import { createApiClient } from "@fill-easy/api"
15
17
 
16
- const client = createApiClient("https://api.fill-easy.com")
18
+ const client = createApiClient("https://sandbox.staging-api.fill-easy.com")
17
19
 
18
20
  // Fully typed API calls
19
21
  const { data, error } = await client.POST("/iamsmart/v2/request/auth", {
20
- params: { body: {} },
22
+ body: {
23
+ redirect: "https://example.com/callback",
24
+ source: "Android_Chrome",
25
+ },
21
26
  })
22
27
 
23
28
  if (error) {