@openemail/sdk 0.0.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.
Files changed (6) hide show
  1. package/README.md +183 -0
  2. package/index.cjs +1776 -0
  3. package/index.d.cts +1531 -0
  4. package/index.d.ts +1531 -0
  5. package/index.js +1744 -0
  6. package/package.json +60 -0
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@openemail/sdk",
3
+ "version": "0.0.1",
4
+ "author": "OpenEmail",
5
+ "license": "MIT",
6
+ "description": "The official TypeScript SDK for the OpenEmail API. Send email, work with threads, drafts, labels, templates, rules, webhooks, tracking, roles, members and disposable inboxes from code.",
7
+ "type": "module",
8
+ "main": "./index.cjs",
9
+ "module": "./index.js",
10
+ "types": "./index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./index.d.ts",
15
+ "default": "./index.js"
16
+ },
17
+ "require": {
18
+ "types": "./index.d.cts",
19
+ "default": "./index.cjs"
20
+ }
21
+ },
22
+ "./package.json": "./package.json"
23
+ },
24
+ "files": [
25
+ "index.js",
26
+ "index.cjs",
27
+ "index.d.ts",
28
+ "index.d.cts"
29
+ ],
30
+ "engines": {
31
+ "node": ">=20"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "scripts": {
37
+ "prepublishOnly": "bun -e \"const dirty=Bun.spawnSync(['git','status','--porcelain','--','..']).stdout.toString().trim();if(dirty){console.error('Refusing to publish: the worktree has uncommitted changes, so the published bytes cannot be traced back to a commit.');process.exit(1)}\""
38
+ },
39
+ "sideEffects": false,
40
+ "homepage": "https://openemail.uk/docs/sdk",
41
+ "bugs": {
42
+ "url": "https://openemail.uk/support"
43
+ },
44
+ "keywords": [
45
+ "openemail",
46
+ "sdk",
47
+ "api",
48
+ "api client",
49
+ "email",
50
+ "email api",
51
+ "send email",
52
+ "transactional email",
53
+ "inbox",
54
+ "mailbox",
55
+ "email templates",
56
+ "webhooks",
57
+ "temp mail",
58
+ "typescript"
59
+ ]
60
+ }