@goweekdays/core 2.15.3 → 2.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,23 +17,22 @@ jobs:
17
17
  runs-on: ubuntu-latest
18
18
  steps:
19
19
  - uses: actions/checkout@v4
20
+ with:
21
+ fetch-depth: 0
20
22
 
21
23
  - uses: actions/setup-node@v4
22
24
  with:
23
25
  node-version: 20.x
24
- cache: "yarn" # Use yarn for caching
25
- cache-dependency-path: yarn.lock # Cache Yarn lockfile
26
-
27
- - run: yarn install --immutable # Install dependencies with immutable lockfile
26
+ cache: "yarn"
27
+ cache-dependency-path: yarn.lock
28
28
 
29
- - name: Create .npmrc for publishing
30
- run: |
31
- echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ~/.npmrc
29
+ - run: yarn install --immutable
32
30
 
33
31
  - name: Create Release Pull Request or Publish
34
32
  id: changesets
35
33
  uses: changesets/action@v1
36
34
  with:
37
- publish: yarn release # Use yarn for publishing
35
+ publish: yarn release
38
36
  env:
39
37
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @goweekdays/core
2
2
 
3
+ ## 2.15.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 1a7c3f8: Use support@goweekdays.com in mailer and bump utils
8
+
3
9
  ## 2.15.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -11116,8 +11116,8 @@ function useOrgService() {
11116
11116
  mailer.sendMail({
11117
11117
  to: verification.email,
11118
11118
  subject: "Welcome to GoWeekdays - Your Organization is Ready",
11119
- html: emailContent,
11120
- from: "GoWeekdays"
11119
+ from: `"GoWeekdays" <support@goweekdays.com>`,
11120
+ html: emailContent
11121
11121
  }).catch((error2) => {
11122
11122
  import_utils58.logger.log({
11123
11123
  level: "error",
@@ -11253,8 +11253,8 @@ function useOrgService() {
11253
11253
  mailer.sendMail({
11254
11254
  to: verification.email,
11255
11255
  subject: "Welcome to GoWeekdays - Your Organization is Ready",
11256
- html: emailContent,
11257
- from: "GoWeekdays"
11256
+ from: `"GoWeekdays" <support@goweekdays.com>`,
11257
+ html: emailContent
11258
11258
  }).catch((error2) => {
11259
11259
  import_utils58.logger.log({
11260
11260
  level: "error",
@@ -12163,7 +12163,7 @@ function useVerificationService() {
12163
12163
  to: email,
12164
12164
  subject: "Member Invite",
12165
12165
  html: emailContent2,
12166
- from: "GoWeekdays"
12166
+ from: `"GoWeekdays" <support@goweekdays.com>`
12167
12167
  }).catch((error) => {
12168
12168
  import_utils62.logger.log({
12169
12169
  level: "error",
@@ -12185,7 +12185,7 @@ function useVerificationService() {
12185
12185
  to: email,
12186
12186
  subject: "User Invite",
12187
12187
  html: emailContent,
12188
- from: "GoWeekdays"
12188
+ from: `"GoWeekdays" <support@goweekdays.com>`
12189
12189
  }).catch((error) => {
12190
12190
  import_utils62.logger.log({
12191
12191
  level: "error",
@@ -12219,7 +12219,7 @@ function useVerificationService() {
12219
12219
  mailer.sendMail({
12220
12220
  to: email,
12221
12221
  subject: "Forget Password",
12222
- from: "GoWeekdays",
12222
+ from: `"GoWeekdays" <support@goweekdays.com>`,
12223
12223
  html: emailContent
12224
12224
  }).catch((error) => {
12225
12225
  import_utils62.logger.log({
@@ -12410,7 +12410,7 @@ function useVerificationService() {
12410
12410
  to: email,
12411
12411
  subject: "Sign Up Verification",
12412
12412
  html: emailContent,
12413
- from: "GoWeekdays"
12413
+ from: `"GoWeekdays" <support@goweekdays.com>`
12414
12414
  }).catch((error) => {
12415
12415
  import_utils62.logger.log({
12416
12416
  level: "error",
@@ -12502,7 +12502,7 @@ function useVerificationService() {
12502
12502
  to: value.email,
12503
12503
  subject: "Member Invite",
12504
12504
  html: emailContent2,
12505
- from: "GoWeekdays"
12505
+ from: `"GoWeekdays" <support@goweekdays.com>`
12506
12506
  }).catch((error2) => {
12507
12507
  import_utils62.logger.log({
12508
12508
  level: "error",
@@ -12524,7 +12524,7 @@ function useVerificationService() {
12524
12524
  to: value.email,
12525
12525
  subject: "User Invite",
12526
12526
  html: emailContent,
12527
- from: "GoWeekdays"
12527
+ from: `"GoWeekdays" <support@goweekdays.com>`
12528
12528
  }).catch((error2) => {
12529
12529
  import_utils62.logger.log({
12530
12530
  level: "error",
@@ -12592,16 +12592,11 @@ function useVerificationService() {
12592
12592
  },
12593
12593
  filePath
12594
12594
  });
12595
- mailer.sendMail({
12595
+ await mailer.sendMail({
12596
12596
  to: email,
12597
12597
  subject: "Forget Password",
12598
- from: "GoWeekdays",
12598
+ from: `"GoWeekdays" <support@goweekdays.com>`,
12599
12599
  html: emailContent
12600
- }).catch((error2) => {
12601
- import_utils62.logger.log({
12602
- level: "error",
12603
- message: `Error sending forget password email: ${error2}`
12604
- });
12605
12600
  });
12606
12601
  return "Successfully created a link to reset password. Please check your email.";
12607
12602
  } catch (error2) {
@@ -12716,7 +12711,7 @@ function useVerificationService() {
12716
12711
  to: value.email,
12717
12712
  subject: value.pilot ? "Pilot Organization Invitation" : "Organization Invitation",
12718
12713
  html: emailContent,
12719
- from: "GoWeekdays"
12714
+ from: `"GoWeekdays" <support@goweekdays.com>`
12720
12715
  });
12721
12716
  await session?.commitTransaction();
12722
12717
  return "Successfully created organization invite.";