@primitivedotdev/sdk 0.6.0 → 0.8.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/README.md +114 -210
- package/dist/address-parser-CfPHs3mE.js +113 -0
- package/dist/api/generated/index.js +1 -1
- package/dist/api/generated/sdk.gen.js +17 -0
- package/dist/api/index.d.ts +4 -1877
- package/dist/api/index.js +255 -0
- package/dist/api-BH8PnmHs.js +1338 -0
- package/dist/contract/index.d.ts +3 -2
- package/dist/contract/index.js +3 -1
- package/dist/{index-DLmAI4UQ.d.ts → index-CuuP1JkG.d.ts} +9 -2
- package/dist/index-D9lanVFt.d.ts +2145 -0
- package/dist/index.d.ts +12 -3
- package/dist/index.js +13 -2
- package/dist/openapi/openapi.generated.js +413 -1
- package/dist/openapi/operations.generated.js +16 -0
- package/dist/parser/address-parser.js +129 -0
- package/dist/parser/index.d.ts +105 -3
- package/dist/parser/index.js +2 -1
- package/dist/received-email-C67Z7Dha.d.ts +36 -0
- package/dist/received-email-Q6Cha3wc.js +71 -0
- package/dist/types.generated.js +7 -0
- package/dist/types.js +53 -0
- package/dist/webhook/index.d.ts +4 -3
- package/dist/webhook/index.js +4 -2
- package/dist/webhook/received-email.js +82 -0
- package/dist/{webhook-COe5N_Uj.js → webhook-2TALcBQz.js} +16 -1
- package/oclif.manifest.json +47 -1
- package/package.json +10 -3
- /package/dist/{types-CKFmgitP.d.ts → types-CIOzt1FY.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primitivedotdev/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Official Primitive Node.js SDK — webhook, api, openapi, contract, and parser modules",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -68,6 +68,9 @@
|
|
|
68
68
|
"emails": {
|
|
69
69
|
"description": "List, inspect, and manage received emails"
|
|
70
70
|
},
|
|
71
|
+
"sending": {
|
|
72
|
+
"description": "Send outbound emails through the Primitive API"
|
|
73
|
+
},
|
|
71
74
|
"endpoints": {
|
|
72
75
|
"description": "Manage webhook endpoints that receive email events"
|
|
73
76
|
},
|
|
@@ -132,15 +135,19 @@
|
|
|
132
135
|
"ajv": "^8.17.1",
|
|
133
136
|
"isomorphic-dompurify": "^3.8.0",
|
|
134
137
|
"mailparser": "^3.9.0",
|
|
135
|
-
"
|
|
138
|
+
"nodemailer": "^8.0.7",
|
|
139
|
+
"tar-stream": "^3.1.8",
|
|
140
|
+
"validator": "^13.15.35"
|
|
136
141
|
},
|
|
137
142
|
"devDependencies": {
|
|
138
|
-
"@hey-api/openapi-ts": "0.96.0",
|
|
139
143
|
"@biomejs/biome": "^2.4.10",
|
|
144
|
+
"@hey-api/openapi-ts": "0.96.0",
|
|
140
145
|
"@types/json-schema": "^7.0.15",
|
|
141
146
|
"@types/mailparser": "^3.4.6",
|
|
142
147
|
"@types/node": "^22.10.2",
|
|
148
|
+
"@types/nodemailer": "^8.0.0",
|
|
143
149
|
"@types/tar-stream": "^3.1.4",
|
|
150
|
+
"@types/validator": "^13.15.10",
|
|
144
151
|
"@vitest/coverage-v8": "^4.1.4",
|
|
145
152
|
"json-schema-to-typescript": "^15.0.4",
|
|
146
153
|
"oclif": "^4.23.0",
|
|
File without changes
|