File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
cli-api-reference/cli-changelog
sdks/overview/typescript/changelog Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 77
88
99## 0.78.4
10- ** ` (fix): ` ** Collapse any combination of optional and nullable to ` optional<nullable<T>> ` .
10+ ** ` (fix): ` ** Collapse any combination of optional and nullable to optional<nullable<T>>.
1111
1212## 0.78.3
1313**`(chore):`** Support IR v59 in the Rust SDK generator.
Original file line number Diff line number Diff line change 1+ ## 3.2.0
2+ ** ` (feat): ` ** Add ` generateEndpointMetadata ` configuration to generate endpoint metadata for each endpoints.
3+ When you use a callback function to generate headers or auth tokens, the endpoint metadata will be passed to the callback.
4+ ``` ts
5+ const client = new Foo ({
6+ ... ,
7+ token : ({ endpointMetadata }) => {
8+ // generate token based on endpoint metadata
9+ }
10+ });
11+ ```
12+
13+ To enable this, set ` generateEndpointMetadata ` to ` true ` in the ` config ` of your generator configuration.
14+ ``` yml
15+ # In generators.yml
16+ groups :
17+ ts-sdk :
18+ generators :
19+ - name : fernapi/fern-typescript-sdk
20+ config :
21+ generateEndpointMetadata : true
22+ ` ` `
23+
24+
125## 3.1.2
226**` (fix):`** Pin `msw` dependency to `2.11.2` because newer version introduces jest/vitest compatibility issues.
327
You can’t perform that action at this time.
0 commit comments