sently 1.2.1 → 1.2.2
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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [1.2.2] — 2026-08-19
|
|
6
|
+
|
|
7
|
+
### ♻️ Changed
|
|
8
|
+
|
|
9
|
+
- **Repository owner** — GitHub, docs, and npm Trusted Publisher coordinates
|
|
10
|
+
moved from `alialnaghmoush/sently` to `omqkhafi/sently`
|
|
11
|
+
- **JSR scope** — the published package is now `@omqkhafi/sently`;
|
|
12
|
+
`@alialnaghmoush/sently` stays on the registry but will not receive new
|
|
13
|
+
versions. README and install docs tell consumers to switch with
|
|
14
|
+
`bunx jsr add @omqkhafi/sently`
|
|
15
|
+
|
|
5
16
|
## [1.2.1] — 2026-08-04
|
|
6
17
|
|
|
7
18
|
### ✨ Added
|
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<picture>
|
|
3
3
|
<source
|
|
4
4
|
media="(prefers-color-scheme: dark)"
|
|
5
|
-
srcset="https://shieldcn.dev/header/grid.svg?title=sently&subtitle=One+API.+Four+channels.+Every+runtime.&logo=https://raw.githubusercontent.com/
|
|
5
|
+
srcset="https://shieldcn.dev/header/grid.svg?title=sently&subtitle=One+API.+Four+channels.+Every+runtime.&logo=https://raw.githubusercontent.com/omqkhafi/sently/dev/site/public/sentlyIconLogo-w.svg&theme=zinc&size=banner&mode=dark&font=geist&align=left"
|
|
6
6
|
/>
|
|
7
7
|
<img
|
|
8
8
|
alt="sently — One API. Four channels. Every runtime."
|
|
9
|
-
src="https://shieldcn.dev/header/grid.svg?title=sently&subtitle=One+API.+Four+channels.+Every+runtime.&logo=https://raw.githubusercontent.com/
|
|
9
|
+
src="https://shieldcn.dev/header/grid.svg?title=sently&subtitle=One+API.+Four+channels.+Every+runtime.&logo=https://raw.githubusercontent.com/omqkhafi/sently/dev/site/public/sentlyIconLogo-k.svg&theme=zinc&size=banner&mode=light&font=geist&align=left"
|
|
10
10
|
width="750"
|
|
11
11
|
/>
|
|
12
12
|
</picture>
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<a href="https://www.npmjs.com/package/sently"><img alt="npm" src="https://shieldcn.dev/npm/sently.svg?size=sm&variant=outline" /></a>
|
|
17
|
-
<a href="https://jsr.io/@
|
|
17
|
+
<a href="https://jsr.io/@omqkhafi/sently"><img alt="JSR" src="https://shieldcn.dev/jsr/@omqkhafi/sently.svg?size=sm&variant=outline" /></a>
|
|
18
18
|
<a href="https://opensource.org/licenses/MIT"><img alt="MIT" src="https://shieldcn.dev/npm/license/sently.svg?size=sm&variant=outline" /></a>
|
|
19
19
|
<a href="https://bun.sh"><img alt="Bun" src="https://shieldcn.dev/badge/Bun-ready.svg?logo=bun&size=sm&variant=outline" /></a>
|
|
20
|
-
<a href="https://github.com/
|
|
21
|
-
<a href="https://github.com/
|
|
20
|
+
<a href="https://github.com/omqkhafi/sently/stargazers"><img alt="stars" src="https://shieldcn.dev/github/stars/omqkhafi/sently.svg?size=sm&variant=outline" /></a>
|
|
21
|
+
<a href="https://github.com/omqkhafi/sently/actions"><img alt="CI" src="https://shieldcn.dev/github/ci/omqkhafi/sently.svg?size=sm&variant=outline" /></a>
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
<p align="center">
|
|
@@ -52,9 +52,11 @@
|
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
54
|
bun add sently # npm / Bun / yarn / pnpm
|
|
55
|
-
bunx jsr add @
|
|
55
|
+
bunx jsr add @omqkhafi/sently # JSR
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
+
JSR consumers on `@alialnaghmoush/sently`: switch to `@omqkhafi/sently`. The old scope will not receive new versions. npm `sently` is unchanged.
|
|
59
|
+
|
|
58
60
|
Optional peers (React Email only): `react`, `@react-email/render`.
|
|
59
61
|
|
|
60
62
|
## Quick start
|
|
@@ -137,4 +139,4 @@ More detail: [Compare](https://sently.omqkhafi.dev/docs/guides/compare) · [Stab
|
|
|
137
139
|
|
|
138
140
|
Local docs: `bun run site:dev`. Verify: `bun run verify`.
|
|
139
141
|
|
|
140
|
-
Semver-stable channel contracts. Published on [npm](https://www.npmjs.com/package/sently) (provenance + Trusted Publishing) and [JSR](https://jsr.io/@
|
|
142
|
+
Semver-stable channel contracts. Published on [npm](https://www.npmjs.com/package/sently) (provenance + Trusted Publishing) and [JSR](https://jsr.io/@omqkhafi/sently). MIT.
|
package/SECURITY.md
CHANGED
|
@@ -6,7 +6,7 @@ sently is a messaging library that holds provider API keys and tokens in the ins
|
|
|
6
6
|
|
|
7
7
|
**Do not open a public GitHub issue for security reports.**
|
|
8
8
|
|
|
9
|
-
Use [GitHub Security Advisories](https://github.com/
|
|
9
|
+
Use [GitHub Security Advisories](https://github.com/omqkhafi/sently/security/advisories/new) for this repository so the report stays private until a fix is ready.
|
|
10
10
|
|
|
11
11
|
Include:
|
|
12
12
|
|
|
@@ -45,7 +45,7 @@ npm publishes from CI (`.github/workflows/publish.yml`) use:
|
|
|
45
45
|
On [npmjs.com/package/sently](https://www.npmjs.com/package/sently) → **Settings** → **Trusted Publisher**:
|
|
46
46
|
|
|
47
47
|
1. Bind **GitHub Actions**
|
|
48
|
-
2. Repository: `
|
|
48
|
+
2. Repository: `omqkhafi/sently`
|
|
49
49
|
3. Workflow: `publish.yml` (`.github/workflows/publish.yml`)
|
|
50
50
|
4. Environment: `production` (must match the workflow `environment`)
|
|
51
51
|
5. Confirm the npm package repository URL matches `package.json` → `repository`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sently",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Runtime-agnostic channel-delivery library for Node.js, Bun, Deno, and Cloudflare Workers. One sender shape, one error model, and one retry path across email, SMS, WhatsApp, and push — with pluggable provider transports.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
},
|
|
100
100
|
"repository": {
|
|
101
101
|
"type": "git",
|
|
102
|
-
"url": "git+https://github.com/
|
|
102
|
+
"url": "git+https://github.com/omqkhafi/sently.git"
|
|
103
103
|
},
|
|
104
|
-
"homepage": "https://github.com/
|
|
104
|
+
"homepage": "https://github.com/omqkhafi/sently#readme",
|
|
105
105
|
"bugs": {
|
|
106
|
-
"url": "https://github.com/
|
|
106
|
+
"url": "https://github.com/omqkhafi/sently/issues"
|
|
107
107
|
},
|
|
108
108
|
"exports": {
|
|
109
109
|
".": {
|
|
@@ -15,6 +15,8 @@ Install it in the application that owns your delivery credentials and provider t
|
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
bun add sently
|
|
18
|
+
# or
|
|
19
|
+
bunx jsr add @omqkhafi/sently
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
</Step>
|
|
@@ -34,11 +36,15 @@ const mailer = await createMailer({
|
|
|
34
36
|
</Step>
|
|
35
37
|
</Steps>
|
|
36
38
|
|
|
39
|
+
<Callout title="JSR scope">
|
|
40
|
+
Use `@omqkhafi/sently`. `@alialnaghmoush/sently` stays on the registry but will not receive new versions. npm `sently` is unchanged.
|
|
41
|
+
</Callout>
|
|
42
|
+
|
|
37
43
|
## Install and runtime requirements
|
|
38
44
|
|
|
39
45
|
| Requirement | Details |
|
|
40
46
|
| --- | --- |
|
|
41
|
-
| Package manager | Bun: `bun add sently`. |
|
|
47
|
+
| Package manager | Bun: `bun add sently`. JSR: `bunx jsr add @omqkhafi/sently`. |
|
|
42
48
|
| Module format | Use ESM imports. |
|
|
43
49
|
| Node.js | Version 18 or later. |
|
|
44
50
|
| Bun | Version 1 or later. |
|
|
@@ -64,6 +70,9 @@ const mailer = await createMailer({
|
|
|
64
70
|
<Accordion title="Should I import every transport from the main package?">
|
|
65
71
|
No. Provider transports are exported from their own `sently/transports/*` subpaths.
|
|
66
72
|
</Accordion>
|
|
73
|
+
<Accordion title="I already installed @alialnaghmoush/sently">
|
|
74
|
+
Replace it with `@omqkhafi/sently` (`bunx jsr add @omqkhafi/sently`). Imports stay `sently/…`.
|
|
75
|
+
</Accordion>
|
|
67
76
|
</Accordions>
|
|
68
77
|
|
|
69
78
|
## Learn more
|
|
@@ -42,7 +42,7 @@ Apps should depend on channel senders and contracts — not on vendor SDK shapes
|
|
|
42
42
|
|
|
43
43
|
## Security patches
|
|
44
44
|
|
|
45
|
-
See [`SECURITY.md`](https://github.com/
|
|
45
|
+
See [`SECURITY.md`](https://github.com/omqkhafi/sently/blob/main/SECURITY.md) for reporting and which versions receive patches.
|
|
46
46
|
|
|
47
47
|
## Troubleshooting
|
|
48
48
|
|
|
@@ -29,7 +29,7 @@ Keep them out of source control and out of unstructured logs.
|
|
|
29
29
|
Its path can contain a long-lived delivery token. Hook context keeps a short fingerprint.
|
|
30
30
|
</Accordion>
|
|
31
31
|
<Accordion title="Where do I report a vulnerability?">
|
|
32
|
-
Open a private GitHub Security Advisory for this repository. Do not file a public issue. Details and response targets are in [`SECURITY.md`](https://github.com/
|
|
32
|
+
Open a private GitHub Security Advisory for this repository. Do not file a public issue. Details and response targets are in [`SECURITY.md`](https://github.com/omqkhafi/sently/blob/main/SECURITY.md).
|
|
33
33
|
</Accordion>
|
|
34
34
|
</Accordions>
|
|
35
35
|
|