From 6adabd1cba2652d7a91bf56313ccbda9098540b3 Mon Sep 17 00:00:00 2001 From: Krzysztof Wolski Date: Thu, 1 Sep 2022 17:23:19 +0200 Subject: [PATCH] Introduce debug namespaces --- src/APL/fileAPL.ts | 2 +- src/APL/vercelAPL.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/APL/fileAPL.ts b/src/APL/fileAPL.ts index b850606..38a60e4 100644 --- a/src/APL/fileAPL.ts +++ b/src/APL/fileAPL.ts @@ -3,7 +3,7 @@ import { promises as fsPromises } from "fs"; import { APL, AuthData } from "./apl"; -const debug = debugPkg.debug("FileAPL"); +const debug = debugPkg.debug("app-sdk:FileAPL"); /** * Load auth data from a file and return it as AuthData format. diff --git a/src/APL/vercelAPL.ts b/src/APL/vercelAPL.ts index f354491..00faf95 100644 --- a/src/APL/vercelAPL.ts +++ b/src/APL/vercelAPL.ts @@ -4,7 +4,7 @@ import fetch from "node-fetch"; import { APL, AuthData } from "./apl"; -const debug = debugPkg.debug("VercelAPL"); +const debug = debugPkg.debug("app-sdk:VercelAPL"); export const TOKEN_VARIABLE_NAME = "SALEOR_AUTH_TOKEN"; export const DOMAIN_VARIABLE_NAME = "SALEOR_DOMAIN";