parsec-api 0.8.0 → 0.8.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.1 (2026-02-19)
4
+
5
+ Full Changelog: [v0.8.0...v0.8.1](https://github.com/parsecular/sdk-typescript/compare/v0.8.0...v0.8.1)
6
+
3
7
  ## 0.8.0 (2026-02-18)
4
8
 
5
9
  Full Changelog: [v0.7.0...v0.8.0](https://github.com/parsecular/sdk-typescript/compare/v0.7.0...v0.8.0)
package/README.md CHANGED
@@ -55,6 +55,18 @@ const estimate = await client.executionPrice.retrieve({
55
55
 
56
56
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
57
57
 
58
+ ## Examples
59
+
60
+ The SDK ships with runnable examples in the [`examples/`](examples/) directory:
61
+
62
+ | Example | Description |
63
+ |---------|-------------|
64
+ | [`getting-started.ts`](examples/getting-started.ts) | Fetch markets, read orderbooks, check execution price |
65
+ | [`order-lifecycle.ts`](examples/order-lifecycle.ts) | Place, monitor, and cancel an order end-to-end |
66
+ | [`websocket-streaming.ts`](examples/websocket-streaming.ts) | Stream real-time orderbook and trade data via WebSocket |
67
+
68
+ Run any example with `npx tsx examples/getting-started.ts` (requires `PARSEC_API_KEY`).
69
+
58
70
  ## Real-time Streaming
59
71
 
60
72
  The SDK includes a WebSocket client for streaming orderbook snapshots, deltas, and trade activity in real time. The client maintains a local materialized orderbook, handles authentication, automatic reconnection with exponential backoff, and sequence gap detection.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parsec-api",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "The official TypeScript library for the Parsec API",
5
5
  "author": "Parsec API <support@parsecapi.com>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.8.0'; // x-release-please-version
1
+ export const VERSION = '0.8.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.8.0";
1
+ export declare const VERSION = "0.8.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.8.0";
1
+ export declare const VERSION = "0.8.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.8.0'; // x-release-please-version
4
+ exports.VERSION = '0.8.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.8.0'; // x-release-please-version
1
+ export const VERSION = '0.8.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map