You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baseDelay:100// Base delay in milliseconds for exponential backoff
46
+
}
47
+
})
48
+
```
49
+
50
+
The client will automatically retry requests that fail with:
51
+
- 5xx server errors
52
+
- 429 Too Many Requests errors
53
+
- Network errors
54
+
55
+
### Response Data Handling
56
+
57
+
By default, the client automatically unwraps the response data from the Axios response object. You can control this behavior using the `unwrapData` option:
58
+
59
+
```javascript
60
+
// Get raw Axios response (includes headers, status, etc.)
// If the note hasn't changed, the response will have status 304
79
+
```
80
+
35
81
## API
36
82
37
83
See the [code](./src/index.ts) and [typings](./src/type.ts). The API client is written in TypeScript, so you can get auto-completion and type checking in any TypeScript Language Server powered editor or IDE.
0 commit comments