Skip to content

Commit 64e855e

Browse files
authored
Merge pull request #10 from Stakely/release_v1.0.5
v1.0.5
2 parents 6b60802 + a73d974 commit 64e855e

File tree

9 files changed

+485
-365
lines changed

9 files changed

+485
-365
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Report a security issue
4+
url: https://github.com/Stakely/lido-withdrawals-automation/security/policy
5+
about: Learn how to report a security issue

.github/SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Security Policy
2+
3+
If you discover any security related issues, please contact with [email protected]

.github/workflows/node.js.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ on:
77
push:
88
branches: [ "main" ]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: [ "*" ]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
strategy:
1817
matrix:
19-
node-version: [18.x]
18+
node-version: [18.x, 20.x, 22.x]
2019
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120

2221
steps:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Stakely
3+
Copyright (c) 2025 Stakely
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ This project is released under the [MIT License](https://opensource.org/licenses
9797

9898
MIT License
9999

100-
Copyright (c) 2023 Stakely
100+
Copyright (c) 2025 Stakely
101101

102102
Permission is hereby granted, free of charge, to any person obtaining a copy
103103
of this software and associated documentation files (the "Software"), to deal

index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require("dotenv").config();
1010
async function main() {
1111

1212
console.log("\n");
13-
console.info("🚀 Lido Withdrawals Automation developed by Stakely.io - v1.0.3");
13+
console.info("🚀 Lido Withdrawals Automation developed by Stakely.io - v1.0.5");
1414
console.log("\n");
1515
console.info("Step 1: Checking environment variables and asking for missing values...");
1616

@@ -28,6 +28,12 @@ async function main() {
2828

2929
// Validate environment variables
3030
for (const [key, value] of Object.entries(env)) {
31+
32+
// If the value is undefined, skip the validation, it will be asked later
33+
if(value === undefined) {
34+
continue;
35+
}
36+
3137
const validationFunction = {
3238
percentage: percentageValidation,
3339
kapiUrl: urlValidation,

0 commit comments

Comments
 (0)