Introduce debug namespaces

This commit is contained in:
Krzysztof Wolski 2022-09-01 17:23:19 +02:00
parent 5b7bb5d878
commit 6adabd1cba
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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";