next-auth
Advanced tools
Comparing version 2.0.0-beta.27 to 2.0.0-beta.28
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}function _defineProperty(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}var _default=a=>_objectSpread({id:"email",type:"email",name:"Email",server:{host:"localhost",port:25,secure:!0,auth:{user:"",pass:""}},from:"NextAuth <no-reply@example.com>",subject,html,text,unsubscribe:(a)=>{var{email:b}=a;return"{{unsubscribe}}"}},a);exports.default=_default;var subject=(a)=>{var{site:b}=a;return"Sign in to ".concat(b.replace(/^https?:\/\//,""))},html=(a)=>{var{email:b,url:c,token:d,site:e,unsubscribe:f,callbackUrl:g}=a,h="#444444";return"\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td align=\"center\" style=\"padding: 10px 0; font-size: 18px; font-family: Helvetica, Arial, sans-serif; color: #888888;\">\n ".concat(e.replace(/^https?:\/\//,""),"\n </td>\n </tr>\n <tr>\n <td align=\"center\" style=\"padding: 10px 0;\">\n <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td align=\"center\" style=\"border-radius: 3px;\" bgcolor=\"").concat(h,"\"><a href=\"").concat(c,"\" target=\"_blank\" style=\"font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: ").concat("#ffffff","; text-decoration: none; text-decoration: none;border-radius: 3px; padding: 12px 18px; border: 1px solid ").concat(h,"; display: inline-block; font-weight: bold;\">Sign in</a></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td align=\"center\" style=\"padding: 10px 0; font-size: 12px; font-family: Helvetica, Arial, sans-serif; color: #888888;\">\n ").concat(f?"<a href=\"".concat(f,"\">Unsubscribe</a>"):"","\n </td>\n </tr>\n</table>\n")},text=(a)=>{var{email:b,url:c,token:d,site:e,callbackUrl:f,unsubscribe:g}=a;return"\nSign in:\n\n".concat(c,"\n\n\n\n").concat(g?"Unsubscribe:\n".concat(g):"","\n")}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}function _defineProperty(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}var _default=a=>_objectSpread({id:"email",type:"email",name:"Email",server:{host:"localhost",port:25,auth:{user:"",pass:""}},from:"NextAuth <no-reply@example.com>",subject,html,text,unsubscribe:(a)=>{var{email:b}=a;return"{{unsubscribe}}"}},a);exports.default=_default;var subject=(a)=>{var{site:b}=a;return"Sign in to ".concat(b.replace(/^https?:\/\//,""))},html=(a)=>{var{email:b,url:c,token:d,site:e,unsubscribe:f,callbackUrl:g}=a,h="#444444";return"\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td align=\"center\" style=\"padding: 10px 0; font-size: 18px; font-family: Helvetica, Arial, sans-serif; color: #888888;\">\n ".concat(e.replace(/^https?:\/\//,""),"\n </td>\n </tr>\n <tr>\n <td align=\"center\" style=\"padding: 10px 0;\">\n <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td align=\"center\" style=\"border-radius: 3px;\" bgcolor=\"").concat(h,"\"><a href=\"").concat(c,"\" target=\"_blank\" style=\"font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: ").concat("#ffffff","; text-decoration: none; text-decoration: none;border-radius: 3px; padding: 12px 18px; border: 1px solid ").concat(h,"; display: inline-block; font-weight: bold;\">Sign in</a></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td align=\"center\" style=\"padding: 10px 0; font-size: 12px; font-family: Helvetica, Arial, sans-serif; color: #888888;\">\n ").concat(f?"<a href=\"".concat(f,"\">Unsubscribe</a>"):"","\n </td>\n </tr>\n</table>\n")},text=(a)=>{var{email:b,url:c,token:d,site:e,callbackUrl:f,unsubscribe:g}=a;return"\nSign in:\n\n".concat(c,"\n\n\n\n").concat(g?"Unsubscribe:\n".concat(g):"","\n")}; |
{ | ||
"name": "next-auth", | ||
"version": "2.0.0-beta.27", | ||
"version": "2.0.0-beta.28", | ||
"description": "An authentication library for Next.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/iaincollins/next-auth.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75782