hanzoai 2.2.7 → 2.2.8

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -53,8 +53,8 @@ argument.
53
53
 
54
54
  **Pass it as `baseOptions`, not as `accessToken`.** The API document declares no
55
55
  `securityScheme`, so the generator emitted no auth code: `accessToken`
56
- type-checks, sends no `Authorization` header, and every call comes back 401 or
57
- 403. `baseOptions` is spread into every request by every operation, so the
56
+ type-checks, sends no `Authorization` header, and the call is refused as
57
+ anonymous. `baseOptions` is spread into every request by every operation, so the
58
58
  header set once below reaches all 2502 methods.
59
59
 
60
60
  ```ts
@@ -104,8 +104,8 @@ npm ci && npm run build
104
104
  npx tsx examples/hello/index.ts
105
105
  ```
106
106
 
107
- `npm run examples` type-checks all six against the client. CI runs it on every
108
- push, which is what keeps them from rotting into pseudocode.
107
+ `npm run examples` type-checks all six against the client, and `hanzo.yml` makes
108
+ that a CI gate — which is what keeps them from rotting into pseudocode.
109
109
 
110
110
  ## The API surface
111
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanzoai",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "The official TypeScript library for the Hanzo API",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "Apache-2.0",