onesecmail
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -0,1 +1,2 @@ | ||
export { default as OneSecMail } from "./OneSecMail.js"; | ||
export { default as OneSecMailAPI } from "./OneSecMailAPI.js"; |
@@ -17,2 +17,10 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { | ||
export const BASE_API_URL = "https://www.1secmail.com/api/v1/"; | ||
export const FORBIDDEN_LOGIN = [ | ||
"abuse", | ||
"admin", | ||
"contact", | ||
"hostmaster", | ||
"postmaster", | ||
"webmaster", | ||
]; | ||
export default class OneSecMailAPI { | ||
@@ -19,0 +27,0 @@ constructor(options) { |
{ | ||
"name": "onesecmail", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Create and receive email in only 1 second.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -39,3 +39,3 @@ ![logo](https://i.imgur.com/FJhgTTl.jpg) | ||
```ts | ||
import { OneSecMailAPI } from "onesecmail"; | ||
import { OneSecMail, OneSecMailAPI } from "onesecmail"; | ||
``` | ||
@@ -81,2 +81,6 @@ | ||
## OneSecMail | ||
Soon... | ||
## OneSecMailAPI | ||
@@ -83,0 +87,0 @@ |
@@ -0,1 +1,2 @@ | ||
export { default as OneSecMail } from "./OneSecMail.js"; | ||
export { default as OneSecMailAPI } from "./OneSecMailAPI.js"; |
@@ -5,2 +5,3 @@ /// <reference types="node" resolution-mode="require"/> | ||
export declare const BASE_API_URL = "https://www.1secmail.com/api/v1/"; | ||
export declare const FORBIDDEN_LOGIN: string[]; | ||
export default class OneSecMailAPI { | ||
@@ -7,0 +8,0 @@ #private; |
25897
13
465
149