@atproto/pds 0.4.59 → 0.4.61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/account-manager/helpers/account.d.ts +1 -0
  3. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  4. package/dist/account-manager/helpers/account.js +15 -1
  5. package/dist/account-manager/helpers/account.js.map +1 -1
  6. package/dist/account-manager/helpers/invite.d.ts +1 -1
  7. package/dist/account-manager/helpers/invite.d.ts.map +1 -1
  8. package/dist/account-manager/helpers/invite.js +20 -9
  9. package/dist/account-manager/helpers/invite.js.map +1 -1
  10. package/dist/account-manager/index.d.ts +2 -0
  11. package/dist/account-manager/index.d.ts.map +1 -1
  12. package/dist/account-manager/index.js +8 -1
  13. package/dist/account-manager/index.js.map +1 -1
  14. package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
  15. package/dist/api/app/bsky/actor/getProfile.js +2 -9
  16. package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
  17. package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
  18. package/dist/api/app/bsky/actor/getProfiles.js +2 -6
  19. package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
  20. package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  21. package/dist/api/app/bsky/feed/getActorLikes.js +2 -9
  22. package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
  23. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  24. package/dist/api/app/bsky/feed/getAuthorFeed.js +2 -9
  25. package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
  26. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  27. package/dist/api/app/bsky/feed/getFeed.js +2 -1
  28. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  29. package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
  30. package/dist/api/app/bsky/feed/getPostThread.js +12 -14
  31. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  32. package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
  33. package/dist/api/app/bsky/feed/getTimeline.js +2 -6
  34. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  35. package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  36. package/dist/api/com/atproto/admin/getAccountInfo.js +6 -14
  37. package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
  38. package/dist/api/com/atproto/admin/getAccountInfos.d.ts +4 -0
  39. package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -0
  40. package/dist/api/com/atproto/admin/getAccountInfos.js +32 -0
  41. package/dist/api/com/atproto/admin/getAccountInfos.js.map +1 -0
  42. package/dist/api/com/atproto/admin/index.d.ts.map +1 -1
  43. package/dist/api/com/atproto/admin/index.js +2 -0
  44. package/dist/api/com/atproto/admin/index.js.map +1 -1
  45. package/dist/api/com/atproto/admin/util.d.ts +17 -0
  46. package/dist/api/com/atproto/admin/util.d.ts.map +1 -1
  47. package/dist/api/com/atproto/admin/util.js +27 -1
  48. package/dist/api/com/atproto/admin/util.js.map +1 -1
  49. package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
  50. package/dist/api/com/atproto/repo/getRecord.js +2 -2
  51. package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
  52. package/dist/api/com/atproto/server/requestPasswordReset.js +1 -1
  53. package/dist/api/com/atproto/server/requestPasswordReset.js.map +1 -1
  54. package/dist/config/config.d.ts +17 -0
  55. package/dist/config/config.d.ts.map +1 -1
  56. package/dist/config/config.js +11 -1
  57. package/dist/config/config.js.map +1 -1
  58. package/dist/config/env.d.ts +7 -1
  59. package/dist/config/env.d.ts.map +1 -1
  60. package/dist/config/env.js +9 -1
  61. package/dist/config/env.js.map +1 -1
  62. package/dist/context.d.ts +6 -2
  63. package/dist/context.d.ts.map +1 -1
  64. package/dist/context.js +55 -11
  65. package/dist/context.js.map +1 -1
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +1 -0
  68. package/dist/index.js.map +1 -1
  69. package/dist/lexicon/index.d.ts +4 -0
  70. package/dist/lexicon/index.d.ts.map +1 -1
  71. package/dist/lexicon/index.js +8 -0
  72. package/dist/lexicon/index.js.map +1 -1
  73. package/dist/lexicon/lexicons.d.ts +118 -0
  74. package/dist/lexicon/lexicons.d.ts.map +1 -1
  75. package/dist/lexicon/lexicons.js +135 -3
  76. package/dist/lexicon/lexicons.js.map +1 -1
  77. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +2 -0
  78. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  79. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  80. package/dist/lexicon/types/app/bsky/actor/profile.d.ts +1 -0
  81. package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
  82. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  83. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +13 -2
  84. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  85. package/dist/lexicon/types/app/bsky/feed/defs.js +21 -1
  86. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  87. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts +1 -0
  88. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  89. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +2 -0
  90. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  91. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +2 -0
  92. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  93. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +1 -0
  94. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts.map +1 -1
  95. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts +39 -0
  96. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts.map +1 -0
  97. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js +3 -0
  98. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js.map +1 -0
  99. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts +39 -0
  100. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts.map +1 -0
  101. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js +3 -0
  102. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js.map +1 -0
  103. package/dist/mailer/index.d.ts +1 -1
  104. package/dist/mailer/index.d.ts.map +1 -1
  105. package/dist/mailer/index.js.map +1 -1
  106. package/dist/mailer/templates/confirm-email.js +1 -1
  107. package/dist/mailer/templates/confirm-email.js.map +2 -2
  108. package/dist/mailer/templates/delete-account.js +1 -1
  109. package/dist/mailer/templates/delete-account.js.map +2 -2
  110. package/dist/mailer/templates/plc-operation.js +1 -1
  111. package/dist/mailer/templates/plc-operation.js.map +2 -2
  112. package/dist/mailer/templates/reset-password.js +1 -1
  113. package/dist/mailer/templates/reset-password.js.map +2 -2
  114. package/dist/mailer/templates/update-email.js +1 -1
  115. package/dist/mailer/templates/update-email.js.map +2 -2
  116. package/dist/pipethrough.d.ts +26 -26
  117. package/dist/pipethrough.d.ts.map +1 -1
  118. package/dist/pipethrough.js +360 -228
  119. package/dist/pipethrough.js.map +1 -1
  120. package/dist/read-after-write/util.d.ts +13 -5
  121. package/dist/read-after-write/util.d.ts.map +1 -1
  122. package/dist/read-after-write/util.js +37 -22
  123. package/dist/read-after-write/util.js.map +1 -1
  124. package/package.json +15 -14
  125. package/src/account-manager/helpers/account.ts +22 -0
  126. package/src/account-manager/helpers/invite.ts +19 -9
  127. package/src/account-manager/index.ts +13 -1
  128. package/src/api/app/bsky/actor/getProfile.ts +3 -17
  129. package/src/api/app/bsky/actor/getProfiles.ts +3 -15
  130. package/src/api/app/bsky/feed/getActorLikes.ts +3 -19
  131. package/src/api/app/bsky/feed/getAuthorFeed.ts +3 -17
  132. package/src/api/app/bsky/feed/getFeed.ts +3 -1
  133. package/src/api/app/bsky/feed/getPostThread.ts +16 -23
  134. package/src/api/app/bsky/feed/getTimeline.ts +3 -14
  135. package/src/api/com/atproto/admin/getAccountInfo.ts +6 -13
  136. package/src/api/com/atproto/admin/getAccountInfos.ts +33 -0
  137. package/src/api/com/atproto/admin/index.ts +2 -0
  138. package/src/api/com/atproto/admin/util.ts +38 -0
  139. package/src/api/com/atproto/repo/getRecord.ts +5 -2
  140. package/src/api/com/atproto/server/requestPasswordReset.ts +1 -1
  141. package/src/config/config.ts +31 -1
  142. package/src/config/env.ts +22 -2
  143. package/src/context.ts +62 -17
  144. package/src/index.ts +1 -0
  145. package/src/lexicon/index.ts +24 -0
  146. package/src/lexicon/lexicons.ts +137 -3
  147. package/src/lexicon/types/app/bsky/actor/defs.ts +2 -0
  148. package/src/lexicon/types/app/bsky/actor/profile.ts +1 -0
  149. package/src/lexicon/types/app/bsky/feed/defs.ts +38 -2
  150. package/src/lexicon/types/app/bsky/feed/getAuthorFeed.ts +1 -0
  151. package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +2 -0
  152. package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +2 -0
  153. package/src/lexicon/types/com/atproto/repo/getRecord.ts +1 -0
  154. package/src/lexicon/types/tools/ozone/moderation/getRecords.ts +50 -0
  155. package/src/lexicon/types/tools/ozone/moderation/getRepos.ts +50 -0
  156. package/src/mailer/index.ts +1 -1
  157. package/src/mailer/templates/confirm-email.hbs +106 -336
  158. package/src/mailer/templates/delete-account.hbs +110 -346
  159. package/src/mailer/templates/plc-operation.hbs +107 -338
  160. package/src/mailer/templates/reset-password.d.ts +1 -1
  161. package/src/mailer/templates/reset-password.hbs +108 -344
  162. package/src/mailer/templates/update-email.hbs +107 -337
  163. package/src/pipethrough.ts +528 -233
  164. package/src/read-after-write/util.ts +58 -32
  165. package/tests/account-deletion.test.ts +1 -1
  166. package/tests/account.test.ts +2 -2
  167. package/tests/email-confirmation.test.ts +2 -2
  168. package/tests/plc-operations.test.ts +1 -1
  169. package/tests/proxied/proxy-catchall.test.ts +255 -0
  170. package/tests/proxied/proxy-header.test.ts +31 -1
  171. package/tests/proxied/read-after-write.test.ts +77 -0
@@ -1,364 +1,123 @@
1
- <html>
1
+ <html dir="ltr" lang="en">
2
+
2
3
  <head>
3
- <!-- Compiled with Bootstrap Email version: 1.3.1 --><meta
4
- http-equiv="x-ua-compatible"
5
- content="ie=edge"
6
- />
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
5
  <meta name="x-apple-disable-message-reformatting" />
8
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>PLC update requested</title>
9
7
  <meta
10
- name="format-detection"
11
- content="telephone=no, date=no, address=no, email=no"
8
+ name="description"
9
+ content="We recieved a request to update your PLC."
12
10
  />
13
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14
- <style type="text/css">
15
- body,table,td{font-family:Helvetica,Arial,sans-serif
16
- !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass
17
- p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass
18
- div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body
19
- a,#MessageViewBody
20
- 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-])
21
- td{border-spacing:0px;border-collapse:collapse}@media screen and
22
- (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100%
23
- !important}*[class*=s-lg-]>tbody>tr>td{font-size:0
24
- !important;line-height:0 !important;height:0
25
- !important}.s-2>tbody>tr>td{font-size:8px !important;line-height:8px
26
- !important;height:8px !important}.s-5>tbody>tr>td{font-size:20px
27
- !important;line-height:20px !important;height:20px
28
- !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px
29
- !important;height:40px !important}}
30
- </style>
31
11
  </head>
12
+ <div
13
+ style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0"
14
+ >We recieved a request to update your PLC.<div
15
+ > ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏ ‌​‍‎‏</div>
16
+ </div>
17
+
32
18
  <body
33
- class="bg-light"
34
- 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;"
35
- bgcolor="#f7fafc"
19
+ style="padding:12px;padding-bottom:40px;background-color:hsl(211, 20%, 95.3%)"
36
20
  >
37
21
  <table
38
- class="bg-light body"
39
- valign="top"
40
- role="presentation"
22
+ align="center"
23
+ width="100%"
41
24
  border="0"
42
- cellpadding="0"
43
- cellspacing="0"
44
- 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;"
45
- bgcolor="#f7fafc"
25
+ cellPadding="0"
26
+ cellSpacing="0"
27
+ role="presentation"
28
+ style="max-width:37.5em"
46
29
  >
47
30
  <tbody>
48
- <tr>
49
- <td
50
- valign="top"
51
- style="line-height: 24px; font-size: 16px; margin: 0;"
52
- align="left"
53
- bgcolor="#f7fafc"
54
- >
31
+ <tr style="width:100%">
32
+ <td>
55
33
  <table
56
- class="container"
34
+ align="center"
35
+ width="100%"
36
+ border="0"
37
+ cellPadding="0"
38
+ cellSpacing="0"
57
39
  role="presentation"
40
+ style="padding-top:24px;padding-bottom:24px"
41
+ >
42
+ <tbody>
43
+ <tr>
44
+ <td><img
45
+ alt="Bluesky"
46
+ src="https://bsky.social/about/images/email/email_logo_default.png"
47
+ style="display:block;outline:none;border:none;text-decoration:none;width:110px;margin:0 auto"
48
+ /></td>
49
+ </tr>
50
+ </tbody>
51
+ </table>
52
+ <table
53
+ align="center"
54
+ width="100%"
58
55
  border="0"
59
- cellpadding="0"
60
- cellspacing="0"
61
- style="width: 100%;"
56
+ cellPadding="0"
57
+ cellSpacing="0"
58
+ role="presentation"
59
+ style="padding:24px;padding-bottom:16px;border-radius:12px;background-color:#FFFFFF"
62
60
  >
63
61
  <tbody>
64
62
  <tr>
65
- <td
66
- align="center"
67
- style="line-height: 24px; font-size: 16px; margin: 0; padding: 0 16px;"
68
- >
69
- <!--[if (gte mso 9)|(IE)]>
70
- <table align="center" role="presentation">
71
- <tbody>
72
- <tr>
73
- <td width="600">
74
- <![endif]-->
63
+ <td>
64
+ <h1
65
+ style="font-size:26px;letter-spacing:0.25px;color:#000000;font-family:-apple-system, BlinkMacSystemFont, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif;margin:0px 0px;line-height:1.0"
66
+ >PLC update requested</h1>
67
+ <p
68
+ 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, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif;padding-top:12px;padding-bottom:12px"
69
+ >We received a request to update your PLC identity. Your
70
+ confirmation code is:</p><code
71
+ 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:uppercase"
72
+ >{{token}}</code>
73
+ <p
74
+ 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, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif;padding-top:12px"
75
+ >Updating your PLC identity is a very sensitive operation.
76
+ Please only proceed if you are confident in what you are
77
+ doing.</p>
75
78
  <table
76
79
  align="center"
77
- role="presentation"
80
+ width="100%"
78
81
  border="0"
79
- cellpadding="0"
80
- cellspacing="0"
81
- style="width: 100%; max-width: 600px; margin: 0 auto;"
82
+ cellPadding="0"
83
+ cellSpacing="0"
84
+ role="presentation"
85
+ style="padding-top:24px"
82
86
  >
83
87
  <tbody>
84
88
  <tr>
85
- <td
86
- style="line-height: 24px; font-size: 16px; margin: 0;"
87
- align="left"
88
- >
89
+ <td>
90
+ <hr
91
+ style="width:100%;border:none;border-top:1px solid #eaeaea;margin:0"
92
+ />
89
93
  <table
90
- class="s-10 w-full"
91
- role="presentation"
92
- border="0"
93
- cellpadding="0"
94
- cellspacing="0"
95
- style="width: 100%;"
94
+ align="center"
96
95
  width="100%"
97
- >
98
- <tbody>
99
- <tr>
100
- <td
101
- style="line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;"
102
- align="left"
103
- width="100%"
104
- height="40"
105
- >
106
- &#160;
107
- </td>
108
- </tr>
109
- </tbody>
110
- </table>
111
- <table
112
- class="card"
113
- role="presentation"
114
96
  border="0"
115
- cellpadding="0"
116
- cellspacing="0"
117
- style="border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;"
118
- bgcolor="#ffffff"
119
- >
120
- <tbody>
121
- <tr>
122
- <td
123
- style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;"
124
- align="left"
125
- bgcolor="#ffffff"
126
- >
127
- <table
128
- class="card-body"
129
- role="presentation"
130
- border="0"
131
- cellpadding="0"
132
- cellspacing="0"
133
- style="width: 100%;"
134
- >
135
- <tbody>
136
- <tr>
137
- <td
138
- style="line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;"
139
- align="left"
140
- >
141
- <h1
142
- class="h3"
143
- style="padding-top: 0; padding-bottom: 0; font-weight: 500; vertical-align: baseline; font-size: 28px; line-height: 33.6px; margin: 0;"
144
- align="left"
145
- >PLC Update Requested</h1>
146
- <table
147
- class="s-2 w-full"
148
- role="presentation"
149
- border="0"
150
- cellpadding="0"
151
- cellspacing="0"
152
- style="width: 100%;"
153
- width="100%"
154
- >
155
- <tbody>
156
- <tr>
157
- <td
158
- style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"
159
- align="left"
160
- width="100%"
161
- height="8"
162
- >
163
- &#160;
164
- </td>
165
- </tr>
166
- </tbody>
167
- </table>
168
- <table
169
- class="s-5 w-full"
170
- role="presentation"
171
- border="0"
172
- cellpadding="0"
173
- cellspacing="0"
174
- style="width: 100%;"
175
- width="100%"
176
- >
177
- <tbody>
178
- <tr>
179
- <td
180
- style="line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;"
181
- align="left"
182
- width="100%"
183
- height="20"
184
- >
185
- &#160;
186
- </td>
187
- </tr>
188
- </tbody>
189
- </table>
190
- <table
191
- class="hr"
192
- role="presentation"
193
- border="0"
194
- cellpadding="0"
195
- cellspacing="0"
196
- style="width: 100%;"
197
- >
198
- <tbody>
199
- <tr>
200
- <td
201
- 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;"
202
- align="left"
203
- >
204
- </td>
205
- </tr>
206
- </tbody>
207
- </table>
208
- <table
209
- class="s-5 w-full"
210
- role="presentation"
211
- border="0"
212
- cellpadding="0"
213
- cellspacing="0"
214
- style="width: 100%;"
215
- width="100%"
216
- >
217
- <tbody>
218
- <tr>
219
- <td
220
- style="line-height: 20px; font-size: 20px; width: 100%; height: 20px; margin: 0;"
221
- align="left"
222
- width="100%"
223
- height="20"
224
- >
225
- &#160;
226
- </td>
227
- </tr>
228
- </tbody>
229
- </table>
230
- <div class="space-y-3">
231
- <p
232
- class="text-gray-700"
233
- style="line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;"
234
- align="left"
235
- >Confirmation code:</p>
236
- </div>
237
- <table
238
- class="s-2 w-full"
239
- role="presentation"
240
- border="0"
241
- cellpadding="0"
242
- cellspacing="0"
243
- style="width: 100%;"
244
- width="100%"
245
- >
246
- <tbody>
247
- <tr>
248
- <td
249
- style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"
250
- align="left"
251
- width="100%"
252
- height="8"
253
- >
254
- &#160;
255
- </td>
256
- </tr>
257
- </tbody>
258
- </table>
259
- <table
260
- class="card"
261
- role="presentation"
262
- border="0"
263
- cellpadding="0"
264
- cellspacing="0"
265
- style="border-radius: 6px; border-collapse: separate !important; width: 100%; overflow: hidden; border: 1px solid #e2e8f0;"
266
- bgcolor="#ffffff"
267
- >
268
- <tbody>
269
- <tr>
270
- <td
271
- style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;"
272
- align="left"
273
- bgcolor="#ffffff"
274
- >
275
- <table
276
- class="card-body"
277
- role="presentation"
278
- border="0"
279
- cellpadding="0"
280
- cellspacing="0"
281
- style="width: 100%;"
282
- >
283
- <tbody>
284
- <tr>
285
- <td
286
- style="line-height: 24px; font-size: 16px; width: 100%; margin: 0; padding: 20px;"
287
- align="left"
288
- >
289
- <h4
290
- class="fw-900"
291
- style="padding-top: 0; padding-bottom: 0; font-weight: 900 !important; vertical-align: baseline; font-size: 24px; line-height: 28.8px; margin: 0;"
292
- align="left"
293
- >{{token}}</h4>
294
- </td>
295
- </tr>
296
- </tbody>
297
- </table>
298
- </td>
299
- </tr>
300
- </tbody>
301
- </table>
302
- <table
303
- class="s-2 w-full"
304
- role="presentation"
305
- border="0"
306
- cellpadding="0"
307
- cellspacing="0"
308
- style="width: 100%;"
309
- width="100%"
310
- >
311
- <tbody>
312
- <tr>
313
- <td
314
- style="line-height: 8px; font-size: 8px; width: 100%; height: 8px; margin: 0;"
315
- align="left"
316
- width="100%"
317
- height="8"
318
- >
319
- &#160;
320
- </td>
321
- </tr>
322
- </tbody>
323
- </table>
324
- <div class="space-y-3">
325
- <p
326
- class="text-gray-700"
327
- style="line-height: 24px; font-size: 16px; color: #4a5568; width: 100%; margin: 0;"
328
- align="left"
329
- >Updating your PLC identity is a
330
- very sensitive operation. Please
331
- only proceed if you are
332
- confident in what you are doing.
333
- </p>
334
- </div>
335
- </td>
336
- </tr>
337
- </tbody>
338
- </table>
339
- </td>
340
- </tr>
341
- </tbody>
342
- </table>
343
- <table
344
- class="s-10 w-full"
97
+ cellPadding="0"
98
+ cellSpacing="0"
345
99
  role="presentation"
346
- border="0"
347
- cellpadding="0"
348
- cellspacing="0"
349
- style="width: 100%;"
350
- width="100%"
100
+ style="padding-top:16px;vertical-align:middle"
351
101
  >
352
- <tbody>
353
- <tr>
354
- <td
355
- style="line-height: 40px; font-size: 40px; width: 100%; height: 40px; margin: 0;"
356
- align="left"
357
- width="100%"
358
- height="40"
359
- >
360
- &#160;
102
+ <tbody style="width:100%">
103
+ <tr style="width:100%">
104
+ <td data-id="__react-email-column">
105
+ <p
106
+ style="font-size:14px;line-height:1.4;margin:0px 0px;color:hsl(211, 20%, 53%);font-family:-apple-system, BlinkMacSystemFont, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif;letter-spacing:0.25px"
107
+ ><a
108
+ href="https://bsky.app"
109
+ style="color:hsl(211, 20%, 53%);text-decoration:none;text-decoration-line:underline;font-family:-apple-system, BlinkMacSystemFont, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif;margin:0px 0px;line-height:1.0;font-size:14px;letter-spacing:0.25px"
110
+ target="_blank"
111
+ >Bluesky</a>, the social internet</p>
361
112
  </td>
113
+ <td
114
+ data-id="__react-email-column"
115
+ style="width:24px"
116
+ ><img
117
+ alt="🦋"
118
+ src="https://bsky.social/about/images/email/email_mark_dark.png"
119
+ style="display:block;outline:none;border:none;text-decoration:none;width:24px"
120
+ /></td>
362
121
  </tr>
363
122
  </tbody>
364
123
  </table>
@@ -366,19 +125,29 @@
366
125
  </tr>
367
126
  </tbody>
368
127
  </table>
369
- <!--[if (gte mso 9)|(IE)]>
370
- </td>
371
- </tr>
372
- </tbody>
373
- </table>
374
- <![endif]-->
375
128
  </td>
376
129
  </tr>
377
130
  </tbody>
378
131
  </table>
132
+ <table
133
+ align="center"
134
+ width="100%"
135
+ border="0"
136
+ cellPadding="0"
137
+ cellSpacing="0"
138
+ role="presentation"
139
+ style="height:500px"
140
+ >
141
+ <tbody>
142
+ <tr>
143
+ <td></td>
144
+ </tr>
145
+ </tbody>
146
+ </table>
379
147
  </td>
380
148
  </tr>
381
149
  </tbody>
382
150
  </table>
383
151
  </body>
152
+
384
153
  </html>
@@ -1,4 +1,4 @@
1
1
  import { TemplateDelegate } from "handlebars";
2
2
 
3
- declare const template: TemplateDelegate<{ token: string; identifier: string }>
3
+ declare const template: TemplateDelegate<{ token: string; handle: string }>
4
4
  export default template