proxymail-qa 0.11.1 → 0.11.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/dist/index.d.ts CHANGED
@@ -166,11 +166,12 @@ export interface AddressPatch {
166
166
  country?: string | null;
167
167
  }
168
168
  export interface Refusal {
169
- reason: 'too_large' | 'address_limit' | 'daily_limit';
169
+ reason: 'too_large' | 'address_limit' | 'daily_limit' | 'blocked_site';
170
170
  first_at: string;
171
171
  last_at: string;
172
172
  count: number;
173
173
  size_bytes: number | null;
174
+ site?: string | null;
174
175
  }
175
176
  export interface DeliveryStatus {
176
177
  address: string;
package/dist/index.js CHANGED
@@ -99,7 +99,8 @@ export class ProxyMailQA {
99
99
  // environments, email prefix or default mail domain (one of project()'s
100
100
  // mail_domains). Only the fields given change; null clears website or
101
101
  // emailPrefix. Needs the project's lead (or an organisation owner or
102
- // admin), and is in the project's activity log.
102
+ // admin), and is in the project's activity log. A website on a site Proxy
103
+ // Mail QA doesn't work with is refused, as for createAddress's site.
103
104
  updateProject(patch) {
104
105
  const { emailPrefix, mailDomain, ...rest } = patch;
105
106
  return this.request('PATCH', '/project', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proxymail-qa",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Test every email your app sends from Playwright, Cypress, Jest, Vitest or any Node script: disposable inboxes, sign-up codes, links and coupons, email checks, unsubscribe tests and run reports.",
5
5
  "license": "MIT",
6
6
  "author": "Proxy Mail QA <hello@proxymail.qa> (https://proxymail.qa)",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@playwright/test": "^1.64.1",
79
- "typescript": "^5.6.0",
80
- "vitest": "^5.0.3"
79
+ "typescript": "^6.0.3",
80
+ "vitest": "^5.0.5"
81
81
  }
82
82
  }