hibp 15.2.1 → 16.0.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/API.md +433 -126
- package/CHANGELOG.md +44 -0
- package/MIGRATION.md +7 -5
- package/README.md +53 -27
- package/dist/browser/hibp.module.js +2 -2
- package/dist/esm/api/base-fetch.d.ts +3 -1
- package/dist/esm/api/base-fetch.js +20 -7
- package/dist/esm/api/base-fetch.js.map +1 -1
- package/dist/esm/api/haveibeenpwned/fetch-from-api.d.ts +1 -1
- package/dist/esm/api/haveibeenpwned/fetch-from-api.js +71 -24
- package/dist/esm/api/haveibeenpwned/fetch-from-api.js.map +1 -1
- package/dist/esm/api/haveibeenpwned/package-info.d.ts +1 -1
- package/dist/esm/api/haveibeenpwned/package-info.js +1 -1
- package/dist/esm/api/haveibeenpwned/post-to-api.d.ts +1 -0
- package/dist/esm/api/haveibeenpwned/post-to-api.js +31 -0
- package/dist/esm/api/haveibeenpwned/post-to-api.js.map +1 -0
- package/dist/esm/api/haveibeenpwned/responses.js +8 -7
- package/dist/esm/api/haveibeenpwned/responses.js.map +1 -1
- package/dist/esm/api/haveibeenpwned/types.d.ts +22 -2
- package/dist/esm/api/pwnedpasswords/fetch-from-api.js +4 -4
- package/dist/esm/api/pwnedpasswords/fetch-from-api.js.map +1 -1
- package/dist/esm/api/pwnedpasswords/responses.js +1 -1
- package/dist/esm/breach.d.ts +8 -1
- package/dist/esm/breach.js +8 -1
- package/dist/esm/breach.js.map +1 -1
- package/dist/esm/breached-account-range.d.ts +73 -0
- package/dist/esm/breached-account-range.js +60 -0
- package/dist/esm/breached-account-range.js.map +1 -0
- package/dist/esm/breached-account.d.ts +56 -45
- package/dist/esm/breached-account.js +4 -76
- package/dist/esm/breached-account.js.map +1 -1
- package/dist/esm/breached-domain.d.ts +2 -3
- package/dist/esm/breached-domain.js +2 -3
- package/dist/esm/breached-domain.js.map +1 -1
- package/dist/esm/breaches.d.ts +9 -2
- package/dist/esm/breaches.js +10 -5
- package/dist/esm/breaches.js.map +1 -1
- package/dist/esm/data-class-descriptions.d.ts +55 -0
- package/dist/esm/data-class-descriptions.js +39 -0
- package/dist/esm/data-class-descriptions.js.map +1 -0
- package/dist/esm/data-classes.js +2 -2
- package/dist/esm/data-classes.js.map +1 -1
- package/dist/esm/generate-dns-token.d.ts +67 -0
- package/dist/esm/generate-dns-token.js +48 -0
- package/dist/esm/generate-dns-token.js.map +1 -0
- package/dist/esm/hibp.d.ts +28 -18
- package/dist/esm/hibp.js +23 -18
- package/dist/esm/hibp.js.map +1 -1
- package/dist/esm/latest-breach.d.ts +1 -1
- package/dist/esm/latest-breach.js +2 -2
- package/dist/esm/latest-breach.js.map +1 -1
- package/dist/esm/paste-account.d.ts +8 -8
- package/dist/esm/paste-account.js +8 -8
- package/dist/esm/paste-account.js.map +1 -1
- package/dist/esm/pwned-password-range.d.ts +1 -1
- package/dist/esm/pwned-password-range.js +4 -4
- package/dist/esm/pwned-password-range.js.map +1 -1
- package/dist/esm/pwned-password.js +6 -6
- package/dist/esm/pwned-password.js.map +1 -1
- package/dist/esm/search.d.ts +57 -40
- package/dist/esm/search.js +3 -72
- package/dist/esm/search.js.map +1 -1
- package/dist/esm/send-email.d.ts +69 -0
- package/dist/esm/send-email.js +49 -0
- package/dist/esm/send-email.js.map +1 -0
- package/dist/esm/stealer-logs-by-email-domain.d.ts +8 -9
- package/dist/esm/stealer-logs-by-email-domain.js +8 -9
- package/dist/esm/stealer-logs-by-email-domain.js.map +1 -1
- package/dist/esm/stealer-logs-by-email.d.ts +4 -5
- package/dist/esm/stealer-logs-by-email.js +5 -6
- package/dist/esm/stealer-logs-by-email.js.map +1 -1
- package/dist/esm/stealer-logs-by-website-domain.d.ts +4 -5
- package/dist/esm/stealer-logs-by-website-domain.js +5 -6
- package/dist/esm/stealer-logs-by-website-domain.js.map +1 -1
- package/dist/esm/subscribed-domains.d.ts +2 -3
- package/dist/esm/subscribed-domains.js +3 -4
- package/dist/esm/subscribed-domains.js.map +1 -1
- package/dist/esm/subscription-status.d.ts +11 -6
- package/dist/esm/subscription-status.js +12 -7
- package/dist/esm/subscription-status.js.map +1 -1
- package/dist/esm/verify-dns-token.d.ts +60 -0
- package/dist/esm/verify-dns-token.js +41 -0
- package/dist/esm/verify-dns-token.js.map +1 -0
- package/package.json +55 -56
package/dist/esm/search.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Breach, Paste } from
|
|
1
|
+
import type { Breach, Paste } from "./api/haveibeenpwned/types.js";
|
|
2
2
|
export interface SearchResults {
|
|
3
|
-
breaches: Breach[] | null;
|
|
3
|
+
breaches: Breach[] | Pick<Breach, "Name">[] | null;
|
|
4
4
|
pastes: Paste[] | null;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
@@ -10,6 +10,39 @@ export interface SearchResults {
|
|
|
10
10
|
* @property {(Breach[] | null)} breaches
|
|
11
11
|
* @property {(Paste[] | null)} pastes
|
|
12
12
|
*/
|
|
13
|
+
interface SearchOptions {
|
|
14
|
+
/**
|
|
15
|
+
* an API key from https://haveibeenpwned.com/API/Key (default: undefined)
|
|
16
|
+
*/
|
|
17
|
+
apiKey?: string;
|
|
18
|
+
/**
|
|
19
|
+
* a domain by which to filter the results (default: all domains)
|
|
20
|
+
*/
|
|
21
|
+
domain?: string;
|
|
22
|
+
/**
|
|
23
|
+
* truncate the results to only include the name of each breach (default:
|
|
24
|
+
* true)
|
|
25
|
+
*/
|
|
26
|
+
truncate?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* a custom base URL for the haveibeenpwned.com API endpoints (default:
|
|
29
|
+
* `https://haveibeenpwned.com/api/v3`)
|
|
30
|
+
*/
|
|
31
|
+
baseUrl?: string;
|
|
32
|
+
/**
|
|
33
|
+
* timeout for the request in milliseconds (default: none)
|
|
34
|
+
*/
|
|
35
|
+
timeoutMs?: number;
|
|
36
|
+
/**
|
|
37
|
+
* an AbortSignal to cancel the request (default: none)
|
|
38
|
+
*/
|
|
39
|
+
signal?: AbortSignal;
|
|
40
|
+
/**
|
|
41
|
+
* a custom string to send as the User-Agent field in the request headers
|
|
42
|
+
* (default: `hibp <version>`)
|
|
43
|
+
*/
|
|
44
|
+
userAgent?: string;
|
|
45
|
+
}
|
|
13
46
|
/**
|
|
14
47
|
* Fetches all breaches and all pastes associated with the provided account
|
|
15
48
|
* (email address or username). Note that the remote API does not support
|
|
@@ -19,11 +52,14 @@ export interface SearchResults {
|
|
|
19
52
|
* exactly how searching via the current web interface behaves, which this
|
|
20
53
|
* convenience method is designed to mimic.
|
|
21
54
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* `
|
|
55
|
+
* Breaches contain only `Name` by default; pass `truncate: false` for full
|
|
56
|
+
* breaches.
|
|
57
|
+
*
|
|
58
|
+
* Requires a Core, Pro, or High RPM API key from
|
|
59
|
+
* https://haveibeenpwned.com/API/Key. The `apiKey` option here is not
|
|
60
|
+
* explicitly required, but direct requests made without it will fail (unless
|
|
61
|
+
* you specify a `baseUrl` to a proxy that inserts a valid API key on your
|
|
62
|
+
* behalf).
|
|
27
63
|
*
|
|
28
64
|
* @param {string} account an email address or username
|
|
29
65
|
* @param {object} [options] a configuration object
|
|
@@ -72,36 +108,17 @@ export interface SearchResults {
|
|
|
72
108
|
* }
|
|
73
109
|
* @see https://haveibeenpwned.com/
|
|
74
110
|
*/
|
|
75
|
-
export declare function search(account: string, options?: {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* a custom base URL for the haveibeenpwned.com API endpoints (default:
|
|
91
|
-
* `https://haveibeenpwned.com/api/v3`)
|
|
92
|
-
*/
|
|
93
|
-
baseUrl?: string;
|
|
94
|
-
/**
|
|
95
|
-
* timeout for the request in milliseconds (default: none)
|
|
96
|
-
*/
|
|
97
|
-
timeoutMs?: number;
|
|
98
|
-
/**
|
|
99
|
-
* an AbortSignal to cancel the request (default: none)
|
|
100
|
-
*/
|
|
101
|
-
signal?: AbortSignal;
|
|
102
|
-
/**
|
|
103
|
-
* a custom string to send as the User-Agent field in the request headers
|
|
104
|
-
* (default: `hibp <version>`)
|
|
105
|
-
*/
|
|
106
|
-
userAgent?: string;
|
|
107
|
-
}): Promise<SearchResults>;
|
|
111
|
+
export declare function search(account: string, options?: SearchOptions & {
|
|
112
|
+
truncate?: true;
|
|
113
|
+
}): Promise<{
|
|
114
|
+
breaches: Pick<Breach, "Name">[] | null;
|
|
115
|
+
pastes: Paste[] | null;
|
|
116
|
+
}>;
|
|
117
|
+
export declare function search(account: string, options: SearchOptions & {
|
|
118
|
+
truncate: false;
|
|
119
|
+
}): Promise<{
|
|
120
|
+
breaches: Breach[] | null;
|
|
121
|
+
pastes: Paste[] | null;
|
|
122
|
+
}>;
|
|
123
|
+
export declare function search(account: string, options?: SearchOptions): Promise<SearchResults>;
|
|
124
|
+
export {};
|
package/dist/esm/search.js
CHANGED
|
@@ -1,76 +1,7 @@
|
|
|
1
|
-
import { breachedAccount } from
|
|
2
|
-
import { pasteAccount } from
|
|
3
|
-
/**
|
|
4
|
-
* An object representing search results.
|
|
5
|
-
*
|
|
6
|
-
* @typedef {object} SearchResults
|
|
7
|
-
* @property {(Breach[] | null)} breaches
|
|
8
|
-
* @property {(Paste[] | null)} pastes
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Fetches all breaches and all pastes associated with the provided account
|
|
12
|
-
* (email address or username). Note that the remote API does not support
|
|
13
|
-
* querying pastes by username (only email addresses), so in the event the
|
|
14
|
-
* provided account is not a valid email address, only breach data is queried
|
|
15
|
-
* and the "pastes" field of the resulting object will always be null. This is
|
|
16
|
-
* exactly how searching via the current web interface behaves, which this
|
|
17
|
-
* convenience method is designed to mimic.
|
|
18
|
-
*
|
|
19
|
-
* 🔑 `haveibeenpwned.com` requires an API key from
|
|
20
|
-
* https://haveibeenpwned.com/API/Key for the `breachedaccount` and
|
|
21
|
-
* `pasteaccount` endpoints. The `apiKey` option here is not explicitly
|
|
22
|
-
* required, but direct requests made without it will fail (unless you specify a
|
|
23
|
-
* `baseUrl` to a proxy that inserts a valid API key on your behalf).
|
|
24
|
-
*
|
|
25
|
-
* @param {string} account an email address or username
|
|
26
|
-
* @param {object} [options] a configuration object
|
|
27
|
-
* @param {string} [options.apiKey] an API key from
|
|
28
|
-
* https://haveibeenpwned.com/API/Key (default: undefined)
|
|
29
|
-
* @param {string} [options.domain] a domain by which to filter the breach
|
|
30
|
-
* results (default: all domains)
|
|
31
|
-
* @param {boolean} [options.truncate] truncate the breach results to only
|
|
32
|
-
* include the name of each breach (default: true)
|
|
33
|
-
* @param {string} [options.baseUrl] a custom base URL for the
|
|
34
|
-
* haveibeenpwned.com API endpoints (default:
|
|
35
|
-
* `https://haveibeenpwned.com/api/v3`)
|
|
36
|
-
* @param {number} [options.timeoutMs] timeout for the request in milliseconds
|
|
37
|
-
* (default: none)
|
|
38
|
-
* @param {AbortSignal} [options.signal] an AbortSignal to cancel the request (default: none)
|
|
39
|
-
* @param {string} [options.userAgent] a custom string to send as the
|
|
40
|
-
* User-Agent field in the request headers (default: `hibp <version>`)
|
|
41
|
-
* @returns {Promise<SearchResults>} a Promise which resolves to an object
|
|
42
|
-
* containing a "breaches" key (which can be null or an array of breach objects)
|
|
43
|
-
* and a "pastes" key (which can be null or an array of paste objects), or
|
|
44
|
-
* rejects with an Error
|
|
45
|
-
* @example
|
|
46
|
-
* try {
|
|
47
|
-
* const data = await search("foo", { apiKey: "my-api-key" });
|
|
48
|
-
* if (data.breaches || data.pastes) {
|
|
49
|
-
* // ...
|
|
50
|
-
* } else {
|
|
51
|
-
* // ...
|
|
52
|
-
* }
|
|
53
|
-
* } catch (err) {
|
|
54
|
-
* // ...
|
|
55
|
-
* }
|
|
56
|
-
* @example
|
|
57
|
-
* try {
|
|
58
|
-
* const data = await search("nobody@nowhere.com", {
|
|
59
|
-
* baseUrl: "https://my-hibp-proxy:8080",
|
|
60
|
-
* truncate: false,
|
|
61
|
-
* });
|
|
62
|
-
* if (data.breaches || data.pastes) {
|
|
63
|
-
* // ...
|
|
64
|
-
* } else {
|
|
65
|
-
* // ...
|
|
66
|
-
* }
|
|
67
|
-
* } catch (err) {
|
|
68
|
-
* // ...
|
|
69
|
-
* }
|
|
70
|
-
* @see https://haveibeenpwned.com/
|
|
71
|
-
*/
|
|
1
|
+
import { breachedAccount } from "./breached-account.js";
|
|
2
|
+
import { pasteAccount } from "./paste-account.js";
|
|
72
3
|
export async function search(account, options = {}) {
|
|
73
|
-
const { apiKey, domain, truncate = true, baseUrl, timeoutMs, signal, userAgent } = options;
|
|
4
|
+
const { apiKey, domain, truncate = true, baseUrl, timeoutMs, signal, userAgent, } = options;
|
|
74
5
|
const [breaches, pastes] = await Promise.all([
|
|
75
6
|
breachedAccount(account, {
|
|
76
7
|
apiKey,
|
package/dist/esm/search.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AA8HlD,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,OAAe,EACf,OAAO,GAAkB,EAAE;IAE3B,MAAM,EACJ,MAAM,EACN,MAAM,EACN,QAAQ,GAAG,IAAI,EACf,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,GACV,GAAG,OAAO,CAAC;IAEZ,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC3C,eAAe,CAAC,OAAO,EAAE;YACvB,MAAM;YACN,MAAM;YACN,QAAQ;YACR,OAAO;YACP,SAAS;YACT,MAAM;YACN,SAAS;SACV,CAAC;QACF,oEAAoE;QACpE,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACrB,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;YAC1E,CAAC,CAAC,IAAI;KACT,CAAC,CAAC;IAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { EmailAlias } from "./api/haveibeenpwned/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* An administrative alias supported for domain verification emails.
|
|
4
|
+
*
|
|
5
|
+
* @typedef {("admin"|"hostmaster"|"info"|"security"|"webmaster")} EmailAlias
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Requests a domain verification approval email.
|
|
9
|
+
*
|
|
10
|
+
* Follow the link sent to the chosen alias at the domain to complete
|
|
11
|
+
* verification.
|
|
12
|
+
*
|
|
13
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
14
|
+
* option here is not explicitly required, but direct requests made without it
|
|
15
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
16
|
+
* key on your behalf).
|
|
17
|
+
*
|
|
18
|
+
* @see https://haveibeenpwned.com/API/v3#VerifyDomainViaEmail
|
|
19
|
+
* @param {string} domain the domain to verify (e.g., "example.com")
|
|
20
|
+
* @param {EmailAlias} emailAlias the administrative alias to
|
|
21
|
+
* receive the email
|
|
22
|
+
* @param {object} [options] a configuration object
|
|
23
|
+
* @param {string} [options.apiKey] an API key from
|
|
24
|
+
* https://haveibeenpwned.com/API/Key (default: undefined)
|
|
25
|
+
* @param {string} [options.baseUrl] a custom base URL for the
|
|
26
|
+
* haveibeenpwned.com API endpoints (default:
|
|
27
|
+
* `https://haveibeenpwned.com/api/v3`)
|
|
28
|
+
* @param {number} [options.timeoutMs] timeout for the request in milliseconds
|
|
29
|
+
* (default: none)
|
|
30
|
+
* @param {AbortSignal} [options.signal] an AbortSignal to cancel the request (default: none)
|
|
31
|
+
* @param {string} [options.userAgent] a custom string to send as the User-Agent
|
|
32
|
+
* field in the request headers (default: `hibp <version>`)
|
|
33
|
+
* @returns {Promise<void>} a Promise which resolves without parsing the
|
|
34
|
+
* response body when the approval email request succeeds, or rejects with an
|
|
35
|
+
* Error containing the upstream failure reason
|
|
36
|
+
* @example
|
|
37
|
+
* try {
|
|
38
|
+
* await sendEmail("example.com", "security", {
|
|
39
|
+
* apiKey: "my-api-key",
|
|
40
|
+
* });
|
|
41
|
+
* // Follow the link in the email sent to security@example.com.
|
|
42
|
+
* } catch (err) {
|
|
43
|
+
* // ...
|
|
44
|
+
* }
|
|
45
|
+
*/
|
|
46
|
+
export declare function sendEmail(domain: string, emailAlias: EmailAlias, options?: {
|
|
47
|
+
/**
|
|
48
|
+
* an API key from https://haveibeenpwned.com/API/Key (default: undefined)
|
|
49
|
+
*/
|
|
50
|
+
apiKey?: string;
|
|
51
|
+
/**
|
|
52
|
+
* a custom base URL for the haveibeenpwned.com API endpoints (default:
|
|
53
|
+
* `https://haveibeenpwned.com/api/v3`)
|
|
54
|
+
*/
|
|
55
|
+
baseUrl?: string;
|
|
56
|
+
/**
|
|
57
|
+
* timeout for the request in milliseconds (default: none)
|
|
58
|
+
*/
|
|
59
|
+
timeoutMs?: number;
|
|
60
|
+
/**
|
|
61
|
+
* an AbortSignal to cancel the request (default: none)
|
|
62
|
+
*/
|
|
63
|
+
signal?: AbortSignal;
|
|
64
|
+
/**
|
|
65
|
+
* a custom string to send as the User-Agent field in the request headers
|
|
66
|
+
* (default: `hibp <version>`)
|
|
67
|
+
*/
|
|
68
|
+
userAgent?: string;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { postToApi } from "./api/haveibeenpwned/post-to-api.js";
|
|
2
|
+
/**
|
|
3
|
+
* An administrative alias supported for domain verification emails.
|
|
4
|
+
*
|
|
5
|
+
* @typedef {("admin"|"hostmaster"|"info"|"security"|"webmaster")} EmailAlias
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Requests a domain verification approval email.
|
|
9
|
+
*
|
|
10
|
+
* Follow the link sent to the chosen alias at the domain to complete
|
|
11
|
+
* verification.
|
|
12
|
+
*
|
|
13
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
14
|
+
* option here is not explicitly required, but direct requests made without it
|
|
15
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
16
|
+
* key on your behalf).
|
|
17
|
+
*
|
|
18
|
+
* @see https://haveibeenpwned.com/API/v3#VerifyDomainViaEmail
|
|
19
|
+
* @param {string} domain the domain to verify (e.g., "example.com")
|
|
20
|
+
* @param {EmailAlias} emailAlias the administrative alias to
|
|
21
|
+
* receive the email
|
|
22
|
+
* @param {object} [options] a configuration object
|
|
23
|
+
* @param {string} [options.apiKey] an API key from
|
|
24
|
+
* https://haveibeenpwned.com/API/Key (default: undefined)
|
|
25
|
+
* @param {string} [options.baseUrl] a custom base URL for the
|
|
26
|
+
* haveibeenpwned.com API endpoints (default:
|
|
27
|
+
* `https://haveibeenpwned.com/api/v3`)
|
|
28
|
+
* @param {number} [options.timeoutMs] timeout for the request in milliseconds
|
|
29
|
+
* (default: none)
|
|
30
|
+
* @param {AbortSignal} [options.signal] an AbortSignal to cancel the request (default: none)
|
|
31
|
+
* @param {string} [options.userAgent] a custom string to send as the User-Agent
|
|
32
|
+
* field in the request headers (default: `hibp <version>`)
|
|
33
|
+
* @returns {Promise<void>} a Promise which resolves without parsing the
|
|
34
|
+
* response body when the approval email request succeeds, or rejects with an
|
|
35
|
+
* Error containing the upstream failure reason
|
|
36
|
+
* @example
|
|
37
|
+
* try {
|
|
38
|
+
* await sendEmail("example.com", "security", {
|
|
39
|
+
* apiKey: "my-api-key",
|
|
40
|
+
* });
|
|
41
|
+
* // Follow the link in the email sent to security@example.com.
|
|
42
|
+
* } catch (err) {
|
|
43
|
+
* // ...
|
|
44
|
+
* }
|
|
45
|
+
*/
|
|
46
|
+
export async function sendEmail(domain, emailAlias, options = {}) {
|
|
47
|
+
await postToApi("/domainVerification/sendEmail", { DomainName: domain, EmailAlias: emailAlias }, options);
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=send-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-email.js","sourceRoot":"","sources":["../../src/send-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAGhE;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAC7B,MAAc,EACd,UAAsB,EACtB,OAAO,GAuBH,EAAE;IAEN,MAAM,SAAS,CACb,+BAA+B,EAC/B,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,EAC9C,OAAO,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { StealerLogDomainsByEmailAlias } from
|
|
1
|
+
import type { StealerLogDomainsByEmailAlias } from "./api/haveibeenpwned/types.js";
|
|
2
2
|
/**
|
|
3
3
|
* An object mapping an email alias (local-part before the '@') to the list of
|
|
4
|
-
*
|
|
5
|
-
* email domain.
|
|
4
|
+
* website domains that alias has appeared against in stealer logs for the
|
|
5
|
+
* specified email domain.
|
|
6
6
|
*
|
|
7
7
|
* @typedef {Object.<string, string[]>} StealerLogDomainsByEmailAlias
|
|
8
8
|
*/
|
|
@@ -10,15 +10,14 @@ import type { StealerLogDomainsByEmailAlias } from './api/haveibeenpwned/types.j
|
|
|
10
10
|
* Fetches all stealer log email aliases for an email domain.
|
|
11
11
|
*
|
|
12
12
|
* The result maps email aliases (the local-part before the '@') to an array of
|
|
13
|
-
*
|
|
13
|
+
* website domains found in stealer logs. For example, querying `example.com`
|
|
14
14
|
* could return an object like `{ "andy": ["netflix.com"], "jane": ["netflix.com",
|
|
15
15
|
* "spotify.com"] }`, corresponding to `andy@example.com` and `jane@example.com`.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* a valid API key on your behalf).
|
|
17
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
18
|
+
* option here is not explicitly required, but direct requests made without it
|
|
19
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
20
|
+
* key on your behalf).
|
|
22
21
|
*
|
|
23
22
|
* @param {string} emailDomain the email domain to query (e.g., "example.com")
|
|
24
23
|
* @param {object} [options] a configuration object
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { fetchFromApi } from
|
|
1
|
+
import { fetchFromApi } from "./api/haveibeenpwned/fetch-from-api.js";
|
|
2
2
|
/**
|
|
3
3
|
* An object mapping an email alias (local-part before the '@') to the list of
|
|
4
|
-
*
|
|
5
|
-
* email domain.
|
|
4
|
+
* website domains that alias has appeared against in stealer logs for the
|
|
5
|
+
* specified email domain.
|
|
6
6
|
*
|
|
7
7
|
* @typedef {Object.<string, string[]>} StealerLogDomainsByEmailAlias
|
|
8
8
|
*/
|
|
@@ -10,15 +10,14 @@ import { fetchFromApi } from './api/haveibeenpwned/fetch-from-api.js';
|
|
|
10
10
|
* Fetches all stealer log email aliases for an email domain.
|
|
11
11
|
*
|
|
12
12
|
* The result maps email aliases (the local-part before the '@') to an array of
|
|
13
|
-
*
|
|
13
|
+
* website domains found in stealer logs. For example, querying `example.com`
|
|
14
14
|
* could return an object like `{ "andy": ["netflix.com"], "jane": ["netflix.com",
|
|
15
15
|
* "spotify.com"] }`, corresponding to `andy@example.com` and `jane@example.com`.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* a valid API key on your behalf).
|
|
17
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
18
|
+
* option here is not explicitly required, but direct requests made without it
|
|
19
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
20
|
+
* key on your behalf).
|
|
22
21
|
*
|
|
23
22
|
* @param {string} emailDomain the email domain to query (e.g., "example.com")
|
|
24
23
|
* @param {object} [options] a configuration object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stealer-logs-by-email-domain.js","sourceRoot":"","sources":["../../src/stealer-logs-by-email-domain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;GAMG;AAEH
|
|
1
|
+
{"version":3,"file":"stealer-logs-by-email-domain.js","sourceRoot":"","sources":["../../src/stealer-logs-by-email-domain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,UAAU,wBAAwB,CACtC,WAAmB,EACnB,OAAO,GAuBH,EAAE;IAEN,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAClE,MAAM,QAAQ,GAAG,6BAA6B,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;IAEhF,OAAO,YAAY,CAAC,QAAQ,EAAE;QAC5B,MAAM;QACN,OAAO;QACP,SAAS;QACT,MAAM;QACN,SAAS;KACV,CAAkD,CAAC;AACtD,CAAC"}
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
* Returns an array of domains for which stealer logs contain entries for the
|
|
5
5
|
* supplied email address.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
*
|
|
11
|
-
* a valid API key on your behalf).
|
|
7
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
8
|
+
* option here is not explicitly required, but direct requests made without it
|
|
9
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
10
|
+
* key on your behalf).
|
|
12
11
|
*
|
|
13
12
|
* @param {string} emailAddress the email address to query
|
|
14
13
|
* @param {object} [options] a configuration object
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { fetchFromApi } from
|
|
1
|
+
import { fetchFromApi } from "./api/haveibeenpwned/fetch-from-api.js";
|
|
2
2
|
/**
|
|
3
3
|
* Fetches all stealer log domains for an email address.
|
|
4
4
|
*
|
|
5
5
|
* Returns an array of domains for which stealer logs contain entries for the
|
|
6
6
|
* supplied email address.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* `
|
|
11
|
-
*
|
|
12
|
-
* a valid API key on your behalf).
|
|
8
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
9
|
+
* option here is not explicitly required, but direct requests made without it
|
|
10
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
11
|
+
* key on your behalf).
|
|
13
12
|
*
|
|
14
13
|
* @param {string} emailAddress the email address to query
|
|
15
14
|
* @param {object} [options] a configuration object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stealer-logs-by-email.js","sourceRoot":"","sources":["../../src/stealer-logs-by-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE
|
|
1
|
+
{"version":3,"file":"stealer-logs-by-email.js","sourceRoot":"","sources":["../../src/stealer-logs-by-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,UAAU,kBAAkB,CAChC,YAAoB,EACpB,OAAO,GAuBH,EAAE;IAEN,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAClE,MAAM,QAAQ,GAAG,uBAAuB,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC;IAE3E,OAAO,YAAY,CAAC,QAAQ,EAAE;QAC5B,MAAM;QACN,OAAO;QACP,SAAS;QACT,MAAM;QACN,SAAS;KACV,CAA6B,CAAC;AACjC,CAAC"}
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
* The result is an array of strings representing email addresses found in
|
|
5
5
|
* stealer logs for the specified website domain (e.g., "example.com").
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* that inserts a valid API key on your behalf).
|
|
7
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
8
|
+
* option here is not explicitly required, but direct requests made without it
|
|
9
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
10
|
+
* key on your behalf).
|
|
12
11
|
*
|
|
13
12
|
* @param {string} websiteDomain the website domain to query (e.g., "example.com")
|
|
14
13
|
* @param {object} [options] a configuration object
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { fetchFromApi } from
|
|
1
|
+
import { fetchFromApi } from "./api/haveibeenpwned/fetch-from-api.js";
|
|
2
2
|
/**
|
|
3
3
|
* Fetches all stealer log email addresses for a website domain.
|
|
4
4
|
*
|
|
5
5
|
* The result is an array of strings representing email addresses found in
|
|
6
6
|
* stealer logs for the specified website domain (e.g., "example.com").
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* that inserts a valid API key on your behalf).
|
|
8
|
+
* Requires a Pro API key from https://haveibeenpwned.com/API/Key. The `apiKey`
|
|
9
|
+
* option here is not explicitly required, but direct requests made without it
|
|
10
|
+
* will fail (unless you specify a `baseUrl` to a proxy that inserts a valid API
|
|
11
|
+
* key on your behalf).
|
|
13
12
|
*
|
|
14
13
|
* @param {string} websiteDomain the website domain to query (e.g., "example.com")
|
|
15
14
|
* @param {object} [options] a configuration object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stealer-logs-by-website-domain.js","sourceRoot":"","sources":["../../src/stealer-logs-by-website-domain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE
|
|
1
|
+
{"version":3,"file":"stealer-logs-by-website-domain.js","sourceRoot":"","sources":["../../src/stealer-logs-by-website-domain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,UAAU,0BAA0B,CACxC,aAAqB,EACrB,OAAO,GAuBH,EAAE;IAEN,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAClE,MAAM,QAAQ,GAAG,+BAA+B,kBAAkB,CAAC,aAAa,CAAC,EAAE,CAAC;IAEpF,OAAO,YAAY,CAAC,QAAQ,EAAE;QAC5B,MAAM;QACN,OAAO;QACP,SAAS;QACT,MAAM;QACN,SAAS;KACV,CAA6B,CAAC;AACjC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SubscribedDomain } from
|
|
1
|
+
import type { SubscribedDomain } from "./api/haveibeenpwned/types.js";
|
|
2
2
|
/**
|
|
3
3
|
* An object representing a subscribed domain.
|
|
4
4
|
*
|
|
@@ -16,8 +16,7 @@ import type { SubscribedDomain } from './api/haveibeenpwned/types.js';
|
|
|
16
16
|
* after verifying control. Each domain includes metadata about breach counts and
|
|
17
17
|
* the next renewal date, where available.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* https://haveibeenpwned.com/API/Key for the `subscribeddomains` endpoint. The
|
|
19
|
+
* Requires a Core or Pro API key from https://haveibeenpwned.com/API/Key. The
|
|
21
20
|
* `apiKey` option here is not explicitly required, but direct requests made
|
|
22
21
|
* without it will fail (unless you specify a `baseUrl` to a proxy that inserts
|
|
23
22
|
* a valid API key on your behalf).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fetchFromApi } from
|
|
1
|
+
import { fetchFromApi } from "./api/haveibeenpwned/fetch-from-api.js";
|
|
2
2
|
/**
|
|
3
3
|
* An object representing a subscribed domain.
|
|
4
4
|
*
|
|
@@ -16,8 +16,7 @@ import { fetchFromApi } from './api/haveibeenpwned/fetch-from-api.js';
|
|
|
16
16
|
* after verifying control. Each domain includes metadata about breach counts and
|
|
17
17
|
* the next renewal date, where available.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* https://haveibeenpwned.com/API/Key for the `subscribeddomains` endpoint. The
|
|
19
|
+
* Requires a Core or Pro API key from https://haveibeenpwned.com/API/Key. The
|
|
21
20
|
* `apiKey` option here is not explicitly required, but direct requests made
|
|
22
21
|
* without it will fail (unless you specify a `baseUrl` to a proxy that inserts
|
|
23
22
|
* a valid API key on your behalf).
|
|
@@ -54,7 +53,7 @@ import { fetchFromApi } from './api/haveibeenpwned/fetch-from-api.js';
|
|
|
54
53
|
*/
|
|
55
54
|
export function subscribedDomains(options = {}) {
|
|
56
55
|
const { apiKey, baseUrl, timeoutMs, signal, userAgent } = options;
|
|
57
|
-
const endpoint =
|
|
56
|
+
const endpoint = "/subscribeddomains";
|
|
58
57
|
return fetchFromApi(endpoint, {
|
|
59
58
|
apiKey,
|
|
60
59
|
baseUrl,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribed-domains.js","sourceRoot":"","sources":["../../src/subscribed-domains.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;;;;GASG;AAEH
|
|
1
|
+
{"version":3,"file":"subscribed-domains.js","sourceRoot":"","sources":["../../src/subscribed-domains.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;;;;GASG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,UAAU,iBAAiB,CAC/B,OAAO,GAuBH,EAAE;IAEN,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAClE,MAAM,QAAQ,GAAG,oBAAoB,CAAC;IAEtC,OAAO,YAAY,CAAC,QAAQ,EAAE;QAC5B,MAAM;QACN,OAAO;QACP,SAAS;QACT,MAAM;QACN,SAAS;KACV,CAAgC,CAAC;AACpC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SubscriptionStatus } from
|
|
1
|
+
import type { SubscriptionStatus } from "./api/haveibeenpwned/types.js";
|
|
2
2
|
/**
|
|
3
3
|
* An object representing the status of your HIBP subscription.
|
|
4
4
|
*
|
|
@@ -8,16 +8,21 @@ import type { SubscriptionStatus } from './api/haveibeenpwned/types.js';
|
|
|
8
8
|
* @property {string} SubscribedUntil
|
|
9
9
|
* @property {number} Rpm
|
|
10
10
|
* @property {number} DomainSearchMaxBreachedAccounts
|
|
11
|
+
* @property {number|null} MaxBreachedDomains maximum domains that can be added; null means no limit
|
|
11
12
|
* @property {boolean} IncludesStealerLogs
|
|
13
|
+
* @property {boolean} IncludesBulkDomainAdd access to APIs for adding domains in bulk
|
|
14
|
+
* @property {boolean} IncludesAutoSubdomainVerification automatic verification of subdomains of a verified apex domain
|
|
15
|
+
* @property {boolean} IncludesCustomerDomains permission to add customer domains
|
|
16
|
+
* @property {boolean} IncludesKAnon access to email address searches using k-anonymity
|
|
12
17
|
*/
|
|
13
18
|
/**
|
|
14
19
|
* Fetches the current status of your HIBP subscription (API key).
|
|
15
20
|
*
|
|
16
|
-
*
|
|
17
|
-
* https://haveibeenpwned.com/API/Key
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
+
* Requires a Core, Pro, or High RPM API key from
|
|
22
|
+
* https://haveibeenpwned.com/API/Key. The `apiKey` option here is not
|
|
23
|
+
* explicitly required, but direct requests made without it will fail (unless
|
|
24
|
+
* you specify a `baseUrl` to a proxy that inserts a valid API key on your
|
|
25
|
+
* behalf).
|
|
21
26
|
*
|
|
22
27
|
* @param {object} [options] a configuration object
|
|
23
28
|
* @param {string} [options.apiKey] an API key from
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fetchFromApi } from
|
|
1
|
+
import { fetchFromApi } from "./api/haveibeenpwned/fetch-from-api.js";
|
|
2
2
|
/**
|
|
3
3
|
* An object representing the status of your HIBP subscription.
|
|
4
4
|
*
|
|
@@ -8,16 +8,21 @@ import { fetchFromApi } from './api/haveibeenpwned/fetch-from-api.js';
|
|
|
8
8
|
* @property {string} SubscribedUntil
|
|
9
9
|
* @property {number} Rpm
|
|
10
10
|
* @property {number} DomainSearchMaxBreachedAccounts
|
|
11
|
+
* @property {number|null} MaxBreachedDomains maximum domains that can be added; null means no limit
|
|
11
12
|
* @property {boolean} IncludesStealerLogs
|
|
13
|
+
* @property {boolean} IncludesBulkDomainAdd access to APIs for adding domains in bulk
|
|
14
|
+
* @property {boolean} IncludesAutoSubdomainVerification automatic verification of subdomains of a verified apex domain
|
|
15
|
+
* @property {boolean} IncludesCustomerDomains permission to add customer domains
|
|
16
|
+
* @property {boolean} IncludesKAnon access to email address searches using k-anonymity
|
|
12
17
|
*/
|
|
13
18
|
/**
|
|
14
19
|
* Fetches the current status of your HIBP subscription (API key).
|
|
15
20
|
*
|
|
16
|
-
*
|
|
17
|
-
* https://haveibeenpwned.com/API/Key
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
+
* Requires a Core, Pro, or High RPM API key from
|
|
22
|
+
* https://haveibeenpwned.com/API/Key. The `apiKey` option here is not
|
|
23
|
+
* explicitly required, but direct requests made without it will fail (unless
|
|
24
|
+
* you specify a `baseUrl` to a proxy that inserts a valid API key on your
|
|
25
|
+
* behalf).
|
|
21
26
|
*
|
|
22
27
|
* @param {object} [options] a configuration object
|
|
23
28
|
* @param {string} [options.apiKey] an API key from
|
|
@@ -50,7 +55,7 @@ import { fetchFromApi } from './api/haveibeenpwned/fetch-from-api.js';
|
|
|
50
55
|
* }
|
|
51
56
|
*/
|
|
52
57
|
export async function subscriptionStatus(options = {}) {
|
|
53
|
-
const endpoint =
|
|
58
|
+
const endpoint = "/subscription/status";
|
|
54
59
|
return fetchFromApi(endpoint, options);
|
|
55
60
|
}
|
|
56
61
|
//# sourceMappingURL=subscription-status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-status.js","sourceRoot":"","sources":["../../src/subscription-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE
|
|
1
|
+
{"version":3,"file":"subscription-status.js","sourceRoot":"","sources":["../../src/subscription-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,OAAO,GAuBH,EAAE;IAEN,MAAM,QAAQ,GAAG,sBAAsB,CAAC;IAExC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAgC,CAAC;AACxE,CAAC"}
|