mailchannels-sdk 0.4.3 → 0.4.5

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 CHANGED
@@ -33,13 +33,13 @@ This library provides a simple way to interact with the [MailChannels API](https
33
33
 
34
34
  - Send transactional emails
35
35
  - Check DKIM, SPF & Domain Lockdown
36
+ - Configure DKIM keys
36
37
  - Webhook notifications
37
38
  - Manage sub-accounts
38
39
  - Retrieve metrics
39
- - Manage suppressions
40
- - Manage inbound domains
41
- - Manage account lists
42
- - Manage recipient lists
40
+ - Handle suppressions
41
+ - Configure inbound domains
42
+ - Manage account and recipient lists
43
43
 
44
44
  ## <a name="requirements">📏 Requirements</a>
45
45
 
@@ -70,6 +70,9 @@ 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
+ > [!IMPORTANT]
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
+
73
76
  ### [Email API](https://docs.mailchannels.net/email-api/api-reference/email-api)
74
77
 
75
78
  - 📧 Emails
@@ -1,5 +1,5 @@
1
- import { M as MailChannelsClient, E as Emails, W as Webhooks, S as SubAccounts, a as Metrics, b as Suppressions, D as Domains, L as Lists, U as Users, c as Service } from './shared/mailchannels-sdk.DQwR3U6M.mjs';
2
- export { ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, aq as UsersCreateOptions, ar as UsersCreateResponse, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.DQwR3U6M.mjs';
1
+ import { M as MailChannelsClient, E as Emails, W as Webhooks, S as SubAccounts, a as Metrics, b as Suppressions, D as Domains, L as Lists, U as Users, c as Service } from './shared/mailchannels-sdk.LKYcN74O.mjs';
2
+ export { ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, aq as UsersCreateOptions, ar as UsersCreateResponse, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.LKYcN74O.mjs';
3
3
  import 'ofetch';
4
4
 
5
5
  declare class MailChannels extends MailChannelsClient {
@@ -1,5 +1,5 @@
1
- import { M as MailChannelsClient, E as Emails, W as Webhooks, S as SubAccounts, a as Metrics, b as Suppressions, D as Domains, L as Lists, U as Users, c as Service } from './shared/mailchannels-sdk.DQwR3U6M.js';
2
- export { ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, aq as UsersCreateOptions, ar as UsersCreateResponse, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.DQwR3U6M.js';
1
+ import { M as MailChannelsClient, E as Emails, W as Webhooks, S as SubAccounts, a as Metrics, b as Suppressions, D as Domains, L as Lists, U as Users, c as Service } from './shared/mailchannels-sdk.LKYcN74O.js';
2
+ export { ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, aq as UsersCreateOptions, ar as UsersCreateResponse, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.LKYcN74O.js';
3
3
  import 'ofetch';
4
4
 
5
5
  declare class MailChannels extends MailChannelsClient {
@@ -1,2 +1,2 @@
1
- export { D as Domains, ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, E as Emails, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, L as Lists, a as Metrics, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, c as Service, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, S as SubAccounts, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, b as Suppressions, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, U as Users, aq as UsersCreateOptions, ar as UsersCreateResponse, W as Webhooks, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.DQwR3U6M.mjs';
1
+ export { D as Domains, ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, E as Emails, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, L as Lists, a as Metrics, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, c as Service, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, S as SubAccounts, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, b as Suppressions, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, U as Users, aq as UsersCreateOptions, ar as UsersCreateResponse, W as Webhooks, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.LKYcN74O.mjs';
2
2
  import 'ofetch';
package/dist/modules.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { D as Domains, ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, E as Emails, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, L as Lists, a as Metrics, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, c as Service, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, S as SubAccounts, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, b as Suppressions, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, U as Users, aq as UsersCreateOptions, ar as UsersCreateResponse, W as Webhooks, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.DQwR3U6M.js';
1
+ export { D as Domains, ai as DomainsBulkCreateLoginLinkResult, aj as DomainsBulkCreateLoginLinks, ak as DomainsBulkCreateLoginLinksResponse, a9 as DomainsBulkProvisionOptions, ab as DomainsBulkProvisionResponse, ae as DomainsCreateLoginLinkResponse, a7 as DomainsData, ag as DomainsDownstreamAddress, af as DomainsListDownstreamAddressesOptions, ah as DomainsListDownstreamAddressesResponse, ac as DomainsListOptions, ad as DomainsListResponse, a8 as DomainsProvisionOptions, aa as DomainsProvisionResponse, E as Emails, j as EmailsCheckDomainDkim, k as EmailsCheckDomainOptions, m as EmailsCheckDomainResponse, l as EmailsCheckDomainVerdict, n as EmailsCreateDkimKeyOptions, p as EmailsCreateDkimKeyResponse, o as EmailsDkimKey, q as EmailsGetDkimKeysOptions, r as EmailsGetDkimKeysResponse, e as EmailsSendAttachment, h as EmailsSendOptions, g as EmailsSendOptionsBase, d as EmailsSendRecipient, i as EmailsSendResponse, f as EmailsSendTracking, s as EmailsUpdateDkimKeyOptions, ap as ListEntriesResponse, an as ListEntry, am as ListEntryOptions, ao as ListEntryResponse, al as ListNames, L as Lists, a as Metrics, P as MetricsBucket, R as MetricsEngagement, T as MetricsEngagementResponse, Q as MetricsOptions, V as MetricsPerformance, X as MetricsPerformanceResponse, Y as MetricsRecipientBehaviour, Z as MetricsRecipientBehaviourResponse, a0 as MetricsUsageResponse, _ as MetricsVolume, $ as MetricsVolumeResponse, O as Optional, c as Service, at as ServiceReportOptions, as as ServiceSubscriptionsResponse, S as SubAccounts, w as SubAccountsAccount, A as SubAccountsApiKey, B as SubAccountsCreateApiKeyResponse, x as SubAccountsCreateResponse, G as SubAccountsCreateSmtpPasswordResponse, I as SubAccountsLimit, J as SubAccountsLimitResponse, C as SubAccountsListApiKeyResponse, y as SubAccountsListOptions, z as SubAccountsListResponse, H as SubAccountsListSmtpPasswordResponse, F as SubAccountsSmtpPassword, K as SubAccountsUsage, N as SubAccountsUsageResponse, au as SuccessResponse, b as Suppressions, a2 as SuppressionsCreateOptions, a5 as SuppressionsListEntry, a4 as SuppressionsListOptions, a6 as SuppressionsListResponse, a3 as SuppressionsSource, a1 as SuppressionsTypes, U as Users, aq as UsersCreateOptions, ar as UsersCreateResponse, W as Webhooks, t as WebhooksListResponse, u as WebhooksSigningKeyResponse, v as WebhooksValidateResponse } from './shared/mailchannels-sdk.LKYcN74O.js';
2
2
  import 'ofetch';
package/dist/modules.mjs CHANGED
@@ -62,7 +62,7 @@ class Emails {
62
62
  * @example
63
63
  * ```ts
64
64
  * const mailchannels = new MailChannels('your-api-key')
65
- * const { success } = await mailchannels.emails.send({
65
+ * const { success, data } = await mailchannels.emails.send({
66
66
  * to: 'to@example.com',
67
67
  * from: 'from@example.com',
68
68
  * subject: 'Test',
@@ -72,7 +72,7 @@ class Emails {
72
72
  */
73
73
  async send(options, dryRun = false) {
74
74
  const { cc, bcc, from, to, html, text, mustaches, dkim } = options;
75
- const data = { success: false, error: null };
75
+ const data = { success: false, data: null, error: null };
76
76
  const parsedFrom = parseRecipient(from);
77
77
  if (!parsedFrom || !parsedFrom.email) {
78
78
  data.error = "No sender provided. Use the `from` option to specify a sender";
@@ -128,7 +128,17 @@ class Emails {
128
128
  });
129
129
  }
130
130
  }).catch(() => null);
131
- data.data = response?.data;
131
+ if (!response) return data;
132
+ data.data = {
133
+ rendered: response.data,
134
+ requestId: response.request_id,
135
+ results: response.results?.map((result) => ({
136
+ index: result.index,
137
+ messageId: result.message_id,
138
+ reason: result.reason,
139
+ status: result.status
140
+ }))
141
+ };
132
142
  return data;
133
143
  }
134
144
  /**
@@ -1242,7 +1252,7 @@ class Domains {
1242
1252
  }
1243
1253
  /**
1244
1254
  * Provision a single domain to use MailChannels Inbound.
1245
- * @param options - The domain data to provision.
1255
+ * @param options - The provision options and domain data.
1246
1256
  * @example
1247
1257
  * ```ts
1248
1258
  * const mailchannels = new MailChannels('your-api-key')
@@ -1275,7 +1285,7 @@ class Domains {
1275
1285
  /**
1276
1286
  * Provision up to 1000 domains to use MailChannels Inbound.
1277
1287
  * @param options - The options to provision the domains.
1278
- * @param domains - The list of domains to provision.
1288
+ * @param domains - A list of domain data to provision.
1279
1289
  * @example
1280
1290
  * ```ts
1281
1291
  * const mailchannels = new MailChannels('your-api-key')
@@ -187,13 +187,13 @@ interface EmailsSendOptionsBase {
187
187
  type EmailsSendOptions = EmailsSendOptionsBase & (
188
188
  | {
189
189
  /**
190
- * The HTML content of the email
190
+ * The HTML content of the email.
191
191
  * @example
192
192
  * '<p>Hello World</p>'
193
193
  */
194
194
  html: string;
195
195
  /**
196
- * The plain text content of the email (optional when html is provided)
196
+ * The plain text content of the email (optional when html is provided).
197
197
  * @example
198
198
  * 'Hello World'
199
199
  */
@@ -201,13 +201,13 @@ type EmailsSendOptions = EmailsSendOptionsBase & (
201
201
  }
202
202
  | {
203
203
  /**
204
- * The HTML content of the email (optional when text is provided)
204
+ * The HTML content of the email (optional when text is provided).
205
205
  * @example
206
206
  * '<p>Hello World</p>'
207
207
  */
208
208
  html?: string;
209
209
  /**
210
- * The plain text content of the email
210
+ * The plain text content of the email.
211
211
  * @example
212
212
  * 'Hello World'
213
213
  */
@@ -217,13 +217,37 @@ type EmailsSendOptions = EmailsSendOptionsBase & (
217
217
 
218
218
  interface EmailsSendResponse {
219
219
  /**
220
- * Indicates if the email was successfully sent
220
+ * Indicates if the email was successfully sent.
221
221
  */
222
222
  success: boolean;
223
- /**
224
- * Fully rendered message if `dryRun` was set to `true`
225
- */
226
- data?: string[];
223
+ data: {
224
+ /**
225
+ * Fully rendered message if `dryRun` was set to `true`. A string representation of a rendered message, one per personalization in the request.
226
+ */
227
+ rendered?: string[];
228
+ /**
229
+ * The Request ID is a unique identifier generated by the service to track the HTTP request. It will also be included in all webhooks for reference.
230
+ */
231
+ requestId?: string;
232
+ results?: {
233
+ /**
234
+ * The index of the personalization in the request. Starts at 0.
235
+ */
236
+ index?: number;
237
+ /**
238
+ * The Message ID is a unique identifier generated by the service. Each personalization has a distinct Message ID, which is also used in the `Message-Id` header and included in webhooks.
239
+ */
240
+ messageId: string;
241
+ /**
242
+ * A human-readable explanation of the status.
243
+ */
244
+ reason?: string;
245
+ /**
246
+ * The status of the message. Note that 'sent' is a temporary status; the final status will be provided through webhooks, if configured.
247
+ */
248
+ status: "sent" | "failed";
249
+ }[];
250
+ } | null;
227
251
  error: string | null;
228
252
  }
229
253
 
@@ -402,7 +426,7 @@ interface EmailsUpdateDkimKeyOptions {
402
426
  */
403
427
  selector: string;
404
428
  /**
405
- * New status of the DKIM key pair
429
+ * New status of the DKIM key pair.
406
430
  * - `revoked`: Indicates that the key is compromised and should not be used.
407
431
  * - `retired`: Indicates that the key has been rotated and is no longer in use.
408
432
  */
@@ -419,7 +443,7 @@ declare class Emails {
419
443
  * @example
420
444
  * ```ts
421
445
  * const mailchannels = new MailChannels('your-api-key')
422
- * const { success } = await mailchannels.emails.send({
446
+ * const { success, data } = await mailchannels.emails.send({
423
447
  * to: 'to@example.com',
424
448
  * from: 'from@example.com',
425
449
  * subject: 'Test',
@@ -499,7 +523,7 @@ interface WebhooksSigningKeyResponse {
499
523
 
500
524
  interface WebhooksValidateResponse {
501
525
  /**
502
- * Indicates whether all webhook validations passed
526
+ * Indicates whether all webhook validations passed.
503
527
  */
504
528
  allPassed: boolean;
505
529
  /**
@@ -507,11 +531,11 @@ interface WebhooksValidateResponse {
507
531
  */
508
532
  results: {
509
533
  /**
510
- * Indicates whether the webhook responded with a 2xx HTTP status code
534
+ * Indicates whether the webhook responded with a 2xx HTTP status code.
511
535
  */
512
536
  result: "passed" | "failed";
513
537
  /**
514
- * The webhook that was validated
538
+ * The webhook that was validated.
515
539
  */
516
540
  webhook: string;
517
541
  /**
@@ -523,7 +547,7 @@ interface WebhooksValidateResponse {
523
547
  */
524
548
  body?: string;
525
549
  /**
526
- * HTTP status code returned by the webhook
550
+ * HTTP status code returned by the webhook.
527
551
  */
528
552
  status: number;
529
553
  } | null;
@@ -1120,11 +1144,11 @@ interface SuppressionsListOptions {
1120
1144
  */
1121
1145
  source?: Exclude<SuppressionsSource, "all">;
1122
1146
  /**
1123
- * The date and/or time before which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`
1147
+ * The date and/or time before which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`.
1124
1148
  */
1125
1149
  createdBefore?: string;
1126
1150
  /**
1127
- * The date and/or time after which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`
1151
+ * The date and/or time after which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`.
1128
1152
  */
1129
1153
  createdAfter?: string;
1130
1154
  /**
@@ -1274,7 +1298,7 @@ interface DomainsData {
1274
1298
  target: string;
1275
1299
  }[] | null;
1276
1300
  /**
1277
- * A list of aliases for the domain. Mail is accepted for these domains and routed to the `downstreamAddresses` defined for the domain. Must be <= 255 characters
1301
+ * A list of aliases for the domain. Mail is accepted for these domains and routed to the `downstreamAddresses` defined for the domain. Must be <= 255 characters.
1278
1302
  */
1279
1303
  aliases?: string[] | null;
1280
1304
  /**
@@ -1297,6 +1321,9 @@ interface DomainsProvisionOptions {
1297
1321
  type DomainsBulkProvisionOptions = DomainsProvisionOptions & Pick<DomainsData, "subscriptionHandle">;
1298
1322
 
1299
1323
  interface DomainsProvisionResponse {
1324
+ /**
1325
+ * The provisioned domain data.
1326
+ */
1300
1327
  data: DomainsData | null;
1301
1328
  error: string | null;
1302
1329
  }
@@ -1310,6 +1337,9 @@ interface DomainsBulkProvisionResponse {
1310
1337
  * Domains that were successfully provisioned or updated.
1311
1338
  */
1312
1339
  successes: {
1340
+ /**
1341
+ * The provisioned domain data.
1342
+ */
1313
1343
  domain: DomainsData;
1314
1344
  code: number;
1315
1345
  comment?: string;
@@ -1318,6 +1348,9 @@ interface DomainsBulkProvisionResponse {
1318
1348
  * Domains that were not successfully provisioned.
1319
1349
  */
1320
1350
  errors: {
1351
+ /**
1352
+ * The failed to provision domain data.
1353
+ */
1321
1354
  domain: DomainsData;
1322
1355
  code: number;
1323
1356
  comment?: string;
@@ -1332,7 +1365,7 @@ interface DomainsListOptions {
1332
1365
  */
1333
1366
  domains?: string[];
1334
1367
  /**
1335
- * The maximum number of domains included in the response. Possible values are 1 to 5000
1368
+ * The maximum number of domains included in the response. Possible values are 1 to 5000.
1336
1369
  * @default 10
1337
1370
  */
1338
1371
  limit?: number;
@@ -1345,7 +1378,7 @@ interface DomainsListOptions {
1345
1378
 
1346
1379
  interface DomainsListResponse {
1347
1380
  /**
1348
- * A list of domains
1381
+ * A list of domains.
1349
1382
  */
1350
1383
  domains: DomainsData[];
1351
1384
  /**
@@ -1431,7 +1464,7 @@ declare class Domains {
1431
1464
  constructor(mailchannels: MailChannelsClient);
1432
1465
  /**
1433
1466
  * Provision a single domain to use MailChannels Inbound.
1434
- * @param options - The domain data to provision.
1467
+ * @param options - The provision options and domain data.
1435
1468
  * @example
1436
1469
  * ```ts
1437
1470
  * const mailchannels = new MailChannels('your-api-key')
@@ -1445,7 +1478,7 @@ declare class Domains {
1445
1478
  /**
1446
1479
  * Provision up to 1000 domains to use MailChannels Inbound.
1447
1480
  * @param options - The options to provision the domains.
1448
- * @param domains - The list of domains to provision.
1481
+ * @param domains - A list of domain data to provision.
1449
1482
  * @example
1450
1483
  * ```ts
1451
1484
  * const mailchannels = new MailChannels('your-api-key')
@@ -1627,7 +1660,7 @@ declare class Lists {
1627
1660
 
1628
1661
  interface UsersCreateOptions {
1629
1662
  /**
1630
- * Flag to indicate if the user is a domain admin or a regular user
1663
+ * Flag to indicate if the user is a domain admin or a regular user.
1631
1664
  * @default false
1632
1665
  */
1633
1666
  admin?: boolean;
@@ -1640,7 +1673,7 @@ interface UsersCreateOptions {
1640
1673
  */
1641
1674
  filter?: boolean | "compute";
1642
1675
  /**
1643
- * safelist and blocklist entries to be added
1676
+ * safelist and blocklist entries to be added.
1644
1677
  */
1645
1678
  listEntries?: {
1646
1679
  blocklist?: string[];
@@ -1746,7 +1779,7 @@ interface ServiceReportOptions {
1746
1779
  */
1747
1780
  messageContent: string;
1748
1781
  /**
1749
- * The SMTP envelope information
1782
+ * The SMTP envelope information.
1750
1783
  */
1751
1784
  smtpEnvelopeInformation?: {
1752
1785
  ehlo: string;
@@ -187,13 +187,13 @@ interface EmailsSendOptionsBase {
187
187
  type EmailsSendOptions = EmailsSendOptionsBase & (
188
188
  | {
189
189
  /**
190
- * The HTML content of the email
190
+ * The HTML content of the email.
191
191
  * @example
192
192
  * '<p>Hello World</p>'
193
193
  */
194
194
  html: string;
195
195
  /**
196
- * The plain text content of the email (optional when html is provided)
196
+ * The plain text content of the email (optional when html is provided).
197
197
  * @example
198
198
  * 'Hello World'
199
199
  */
@@ -201,13 +201,13 @@ type EmailsSendOptions = EmailsSendOptionsBase & (
201
201
  }
202
202
  | {
203
203
  /**
204
- * The HTML content of the email (optional when text is provided)
204
+ * The HTML content of the email (optional when text is provided).
205
205
  * @example
206
206
  * '<p>Hello World</p>'
207
207
  */
208
208
  html?: string;
209
209
  /**
210
- * The plain text content of the email
210
+ * The plain text content of the email.
211
211
  * @example
212
212
  * 'Hello World'
213
213
  */
@@ -217,13 +217,37 @@ type EmailsSendOptions = EmailsSendOptionsBase & (
217
217
 
218
218
  interface EmailsSendResponse {
219
219
  /**
220
- * Indicates if the email was successfully sent
220
+ * Indicates if the email was successfully sent.
221
221
  */
222
222
  success: boolean;
223
- /**
224
- * Fully rendered message if `dryRun` was set to `true`
225
- */
226
- data?: string[];
223
+ data: {
224
+ /**
225
+ * Fully rendered message if `dryRun` was set to `true`. A string representation of a rendered message, one per personalization in the request.
226
+ */
227
+ rendered?: string[];
228
+ /**
229
+ * The Request ID is a unique identifier generated by the service to track the HTTP request. It will also be included in all webhooks for reference.
230
+ */
231
+ requestId?: string;
232
+ results?: {
233
+ /**
234
+ * The index of the personalization in the request. Starts at 0.
235
+ */
236
+ index?: number;
237
+ /**
238
+ * The Message ID is a unique identifier generated by the service. Each personalization has a distinct Message ID, which is also used in the `Message-Id` header and included in webhooks.
239
+ */
240
+ messageId: string;
241
+ /**
242
+ * A human-readable explanation of the status.
243
+ */
244
+ reason?: string;
245
+ /**
246
+ * The status of the message. Note that 'sent' is a temporary status; the final status will be provided through webhooks, if configured.
247
+ */
248
+ status: "sent" | "failed";
249
+ }[];
250
+ } | null;
227
251
  error: string | null;
228
252
  }
229
253
 
@@ -402,7 +426,7 @@ interface EmailsUpdateDkimKeyOptions {
402
426
  */
403
427
  selector: string;
404
428
  /**
405
- * New status of the DKIM key pair
429
+ * New status of the DKIM key pair.
406
430
  * - `revoked`: Indicates that the key is compromised and should not be used.
407
431
  * - `retired`: Indicates that the key has been rotated and is no longer in use.
408
432
  */
@@ -419,7 +443,7 @@ declare class Emails {
419
443
  * @example
420
444
  * ```ts
421
445
  * const mailchannels = new MailChannels('your-api-key')
422
- * const { success } = await mailchannels.emails.send({
446
+ * const { success, data } = await mailchannels.emails.send({
423
447
  * to: 'to@example.com',
424
448
  * from: 'from@example.com',
425
449
  * subject: 'Test',
@@ -499,7 +523,7 @@ interface WebhooksSigningKeyResponse {
499
523
 
500
524
  interface WebhooksValidateResponse {
501
525
  /**
502
- * Indicates whether all webhook validations passed
526
+ * Indicates whether all webhook validations passed.
503
527
  */
504
528
  allPassed: boolean;
505
529
  /**
@@ -507,11 +531,11 @@ interface WebhooksValidateResponse {
507
531
  */
508
532
  results: {
509
533
  /**
510
- * Indicates whether the webhook responded with a 2xx HTTP status code
534
+ * Indicates whether the webhook responded with a 2xx HTTP status code.
511
535
  */
512
536
  result: "passed" | "failed";
513
537
  /**
514
- * The webhook that was validated
538
+ * The webhook that was validated.
515
539
  */
516
540
  webhook: string;
517
541
  /**
@@ -523,7 +547,7 @@ interface WebhooksValidateResponse {
523
547
  */
524
548
  body?: string;
525
549
  /**
526
- * HTTP status code returned by the webhook
550
+ * HTTP status code returned by the webhook.
527
551
  */
528
552
  status: number;
529
553
  } | null;
@@ -1120,11 +1144,11 @@ interface SuppressionsListOptions {
1120
1144
  */
1121
1145
  source?: Exclude<SuppressionsSource, "all">;
1122
1146
  /**
1123
- * The date and/or time before which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`
1147
+ * The date and/or time before which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`.
1124
1148
  */
1125
1149
  createdBefore?: string;
1126
1150
  /**
1127
- * The date and/or time after which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`
1151
+ * The date and/or time after which the suppression entries were created. Format: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SSZ`.
1128
1152
  */
1129
1153
  createdAfter?: string;
1130
1154
  /**
@@ -1274,7 +1298,7 @@ interface DomainsData {
1274
1298
  target: string;
1275
1299
  }[] | null;
1276
1300
  /**
1277
- * A list of aliases for the domain. Mail is accepted for these domains and routed to the `downstreamAddresses` defined for the domain. Must be <= 255 characters
1301
+ * A list of aliases for the domain. Mail is accepted for these domains and routed to the `downstreamAddresses` defined for the domain. Must be <= 255 characters.
1278
1302
  */
1279
1303
  aliases?: string[] | null;
1280
1304
  /**
@@ -1297,6 +1321,9 @@ interface DomainsProvisionOptions {
1297
1321
  type DomainsBulkProvisionOptions = DomainsProvisionOptions & Pick<DomainsData, "subscriptionHandle">;
1298
1322
 
1299
1323
  interface DomainsProvisionResponse {
1324
+ /**
1325
+ * The provisioned domain data.
1326
+ */
1300
1327
  data: DomainsData | null;
1301
1328
  error: string | null;
1302
1329
  }
@@ -1310,6 +1337,9 @@ interface DomainsBulkProvisionResponse {
1310
1337
  * Domains that were successfully provisioned or updated.
1311
1338
  */
1312
1339
  successes: {
1340
+ /**
1341
+ * The provisioned domain data.
1342
+ */
1313
1343
  domain: DomainsData;
1314
1344
  code: number;
1315
1345
  comment?: string;
@@ -1318,6 +1348,9 @@ interface DomainsBulkProvisionResponse {
1318
1348
  * Domains that were not successfully provisioned.
1319
1349
  */
1320
1350
  errors: {
1351
+ /**
1352
+ * The failed to provision domain data.
1353
+ */
1321
1354
  domain: DomainsData;
1322
1355
  code: number;
1323
1356
  comment?: string;
@@ -1332,7 +1365,7 @@ interface DomainsListOptions {
1332
1365
  */
1333
1366
  domains?: string[];
1334
1367
  /**
1335
- * The maximum number of domains included in the response. Possible values are 1 to 5000
1368
+ * The maximum number of domains included in the response. Possible values are 1 to 5000.
1336
1369
  * @default 10
1337
1370
  */
1338
1371
  limit?: number;
@@ -1345,7 +1378,7 @@ interface DomainsListOptions {
1345
1378
 
1346
1379
  interface DomainsListResponse {
1347
1380
  /**
1348
- * A list of domains
1381
+ * A list of domains.
1349
1382
  */
1350
1383
  domains: DomainsData[];
1351
1384
  /**
@@ -1431,7 +1464,7 @@ declare class Domains {
1431
1464
  constructor(mailchannels: MailChannelsClient);
1432
1465
  /**
1433
1466
  * Provision a single domain to use MailChannels Inbound.
1434
- * @param options - The domain data to provision.
1467
+ * @param options - The provision options and domain data.
1435
1468
  * @example
1436
1469
  * ```ts
1437
1470
  * const mailchannels = new MailChannels('your-api-key')
@@ -1445,7 +1478,7 @@ declare class Domains {
1445
1478
  /**
1446
1479
  * Provision up to 1000 domains to use MailChannels Inbound.
1447
1480
  * @param options - The options to provision the domains.
1448
- * @param domains - The list of domains to provision.
1481
+ * @param domains - A list of domain data to provision.
1449
1482
  * @example
1450
1483
  * ```ts
1451
1484
  * const mailchannels = new MailChannels('your-api-key')
@@ -1627,7 +1660,7 @@ declare class Lists {
1627
1660
 
1628
1661
  interface UsersCreateOptions {
1629
1662
  /**
1630
- * Flag to indicate if the user is a domain admin or a regular user
1663
+ * Flag to indicate if the user is a domain admin or a regular user.
1631
1664
  * @default false
1632
1665
  */
1633
1666
  admin?: boolean;
@@ -1640,7 +1673,7 @@ interface UsersCreateOptions {
1640
1673
  */
1641
1674
  filter?: boolean | "compute";
1642
1675
  /**
1643
- * safelist and blocklist entries to be added
1676
+ * safelist and blocklist entries to be added.
1644
1677
  */
1645
1678
  listEntries?: {
1646
1679
  blocklist?: string[];
@@ -1746,7 +1779,7 @@ interface ServiceReportOptions {
1746
1779
  */
1747
1780
  messageContent: string;
1748
1781
  /**
1749
- * The SMTP envelope information
1782
+ * The SMTP envelope information.
1750
1783
  */
1751
1784
  smtpEnvelopeInformation?: {
1752
1785
  ehlo: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailchannels-sdk",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Node.js SDK to integrate MailChannels API into your JavaScript or TypeScript server-side applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -41,18 +41,18 @@
41
41
  "ofetch": "^1.4.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@eslint/compat": "^1.3.2",
45
- "@stylistic/eslint-plugin": "^5.3.1",
46
- "@types/node": "^24.5.1",
47
- "@typescript-eslint/eslint-plugin": "^8.44.0",
48
- "@typescript-eslint/parser": "^8.44.0",
44
+ "@eslint/compat": "^1.4.0",
45
+ "@stylistic/eslint-plugin": "^5.4.0",
46
+ "@types/node": "^24.7.2",
47
+ "@typescript-eslint/eslint-plugin": "^8.46.0",
48
+ "@typescript-eslint/parser": "^8.46.0",
49
49
  "@vitest/coverage-v8": "^3.2.4",
50
50
  "changelogen": "^0.6.2",
51
- "eslint": "^9.35.0",
51
+ "eslint": "^9.37.0",
52
52
  "eslint-plugin-import-x": "^4.16.1",
53
- "jiti": "^2.5.1",
53
+ "jiti": "^2.6.1",
54
54
  "scule": "^1.3.0",
55
- "typescript": "^5.9.2",
55
+ "typescript": "^5.9.3",
56
56
  "unbuild": "^3.6.1",
57
57
  "vitepress": "^1.6.4",
58
58
  "vitepress-plugin-group-icons": "^1.6.3",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "scripts": {
62
62
  "build": "unbuild",
63
- "release": "npm run lint && npm run test && pnpm build && changelogen --release && git push --follow-tags",
63
+ "release": "pnpm lint && pnpm test && pnpm build && changelogen --release && git push --follow-tags",
64
64
  "lint": "eslint",
65
65
  "lint:fix": "eslint --fix",
66
66
  "test": "vitest run --reporter=verbose --coverage",