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
85
+
}
86
+
})
87
+
```
88
+
89
+
The client will automatically retry requests that fail with:
90
+
- 5xx server errors
91
+
- 429 Too Many Requests errors
92
+
- Network errors
93
+
94
+
### Response Data Handling
95
+
96
+
By default, the client automatically unwraps the response data from the Axios response object. You can control this behavior using the `unwrapData` option:
97
+
98
+
```javascript
99
+
// Get raw Axios response (includes headers, status, etc.)
// If the note hasn't changed, the response will have status 304
118
+
```
119
+
35
120
## API
36
121
37
122
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