Skip to content

Commit

Permalink
Attempt to remove simple-oauth2 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
nad-au committed Apr 9, 2024
1 parent fa743f2 commit 5528421
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion monorepo/actionstep-sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@golevelup/ts-jest": "^0.4.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.13",
"@types/simple-oauth2": "^5.0.7",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
Expand Down
5 changes: 4 additions & 1 deletion monorepo/actionstep/src/utils/to-action-step-token.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { Token } from 'simple-oauth2'
import { ActionStepToken } from '../types/action-step-token.type'

export interface Token {
[x: string]: unknown
}

export const toActionStepToken = (token: Token): ActionStepToken => {
return {
access_token: <string>token['access_token'],
Expand Down

0 comments on commit 5528421

Please sign in to comment.