@apifreaks/openapi-specs 0.3.2 → 0.4.1

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.cts CHANGED
@@ -69,8 +69,10 @@ declare const SpecSlug: {
69
69
  readonly DELETE_PDF_PAGE: "delete-pdf-page";
70
70
  readonly DNS_HISTORY_LOOKUP: "dns-history-lookup";
71
71
  readonly DNS_LOOKUP: "dns-lookup";
72
+ readonly DOMAIN_REPUTATION: "domain-reputation";
72
73
  readonly DOMAIN_SEARCH: "domain-search";
73
74
  readonly DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions";
75
+ readonly DOMAIN_TYPOSQUATTING: "domain-typosquatting";
74
76
  readonly DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup";
75
77
  readonly EMAIL_CHECKER: "email-checker";
76
78
  readonly FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries";
@@ -169,8 +171,6 @@ type SpecCategoryValue = (typeof SpecCategory)[keyof typeof SpecCategory];
169
171
 
170
172
  declare function getSpecJson(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
171
173
  declare function getSpecYaml(slug: SpecSlugValue | (string & {})): string | undefined;
172
- /** @deprecated Use {@link getSpecJson} instead. Removed in the next major version. */
173
- declare function getSpec(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
174
174
  declare function getSpecsByCategory(category: SpecCategoryValue | (string & {})): string[];
175
175
 
176
- export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpec, getSpecJson, getSpecYaml, getSpecsByCategory };
176
+ export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpecJson, getSpecYaml, getSpecsByCategory };
package/dist/index.d.ts CHANGED
@@ -69,8 +69,10 @@ declare const SpecSlug: {
69
69
  readonly DELETE_PDF_PAGE: "delete-pdf-page";
70
70
  readonly DNS_HISTORY_LOOKUP: "dns-history-lookup";
71
71
  readonly DNS_LOOKUP: "dns-lookup";
72
+ readonly DOMAIN_REPUTATION: "domain-reputation";
72
73
  readonly DOMAIN_SEARCH: "domain-search";
73
74
  readonly DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions";
75
+ readonly DOMAIN_TYPOSQUATTING: "domain-typosquatting";
74
76
  readonly DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup";
75
77
  readonly EMAIL_CHECKER: "email-checker";
76
78
  readonly FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries";
@@ -169,8 +171,6 @@ type SpecCategoryValue = (typeof SpecCategory)[keyof typeof SpecCategory];
169
171
 
170
172
  declare function getSpecJson(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
171
173
  declare function getSpecYaml(slug: SpecSlugValue | (string & {})): string | undefined;
172
- /** @deprecated Use {@link getSpecJson} instead. Removed in the next major version. */
173
- declare function getSpec(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
174
174
  declare function getSpecsByCategory(category: SpecCategoryValue | (string & {})): string[];
175
175
 
176
- export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpec, getSpecJson, getSpecYaml, getSpecsByCategory };
176
+ export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpecJson, getSpecYaml, getSpecsByCategory };