@mherod/get-cookie 2.1.2 → 2.1.3

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/types.d.ts CHANGED
@@ -330,12 +330,12 @@ declare module "getGroupedRenderedCookies" {
330
330
  }
331
331
  declare module "getMergedRenderedCookies.test" { }
332
332
  declare module "index" {
333
- const getCookie: () => Promise<typeof import("getCookie").getCookie>;
334
- const getChromeCookie: () => Promise<typeof import("getChromeCookie").getChromeCookie>;
335
- const getFirefoxCookie: () => Promise<typeof import("getFirefoxCookie").getFirefoxCookie>;
336
- const getGroupedRenderedCookies: () => Promise<typeof import("getGroupedRenderedCookies").getGroupedRenderedCookies>;
337
- const getMergedRenderedCookies: () => Promise<typeof import("getMergedRenderedCookies").getMergedRenderedCookies>;
338
- const fetchWithCookies: () => Promise<typeof import("fetchWithCookies").fetchWithCookies>;
333
+ import { getCookie } from "getCookie";
334
+ import { getChromeCookie } from "getChromeCookie";
335
+ import { getFirefoxCookie } from "getFirefoxCookie";
336
+ import { getGroupedRenderedCookies } from "getGroupedRenderedCookies";
337
+ import { getMergedRenderedCookies } from "getMergedRenderedCookies";
338
+ import { fetchWithCookies } from "fetchWithCookies";
339
339
  export { getCookie, getChromeCookie, getFirefoxCookie, getMergedRenderedCookies, getGroupedRenderedCookies, fetchWithCookies, };
340
340
  }
341
341
  declare module "listChromeProfiles" {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mherod/get-cookie",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Node.js module for querying a local user's Chrome cookie",
5
5
  "source": "src/index.ts",
6
6
  "bin": "dist/cli.js",
package/src/index.ts CHANGED
@@ -1,19 +1,9 @@
1
- const getCookie = () =>
2
- import("./getCookie").then((module) => module.getCookie);
3
- const getChromeCookie = () =>
4
- import("./getChromeCookie").then((module) => module.getChromeCookie);
5
- const getFirefoxCookie = () =>
6
- import("./getFirefoxCookie").then((module) => module.getFirefoxCookie);
7
- const getGroupedRenderedCookies = () =>
8
- import("./getGroupedRenderedCookies").then(
9
- (module) => module.getGroupedRenderedCookies,
10
- );
11
- const getMergedRenderedCookies = () =>
12
- import("./getMergedRenderedCookies").then(
13
- (module) => module.getMergedRenderedCookies,
14
- );
15
- const fetchWithCookies = () =>
16
- import("./fetchWithCookies").then((module) => module.fetchWithCookies);
1
+ import { getCookie } from "./getCookie";
2
+ import { getChromeCookie } from "./getChromeCookie";
3
+ import { getFirefoxCookie } from "./getFirefoxCookie";
4
+ import { getGroupedRenderedCookies } from "./getGroupedRenderedCookies";
5
+ import { getMergedRenderedCookies } from "./getMergedRenderedCookies";
6
+ import { fetchWithCookies } from "./fetchWithCookies";
17
7
 
18
8
  export {
19
9
  getCookie,