dymo-api 1.2.43 → 1.2.44
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/cjs/dymo-api.cjs +2 -2
- package/dist/esm/dymo-api.js +2 -2
- package/package.json +1 -1
package/dist/cjs/dymo-api.cjs
CHANGED
|
@@ -1043,7 +1043,7 @@ class DymoAPI {
|
|
|
1043
1043
|
} = {}) {
|
|
1044
1044
|
this.rules = {
|
|
1045
1045
|
email: { mode: "LIVE", deny: ["FRAUD", "INVALID", "NO_MX_RECORDS", "NO_REPLY_EMAIL"] },
|
|
1046
|
-
ip: { mode: "LIVE", deny: ["FRAUD", "INVALID", "TOR_NETWORK"] },
|
|
1046
|
+
ip: { mode: "LIVE", deny: ["FRAUD", "INVALID", "VPN", "TOR_NETWORK"] },
|
|
1047
1047
|
phone: { mode: "LIVE", deny: ["FRAUD", "INVALID"] },
|
|
1048
1048
|
sensitiveInfo: { mode: "LIVE", deny: ["EMAIL", "PHONE", "CREDIT_CARD"] },
|
|
1049
1049
|
waf: { mode: "LIVE", allowBots: ["CURL", "CATEGORY:SEARCH_ENGINE", "CATEGORY:PREVIEW"], deny: ["FRAUD", "TOR_NETWORK"] },
|
|
@@ -1060,7 +1060,7 @@ class DymoAPI {
|
|
|
1060
1060
|
headers: {
|
|
1061
1061
|
"User-Agent": "DymoAPISDK/1.0.0",
|
|
1062
1062
|
"X-Dymo-SDK-Env": "Node",
|
|
1063
|
-
"X-Dymo-SDK-Version": "1.2.
|
|
1063
|
+
"X-Dymo-SDK-Version": "1.2.44"
|
|
1064
1064
|
}
|
|
1065
1065
|
});
|
|
1066
1066
|
if (this.rootApiKey || this.apiKey) this.axiosClient.defaults.headers.Authorization = `Bearer ${this.rootApiKey || this.apiKey}`;
|
package/dist/esm/dymo-api.js
CHANGED
|
@@ -1042,7 +1042,7 @@ class DymoAPI {
|
|
|
1042
1042
|
} = {}) {
|
|
1043
1043
|
this.rules = {
|
|
1044
1044
|
email: { mode: "LIVE", deny: ["FRAUD", "INVALID", "NO_MX_RECORDS", "NO_REPLY_EMAIL"] },
|
|
1045
|
-
ip: { mode: "LIVE", deny: ["FRAUD", "INVALID", "TOR_NETWORK"] },
|
|
1045
|
+
ip: { mode: "LIVE", deny: ["FRAUD", "INVALID", "VPN", "TOR_NETWORK"] },
|
|
1046
1046
|
phone: { mode: "LIVE", deny: ["FRAUD", "INVALID"] },
|
|
1047
1047
|
sensitiveInfo: { mode: "LIVE", deny: ["EMAIL", "PHONE", "CREDIT_CARD"] },
|
|
1048
1048
|
waf: { mode: "LIVE", allowBots: ["CURL", "CATEGORY:SEARCH_ENGINE", "CATEGORY:PREVIEW"], deny: ["FRAUD", "TOR_NETWORK"] },
|
|
@@ -1059,7 +1059,7 @@ class DymoAPI {
|
|
|
1059
1059
|
headers: {
|
|
1060
1060
|
"User-Agent": "DymoAPISDK/1.0.0",
|
|
1061
1061
|
"X-Dymo-SDK-Env": "Node",
|
|
1062
|
-
"X-Dymo-SDK-Version": "1.2.
|
|
1062
|
+
"X-Dymo-SDK-Version": "1.2.44"
|
|
1063
1063
|
}
|
|
1064
1064
|
});
|
|
1065
1065
|
if (this.rootApiKey || this.apiKey) this.axiosClient.defaults.headers.Authorization = `Bearer ${this.rootApiKey || this.apiKey}`;
|