Introduce debug namespaces
This commit is contained in:
parent
5b7bb5d878
commit
6adabd1cba
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import { promises as fsPromises } from "fs";
|
||||||
|
|
||||||
import { APL, AuthData } from "./apl";
|
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.
|
* Load auth data from a file and return it as AuthData format.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import fetch from "node-fetch";
|
||||||
|
|
||||||
import { APL, AuthData } from "./apl";
|
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 TOKEN_VARIABLE_NAME = "SALEOR_AUTH_TOKEN";
|
||||||
export const DOMAIN_VARIABLE_NAME = "SALEOR_DOMAIN";
|
export const DOMAIN_VARIABLE_NAME = "SALEOR_DOMAIN";
|
||||||
|
|
Loading…
Reference in a new issue