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
{{ message }}
This repository was archived by the owner on May 8, 2025. It is now read-only.
> To finish publishing your SDK to npm and others you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).
49
-
50
-
51
47
The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
52
48
53
49
### NPM
54
50
55
51
```bash
56
-
npm add https://github.com/unkeyed/unkey-ts
52
+
npm add @unkey/api
57
53
```
58
54
59
55
### PNPM
60
56
61
57
```bash
62
-
pnpm add https://github.com/unkeyed/unkey-ts
58
+
pnpm add @unkey/api
63
59
```
64
60
65
61
### Bun
66
62
67
63
```bash
68
-
bun add https://github.com/unkeyed/unkey-ts
64
+
bun add @unkey/api
69
65
```
70
66
71
67
### Yarn
72
68
73
69
```bash
74
-
yarn add https://github.com/unkeyed/unkey-ts zod
70
+
yarn add @unkey/api zod
75
71
76
72
# Note that Yarn does not install peer dependencies automatically. You will need
77
73
# to install zod as shown above.
@@ -277,26 +273,21 @@ run();
277
273
278
274
Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `limit` method may throw the following errors:
|`response`|[Response](https://developer.mozilla.org/en-US/docs/Web/API/Response)|:heavy_check_mark:| Raw HTTP response; suitable for custom response parsing |
21
+
|`request`|*Request*|:heavy_check_mark:| Raw HTTP request; suitable for debugging |
0 commit comments