(src/index.js) Added durationSeconds argument to allow the user to specify a timeout
(src/providers/okta.js) Fixed a race condition with Okta where the password wasn't being submitted by adding a wait() like there is for username. Added the same for push verification for the same reason.
(src/providers/okta-mfa.js) Added a name property for debugging.
(package.json, src/token-getter.js) Fixed runtime warnings that the AWS SDK v2 was going into maintenance mode. Fixed "new Buffer()" being deprecated in favor of alloc. Added 'duration' argument, modified logic to detect multiple accounts having the same role name when only the role name is provided.
(Dockerfile) Updated base image to a more recent LTS version of node (v18)
(src/index.js) Added durationSeconds argument to allow the user to specify a timeout
(src/providers/okta.js) Fixed a race condition with Okta where the password wasn't being submitted by adding a wait() like there is for username. Added the same for push verification for the same reason.
(src/providers/okta-mfa.js) Added a name property for debugging.
(package.json, src/token-getter.js) Fixed runtime warnings that the AWS SDK v2 was going into maintenance mode. Fixed "new Buffer()" being deprecated in favor of alloc. Added 'duration' argument, modified logic to detect multiple accounts having the same role name when only the role name is provided.
(Dockerfile) Updated base image to a more recent LTS version of node (v18)