tripit 0.1.5 → 0.1.6
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/index.js +0 -1
- package/dist/tripit.js +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48012,7 +48012,6 @@ async function authenticate(config) {
|
|
|
48012
48012
|
const fetchCookie2 = (await Promise.resolve().then(() => (init_esm(), exports_esm4))).default;
|
|
48013
48013
|
const { CookieJar: CookieJar2 } = await Promise.resolve().then(() => (init_dist(), exports_dist));
|
|
48014
48014
|
const fetchWithCookie = fetchCookie2(fetch, new CookieJar2);
|
|
48015
|
-
await fetchWithCookie(`${BASE_URL}/home`, { headers: BROWSER_HEADERS });
|
|
48016
48015
|
const codeVerifier = crypto.randomBytes(32).toString("hex");
|
|
48017
48016
|
const codeChallenge = crypto.createHash("sha256").update(codeVerifier).digest().toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
48018
48017
|
const state = crypto.randomBytes(16).toString("hex");
|
package/dist/tripit.js
CHANGED
|
@@ -50122,7 +50122,6 @@ async function authenticate(config) {
|
|
|
50122
50122
|
const fetchCookie2 = (await Promise.resolve().then(() => (init_esm(), exports_esm4))).default;
|
|
50123
50123
|
const { CookieJar: CookieJar2 } = await Promise.resolve().then(() => (init_dist(), exports_dist));
|
|
50124
50124
|
const fetchWithCookie = fetchCookie2(fetch, new CookieJar2);
|
|
50125
|
-
await fetchWithCookie(`${BASE_URL}/home`, { headers: BROWSER_HEADERS });
|
|
50126
50125
|
const codeVerifier = crypto.randomBytes(32).toString("hex");
|
|
50127
50126
|
const codeChallenge = crypto.createHash("sha256").update(codeVerifier).digest().toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
50128
50127
|
const state = crypto.randomBytes(16).toString("hex");
|