ag-awsauth 0.0.272 → 0.0.274
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.
- package/dist/helpers/browser.js +6 -2
- package/package.json +5 -5
package/dist/helpers/browser.js
CHANGED
|
@@ -103,8 +103,12 @@ function getMFA(p) {
|
|
|
103
103
|
yield page.keyboard.type(p.creds.password);
|
|
104
104
|
yield page.$eval('#password-submit-button button', (el) => el.click());
|
|
105
105
|
yield (0, sleep_1.sleep)(250);
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
try {
|
|
107
|
+
yield page.waitForNetworkIdle({ idleTime: 250, timeout: 3000 });
|
|
108
|
+
}
|
|
109
|
+
catch (e) {
|
|
110
|
+
//
|
|
111
|
+
}
|
|
108
112
|
try {
|
|
109
113
|
(0, log_1.info)('wait optional alert message');
|
|
110
114
|
const messageDiv = yield page.waitForSelector('.awsui-alert-message', {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"author": "andrei gec (andreigec@hotmail.com)",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"private": false,
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.274",
|
|
9
9
|
"preferGlobal": true,
|
|
10
10
|
"scripts": {
|
|
11
11
|
"format": "eslint --ext .ts,.tsx src --fix",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"LICENSE.md"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso": "3.
|
|
29
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
28
|
+
"@aws-sdk/client-sso": "3.632.0",
|
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.632.0",
|
|
30
|
+
"@aws-sdk/client-sts": "3.632.0",
|
|
31
31
|
"@aws-sdk/shared-ini-file-loader": "^3.374.0",
|
|
32
32
|
"ag-common": "0.0.719",
|
|
33
33
|
"cli-select": "1.1.2",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/ini": "4.1.1",
|
|
46
|
-
"@types/node": "20.
|
|
46
|
+
"@types/node": "20.15.0",
|
|
47
47
|
"@types/node-fetch": "2.6.11",
|
|
48
48
|
"@types/readline-sync": "1.4.8",
|
|
49
49
|
"@types/yargs": "17.0.33"
|