@postalsys/ee-client 1.8.2 → 1.10.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 +2 -0
- package/index.d.ts +15 -6
- package/index.js +650 -196
- package/package.json +16 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postalsys/ee-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "EmailEngine client library for browser and Node.js applications",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
"LICENSE"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
16
|
+
"test": "node --test test/*.test.js",
|
|
17
|
+
"test:cjs": "node --test test/static-copy.test.js",
|
|
18
|
+
"test:coverage": "c8 --reporter=text --reporter=lcov npm test",
|
|
19
|
+
"lint": "eslint .",
|
|
20
|
+
"lint:fix": "eslint . --fix",
|
|
21
|
+
"format": "prettier --write .",
|
|
22
|
+
"format:check": "prettier --check .",
|
|
20
23
|
"update": "rm -rf node_modules package-lock.json && ncu -u && npm install",
|
|
21
|
-
"prepublishOnly": "npm run lint && npm run format:check"
|
|
24
|
+
"prepublishOnly": "npm run lint && npm run format:check && npm test"
|
|
22
25
|
},
|
|
23
26
|
"keywords": [
|
|
24
27
|
"email",
|
|
@@ -39,11 +42,15 @@
|
|
|
39
42
|
"url": "https://github.com/postalsys/ee-client/issues"
|
|
40
43
|
},
|
|
41
44
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
45
|
+
"node": ">=20.0.0"
|
|
43
46
|
},
|
|
44
47
|
"devDependencies": {
|
|
45
|
-
"eslint": "
|
|
46
|
-
"
|
|
48
|
+
"@eslint/js": "10.0.1",
|
|
49
|
+
"c8": "12.0.0",
|
|
50
|
+
"eslint": "10.13.0",
|
|
51
|
+
"eslint-config-prettier": "10.1.8",
|
|
52
|
+
"globals": "17.13.0",
|
|
53
|
+
"prettier": "3.9.10"
|
|
47
54
|
},
|
|
48
55
|
"peerDependencies": {
|
|
49
56
|
"node-fetch": "^3.0.0"
|