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: {