@goweekdays/core 2.15.3 → 2.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +7 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.js +13 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -44
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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"
|
|
25
|
-
cache-dependency-path: yarn.lock
|
|
26
|
-
|
|
27
|
-
- run: yarn install --immutable # Install dependencies with immutable lockfile
|
|
26
|
+
cache: "yarn"
|
|
27
|
+
cache-dependency-path: yarn.lock
|
|
28
28
|
|
|
29
|
-
-
|
|
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
|
|
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,17 @@
|
|
|
1
1
|
# @goweekdays/core
|
|
2
2
|
|
|
3
|
+
## 2.15.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 37c7765: Remove duplicate job setup calls
|
|
8
|
+
|
|
9
|
+
## 2.15.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1a7c3f8: Use support@goweekdays.com in mailer and bump utils
|
|
14
|
+
|
|
3
15
|
## 2.15.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -11080,19 +11080,6 @@ function useOrgService() {
|
|
|
11080
11080
|
},
|
|
11081
11081
|
session
|
|
11082
11082
|
);
|
|
11083
|
-
await addJobStatusConfig(
|
|
11084
|
-
{
|
|
11085
|
-
org: String(org),
|
|
11086
|
-
statusTransitions: DEFAULT_JOB_STATUS_SETUP
|
|
11087
|
-
},
|
|
11088
|
-
session
|
|
11089
|
-
);
|
|
11090
|
-
await addJobSummary(
|
|
11091
|
-
{
|
|
11092
|
-
org: String(org)
|
|
11093
|
-
},
|
|
11094
|
-
session
|
|
11095
|
-
);
|
|
11096
11083
|
await useCustomerRepo().add(
|
|
11097
11084
|
{
|
|
11098
11085
|
org: String(org),
|
|
@@ -11116,8 +11103,8 @@ function useOrgService() {
|
|
|
11116
11103
|
mailer.sendMail({
|
|
11117
11104
|
to: verification.email,
|
|
11118
11105
|
subject: "Welcome to GoWeekdays - Your Organization is Ready",
|
|
11119
|
-
|
|
11120
|
-
|
|
11106
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
11107
|
+
html: emailContent
|
|
11121
11108
|
}).catch((error2) => {
|
|
11122
11109
|
import_utils58.logger.log({
|
|
11123
11110
|
level: "error",
|
|
@@ -11217,19 +11204,6 @@ function useOrgService() {
|
|
|
11217
11204
|
},
|
|
11218
11205
|
session
|
|
11219
11206
|
);
|
|
11220
|
-
await addJobStatusConfig(
|
|
11221
|
-
{
|
|
11222
|
-
org: String(org),
|
|
11223
|
-
statusTransitions: DEFAULT_JOB_STATUS_SETUP
|
|
11224
|
-
},
|
|
11225
|
-
session
|
|
11226
|
-
);
|
|
11227
|
-
await addJobSummary(
|
|
11228
|
-
{
|
|
11229
|
-
org: String(org)
|
|
11230
|
-
},
|
|
11231
|
-
session
|
|
11232
|
-
);
|
|
11233
11207
|
await useCustomerRepo().add(
|
|
11234
11208
|
{
|
|
11235
11209
|
org: String(org),
|
|
@@ -11253,8 +11227,8 @@ function useOrgService() {
|
|
|
11253
11227
|
mailer.sendMail({
|
|
11254
11228
|
to: verification.email,
|
|
11255
11229
|
subject: "Welcome to GoWeekdays - Your Organization is Ready",
|
|
11256
|
-
|
|
11257
|
-
|
|
11230
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
11231
|
+
html: emailContent
|
|
11258
11232
|
}).catch((error2) => {
|
|
11259
11233
|
import_utils58.logger.log({
|
|
11260
11234
|
level: "error",
|
|
@@ -12163,7 +12137,7 @@ function useVerificationService() {
|
|
|
12163
12137
|
to: email,
|
|
12164
12138
|
subject: "Member Invite",
|
|
12165
12139
|
html: emailContent2,
|
|
12166
|
-
from: "GoWeekdays"
|
|
12140
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12167
12141
|
}).catch((error) => {
|
|
12168
12142
|
import_utils62.logger.log({
|
|
12169
12143
|
level: "error",
|
|
@@ -12185,7 +12159,7 @@ function useVerificationService() {
|
|
|
12185
12159
|
to: email,
|
|
12186
12160
|
subject: "User Invite",
|
|
12187
12161
|
html: emailContent,
|
|
12188
|
-
from: "GoWeekdays"
|
|
12162
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12189
12163
|
}).catch((error) => {
|
|
12190
12164
|
import_utils62.logger.log({
|
|
12191
12165
|
level: "error",
|
|
@@ -12219,7 +12193,7 @@ function useVerificationService() {
|
|
|
12219
12193
|
mailer.sendMail({
|
|
12220
12194
|
to: email,
|
|
12221
12195
|
subject: "Forget Password",
|
|
12222
|
-
from: "GoWeekdays"
|
|
12196
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
12223
12197
|
html: emailContent
|
|
12224
12198
|
}).catch((error) => {
|
|
12225
12199
|
import_utils62.logger.log({
|
|
@@ -12410,7 +12384,7 @@ function useVerificationService() {
|
|
|
12410
12384
|
to: email,
|
|
12411
12385
|
subject: "Sign Up Verification",
|
|
12412
12386
|
html: emailContent,
|
|
12413
|
-
from: "GoWeekdays"
|
|
12387
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12414
12388
|
}).catch((error) => {
|
|
12415
12389
|
import_utils62.logger.log({
|
|
12416
12390
|
level: "error",
|
|
@@ -12502,7 +12476,7 @@ function useVerificationService() {
|
|
|
12502
12476
|
to: value.email,
|
|
12503
12477
|
subject: "Member Invite",
|
|
12504
12478
|
html: emailContent2,
|
|
12505
|
-
from: "GoWeekdays"
|
|
12479
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12506
12480
|
}).catch((error2) => {
|
|
12507
12481
|
import_utils62.logger.log({
|
|
12508
12482
|
level: "error",
|
|
@@ -12524,7 +12498,7 @@ function useVerificationService() {
|
|
|
12524
12498
|
to: value.email,
|
|
12525
12499
|
subject: "User Invite",
|
|
12526
12500
|
html: emailContent,
|
|
12527
|
-
from: "GoWeekdays"
|
|
12501
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12528
12502
|
}).catch((error2) => {
|
|
12529
12503
|
import_utils62.logger.log({
|
|
12530
12504
|
level: "error",
|
|
@@ -12592,16 +12566,11 @@ function useVerificationService() {
|
|
|
12592
12566
|
},
|
|
12593
12567
|
filePath
|
|
12594
12568
|
});
|
|
12595
|
-
mailer.sendMail({
|
|
12569
|
+
await mailer.sendMail({
|
|
12596
12570
|
to: email,
|
|
12597
12571
|
subject: "Forget Password",
|
|
12598
|
-
from: "GoWeekdays"
|
|
12572
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
12599
12573
|
html: emailContent
|
|
12600
|
-
}).catch((error2) => {
|
|
12601
|
-
import_utils62.logger.log({
|
|
12602
|
-
level: "error",
|
|
12603
|
-
message: `Error sending forget password email: ${error2}`
|
|
12604
|
-
});
|
|
12605
12574
|
});
|
|
12606
12575
|
return "Successfully created a link to reset password. Please check your email.";
|
|
12607
12576
|
} catch (error2) {
|
|
@@ -12716,7 +12685,7 @@ function useVerificationService() {
|
|
|
12716
12685
|
to: value.email,
|
|
12717
12686
|
subject: value.pilot ? "Pilot Organization Invitation" : "Organization Invitation",
|
|
12718
12687
|
html: emailContent,
|
|
12719
|
-
from: "GoWeekdays"
|
|
12688
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12720
12689
|
});
|
|
12721
12690
|
await session?.commitTransaction();
|
|
12722
12691
|
return "Successfully created organization invite.";
|