@ever-works/mailchimp-transactional-plugin 1.0.12 → 1.0.15
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.cjs +23 -0
- package/dist/index.js +23 -0
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -121,6 +121,9 @@ var RECORD_VISIBILITIES = ["private", "team", "organization"];
|
|
|
121
121
|
new Set(RECORD_VISIBILITIES);
|
|
122
122
|
var RECORD_LIST_VIEWS = ["mine", "shared", "organization"];
|
|
123
123
|
new Set(RECORD_LIST_VIEWS);
|
|
124
|
+
new Set(
|
|
125
|
+
"a abbr address applet area article aside audio b base bdi bdo big blockquote body br button canvas caption center cite code col colgroup data datalist dd del details dfn dialog dir div dl dt em embed fieldset figcaption figure font footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe image img input ins kbd label legend li link main map mark marquee math menu meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script search section select slot small source span strike strong style sub summary sup svg table tbody td template textarea tfoot th thead time title tr track tt u ul var video wbr xmp".split(" ")
|
|
126
|
+
);
|
|
124
127
|
var VERSION = "1.0.0";
|
|
125
128
|
var GTM_SKILLS = [
|
|
126
129
|
// ── research ────────────────────────────────────────────────────────
|
|
@@ -1859,6 +1862,26 @@ var PLUGIN_CAPABILITIES = {
|
|
|
1859
1862
|
// `EMAIL_OUTBOUND`, `EMAIL_INBOUND`, or both. See
|
|
1860
1863
|
// `capabilities/email-provider.interface.ts` for the contract.
|
|
1861
1864
|
EMAIL_OUTBOUND: "email-outbound"};
|
|
1865
|
+
var GITHUB_FULL_SCOPES_ALL = [
|
|
1866
|
+
"user:email",
|
|
1867
|
+
"read:user",
|
|
1868
|
+
"repo",
|
|
1869
|
+
"delete_repo",
|
|
1870
|
+
"workflow",
|
|
1871
|
+
"write:repo_hook",
|
|
1872
|
+
"read:org",
|
|
1873
|
+
"project"
|
|
1874
|
+
];
|
|
1875
|
+
var GITHUB_DELETE_REPO_SCOPE = "delete_repo";
|
|
1876
|
+
function isGithubDeleteRepoScopeEnabled(env = readEnv()) {
|
|
1877
|
+
return (env?.GITHUB_OAUTH_DELETE_REPO_SCOPE_ENABLED ?? "").trim().toLowerCase() === "true";
|
|
1878
|
+
}
|
|
1879
|
+
function readEnv() {
|
|
1880
|
+
return typeof process !== "undefined" ? process.env : void 0;
|
|
1881
|
+
}
|
|
1882
|
+
Object.freeze(
|
|
1883
|
+
GITHUB_FULL_SCOPES_ALL.filter((scope) => scope !== GITHUB_DELETE_REPO_SCOPE || isGithubDeleteRepoScopeEnabled())
|
|
1884
|
+
);
|
|
1862
1885
|
|
|
1863
1886
|
// src/mailchimp-transactional-plugin.ts
|
|
1864
1887
|
function resolveApiKey(options) {
|
package/dist/index.js
CHANGED
|
@@ -115,6 +115,9 @@ var RECORD_VISIBILITIES = ["private", "team", "organization"];
|
|
|
115
115
|
new Set(RECORD_VISIBILITIES);
|
|
116
116
|
var RECORD_LIST_VIEWS = ["mine", "shared", "organization"];
|
|
117
117
|
new Set(RECORD_LIST_VIEWS);
|
|
118
|
+
new Set(
|
|
119
|
+
"a abbr address applet area article aside audio b base bdi bdo big blockquote body br button canvas caption center cite code col colgroup data datalist dd del details dfn dialog dir div dl dt em embed fieldset figcaption figure font footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe image img input ins kbd label legend li link main map mark marquee math menu meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script search section select slot small source span strike strong style sub summary sup svg table tbody td template textarea tfoot th thead time title tr track tt u ul var video wbr xmp".split(" ")
|
|
120
|
+
);
|
|
118
121
|
var VERSION = "1.0.0";
|
|
119
122
|
var GTM_SKILLS = [
|
|
120
123
|
// ── research ────────────────────────────────────────────────────────
|
|
@@ -1853,6 +1856,26 @@ var PLUGIN_CAPABILITIES = {
|
|
|
1853
1856
|
// `EMAIL_OUTBOUND`, `EMAIL_INBOUND`, or both. See
|
|
1854
1857
|
// `capabilities/email-provider.interface.ts` for the contract.
|
|
1855
1858
|
EMAIL_OUTBOUND: "email-outbound"};
|
|
1859
|
+
var GITHUB_FULL_SCOPES_ALL = [
|
|
1860
|
+
"user:email",
|
|
1861
|
+
"read:user",
|
|
1862
|
+
"repo",
|
|
1863
|
+
"delete_repo",
|
|
1864
|
+
"workflow",
|
|
1865
|
+
"write:repo_hook",
|
|
1866
|
+
"read:org",
|
|
1867
|
+
"project"
|
|
1868
|
+
];
|
|
1869
|
+
var GITHUB_DELETE_REPO_SCOPE = "delete_repo";
|
|
1870
|
+
function isGithubDeleteRepoScopeEnabled(env = readEnv()) {
|
|
1871
|
+
return (env?.GITHUB_OAUTH_DELETE_REPO_SCOPE_ENABLED ?? "").trim().toLowerCase() === "true";
|
|
1872
|
+
}
|
|
1873
|
+
function readEnv() {
|
|
1874
|
+
return typeof process !== "undefined" ? process.env : void 0;
|
|
1875
|
+
}
|
|
1876
|
+
Object.freeze(
|
|
1877
|
+
GITHUB_FULL_SCOPES_ALL.filter((scope) => scope !== GITHUB_DELETE_REPO_SCOPE || isGithubDeleteRepoScopeEnabled())
|
|
1878
|
+
);
|
|
1856
1879
|
|
|
1857
1880
|
// src/mailchimp-transactional-plugin.ts
|
|
1858
1881
|
function resolveApiKey(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ever-works/mailchimp-transactional-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Mailchimp Transactional (Mandrill) email provider plugin (outbound) for Ever Works platform",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ever Co. LTD",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:watch": "vitest"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ever-works/plugin": "^1.2.
|
|
35
|
+
"@ever-works/plugin": "^1.2.28",
|
|
36
36
|
"@mailchimp/mailchimp_transactional": "^1.0.59"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -74,16 +74,16 @@
|
|
|
74
74
|
},
|
|
75
75
|
"repository": {
|
|
76
76
|
"type": "git",
|
|
77
|
-
"url": "git+https://github.com/ever-
|
|
77
|
+
"url": "git+https://github.com/ever-co/ever-works.git",
|
|
78
78
|
"directory": "packages/plugins/mailchimp-transactional"
|
|
79
79
|
},
|
|
80
|
-
"homepage": "https://github.com/ever-
|
|
80
|
+
"homepage": "https://github.com/ever-co/ever-works/tree/main/packages/plugins/mailchimp-transactional#readme",
|
|
81
81
|
"bugs": {
|
|
82
|
-
"url": "https://github.com/ever-
|
|
82
|
+
"url": "https://github.com/ever-co/ever-works/issues"
|
|
83
83
|
},
|
|
84
84
|
"everworksRelease": {
|
|
85
|
-
"contentHash": "sha256:
|
|
86
|
-
"commit": "
|
|
87
|
-
"source": "https://github.com/ever-
|
|
85
|
+
"contentHash": "sha256:6fb28c4921e0d8ab0942870c8ed0f8b35cc11a754a9d1a43204805d8b14340d8",
|
|
86
|
+
"commit": "2288ff7e91562b0f079c365348ba08ab3a16f1dd",
|
|
87
|
+
"source": "https://github.com/ever-co/ever-works/tree/2288ff7e91562b0f079c365348ba08ab3a16f1dd/packages/plugins/mailchimp-transactional"
|
|
88
88
|
}
|
|
89
89
|
}
|