mailchannels-sdk 0.4.7 → 0.6.0
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/README.md +13 -11
- package/dist/mailchannels.d.mts +1913 -4
- package/dist/mailchannels.d.ts +1913 -4
- package/dist/mailchannels.mjs +2261 -2
- package/package.json +12 -16
- package/dist/modules.d.mts +0 -2
- package/dist/modules.d.ts +0 -2
- package/dist/modules.mjs +0 -2048
- package/dist/shared/mailchannels-sdk.B048hZT4.d.mts +0 -1889
- package/dist/shared/mailchannels-sdk.B048hZT4.d.ts +0 -1889
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-

|
|
1
|
+

|
|
2
2
|
|
|
3
|
-
# MailChannels
|
|
3
|
+
# MailChannels Node.js SDK
|
|
4
4
|
|
|
5
5
|
[![npm version][npm-version-src]][npm-version-href]
|
|
6
6
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
@@ -13,8 +13,8 @@ This library provides a simple way to interact with the [MailChannels API](https
|
|
|
13
13
|
<!-- #endregion overview -->
|
|
14
14
|
|
|
15
15
|
<!-- #region note -->
|
|
16
|
-
> [!
|
|
17
|
-
> This library is
|
|
16
|
+
> [!IMPORTANT]
|
|
17
|
+
> **Disclaimer**: This library is not associated with [MailChannels Corporation](https://mailchannels.com/).
|
|
18
18
|
<!-- #endregion note -->
|
|
19
19
|
|
|
20
20
|
- [✨ Release Notes](CHANGELOG.md)
|
|
@@ -70,7 +70,7 @@ pnpm add mailchannels-sdk
|
|
|
70
70
|
|
|
71
71
|
Already implemented features are marked with a checkmark. Please open an issue if you find any bugs or missing features.
|
|
72
72
|
|
|
73
|
-
> [!
|
|
73
|
+
> [!NOTE]
|
|
74
74
|
> Links below point to the official MailChannels API documentation, options and responses may differ slightly when using this SDK. Please refer to the [documentation](https://mailchannels.yizack.com) for the correct usage of each feature.
|
|
75
75
|
|
|
76
76
|
### [Email API](https://docs.mailchannels.net/email-api/api-reference/email-api)
|
|
@@ -81,6 +81,7 @@ Already implemented features are marked with a checkmark. Please open an issue i
|
|
|
81
81
|
- ✅ [Create DKIM Key Pair](https://docs.mailchannels.net/email-api/api-reference/create-dkim-key-pair)
|
|
82
82
|
- ✅ [Retrieve DKIM Keys](https://docs.mailchannels.net/email-api/api-reference/retrieve-dkim-keys)
|
|
83
83
|
- ✅ [Update DKIM Key Status](https://docs.mailchannels.net/email-api/api-reference/update-dkim-key-status)
|
|
84
|
+
- ✅ [Rotate DKIM Key Pair](https://docs.mailchannels.net/email-api/api-reference/rotate-dkim-key-pair)
|
|
84
85
|
- 📢 Webhooks
|
|
85
86
|
- ✅ [Enroll for Webhook Notifications](https://docs.mailchannels.net/email-api/api-reference/enroll-for-webhook-notifications)
|
|
86
87
|
- ✅ [Retrieve Customer Webhooks](https://docs.mailchannels.net/email-api/api-reference/retrieve-customer-webhooks)
|
|
@@ -109,6 +110,7 @@ Already implemented features are marked with a checkmark. Please open an issue i
|
|
|
109
110
|
- ✅ [Retrieve Recipient Behaviour Metrics](https://docs.mailchannels.net/email-api/api-reference/retrieve-recipient-behaviour-metrics)
|
|
110
111
|
- ✅ [Retrieve Usage Stats](https://docs.mailchannels.net/email-api/api-reference/retrieve-usage-stats)
|
|
111
112
|
- ✅ [Retrieve Volume Metrics](https://docs.mailchannels.net/email-api/api-reference/retrieve-volume-metrics)
|
|
113
|
+
- ✅ [Retrieve Sender Metrics](https://docs.mailchannels.net/email-api/api-reference/retrieve-sender-metrics)
|
|
112
114
|
- 🚫 Suppressions
|
|
113
115
|
- ✅ [Create Suppression Entries](https://docs.mailchannels.net/email-api/api-reference/create-suppression-entries)
|
|
114
116
|
- ✅ [Delete Suppression Entry](https://docs.mailchannels.net/email-api/api-reference/delete-suppression-entry)
|
|
@@ -154,20 +156,20 @@ Already implemented features are marked with a checkmark. Please open an issue i
|
|
|
154
156
|
pnpm install
|
|
155
157
|
|
|
156
158
|
# Build the package
|
|
157
|
-
|
|
159
|
+
pnpm build
|
|
158
160
|
|
|
159
161
|
# Run ESLint
|
|
160
|
-
|
|
162
|
+
pnpm lint
|
|
161
163
|
|
|
162
164
|
# Run Vitest
|
|
163
|
-
|
|
164
|
-
|
|
165
|
+
pnpm test
|
|
166
|
+
pnpm test:watch
|
|
165
167
|
|
|
166
168
|
# Run typecheck
|
|
167
|
-
|
|
169
|
+
pnpm test:types
|
|
168
170
|
|
|
169
171
|
# Release new version
|
|
170
|
-
|
|
172
|
+
pnpm release
|
|
171
173
|
```
|
|
172
174
|
|
|
173
175
|
</details>
|