Skip to content

Commit 48fa7f0

Browse files
committed
refactor: migrate secret encryption to libsodium
1 parent bfb495d commit 48fa7f0

12 files changed

Lines changed: 61 additions & 60 deletions

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ outputs:
3535
description: The token of the GitHub App on the current repository.
3636

3737
runs:
38-
using: node20
38+
using: node24
3939
main: dist/index.js
4040
post: dist/index.js
4141

dist/action.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/index.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/index.js.cache

1.26 MB
Binary file not shown.

dist/index.js.cache.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/state.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/util.d.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@
3535
"@octokit/auth-app": "^4.0.13",
3636
"@octokit/core": "^4.2.4",
3737
"is-base64": "^1.1.0",
38-
"tweetsodium": "^0.0.6"
38+
"libsodium-wrappers": "0.8.4"
3939
},
4040
"devDependencies": {
4141
"@bubkoo/commitlint-config": "^1.2.2",
4242
"@bubkoo/eslint-config": "^1.5.1",
4343
"@bubkoo/tsconfig": "^1.2.4",
4444
"@types/is-base64": "^1.1.3",
45+
"@types/libsodium-wrappers": "^0.7.14",
4546
"@types/node": "^18.19.130",
4647
"@vercel/ncc": "^0.34.0",
4748
"eslint": "^8.57.1",

src/tweetsodium.d.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)