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
Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/sentdm/sent-node/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
6
+
7
+
### Features
8
+
9
+
***api:** update via SDK Studio ([e1371cc](https://github.com/sentdm/sent-node/commit/e1371cc5662176feb85abd05b4a2a37e3aaa0960))
10
+
***api:** update via SDK Studio ([28ff778](https://github.com/sentdm/sent-node/commit/28ff77860ad89c13f096c3c3d2007dce1f9bac65))
11
+
12
+
13
+
### Chores
14
+
15
+
* go live ([#1](https://github.com/sentdm/sent-node/issues/1)) ([9e7d1ac](https://github.com/sentdm/sent-node/commit/9e7d1ac28875aca0edda778691dfb9657669603c))
@@ -99,7 +99,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
99
99
100
100
### Publish with a GitHub workflow
101
101
102
-
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/stainless-sdks/sent-node/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
102
+
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/sentdm/sent-node/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
> Once this package is [published to npm](https://app.stainlessapi.com/docs/guides/publish), this will become: `npm install sent`
19
-
20
17
## Usage
21
18
22
19
The full API of this library can be found in [api.md](api.md).
23
20
24
21
<!-- prettier-ignore -->
25
22
```js
26
-
importSentfrom'sent';
23
+
importSentfrom'@sent/node';
27
24
28
25
constclient=newSent();
29
26
@@ -40,7 +37,7 @@ This library includes TypeScript definitions for all request params and response
40
37
41
38
<!-- prettier-ignore -->
42
39
```ts
43
-
importSentfrom'sent';
40
+
importSentfrom'@sent/node';
44
41
45
42
const client =newSent();
46
43
@@ -207,12 +204,12 @@ add the following import before your first import `from "Sent"`:
207
204
```ts
208
205
// Tell TypeScript and the package to use the global web fetch instead of node-fetch.
209
206
// Note, despite the name, this does not add any polyfills, but expects them to be provided if needed.
210
-
import'sent/shims/web';
211
-
importSentfrom'sent';
207
+
import'@sent/node/shims/web';
208
+
importSentfrom'@sent/node';
212
209
```
213
210
214
-
To do the inverse, add `import "sent/shims/node"` (which does import polyfills).
215
-
This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/stainless-sdks/sent-node/tree/main/src/_shims#readme)).
211
+
To do the inverse, add `import "@sent/node/shims/node"` (which does import polyfills).
212
+
This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/sentdm/sent-node/tree/main/src/_shims#readme)).
216
213
217
214
### Logging and middleware
218
215
@@ -221,7 +218,7 @@ which can be used to inspect or alter the `Request` or `Response` before/after e
@@ -268,7 +265,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
268
265
269
266
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
270
267
271
-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/sent-node/issues) with questions, bugs, or suggestions.
268
+
We are keen for your feedback; please open an [issue](https://www.github.com/sentdm/sent-node/issues) with questions, bugs, or suggestions.
0 commit comments