@auxcode/auxta 1.3.51-beta.11 → 1.3.51-beta.12
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.
|
@@ -165,6 +165,7 @@ class AuxGoogleAuth {
|
|
|
165
165
|
yield code_helper_1.default.timeout(3000);
|
|
166
166
|
const currentUrl = page.url();
|
|
167
167
|
const code = currentUrl.substring(currentUrl.indexOf("code=") + 5, currentUrl.lastIndexOf("&"));
|
|
168
|
+
yield page.close();
|
|
168
169
|
return decodeURIComponent(code);
|
|
169
170
|
});
|
|
170
171
|
}
|
|
@@ -159,6 +159,7 @@ export class AuxGoogleAuth {
|
|
|
159
159
|
yield FunctionHelper.timeout(3000);
|
|
160
160
|
const currentUrl = page.url();
|
|
161
161
|
const code = currentUrl.substring(currentUrl.indexOf("code=") + 5, currentUrl.lastIndexOf("&"));
|
|
162
|
+
yield page.close();
|
|
162
163
|
return decodeURIComponent(code);
|
|
163
164
|
});
|
|
164
165
|
}
|