@marlinjai/mail-sdk 0.4.0 → 0.5.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/dist/index.d.mts +392 -153
- package/dist/index.d.ts +392 -153
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -546,7 +546,9 @@ function createNamespaces(config) {
|
|
|
546
546
|
setAbTest: (id, body, opts) => execute(config, "mailings.setAbTest", { params: { id }, body }, opts),
|
|
547
547
|
clearAbTest: (id, opts) => execute(config, "mailings.clearAbTest", { params: { id } }, opts),
|
|
548
548
|
pickAbWinner: (id, body, opts) => execute(config, "mailings.pickAbWinner", { params: { id }, body }, opts),
|
|
549
|
-
analytics: (id, opts) => execute(config, "mailings.analytics", { params: { id } }, opts)
|
|
549
|
+
analytics: (id, opts) => execute(config, "mailings.analytics", { params: { id } }, opts),
|
|
550
|
+
/** Who reads which language version, and who gets the main language instead. */
|
|
551
|
+
languages: (id, opts) => execute(config, "mailings.languages", { params: { id } }, opts)
|
|
550
552
|
},
|
|
551
553
|
messages: {
|
|
552
554
|
list: (query, opts) => execute(config, "messages.list", { query }, opts),
|
package/dist/index.mjs
CHANGED
|
@@ -530,7 +530,9 @@ function createNamespaces(config) {
|
|
|
530
530
|
setAbTest: (id, body, opts) => execute(config, "mailings.setAbTest", { params: { id }, body }, opts),
|
|
531
531
|
clearAbTest: (id, opts) => execute(config, "mailings.clearAbTest", { params: { id } }, opts),
|
|
532
532
|
pickAbWinner: (id, body, opts) => execute(config, "mailings.pickAbWinner", { params: { id }, body }, opts),
|
|
533
|
-
analytics: (id, opts) => execute(config, "mailings.analytics", { params: { id } }, opts)
|
|
533
|
+
analytics: (id, opts) => execute(config, "mailings.analytics", { params: { id } }, opts),
|
|
534
|
+
/** Who reads which language version, and who gets the main language instead. */
|
|
535
|
+
languages: (id, opts) => execute(config, "mailings.languages", { params: { id } }, opts)
|
|
534
536
|
},
|
|
535
537
|
messages: {
|
|
536
538
|
list: (query, opts) => execute(config, "messages.list", { query }, opts),
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"description": "Typed client for the Lumitra Mail v1 API: Node and edge runtimes, retries with idempotency, cursor pagination, webhook verification",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"LICENSE"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@marlinjai/mail-contract": "^0.
|
|
35
|
+
"@marlinjai/mail-contract": "^0.5.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"zod": "^3.25.0"
|