@atproto/pds 0.4.58 → 0.4.60
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +46 -0
- package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
- package/dist/actor-store/repo/sql-repo-reader.js +2 -5
- package/dist/actor-store/repo/sql-repo-reader.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.js +2 -9
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +2 -6
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +2 -9
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +2 -9
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +2 -1
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +12 -14
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +2 -6
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.js +1 -1
- package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/api/com/atproto/server/requestPasswordReset.js +1 -1
- package/dist/api/com/atproto/server/requestPasswordReset.js.map +1 -1
- package/dist/config/config.d.ts +9 -0
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +10 -1
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +6 -1
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +8 -1
- package/dist/config/env.js.map +1 -1
- package/dist/context.d.ts +6 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +55 -11
- package/dist/context.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +77 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +86 -3
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +16 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +9 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +13 -2
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js +21 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +3 -0
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/mailer/index.d.ts +1 -1
- package/dist/mailer/index.d.ts.map +1 -1
- package/dist/mailer/index.js.map +1 -1
- package/dist/mailer/templates/confirm-email.js +1 -1
- package/dist/mailer/templates/confirm-email.js.map +2 -2
- package/dist/mailer/templates/delete-account.js +1 -1
- package/dist/mailer/templates/delete-account.js.map +2 -2
- package/dist/mailer/templates/plc-operation.js +1 -1
- package/dist/mailer/templates/plc-operation.js.map +2 -2
- package/dist/mailer/templates/reset-password.js +1 -1
- package/dist/mailer/templates/reset-password.js.map +2 -2
- package/dist/mailer/templates/update-email.js +1 -1
- package/dist/mailer/templates/update-email.js.map +2 -2
- package/dist/pipethrough.d.ts +26 -26
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +328 -228
- package/dist/pipethrough.js.map +1 -1
- package/dist/read-after-write/util.d.ts +13 -5
- package/dist/read-after-write/util.d.ts.map +1 -1
- package/dist/read-after-write/util.js +37 -22
- package/dist/read-after-write/util.js.map +1 -1
- package/package.json +16 -15
- package/src/actor-store/repo/sql-repo-reader.ts +3 -6
- package/src/api/app/bsky/actor/getProfile.ts +3 -17
- package/src/api/app/bsky/actor/getProfiles.ts +3 -15
- package/src/api/app/bsky/feed/getActorLikes.ts +3 -19
- package/src/api/app/bsky/feed/getAuthorFeed.ts +3 -17
- package/src/api/app/bsky/feed/getFeed.ts +3 -1
- package/src/api/app/bsky/feed/getPostThread.ts +16 -23
- package/src/api/app/bsky/feed/getTimeline.ts +3 -14
- package/src/api/com/atproto/repo/getRecord.ts +1 -1
- package/src/api/com/atproto/server/requestPasswordReset.ts +1 -1
- package/src/config/config.ts +21 -1
- package/src/config/env.ts +20 -2
- package/src/context.ts +62 -17
- package/src/index.ts +1 -0
- package/src/lexicon/lexicons.ts +92 -3
- package/src/lexicon/types/app/bsky/actor/defs.ts +25 -0
- package/src/lexicon/types/app/bsky/actor/profile.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +38 -2
- package/src/lexicon/types/app/bsky/feed/getAuthorFeed.ts +1 -0
- package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +2 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +2 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
- package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +3 -0
- package/src/mailer/index.ts +1 -1
- package/src/mailer/templates/confirm-email.hbs +106 -336
- package/src/mailer/templates/delete-account.hbs +110 -346
- package/src/mailer/templates/plc-operation.hbs +107 -338
- package/src/mailer/templates/reset-password.d.ts +1 -1
- package/src/mailer/templates/reset-password.hbs +108 -344
- package/src/mailer/templates/update-email.hbs +107 -337
- package/src/pipethrough.ts +489 -233
- package/src/read-after-write/util.ts +58 -32
- package/tests/account-deletion.test.ts +1 -1
- package/tests/account.test.ts +2 -2
- package/tests/email-confirmation.test.ts +2 -2
- package/tests/plc-operations.test.ts +1 -1
- package/tests/proxied/proxy-catchall.test.ts +255 -0
- package/tests/proxied/proxy-header.test.ts +31 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/mailer/templates/plc-operation.hbs"],
|
4
|
-
"sourcesContent": ["import * as Handlebars from 'handlebars/runtime';\nHandlebars.registerHelper({});\nHandlebars.registerPartial({});\nexport default Handlebars.template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"<html>\\n <head>\\n <!-- Compiled with Bootstrap Email version: 1.3.1 --><meta\\n http-equiv=\\\"x-ua-compatible\\\"\\n content=\\\"ie=edge\\\"\\n />\\n <meta name=\\\"x-apple-disable-message-reformatting\\\" />\\n <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1\\\" />\\n <meta\\n name=\\\"format-detection\\\"\\n content=\\\"telephone=no, date=no, address=no, email=no\\\"\\n />\\n <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n <style type=\\\"text/css\\\">\\n body,table,td{font-family:Helvetica,Arial,sans-serif\\n !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass\\n p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass\\n div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body\\n a,#MessageViewBody\\n a{color:inherit;text-decoration:none;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}img{-ms-interpolation-mode:bicubic}table:not([class^=s-]){font-family:Helvetica,Arial,sans-serif;mso-table-lspace:0pt;mso-table-rspace:0pt;border-spacing:0px;border-collapse:collapse}table:not([class^=s-])\\n td{border-spacing:0px;border-collapse:collapse}@media screen and\\n (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100%\\n !important}*[class*=s-lg-]>tbody>tr>td{font-size:0\\n !important;line-height:0 !important;height:0\\n !important}.s-2>tbody>tr>td{font-size:8px !important;line-height:8px\\n !important;height:8px !important}.s-5>tbody>tr>td{font-size:20px\\n !important;line-height:20px !important;height:20px\\n !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px\\n !important;height:40px !important}}\\n </style>\\n </head>\\n <body\\n class=\\\"bg-light\\\"\\n style=\\\"outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <table\\n class=\\\"bg-light body\\\"\\n valign=\\\"top\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n valign=\\\"top\\\"\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <table\\n class=\\\"container\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n align=\\\"center\\\"\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0; padding: 0 16px;\\\"\\n >\\n <!--[if (gte mso 9)|(IE)]>\\n <table align=\\\"center\\\" role=\\\"presentation\\\">\\n <tbody>\\n <tr>\\n <td width=\\\"600\\\">\\n <![endif]-->\\n <table\\n align=\\\"center\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%; max-width: 600px; margin: 0 auto;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\\n <table\\n class=\\\"s-10 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"40\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"card\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <table\\n class=\\\"card-body\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;\\\"\\n align=\\\"left\\\"\\n >\\n <h1\\n class=\\\"h3\\\"\\n style=\\\"padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 28px; line-height: 33.6px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >PLC Update Requested</h1>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-5 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"20\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"hr\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; border-top-width: 1px; border-top-color: #e2e8f0; border-top-style: solid; height: 1px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-5 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"20\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <div class=\\\"space-y-3\\\">\\n <p\\n class=\\\"text-gray-700\\\"\\n style=\\\"line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >Confirmation code:</p>\\n </div>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"card\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <table\\n class=\\\"card-body\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;\\\"\\n align=\\\"left\\\"\\n >\\n <h4\\n class=\\\"fw-900\\\"\\n style=\\\"padding-top: 0; padding-bottom: 0; font-weight: 900 !important; vertical-align: baseline; font-size: 24px; line-height: 28.8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\"\n + container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,\"token\") : depth0), depth0))\n + \"</h4>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <div class=\\\"space-y-3\\\">\\n <p\\n class=\\\"text-gray-700\\\"\\n style=\\\"line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >Updating your PLC identity is a\\n very sensitive operation. Please\\n only proceed if you are\\n confident in what you are doing.\\n </p>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-10 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"40\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <!--[if (gte mso 9)|(IE)]>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <![endif]-->\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </body>\\n</html>\";\n},\"useData\":true});"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA4B;AAC5B,WAAW,eAAe,CAAC,CAAC;AAC5B,WAAW,gBAAgB,CAAC,CAAC;AAC7B,IAAO,wBAAQ,WAAW,SAAS,EAAC,YAAW,CAAC,GAAE,UAAU,GAAE,QAAO,SAAS,WAAU,QAAO,SAAQ,UAAS,MAAM;AAClH,MAAI,iBAAiB,UAAU,kBAAkB,SAAS,QAAQ,cAAc;AAC5E,QAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,aAAO,OAAO;AAAA,IAChB;AACA,WAAO;AAAA,EACX;AAEF,SAAO,
|
4
|
+
"sourcesContent": ["import * as Handlebars from 'handlebars/runtime';\nHandlebars.registerHelper({});\nHandlebars.registerPartial({});\nexport default Handlebars.template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"<html dir=\\\"ltr\\\" lang=\\\"en\\\">\\n\\n <head>\\n <meta content=\\\"text/html; charset=UTF-8\\\" http-equiv=\\\"Content-Type\\\" />\\n <meta name=\\\"x-apple-disable-message-reformatting\\\" />\\n <title>PLC update requested</title>\\n <meta\\n name=\\\"description\\\"\\n content=\\\"We recieved a request to update your PLC.\\\"\\n />\\n </head>\\n <div\\n style=\\\"display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0\\\"\\n >We recieved a request to update your PLC.<div\\n >\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF</div>\\n </div>\\n\\n <body\\n style=\\\"padding:12px;padding-bottom:40px;background-color:hsl(211, 20%, 95.3%)\\\"\\n >\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"max-width:37.5em\\\"\\n >\\n <tbody>\\n <tr style=\\\"width:100%\\\">\\n <td>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:24px;padding-bottom:24px\\\"\\n >\\n <tbody>\\n <tr>\\n <td><img\\n alt=\\\"Bluesky\\\"\\n src=\\\"https://bsky.social/about/images/email/email_logo_default.png\\\"\\n style=\\\"display:block;outline:none;border:none;text-decoration:none;width:110px;margin:0 auto\\\"\\n /></td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding:24px;padding-bottom:16px;border-radius:12px;background-color:#FFFFFF\\\"\\n >\\n <tbody>\\n <tr>\\n <td>\\n <h1\\n style=\\\"font-size:26px;letter-spacing:0.25px;color:#000000;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0\\\"\\n >PLC update requested</h1>\\n <p\\n style=\\\"font-size:16px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 24%, 34.2%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px;padding-bottom:12px\\\"\\n >We received a request to update your PLC identity. Your\\n confirmation code is:</p><code\\n style=\\\"display:block;padding:16px;border-radius:8px;border-width:1px;border-style:solid;background-color:hsl(211, 20%, 95.3%);border-color:hsl(211, 20%, 85.89999999999999%);font-size:14px;letter-spacing:0.25px;font-family:monospace;text-transform:lowercase\\\"\\n >\"\n + container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,\"token\") : depth0), depth0))\n + \"</code>\\n <p\\n style=\\\"font-size:14px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px\\\"\\n >Updating your PLC identity is a very sensitive operation.\\n Please only proceed if you are confident in what you are\\n doing.</p>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:24px\\\"\\n >\\n <tbody>\\n <tr>\\n <td>\\n <hr\\n style=\\\"width:100%;border:none;border-top:1px solid #eaeaea;margin:0\\\"\\n />\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:16px;vertical-align:middle\\\"\\n >\\n <tbody style=\\\"width:100%\\\">\\n <tr style=\\\"width:100%\\\">\\n <td data-id=\\\"__react-email-column\\\">\\n <p\\n style=\\\"font-size:14px;line-height:1.4;margin:0px 0px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;letter-spacing:0.25px\\\"\\n ><a\\n href=\\\"https://bsky.app\\\"\\n style=\\\"color:hsl(211, 20%, 53%);text-decoration:none;text-decoration-line:underline;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0;font-size:14px;letter-spacing:0.25px\\\"\\n target=\\\"_blank\\\"\\n >Bluesky</a>, the social internet</p>\\n </td>\\n <td\\n data-id=\\\"__react-email-column\\\"\\n style=\\\"width:24px\\\"\\n ><img\\n alt=\\\"\uD83E\uDD8B\\\"\\n src=\\\"https://bsky.social/about/images/email/email_mark_dark.png\\\"\\n style=\\\"display:block;outline:none;border:none;text-decoration:none;width:24px\\\"\\n /></td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"height:500px\\\"\\n >\\n <tbody>\\n <tr>\\n <td></td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </body>\\n\\n</html>\";\n},\"useData\":true});"],
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA4B;AAC5B,WAAW,eAAe,CAAC,CAAC;AAC5B,WAAW,gBAAgB,CAAC,CAAC;AAC7B,IAAO,wBAAQ,WAAW,SAAS,EAAC,YAAW,CAAC,GAAE,UAAU,GAAE,QAAO,SAAS,WAAU,QAAO,SAAQ,UAAS,MAAM;AAClH,MAAI,iBAAiB,UAAU,kBAAkB,SAAS,QAAQ,cAAc;AAC5E,QAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,aAAO,OAAO;AAAA,IAChB;AACA,WAAO;AAAA,EACX;AAEF,SAAO,42OACH,UAAU,iBAAiB,UAAU,OAAQ,UAAU,OAAO,eAAe,QAAO,OAAO,IAAI,QAAS,MAAM,CAAC,IAC/G;AACN,GAAE,WAAU,KAAI,CAAC;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -33,7 +33,7 @@ var reset_password_default = Handlebars.template({ "compiler": [8, ">= 4.3.0"],
|
|
33
33
|
}
|
34
34
|
return void 0;
|
35
35
|
};
|
36
|
-
return '<html>\n <head>\n <!-- Compiled with Bootstrap Email version: 1.3.1 --><meta\n http-equiv="x-ua-compatible"\n content="ie=edge"\n />\n <meta name="x-apple-disable-message-reformatting" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <meta\n name="format-detection"\n content="telephone=no, date=no, address=no, email=no"\n />\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n <style type="text/css">\n body,table,td{font-family:Helvetica,Arial,sans-serif\n !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass\n p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass\n div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body\n a,#MessageViewBody\n a{color:inherit;text-decoration:none;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}img{-ms-interpolation-mode:bicubic}table:not([class^=s-]){font-family:Helvetica,Arial,sans-serif;mso-table-lspace:0pt;mso-table-rspace:0pt;border-spacing:0px;border-collapse:collapse}table:not([class^=s-])\n td{border-spacing:0px;border-collapse:collapse}@media screen and\n (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100%\n !important}*[class*=s-lg-]>tbody>tr>td{font-size:0\n !important;line-height:0 !important;height:0\n !important}.s-2>tbody>tr>td{font-size:8px !important;line-height:8px\n !important;height:8px !important}.s-5>tbody>tr>td{font-size:20px\n !important;line-height:20px !important;height:20px\n !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px\n !important;height:40px !important}}\n </style>\n </head>\n <body\n class="bg-light"\n style="outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;"\n bgcolor="#f7fafc"\n >\n <table\n class="bg-light body"\n valign="top"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;"\n bgcolor="#f7fafc"\n >\n <tbody>\n <tr>\n <td\n valign="top"\n style="line-height: 24px; font-size: 16px; margin: 0;"\n align="left"\n bgcolor="#f7fafc"\n >\n <table\n class="container"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n align="center"\n style="line-height: 24px; font-size: 16px; margin: 0; padding: 0 16px;"\n >\n <!--[if (gte mso 9)|(IE)]>\n <table align="center" role="presentation">\n <tbody>\n <tr>\n <td width="600">\n <![endif]-->\n <table\n align="center"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%; max-width: 600px; margin: 0 auto;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; margin: 0;"\n align="left"\n >\n <table\n class="s-10 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;"\n align="left"\n width="100%"\n height="40"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="card"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;"\n bgcolor="#ffffff"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;"\n align="left"\n bgcolor="#ffffff"\n >\n <table\n class="card-body"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;"\n align="left"\n >\n <h1\n class="h3"\n style="padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 28px; line-height: 33.6px; margin: 0;"\n align="left"\n >Reset your password</h1>\n <table\n class="s-2 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"\n align="left"\n width="100%"\n height="8"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <h5\n class="text-teal-700"\n style="color: #13795b; padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 20px; line-height: 24px; margin: 0;"\n align="left"\n >We received a request to reset the\n password for the account:\n ' + alias2(alias1(depth0 != null ? lookupProperty(depth0, "identifier") : depth0, depth0)) + '</h5>\n <table\n class="s-5 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;"\n align="left"\n width="100%"\n height="20"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="hr"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; border-top-width: 1px; border-top-color: #e2e8f0; border-top-style: solid; height: 1px; width: 100%; margin: 0;"\n align="left"\n >\n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-5 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;"\n align="left"\n width="100%"\n height="20"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <div class="space-y-3">\n <p\n class="text-gray-700"\n style="line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;"\n align="left"\n >Reset code:</p>\n </div>\n <table\n class="s-2 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"\n align="left"\n width="100%"\n height="8"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="card"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;"\n bgcolor="#ffffff"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;"\n align="left"\n bgcolor="#ffffff"\n >\n <table\n class="card-body"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;"\n align="left"\n >\n <h4\n class="fw-900"\n style="padding-top: 0; padding-bottom: 0; font-weight: 900 !important; vertical-align: baseline; font-size: 24px; line-height: 28.8px; margin: 0;"\n align="left"\n >' + alias2(alias1(depth0 != null ? lookupProperty(depth0, "token") : depth0, depth0)) + '</h4>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-2 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"\n align="left"\n width="100%"\n height="8"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <div class="space-y-3">\n <p\n class="text-gray-700"\n style="line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;"\n align="left"\n >To choose a new password, please\n enter the above "reset code" in\n the app along with your new\n password.</p>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-10 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;"\n align="left"\n width="100%"\n height="40"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <!--[if (gte mso 9)|(IE)]>\n </td>\n </tr>\n </tbody>\n </table>\n <![endif]-->\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </body>\n</html>';
|
36
|
+
return '<html dir="ltr" lang="en">\n\n <head>\n <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />\n <meta name="x-apple-disable-message-reformatting" />\n <title>Reset password</title>\n <meta\n name="description"\n content="We received a request to reset the password for the account @' + alias2(alias1(depth0 != null ? lookupProperty(depth0, "handle") : depth0, depth0)) + '."\n />\n </head>\n <div\n style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0"\n >We received a request to reset the password for the account @' + alias2(alias1(depth0 != null ? lookupProperty(depth0, "handle") : depth0, depth0)) + '.<div\n >\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF</div>\n </div>\n\n <body\n style="padding:12px;padding-bottom:40px;background-color:hsl(211, 20%, 95.3%)"\n >\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="max-width:37.5em"\n >\n <tbody>\n <tr style="width:100%">\n <td>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding-top:24px;padding-bottom:24px"\n >\n <tbody>\n <tr>\n <td><img\n alt="Bluesky"\n src="https://bsky.social/about/images/email/email_logo_default.png"\n style="display:block;outline:none;border:none;text-decoration:none;width:110px;margin:0 auto"\n /></td>\n </tr>\n </tbody>\n </table>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding:24px;padding-bottom:16px;border-radius:12px;background-color:#FFFFFF"\n >\n <tbody>\n <tr>\n <td>\n <h1\n style="font-size:26px;letter-spacing:0.25px;color:#000000;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0"\n >Reset password</h1>\n <p\n style="font-size:16px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 24%, 34.2%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px;padding-bottom:12px"\n >We received a request to reset the password for the account<!-- -->\n <span\n style="color:hsl(211, 99%, 53%)"\n >@<!-- -->' + alias2(alias1(depth0 != null ? lookupProperty(depth0, "handle") : depth0, depth0)) + '<!-- -->.</span></p><code\n style="display:block;padding:16px;border-radius:8px;border-width:1px;border-style:solid;background-color:hsl(211, 20%, 95.3%);border-color:hsl(211, 20%, 85.89999999999999%);font-size:14px;letter-spacing:0.25px;font-family:monospace;text-transform:lowercase"\n >' + alias2(alias1(depth0 != null ? lookupProperty(depth0, "token") : depth0, depth0)) + '</code>\n <p\n style="font-size:14px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px"\n >To choose a new password, please enter the code above in\n the app along with your new password.</p>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding-top:24px"\n >\n <tbody>\n <tr>\n <td>\n <hr\n style="width:100%;border:none;border-top:1px solid #eaeaea;margin:0"\n />\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding-top:16px;vertical-align:middle"\n >\n <tbody style="width:100%">\n <tr style="width:100%">\n <td data-id="__react-email-column">\n <p\n style="font-size:14px;line-height:1.4;margin:0px 0px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;letter-spacing:0.25px"\n ><a\n href="https://bsky.app"\n style="color:hsl(211, 20%, 53%);text-decoration:none;text-decoration-line:underline;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0;font-size:14px;letter-spacing:0.25px"\n target="_blank"\n >Bluesky</a>, the social internet</p>\n </td>\n <td\n data-id="__react-email-column"\n style="width:24px"\n ><img\n alt="\u{1F98B}"\n src="https://bsky.social/about/images/email/email_mark_dark.png"\n style="display:block;outline:none;border:none;text-decoration:none;width:24px"\n /></td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="height:500px"\n >\n <tbody>\n <tr>\n <td></td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </body>\n\n</html>';
|
37
37
|
}, "useData": true });
|
38
38
|
// Annotate the CommonJS export names for ESM import in node:
|
39
39
|
0 && (module.exports = {});
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/mailer/templates/reset-password.hbs"],
|
4
|
-
"sourcesContent": ["import * as Handlebars from 'handlebars/runtime';\nHandlebars.registerHelper({});\nHandlebars.registerPartial({});\nexport default Handlebars.template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"<html>\\n <head>\\n <!-- Compiled with Bootstrap Email version: 1.3.1 --><meta\\n http-equiv=\\\"x-ua-compatible\\\"\\n content=\\\"ie=edge\\\"\\n />\\n <meta name=\\\"x-apple-disable-message-reformatting\\\" />\\n <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1\\\" />\\n <meta\\n name=\\\"format-detection\\\"\\n content=\\\"telephone=no, date=no, address=no, email=no\\\"\\n />\\n <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n <style type=\\\"text/css\\\">\\n body,table,td{font-family:Helvetica,Arial,sans-serif\\n !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass\\n p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass\\n div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body\\n a,#MessageViewBody\\n a{color:inherit;text-decoration:none;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}img{-ms-interpolation-mode:bicubic}table:not([class^=s-]){font-family:Helvetica,Arial,sans-serif;mso-table-lspace:0pt;mso-table-rspace:0pt;border-spacing:0px;border-collapse:collapse}table:not([class^=s-])\\n td{border-spacing:0px;border-collapse:collapse}@media screen and\\n (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100%\\n !important}*[class*=s-lg-]>tbody>tr>td{font-size:0\\n !important;line-height:0 !important;height:0\\n !important}.s-2>tbody>tr>td{font-size:8px !important;line-height:8px\\n !important;height:8px !important}.s-5>tbody>tr>td{font-size:20px\\n !important;line-height:20px !important;height:20px\\n !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px\\n !important;height:40px !important}}\\n </style>\\n </head>\\n <body\\n class=\\\"bg-light\\\"\\n style=\\\"outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <table\\n class=\\\"bg-light body\\\"\\n valign=\\\"top\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n valign=\\\"top\\\"\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <table\\n class=\\\"container\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n align=\\\"center\\\"\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0; padding: 0 16px;\\\"\\n >\\n <!--[if (gte mso 9)|(IE)]>\\n <table align=\\\"center\\\" role=\\\"presentation\\\">\\n <tbody>\\n <tr>\\n <td width=\\\"600\\\">\\n <![endif]-->\\n <table\\n align=\\\"center\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%; max-width: 600px; margin: 0 auto;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\\n <table\\n class=\\\"s-10 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"40\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"card\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <table\\n class=\\\"card-body\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;\\\"\\n align=\\\"left\\\"\\n >\\n <h1\\n class=\\\"h3\\\"\\n style=\\\"padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 28px; line-height: 33.6px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >Reset your password</h1>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <h5\\n class=\\\"text-teal-700\\\"\\n style=\\\"color: #13795b; padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 20px; line-height: 24px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >We received a request to reset the\\n password for the account:\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"identifier\") : depth0), depth0))\n + \"</h5>\\n <table\\n class=\\\"s-5 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"20\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"hr\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; border-top-width: 1px; border-top-color: #e2e8f0; border-top-style: solid; height: 1px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-5 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"20\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <div class=\\\"space-y-3\\\">\\n <p\\n class=\\\"text-gray-700\\\"\\n style=\\\"line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >Reset code:</p>\\n </div>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"card\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <table\\n class=\\\"card-body\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;\\\"\\n align=\\\"left\\\"\\n >\\n <h4\\n class=\\\"fw-900\\\"\\n style=\\\"padding-top: 0; padding-bottom: 0; font-weight: 900 !important; vertical-align: baseline; font-size: 24px; line-height: 28.8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"token\") : depth0), depth0))\n + \"</h4>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <div class=\\\"space-y-3\\\">\\n <p\\n class=\\\"text-gray-700\\\"\\n style=\\\"line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >To choose a new password, please\\n enter the above \\\"reset code\\\" in\\n the app along with your new\\n password.</p>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-10 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"40\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <!--[if (gte mso 9)|(IE)]>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <![endif]-->\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </body>\\n</html>\";\n},\"useData\":true});"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA4B;AAC5B,WAAW,eAAe,CAAC,CAAC;AAC5B,WAAW,gBAAgB,CAAC,CAAC;AAC7B,IAAO,yBAAQ,WAAW,SAAS,EAAC,YAAW,CAAC,GAAE,UAAU,GAAE,QAAO,SAAS,WAAU,QAAO,SAAQ,UAAS,MAAM;AAClH,MAAI,SAAO,UAAU,QAAQ,SAAO,UAAU,kBAAkB,iBAAiB,UAAU,kBAAkB,SAAS,QAAQ,cAAc;AACxI,QAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,aAAO,OAAO;AAAA,IAChB;AACA,WAAO;AAAA,EACX;AAEF,SAAO,
|
4
|
+
"sourcesContent": ["import * as Handlebars from 'handlebars/runtime';\nHandlebars.registerHelper({});\nHandlebars.registerPartial({});\nexport default Handlebars.template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"<html dir=\\\"ltr\\\" lang=\\\"en\\\">\\n\\n <head>\\n <meta content=\\\"text/html; charset=UTF-8\\\" http-equiv=\\\"Content-Type\\\" />\\n <meta name=\\\"x-apple-disable-message-reformatting\\\" />\\n <title>Reset password</title>\\n <meta\\n name=\\\"description\\\"\\n content=\\\"We received a request to reset the password for the account @\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"handle\") : depth0), depth0))\n + \".\\\"\\n />\\n </head>\\n <div\\n style=\\\"display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0\\\"\\n >We received a request to reset the password for the account @\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"handle\") : depth0), depth0))\n + \".<div\\n >\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF</div>\\n </div>\\n\\n <body\\n style=\\\"padding:12px;padding-bottom:40px;background-color:hsl(211, 20%, 95.3%)\\\"\\n >\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"max-width:37.5em\\\"\\n >\\n <tbody>\\n <tr style=\\\"width:100%\\\">\\n <td>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:24px;padding-bottom:24px\\\"\\n >\\n <tbody>\\n <tr>\\n <td><img\\n alt=\\\"Bluesky\\\"\\n src=\\\"https://bsky.social/about/images/email/email_logo_default.png\\\"\\n style=\\\"display:block;outline:none;border:none;text-decoration:none;width:110px;margin:0 auto\\\"\\n /></td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding:24px;padding-bottom:16px;border-radius:12px;background-color:#FFFFFF\\\"\\n >\\n <tbody>\\n <tr>\\n <td>\\n <h1\\n style=\\\"font-size:26px;letter-spacing:0.25px;color:#000000;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0\\\"\\n >Reset password</h1>\\n <p\\n style=\\\"font-size:16px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 24%, 34.2%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px;padding-bottom:12px\\\"\\n >We received a request to reset the password for the account<!-- -->\\n <span\\n style=\\\"color:hsl(211, 99%, 53%)\\\"\\n >@<!-- -->\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"handle\") : depth0), depth0))\n + \"<!-- -->.</span></p><code\\n style=\\\"display:block;padding:16px;border-radius:8px;border-width:1px;border-style:solid;background-color:hsl(211, 20%, 95.3%);border-color:hsl(211, 20%, 85.89999999999999%);font-size:14px;letter-spacing:0.25px;font-family:monospace;text-transform:lowercase\\\"\\n >\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"token\") : depth0), depth0))\n + \"</code>\\n <p\\n style=\\\"font-size:14px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px\\\"\\n >To choose a new password, please enter the code above in\\n the app along with your new password.</p>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:24px\\\"\\n >\\n <tbody>\\n <tr>\\n <td>\\n <hr\\n style=\\\"width:100%;border:none;border-top:1px solid #eaeaea;margin:0\\\"\\n />\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:16px;vertical-align:middle\\\"\\n >\\n <tbody style=\\\"width:100%\\\">\\n <tr style=\\\"width:100%\\\">\\n <td data-id=\\\"__react-email-column\\\">\\n <p\\n style=\\\"font-size:14px;line-height:1.4;margin:0px 0px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;letter-spacing:0.25px\\\"\\n ><a\\n href=\\\"https://bsky.app\\\"\\n style=\\\"color:hsl(211, 20%, 53%);text-decoration:none;text-decoration-line:underline;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0;font-size:14px;letter-spacing:0.25px\\\"\\n target=\\\"_blank\\\"\\n >Bluesky</a>, the social internet</p>\\n </td>\\n <td\\n data-id=\\\"__react-email-column\\\"\\n style=\\\"width:24px\\\"\\n ><img\\n alt=\\\"\uD83E\uDD8B\\\"\\n src=\\\"https://bsky.social/about/images/email/email_mark_dark.png\\\"\\n style=\\\"display:block;outline:none;border:none;text-decoration:none;width:24px\\\"\\n /></td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"height:500px\\\"\\n >\\n <tbody>\\n <tr>\\n <td></td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </body>\\n\\n</html>\";\n},\"useData\":true});"],
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA4B;AAC5B,WAAW,eAAe,CAAC,CAAC;AAC5B,WAAW,gBAAgB,CAAC,CAAC;AAC7B,IAAO,yBAAQ,WAAW,SAAS,EAAC,YAAW,CAAC,GAAE,UAAU,GAAE,QAAO,SAAS,WAAU,QAAO,SAAQ,UAAS,MAAM;AAClH,MAAI,SAAO,UAAU,QAAQ,SAAO,UAAU,kBAAkB,iBAAiB,UAAU,kBAAkB,SAAS,QAAQ,cAAc;AACxI,QAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,aAAO,OAAO;AAAA,IAChB;AACA,WAAO;AAAA,EACX;AAEF,SAAO,sUACH,OAAO,OAAQ,UAAU,OAAO,eAAe,QAAO,QAAQ,IAAI,QAAS,MAAM,CAAC,IAClF,iMACA,OAAO,OAAQ,UAAU,OAAO,eAAe,QAAO,QAAQ,IAAI,QAAS,MAAM,CAAC,IAClF,o4KACA,OAAO,OAAQ,UAAU,OAAO,eAAe,QAAO,QAAQ,IAAI,QAAS,MAAM,CAAC,IAClF,8UACA,OAAO,OAAQ,UAAU,OAAO,eAAe,QAAO,OAAO,IAAI,QAAS,MAAM,CAAC,IACjF;AACN,GAAE,WAAU,KAAI,CAAC;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -33,7 +33,7 @@ var update_email_default = Handlebars.template({ "compiler": [8, ">= 4.3.0"], "m
|
|
33
33
|
}
|
34
34
|
return void 0;
|
35
35
|
};
|
36
|
-
return '<html>\n <head>\n <!-- Compiled with Bootstrap Email version: 1.3.1 --><meta\n http-equiv="x-ua-compatible"\n content="ie=edge"\n />\n <meta name="x-apple-disable-message-reformatting" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <meta\n name="format-detection"\n content="telephone=no, date=no, address=no, email=no"\n />\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n <style type="text/css">\n body,table,td{font-family:Helvetica,Arial,sans-serif\n !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass\n p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass\n div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body\n a,#MessageViewBody\n a{color:inherit;text-decoration:none;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}img{-ms-interpolation-mode:bicubic}table:not([class^=s-]){font-family:Helvetica,Arial,sans-serif;mso-table-lspace:0pt;mso-table-rspace:0pt;border-spacing:0px;border-collapse:collapse}table:not([class^=s-])\n td{border-spacing:0px;border-collapse:collapse}@media screen and\n (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100%\n !important}*[class*=s-lg-]>tbody>tr>td{font-size:0\n !important;line-height:0 !important;height:0\n !important}.s-2>tbody>tr>td{font-size:8px !important;line-height:8px\n !important;height:8px !important}.s-5>tbody>tr>td{font-size:20px\n !important;line-height:20px !important;height:20px\n !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px\n !important;height:40px !important}}\n </style>\n </head>\n <body\n class="bg-light"\n style="outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;"\n bgcolor="#f7fafc"\n >\n <table\n class="bg-light body"\n valign="top"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;"\n bgcolor="#f7fafc"\n >\n <tbody>\n <tr>\n <td\n valign="top"\n style="line-height: 24px; font-size: 16px; margin: 0;"\n align="left"\n bgcolor="#f7fafc"\n >\n <table\n class="container"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n align="center"\n style="line-height: 24px; font-size: 16px; margin: 0; padding: 0 16px;"\n >\n <!--[if (gte mso 9)|(IE)]>\n <table align="center" role="presentation">\n <tbody>\n <tr>\n <td width="600">\n <![endif]-->\n <table\n align="center"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%; max-width: 600px; margin: 0 auto;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; margin: 0;"\n align="left"\n >\n <table\n class="s-10 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;"\n align="left"\n width="100%"\n height="40"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="card"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;"\n bgcolor="#ffffff"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;"\n align="left"\n bgcolor="#ffffff"\n >\n <table\n class="card-body"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;"\n align="left"\n >\n <h1\n class="h3"\n style="padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 28px; line-height: 33.6px; margin: 0;"\n align="left"\n >Update your Bluesky email</h1>\n <table\n class="s-2 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"\n align="left"\n width="100%"\n height="8"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-5 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;"\n align="left"\n width="100%"\n height="20"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="hr"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; border-top-width: 1px; border-top-color: #e2e8f0; border-top-style: solid; height: 1px; width: 100%; margin: 0;"\n align="left"\n >\n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-5 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;"\n align="left"\n width="100%"\n height="20"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <div class="space-y-3">\n <p\n class="text-gray-700"\n style="line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;"\n align="left"\n >Confirmation code:</p>\n </div>\n <table\n class="s-2 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"\n align="left"\n width="100%"\n height="8"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="card"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;"\n bgcolor="#ffffff"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;"\n align="left"\n bgcolor="#ffffff"\n >\n <table\n class="card-body"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;"\n align="left"\n >\n <h4\n class="fw-900"\n style="padding-top: 0; padding-bottom: 0; font-weight: 900 !important; vertical-align: baseline; font-size: 24px; line-height: 28.8px; margin: 0;"\n align="left"\n >' + container.escapeExpression(container.lambda(depth0 != null ? lookupProperty(depth0, "token") : depth0, depth0)) + '</h4>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-2 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"\n align="left"\n width="100%"\n height="8"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n <div class="space-y-3">\n <p\n class="text-gray-700"\n style="line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;"\n align="left"\n >To the email for your account,\n please enter the above code\n alongside your new email in the\n app.</p>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <table\n class="s-10 w-full"\n role="presentation"\n border="0"\n cellpadding="0"\n cellspacing="0"\n style="width: 100%;"\n width="100%"\n >\n <tbody>\n <tr>\n <td\n style="line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;"\n align="left"\n width="100%"\n height="40"\n >\n  \n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <!--[if (gte mso 9)|(IE)]>\n </td>\n </tr>\n </tbody>\n </table>\n <![endif]-->\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </body>\n</html>';
|
36
|
+
return '<html dir="ltr" lang="en">\n\n <head>\n <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />\n <meta name="x-apple-disable-message-reformatting" />\n <title>Update your email</title>\n <meta\n name="description"\n content="To update the email for your account, enter the code provided in the app along with your new email."\n />\n </head>\n <div\n style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0"\n >To update the email for your account, enter the code provided in the app\n along with your new email.<div\n >\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF\xA0\u200C\u200B\u200D\u200E\u200F\uFEFF</div>\n </div>\n\n <body\n style="padding:12px;padding-bottom:40px;background-color:hsl(211, 20%, 95.3%)"\n >\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="max-width:37.5em"\n >\n <tbody>\n <tr style="width:100%">\n <td>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding-top:24px;padding-bottom:24px"\n >\n <tbody>\n <tr>\n <td><img\n alt="Bluesky"\n src="https://bsky.social/about/images/email/email_logo_default.png"\n style="display:block;outline:none;border:none;text-decoration:none;width:110px;margin:0 auto"\n /></td>\n </tr>\n </tbody>\n </table>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding:24px;padding-bottom:16px;border-radius:12px;background-color:#FFFFFF"\n >\n <tbody>\n <tr>\n <td>\n <h1\n style="font-size:26px;letter-spacing:0.25px;color:#000000;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0"\n >Update your email</h1>\n <p\n style="font-size:16px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 24%, 34.2%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px;padding-bottom:12px;padding-right:32px"\n >To update the email for your account, enter the code below\n in the app along with your new email.</p><code\n style="display:block;padding:16px;border-radius:8px;border-width:1px;border-style:solid;background-color:hsl(211, 20%, 95.3%);border-color:hsl(211, 20%, 85.89999999999999%);font-size:14px;letter-spacing:0.25px;font-family:monospace;text-transform:lowercase"\n >' + container.escapeExpression(container.lambda(depth0 != null ? lookupProperty(depth0, "token") : depth0, depth0)) + '</code>\n <p\n style="font-size:14px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px"\n >If you didn't request an email update, you can safely\n ignore this email.</p>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding-top:24px"\n >\n <tbody>\n <tr>\n <td>\n <hr\n style="width:100%;border:none;border-top:1px solid #eaeaea;margin:0"\n />\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="padding-top:16px;vertical-align:middle"\n >\n <tbody style="width:100%">\n <tr style="width:100%">\n <td data-id="__react-email-column">\n <p\n style="font-size:14px;line-height:1.4;margin:0px 0px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;letter-spacing:0.25px"\n ><a\n href="https://bsky.app"\n style="color:hsl(211, 20%, 53%);text-decoration:none;text-decoration-line:underline;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0;font-size:14px;letter-spacing:0.25px"\n target="_blank"\n >Bluesky</a>, the social internet</p>\n </td>\n <td\n data-id="__react-email-column"\n style="width:24px"\n ><img\n alt="\u{1F98B}"\n src="https://bsky.social/about/images/email/email_mark_dark.png"\n style="display:block;outline:none;border:none;text-decoration:none;width:24px"\n /></td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n <table\n align="center"\n width="100%"\n border="0"\n cellPadding="0"\n cellSpacing="0"\n role="presentation"\n style="height:500px"\n >\n <tbody>\n <tr>\n <td></td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </body>\n\n</html>';
|
37
37
|
}, "useData": true });
|
38
38
|
// Annotate the CommonJS export names for ESM import in node:
|
39
39
|
0 && (module.exports = {});
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/mailer/templates/update-email.hbs"],
|
4
|
-
"sourcesContent": ["import * as Handlebars from 'handlebars/runtime';\nHandlebars.registerHelper({});\nHandlebars.registerPartial({});\nexport default Handlebars.template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"<html>\\n <head>\\n <!-- Compiled with Bootstrap Email version: 1.3.1 --><meta\\n http-equiv=\\\"x-ua-compatible\\\"\\n content=\\\"ie=edge\\\"\\n />\\n <meta name=\\\"x-apple-disable-message-reformatting\\\" />\\n <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1\\\" />\\n <meta\\n name=\\\"format-detection\\\"\\n content=\\\"telephone=no, date=no, address=no, email=no\\\"\\n />\\n <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n <style type=\\\"text/css\\\">\\n body,table,td{font-family:Helvetica,Arial,sans-serif\\n !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass\\n p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass\\n div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body\\n a,#MessageViewBody\\n a{color:inherit;text-decoration:none;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}img{-ms-interpolation-mode:bicubic}table:not([class^=s-]){font-family:Helvetica,Arial,sans-serif;mso-table-lspace:0pt;mso-table-rspace:0pt;border-spacing:0px;border-collapse:collapse}table:not([class^=s-])\\n td{border-spacing:0px;border-collapse:collapse}@media screen and\\n (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100%\\n !important}*[class*=s-lg-]>tbody>tr>td{font-size:0\\n !important;line-height:0 !important;height:0\\n !important}.s-2>tbody>tr>td{font-size:8px !important;line-height:8px\\n !important;height:8px !important}.s-5>tbody>tr>td{font-size:20px\\n !important;line-height:20px !important;height:20px\\n !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px\\n !important;height:40px !important}}\\n </style>\\n </head>\\n <body\\n class=\\\"bg-light\\\"\\n style=\\\"outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <table\\n class=\\\"bg-light body\\\"\\n valign=\\\"top\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"outline: 0; width: 100%; min-width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 24px; font-weight: normal; font-size: 16px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000000; margin: 0; padding: 0; border-width: 0;\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n valign=\\\"top\\\"\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#f7fafc\\\"\\n >\\n <table\\n class=\\\"container\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n align=\\\"center\\\"\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0; padding: 0 16px;\\\"\\n >\\n <!--[if (gte mso 9)|(IE)]>\\n <table align=\\\"center\\\" role=\\\"presentation\\\">\\n <tbody>\\n <tr>\\n <td width=\\\"600\\\">\\n <![endif]-->\\n <table\\n align=\\\"center\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%; max-width: 600px; margin: 0 auto;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\\n <table\\n class=\\\"s-10 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"40\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"card\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <table\\n class=\\\"card-body\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;\\\"\\n align=\\\"left\\\"\\n >\\n <h1\\n class=\\\"h3\\\"\\n style=\\\"padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 28px; line-height: 33.6px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >Update your Bluesky email</h1>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-5 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"20\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"hr\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; border-top-width: 1px; border-top-color: #e2e8f0; border-top-style: solid; height: 1px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-5 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"20\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <div class=\\\"space-y-3\\\">\\n <p\\n class=\\\"text-gray-700\\\"\\n style=\\\"line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >Confirmation code:</p>\\n </div>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"card\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n bgcolor=\\\"#ffffff\\\"\\n >\\n <table\\n class=\\\"card-body\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;\\\"\\n align=\\\"left\\\"\\n >\\n <h4\\n class=\\\"fw-900\\\"\\n style=\\\"padding-top: 0; padding-bottom: 0; font-weight: 900 !important; vertical-align: baseline; font-size: 24px; line-height: 28.8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n >\"\n + container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,\"token\") : depth0), depth0))\n + \"</h4>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-2 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"8\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <div class=\\\"space-y-3\\\">\\n <p\\n class=\\\"text-gray-700\\\"\\n style=\\\"line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;\\\"\\n align=\\\"left\\\"\\n >To the email for your account,\\n please enter the above code\\n alongside your new email in the\\n app.</p>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n class=\\\"s-10 w-full\\\"\\n role=\\\"presentation\\\"\\n border=\\\"0\\\"\\n cellpadding=\\\"0\\\"\\n cellspacing=\\\"0\\\"\\n style=\\\"width: 100%;\\\"\\n width=\\\"100%\\\"\\n >\\n <tbody>\\n <tr>\\n <td\\n style=\\\"line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;\\\"\\n align=\\\"left\\\"\\n width=\\\"100%\\\"\\n height=\\\"40\\\"\\n >\\n  \\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <!--[if (gte mso 9)|(IE)]>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <![endif]-->\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </body>\\n</html>\";\n},\"useData\":true});"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA4B;AAC5B,WAAW,eAAe,CAAC,CAAC;AAC5B,WAAW,gBAAgB,CAAC,CAAC;AAC7B,IAAO,uBAAQ,WAAW,SAAS,EAAC,YAAW,CAAC,GAAE,UAAU,GAAE,QAAO,SAAS,WAAU,QAAO,SAAQ,UAAS,MAAM;AAClH,MAAI,iBAAiB,UAAU,kBAAkB,SAAS,QAAQ,cAAc;AAC5E,QAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,aAAO,OAAO;AAAA,IAChB;AACA,WAAO;AAAA,EACX;AAEF,SAAO,
|
4
|
+
"sourcesContent": ["import * as Handlebars from 'handlebars/runtime';\nHandlebars.registerHelper({});\nHandlebars.registerPartial({});\nexport default Handlebars.template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"<html dir=\\\"ltr\\\" lang=\\\"en\\\">\\n\\n <head>\\n <meta content=\\\"text/html; charset=UTF-8\\\" http-equiv=\\\"Content-Type\\\" />\\n <meta name=\\\"x-apple-disable-message-reformatting\\\" />\\n <title>Update your email</title>\\n <meta\\n name=\\\"description\\\"\\n content=\\\"To update the email for your account, enter the code provided in the app along with your new email.\\\"\\n />\\n </head>\\n <div\\n style=\\\"display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0\\\"\\n >To update the email for your account, enter the code provided in the app\\n along with your new email.<div\\n >\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF\u00A0\u200C\u200B\u200D\u200E\u200F\uFEFF</div>\\n </div>\\n\\n <body\\n style=\\\"padding:12px;padding-bottom:40px;background-color:hsl(211, 20%, 95.3%)\\\"\\n >\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"max-width:37.5em\\\"\\n >\\n <tbody>\\n <tr style=\\\"width:100%\\\">\\n <td>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:24px;padding-bottom:24px\\\"\\n >\\n <tbody>\\n <tr>\\n <td><img\\n alt=\\\"Bluesky\\\"\\n src=\\\"https://bsky.social/about/images/email/email_logo_default.png\\\"\\n style=\\\"display:block;outline:none;border:none;text-decoration:none;width:110px;margin:0 auto\\\"\\n /></td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding:24px;padding-bottom:16px;border-radius:12px;background-color:#FFFFFF\\\"\\n >\\n <tbody>\\n <tr>\\n <td>\\n <h1\\n style=\\\"font-size:26px;letter-spacing:0.25px;color:#000000;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0\\\"\\n >Update your email</h1>\\n <p\\n style=\\\"font-size:16px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 24%, 34.2%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px;padding-bottom:12px;padding-right:32px\\\"\\n >To update the email for your account, enter the code below\\n in the app along with your new email.</p><code\\n style=\\\"display:block;padding:16px;border-radius:8px;border-width:1px;border-style:solid;background-color:hsl(211, 20%, 95.3%);border-color:hsl(211, 20%, 85.89999999999999%);font-size:14px;letter-spacing:0.25px;font-family:monospace;text-transform:lowercase\\\"\\n >\"\n + container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,\"token\") : depth0), depth0))\n + \"</code>\\n <p\\n style=\\\"font-size:14px;line-height:1.4;margin:0px 0px;letter-spacing:0.25px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;padding-top:12px\\\"\\n >If you didn't request an email update, you can safely\\n ignore this email.</p>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:24px\\\"\\n >\\n <tbody>\\n <tr>\\n <td>\\n <hr\\n style=\\\"width:100%;border:none;border-top:1px solid #eaeaea;margin:0\\\"\\n />\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"padding-top:16px;vertical-align:middle\\\"\\n >\\n <tbody style=\\\"width:100%\\\">\\n <tr style=\\\"width:100%\\\">\\n <td data-id=\\\"__react-email-column\\\">\\n <p\\n style=\\\"font-size:14px;line-height:1.4;margin:0px 0px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;letter-spacing:0.25px\\\"\\n ><a\\n href=\\\"https://bsky.app\\\"\\n style=\\\"color:hsl(211, 20%, 53%);text-decoration:none;text-decoration-line:underline;font-family:-apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;margin:0px 0px;line-height:1.0;font-size:14px;letter-spacing:0.25px\\\"\\n target=\\\"_blank\\\"\\n >Bluesky</a>, the social internet</p>\\n </td>\\n <td\\n data-id=\\\"__react-email-column\\\"\\n style=\\\"width:24px\\\"\\n ><img\\n alt=\\\"\uD83E\uDD8B\\\"\\n src=\\\"https://bsky.social/about/images/email/email_mark_dark.png\\\"\\n style=\\\"display:block;outline:none;border:none;text-decoration:none;width:24px\\\"\\n /></td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <table\\n align=\\\"center\\\"\\n width=\\\"100%\\\"\\n border=\\\"0\\\"\\n cellPadding=\\\"0\\\"\\n cellSpacing=\\\"0\\\"\\n role=\\\"presentation\\\"\\n style=\\\"height:500px\\\"\\n >\\n <tbody>\\n <tr>\\n <td></td>\\n </tr>\\n </tbody>\\n </table>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </body>\\n\\n</html>\";\n},\"useData\":true});"],
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA4B;AAC5B,WAAW,eAAe,CAAC,CAAC;AAC5B,WAAW,gBAAgB,CAAC,CAAC;AAC7B,IAAO,uBAAQ,WAAW,SAAS,EAAC,YAAW,CAAC,GAAE,UAAU,GAAE,QAAO,SAAS,WAAU,QAAO,SAAQ,UAAS,MAAM;AAClH,MAAI,iBAAiB,UAAU,kBAAkB,SAAS,QAAQ,cAAc;AAC5E,QAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,aAAO,OAAO;AAAA,IAChB;AACA,WAAO;AAAA,EACX;AAEF,SAAO,qvKACH,UAAU,iBAAiB,UAAU,OAAQ,UAAU,OAAO,eAAe,QAAO,OAAO,IAAI,QAAS,MAAM,CAAC,IAC/G;AACN,GAAE,WAAU,KAAI,CAAC;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/dist/pipethrough.d.ts
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
/// <reference types="node" />
|
3
3
|
import express from 'express';
|
4
|
-
import {
|
5
|
-
import { CatchallHandler,
|
4
|
+
import { Readable } from 'node:stream';
|
5
|
+
import { CatchallHandler, HandlerPipeThroughBuffer, HandlerPipeThroughStream } from '@atproto/xrpc-server';
|
6
6
|
import AppContext from './context';
|
7
7
|
export declare const proxyHandler: (ctx: AppContext) => CatchallHandler;
|
8
|
-
export
|
8
|
+
export type PipethroughOptions = {
|
9
|
+
/**
|
10
|
+
* Specify the issuer (requester) for service auth. If not provided, no
|
11
|
+
* authorization headers will be added to the request.
|
12
|
+
*/
|
13
|
+
iss?: string;
|
14
|
+
/**
|
15
|
+
* Override the audience for service auth. If not provided, the audience will
|
16
|
+
* be determined based on the proxy service.
|
17
|
+
*/
|
9
18
|
aud?: string;
|
19
|
+
/**
|
20
|
+
* Override the lexicon method for service auth. If not provided, the lexicon
|
21
|
+
* method will be determined based on the request path.
|
22
|
+
*/
|
10
23
|
lxm?: string;
|
11
|
-
}
|
12
|
-
export declare
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
nsid: string;
|
17
|
-
}>;
|
18
|
-
export declare const formatHeaders: (ctx: AppContext, req: express.Request, opts: {
|
19
|
-
aud: string;
|
20
|
-
lxm: string;
|
21
|
-
requester: string | null;
|
22
|
-
}) => Promise<{
|
23
|
-
authorization?: string;
|
24
|
+
};
|
25
|
+
export declare function pipethrough(ctx: AppContext, req: express.Request, options?: PipethroughOptions): Promise<{
|
26
|
+
stream: Readable;
|
27
|
+
headers: Record<string, string>;
|
28
|
+
encoding: string;
|
24
29
|
}>;
|
25
|
-
export declare const parseProxyHeader: (ctx: AppContext,
|
30
|
+
export declare const parseProxyHeader: (ctx: Pick<AppContext, 'idResolver'>, proxyTo: string) => Promise<{
|
26
31
|
did: string;
|
27
|
-
|
28
|
-
} | undefined>;
|
29
|
-
export declare const makeRequest: (url: URL, reqInit: RequestInit) => Promise<Response>;
|
30
|
-
export declare const pipeProxyRes: (upstreamRes: Response, ownRes: express.Response) => Promise<void>;
|
31
|
-
export declare const parseProxyRes: (res: Response) => Promise<{
|
32
|
-
encoding: string;
|
33
|
-
buffer: ArrayBuffer;
|
34
|
-
headers: Record<string, string>;
|
32
|
+
url: string;
|
35
33
|
}>;
|
34
|
+
export declare function isJsonContentType(contentType?: string): boolean | undefined;
|
35
|
+
export declare function bufferUpstreamResponse(readable: Readable, contentEncoding?: string | string[]): Promise<Buffer>;
|
36
|
+
export declare function asPipeThroughBuffer(input: HandlerPipeThroughStream): Promise<HandlerPipeThroughBuffer>;
|
36
37
|
export declare const PRIVILEGED_METHODS: Set<string>;
|
37
38
|
export declare const PROTECTED_METHODS: Set<string>;
|
38
|
-
export declare const parseRes: <T>(nsid: string, res: HandlerPipeThrough) => T;
|
39
39
|
//# sourceMappingURL=pipethrough.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipethrough.d.ts","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"pipethrough.d.ts","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAA;AAUnD,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EAKzB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,UAAU,MAAM,WAAW,CAAA;AAIlC,eAAO,MAAM,YAAY,QAAS,UAAU,KAAG,eA4E9C,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAeD,wBAAsB,WAAW,CAC/B,GAAG,EAAE,UAAU,EACf,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC;IACT,MAAM,EAAE,QAAQ,CAAA;IAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC,CA0DD;AAqBD,eAAO,MAAM,gBAAgB,QAEtB,KAAK,UAAU,EAAE,YAAY,CAAC,WAC1B,MAAM,KACd,QAAQ;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAoCtC,CAAA;AAiLD,wBAAgB,iBAAiB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAG3E;AAuCD,wBAAsB,sBAAsB,CAC1C,QAAQ,EAAE,QAAQ,EAClB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAClC,OAAO,CAAC,MAAM,CAAC,CAoBjB;AAED,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,wBAAwB,CAAC,CASnC;AAmCD,eAAO,MAAM,kBAAkB,aAgB7B,CAAA;AAKF,eAAO,MAAM,iBAAiB,aAgB5B,CAAA"}
|