From ec046d3ef769a9ce72520e5c86cfbd896f7fe18d Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 21 Dec 2025 15:53:46 -0700 Subject: [PATCH] fix(dsproof): Fixing bug with axios instantiation --- src/dsproof.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsproof.js b/src/dsproof.js index a90e074..c6638a0 100644 --- a/src/dsproof.js +++ b/src/dsproof.js @@ -6,7 +6,8 @@ class DSProof { constructor (config) { this.restURL = config.restURL this.authToken = config.authToken - this.axios = axios + // Use the shared axios instance if provided, otherwise fall back to axios + this.axios = config.axios || axios this.axiosOptions = { headers: {