ins-queue-actions 1.2.105 → 1.2.107
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.
|
@@ -55,26 +55,6 @@ jobs:
|
|
|
55
55
|
- name: Fetch the latest code
|
|
56
56
|
run: git pull origin main # Ensures that the latest version is fetched from the main branch.
|
|
57
57
|
|
|
58
|
-
- name: Debug npm configuration
|
|
59
|
-
run: |
|
|
60
|
-
echo "npm version: $(npm --version)"
|
|
61
|
-
echo "Registry: $(npm config get registry)"
|
|
62
|
-
echo "Checking temp .npmrc (created by setup-node):"
|
|
63
|
-
cat $NPM_CONFIG_USERCONFIG 2>/dev/null || echo "No temp .npmrc found"
|
|
64
|
-
echo ""
|
|
65
|
-
echo "Whoami check:"
|
|
66
|
-
npm whoami || echo "Not authenticated"
|
|
67
|
-
echo ""
|
|
68
|
-
echo "NODE_AUTH_TOKEN status:"
|
|
69
|
-
if [ -n "$NODE_AUTH_TOKEN" ]; then
|
|
70
|
-
echo "Token is SET (this should NOT be set for Trusted Publishing)"
|
|
71
|
-
else
|
|
72
|
-
echo "Token is NOT set (good for Trusted Publishing)"
|
|
73
|
-
fi
|
|
74
|
-
|
|
75
58
|
- name: Publish to npm
|
|
76
|
-
run:
|
|
77
|
-
|
|
78
|
-
unset NODE_AUTH_TOKEN
|
|
79
|
-
npm config delete //registry.npmjs.org/:_authToken || true
|
|
80
|
-
npm publish --access public
|
|
59
|
+
run: npm publish --access public
|
|
60
|
+
# Trusted Publishing (OIDC) is used automatically - no token needed
|
package/notificationTemplates.js
CHANGED
|
@@ -5,9 +5,13 @@ module.exports = {
|
|
|
5
5
|
templateName: "BID_SUBMITTED_BY_SP",
|
|
6
6
|
requiredParams: [],
|
|
7
7
|
},
|
|
8
|
+
BID_UPDATED_BY_SP: {
|
|
9
|
+
templateName: "BID_UPDATED_BY_SP",
|
|
10
|
+
requiredParams: [],
|
|
11
|
+
},
|
|
8
12
|
RECURRENT_SUBSCRIPTION_PROMOTION: {
|
|
9
13
|
templateName: "RECURRENT_SUBSCRIPTION_PROMOTION",
|
|
10
|
-
requiredParams: ["firstName"]
|
|
14
|
+
requiredParams: ["firstName"],
|
|
11
15
|
},
|
|
12
16
|
RFQ_ACCEPTED_CUSTOMER: {
|
|
13
17
|
templateName: "RFQ_ACCEPTED_CUSTOMER",
|
|
@@ -315,6 +319,10 @@ module.exports = {
|
|
|
315
319
|
templateName: "BID_SUBMITTED_BY_SP",
|
|
316
320
|
requiredParams: [],
|
|
317
321
|
},
|
|
322
|
+
BID_UPDATED_BY_SP: {
|
|
323
|
+
templateName: "BID_UPDATED_BY_SP",
|
|
324
|
+
requiredParams: [],
|
|
325
|
+
},
|
|
318
326
|
EMPLOYEE_PERFORMANCE_BONUS: {
|
|
319
327
|
templateName: "EMPLOYEE_PERFORMANCE_BONUS",
|
|
320
328
|
requiredParams: ["spName", "bonusCredit", "displayedBookingId"],
|
|
@@ -711,6 +719,10 @@ module.exports = {
|
|
|
711
719
|
templateName: "BID_SUBMITTED_BY_SP",
|
|
712
720
|
requiredParams: [],
|
|
713
721
|
},
|
|
722
|
+
BID_UPDATED_BY_SP: {
|
|
723
|
+
templateName: "BID_UPDATED_BY_SP",
|
|
724
|
+
requiredParams: [],
|
|
725
|
+
},
|
|
714
726
|
BOOKING_DELEGATED_TO_EMPLOYEE: {
|
|
715
727
|
templateName: "BOOKING_DELEGATED_TO_EMPLOYEE",
|
|
716
728
|
requiredParams: ["name", "displayedBookingId", "bookingId"],
|