Skip to content

Commit d76b58e

Browse files
authored
Merge pull request #3 from sentdm/release-please--branches--main--changes--next--components--sent-dm
release: 0.3.1
2 parents 2877fc0 + ab3802d commit d76b58e

26 files changed

+55
-47
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.0"
2+
".": "0.3.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 19
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-0fb2b782f3dce1a18dea4f67716279aa820eb326bb218ad7d71d46d4440e9933.yml
33
openapi_spec_hash: 9a292964e73307d88c8cc119c9151f16
4-
config_hash: 9e8eca32ff49fb9c5377a0b02985882a
4+
config_hash: b9aa076fa453b20dd37b5289c248ff7a

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.3.1 (2026-01-27)
4+
5+
Full Changelog: [v0.3.0...v0.3.1](https://github.com/sentdm/sent-dm-typescript/compare/v0.3.0...v0.3.1)
6+
7+
### Chores
8+
9+
* update SDK settings ([ec6da05](https://github.com/sentdm/sent-dm-typescript/commit/ec6da056f56bf87e57e7ed300e820ff31278052d))
10+
311
## 0.3.0 (2026-01-27)
412

513
Full Changelog: [v0.2.0...v0.3.0](https://github.com/sentdm/sent-dm-typescript/compare/v0.2.0...v0.3.0)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ $ cd sent-dm-typescript
5555
# With yarn
5656
$ yarn link
5757
$ cd ../my-package
58-
$ yarn link sentdm
58+
$ yarn link sent-dm
5959

6060
# With pnpm
6161
$ pnpm link --global
6262
$ cd ../my-package
63-
$ pnpm link -—global sentdm
63+
$ pnpm link -—global sent-dm
6464
```
6565

6666
## Running tests

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sent Dm TypeScript API Library
22

3-
[![NPM version](<https://img.shields.io/npm/v/sentdm.svg?label=npm%20(stable)>)](https://npmjs.org/package/sentdm) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/sentdm)
3+
[![NPM version](<https://img.shields.io/npm/v/sent-dm.svg?label=npm%20(stable)>)](https://npmjs.org/package/sent-dm) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/sent-dm)
44

55
This library provides convenient access to the Sent Dm REST API from server-side TypeScript or JavaScript.
66

@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1111
## Installation
1212

1313
```sh
14-
npm install sentdm
14+
npm install sent-dm
1515
```
1616

1717
## Usage
@@ -20,7 +20,7 @@ The full API of this library can be found in [api.md](api.md).
2020

2121
<!-- prettier-ignore -->
2222
```js
23-
import SentDm from 'sentdm';
23+
import SentDm from 'sent-dm';
2424

2525
const client = new SentDm({
2626
apiKey: process.env['SENT_DM_API_KEY'], // This is the default and can be omitted
@@ -40,7 +40,7 @@ This library includes TypeScript definitions for all request params and response
4040

4141
<!-- prettier-ignore -->
4242
```ts
43-
import SentDm from 'sentdm';
43+
import SentDm from 'sent-dm';
4444

4545
const client = new SentDm({
4646
apiKey: process.env['SENT_DM_API_KEY'], // This is the default and can be omitted
@@ -194,7 +194,7 @@ The log level can be configured in two ways:
194194
2. Using the `logLevel` client option (overrides the environment variable if set)
195195

196196
```ts
197-
import SentDm from 'sentdm';
197+
import SentDm from 'sent-dm';
198198

199199
const client = new SentDm({
200200
logLevel: 'debug', // Show all log messages
@@ -222,7 +222,7 @@ When providing a custom logger, the `logLevel` option still controls which messa
222222
below the configured level will not be sent to your logger.
223223

224224
```ts
225-
import SentDm from 'sentdm';
225+
import SentDm from 'sent-dm';
226226
import pino from 'pino';
227227

228228
const logger = pino();
@@ -291,7 +291,7 @@ globalThis.fetch = fetch;
291291
Or pass it to the client:
292292

293293
```ts
294-
import SentDm from 'sentdm';
294+
import SentDm from 'sent-dm';
295295
import fetch from 'my-fetch';
296296

297297
const client = new SentDm({ fetch });
@@ -302,7 +302,7 @@ const client = new SentDm({ fetch });
302302
If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
303303

304304
```ts
305-
import SentDm from 'sentdm';
305+
import SentDm from 'sent-dm';
306306

307307
const client = new SentDm({
308308
fetchOptions: {
@@ -319,7 +319,7 @@ options to requests:
319319
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
320320

321321
```ts
322-
import SentDm from 'sentdm';
322+
import SentDm from 'sent-dm';
323323
import * as undici from 'undici';
324324

325325
const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
@@ -333,7 +333,7 @@ const client = new SentDm({
333333
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
334334

335335
```ts
336-
import SentDm from 'sentdm';
336+
import SentDm from 'sent-dm';
337337

338338
const client = new SentDm({
339339
fetchOptions: {
@@ -345,7 +345,7 @@ const client = new SentDm({
345345
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
346346

347347
```ts
348-
import SentDm from 'npm:sentdm';
348+
import SentDm from 'npm:sent-dm';
349349

350350
const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
351351
const client = new SentDm({

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default tseslint.config(
2525
{
2626
patterns: [
2727
{
28-
regex: '^sentdm(/.*)?',
28+
regex: '^sent-dm(/.*)?',
2929
message: 'Use a relative import, not a package import.',
3030
},
3131
],

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const config: JestConfigWithTsJest = {
77
'^.+\\.(t|j)sx?$': ['@swc/jest', { sourceMaps: 'inline' }],
88
},
99
moduleNameMapper: {
10-
'^sentdm$': '<rootDir>/src/index.ts',
11-
'^sentdm/(.*)$': '<rootDir>/src/$1',
10+
'^sent-dm$': '<rootDir>/src/index.ts',
11+
'^sent-dm/(.*)$': '<rootDir>/src/$1',
1212
},
1313
modulePathIgnorePatterns: [
1414
'<rootDir>/ecosystem-tests/',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "sentdm",
3-
"version": "0.3.0",
2+
"name": "sent-dm",
3+
"version": "0.3.1",
44
"description": "The official TypeScript library for the Sent Dm API",
55
"author": "Sent Dm <>",
66
"types": "dist/index.d.ts",

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ onlyBuiltDependencies:
22
- '@swc/core'
33
minimumReleaseAge: 1440
44
minimumReleaseAgeExclude:
5-
- sentdm
5+
- sent-dm

scripts/build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ node scripts/utils/check-version.cjs
88

99
# Build into dist and will publish the package from there,
1010
# so that src/resources/foo.ts becomes <package root>/resources/foo.js
11-
# This way importing from `"sentdm/resources/foo"` works
11+
# This way importing from `"sent-dm/resources/foo"` works
1212
# even with `"moduleResolution": "node"`
1313

1414
rm -rf dist; mkdir dist
@@ -42,8 +42,8 @@ node scripts/utils/postprocess-files.cjs
4242

4343
# make sure that nothing crashes when we require the output CJS or
4444
# import the output ESM
45-
(cd dist && node -e 'require("sentdm")')
46-
(cd dist && node -e 'import("sentdm")' --input-type=module)
45+
(cd dist && node -e 'require("sent-dm")')
46+
(cd dist && node -e 'import("sent-dm")' --input-type=module)
4747

4848
if [ -e ./scripts/build-deno ]
4949
then

0 commit comments

Comments
 (0)