[CORL-1048] Cookie Deprecation (#2944)

* feat: dropped cookie support due to ITP issues

* feat: added improved accessToken handling

* fix: linting

* fix: removed variadic part of JWT

* fix: bump long-settimeout version

* review: removed management classes

* fix: updated snaps

* review: renamed based on review

* review: removed guard clauses around errors surrounding auth
This commit is contained in:
Wyatt Johnson
2020-05-13 22:39:22 +00:00
committed by GitHub
parent f73597d7d1
commit ceb96dba75
31 changed files with 428 additions and 322 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
import { setLongTimeout } from "long-settimeout";
/** A promisified timeout. */
export default function timeout(ms = 0) {
return new Promise((resolve) => setTimeout(resolve, ms));
return new Promise((resolve) => setLongTimeout(resolve, ms));
}