@scalar/api-reference 1.25.12 → 1.25.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.25.13
4
+
5
+ ### Patch Changes
6
+
7
+ - 9486091: fix: respect the proxy url config
8
+ - Updated dependencies [9351a90]
9
+ - Updated dependencies [9486091]
10
+ - @scalar/api-client@2.1.1
11
+
3
12
  ## 1.25.12
4
13
 
5
14
  ### Patch Changes
@@ -5,7 +5,7 @@
5
5
  * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
6
6
  * /____/\____/_/ |_/_____/_/ |_/_/ |_|
7
7
  *
8
- * @scalar/api-reference 1.25.12
8
+ * @scalar/api-reference 1.25.13
9
9
  *
10
10
  * Website: https://scalar.com
11
11
  * GitHub: https://github.com/scalar/scalar
@@ -19728,19 +19728,19 @@ const s=qee(a,o);if(localStorage.getItem(Ed)&&!r){const e={};let t=0,n=0,r=""
19728
19728
  ;for(r in localStorage)Object.prototype.hasOwnProperty.call(localStorage,r)&&(n=2*(localStorage[r].length+r.length),
19729
19729
  t+=n,e[r]=(n/1024).toFixed(2)+" KB")
19730
19730
  ;e.Total=(t/1024).toFixed(2)+" KB",console.table(e),(e=>{
19731
- const{collectionMutators:t,cookieMutators:n,environmentMutators:r,tagMutators:o,requestExampleMutators:i,requestMutators:a,serverMutators:s,securitySchemeMutators:c,workspaceMutators:u}=e
19731
+ const{collectionMutators:t,cookieMutators:n,environmentMutators:r,tagMutators:o,requestExampleMutators:i,requestMutators:a,serverMutators:s,securitySchemeMutators:l,workspaceMutators:u}=e
19732
19732
  ;try{
19733
- const{collections:e,cookies:l,environments:d,requestExamples:p,requests:h,servers:f,securitySchemes:m,tags:g,workspaces:v}=dte()
19733
+ const{collections:e,cookies:c,environments:d,requestExamples:p,requests:h,servers:f,securitySchemes:m,tags:g,workspaces:v}=dte()
19734
19734
  ;t.loadLocalStorage(e),
19735
- n.loadLocalStorage(l),r.loadLocalStorage(d),i.loadLocalStorage(p),
19735
+ n.loadLocalStorage(c),r.loadLocalStorage(d),i.loadLocalStorage(p),
19736
19736
  a.loadLocalStorage(h),
19737
- s.loadLocalStorage(f),c.loadLocalStorage(m),o.loadLocalStorage(g),
19738
- u.loadLocalStorage(v),localStorage.setItem(cte,lte)}catch(l){console.error(l)}
19737
+ s.loadLocalStorage(f),l.loadLocalStorage(m),o.loadLocalStorage(g),
19738
+ u.loadLocalStorage(v),localStorage.setItem(cte,lte)}catch(c){console.error(c)}
19739
19739
  })(s)}else if(r&&n.spec){const e=Fee.parse({uid:"default",name:"Workspace",
19740
- isReadOnly:!0,proxyUrl:"https://proxy.scalar.com"})
19741
- ;s.workspaceMutators.rawAdd(e)}else s.workspaceMutators.add({uid:"default",
19742
- name:"Workspace",isReadOnly:r,proxyUrl:"https://proxy.scalar.com"
19743
- }),localStorage.setItem(cte,lte);const l=Bs(t);l.use(a),l.provide("workspace",s)
19740
+ isReadOnly:!0,proxyUrl:n.proxyUrl});s.workspaceMutators.rawAdd(e)
19741
+ }else s.workspaceMutators.add({uid:"default",name:"Workspace",isReadOnly:r,
19742
+ proxyUrl:n.proxyUrl}),localStorage.setItem(cte,lte);const l=Bs(t)
19743
+ ;l.use(a),l.provide("workspace",s)
19744
19744
  ;const{activeCollection:c,activeWorkspace:u,collectionMutators:d,importSpecFile:p,importSpecFromUrl:h,modalState:f,requests:m,securitySchemes:g,servers:v,workspaceMutators:b}=s,O=(t=e)=>{
19745
19745
  t?l.mount(t):console.error("[@scalar/api-client-modal] Could not create the API client.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")
19746
19746
  }