@3dverse/api 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
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"];