@3dverse/api 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,3 +1,6 @@
1
+ // index.ts
2
+ import axiosRetry, { isNetworkError, isIdempotentRequestError } from "axios-retry";
3
+
1
4
  // _prebuild/wrapper.ts
2
5
  import axios from "axios";
3
6
  var axiosInstance = axios.create({
@@ -836,7 +839,6 @@ function generateGuestToken({
836
839
  }
837
840
 
838
841
  // index.ts
839
- import axiosRetry, { isNetworkError, isIdempotentRequestError } from "axios-retry";
840
842
  function setApiKey(apiKey) {
841
843
  axiosInstance.defaults.headers.common["api_key"] = apiKey;
842
844
  delete axiosInstance.defaults.headers.common["user_token"];