@limitless-exchange/sdk 0.0.1 → 0.0.2
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 +6 -0
- package/dist/index.d.mts +578 -40
- package/dist/index.d.ts +578 -40
- package/dist/index.js +28 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,6 +54,12 @@ import { HttpClient, MarketFetcher } from '@limitless-exchange/sdk';
|
|
|
54
54
|
// Create HTTP client (no authentication needed)
|
|
55
55
|
const httpClient = new HttpClient({
|
|
56
56
|
baseURL: 'https://api.limitless.exchange',
|
|
57
|
+
|
|
58
|
+
// Optional: Add custom headers to all requests
|
|
59
|
+
additionalHeaders: {
|
|
60
|
+
'X-Custom-Header': 'my-value',
|
|
61
|
+
'X-API-Version': 'v1',
|
|
62
|
+
},
|
|
57
63
|
});
|
|
58
64
|
|
|
59
65
|
const marketFetcher = new MarketFetcher(httpClient);
|