@scalar/api-reference 1.43.1 → 1.43.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.43.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
#### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- **@scalar/components@0.16.17**
|
|
10
|
+
- [#7680](https://github.com/scalar/scalar/pull/7680): feat(components): simplify nested sidebar items styles
|
|
11
|
+
|
|
12
|
+
- **@scalar/api-client@2.17.7**
|
|
13
|
+
- [#7675](https://github.com/scalar/scalar/pull/7675): fix: ensure patch is uppercased
|
|
14
|
+
|
|
15
|
+
- **@scalar/sidebar@0.7.7**
|
|
16
|
+
|
|
3
17
|
## 1.43.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Interactive API Reference from OpenAPI/Swagger Documents [Try our Demo](https://
|
|
|
44
44
|
|
|
45
45
|
## Documentation
|
|
46
46
|
|
|
47
|
-
[Read the documentation here](https://guides.scalar.com/
|
|
47
|
+
[Read the documentation here](https://guides.scalar.com/products/api-references/integrations/html-js)
|
|
48
48
|
|
|
49
49
|
## Community
|
|
50
50
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
|
|
6
6
|
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
|
|
7
7
|
*
|
|
8
|
-
* @scalar/api-reference 1.43.
|
|
8
|
+
* @scalar/api-reference 1.43.2
|
|
9
9
|
*
|
|
10
10
|
* Website: https://scalar.com
|
|
11
11
|
* GitHub: https://github.com/scalar/scalar
|
|
@@ -28996,8 +28996,8 @@ const o=Object.values(e.flows),a=XV(o.filter(IV).find((e=>e["x-scalar-secret-tok
|
|
|
28996
28996
|
paramCookies:[...f.cookies,...g.cookies],globalCookies:n,env:u,path:y,
|
|
28997
28997
|
originalCookieHeader:v.Cookie||v.cookie,url:p||a,useCustomCookieHeader:BUe()||w
|
|
28998
28998
|
});S&&(v[S.name]=S.value);const _=new AbortController;return[null,{controller:_,
|
|
28999
|
-
isUsingProxy:w,request:new Request(k,{method:r,headers:v,
|
|
29000
|
-
})}]}catch(py){return[Pke(py,kke),null]}var c
|
|
28999
|
+
isUsingProxy:w,request:new Request(k,{method:r.toUpperCase(),headers:v,
|
|
29000
|
+
signal:_.signal,body:m})}]}catch(py){return[Pke(py,kke),null]}var c
|
|
29001
29001
|
},hze=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1))).join("-"),fze=async(e,t,n)=>{
|
|
29002
29002
|
let r=e;for(const o of n){const e=o.hooks?.[t];e&&(r=await e(r)??r)}return r}
|
|
29003
29003
|
;var mze,gze,vze,bze,yze,Oze,wze,kze,xze,Sze={};function _ze(){
|
|
@@ -32429,7 +32429,7 @@ key:"Accept",value:"*/*",isDisabled:!1}})}),{immediate:!0})
|
|
|
32429
32429
|
;const o=Jg((()=>e.document?.["x-scalar-set-operation-security"]?{
|
|
32430
32430
|
type:"operation",path:e.path??"",method:e.method??"get"}:{type:"document"}))
|
|
32431
32431
|
;return(e,a)=>e.path&&e.method&&e.exampleName&&t.value?(mg(),Og(Yp(SWe),{key:0,
|
|
32432
|
-
appVersion:Yp("2.17.
|
|
32432
|
+
appVersion:Yp("2.17.7"),authMeta:o.value,
|
|
32433
32433
|
documentSecurity:e.document?.security??[],
|
|
32434
32434
|
documentSelectedSecurity:e.document?.["x-scalar-selected-security"],
|
|
32435
32435
|
documentUrl:e.document?.["x-scalar-original-source-url"],
|
|
@@ -35148,9 +35148,9 @@ default:Nh((()=>[_g("span",o2e,[Tg(Yp(eee),{icon:r,class:"text-c-2 size-3.5"
|
|
|
35148
35148
|
},1032,["modelValue","onUpdate:modelValue"]))),64))])),_:1}),Tg(r2e,{
|
|
35149
35149
|
sdks:n.value,workspace:e.workspace},null,8,["sdks","workspace"]),Tg(t2e,null,{
|
|
35150
35150
|
default:Nh((()=>[...r[2]||(r[2]=[Cg(" Generating SDKs is a paid feature starting at $100/mo, learn more in our ",-1),_g("a",{
|
|
35151
|
-
href:"https://guides.scalar.com/
|
|
35152
|
-
|
|
35153
|
-
|
|
35151
|
+
href:"https://guides.scalar.com/products/sdks/getting-started",target:"_blank"
|
|
35152
|
+
}," guides",-1),Cg(". ",-1)])])),_:1})])),_:1})])),_:1}))}}),i2e={
|
|
35153
|
+
class:"text-c-2 grid grid-cols-2 gap-2.5 font-medium"},s2e=uf({
|
|
35154
35154
|
__name:"ApiReferenceToolbarShareRegister",props:{workspace:{}},setup(e){
|
|
35155
35155
|
const t=[{icon:l_,label:"Custom Domains"},{icon:WS,label:"GitHub Sync"},{
|
|
35156
35156
|
icon:OS,label:"Markdown/MDX"},{icon:G_,label:"Password Protection"},{icon:IE,
|
|
@@ -35490,7 +35490,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
|
|
|
35490
35490
|
"detail"in e&&Object.assign(r,e.detail)}),!1);return{app:o,
|
|
35491
35491
|
getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
|
|
35492
35492
|
r.configuration=e},destroy:a}}
|
|
35493
|
-
;console.info("@scalar/api-reference@1.43.
|
|
35493
|
+
;console.info("@scalar/api-reference@1.43.2"),"object"==typeof window&&(window.Scalar={
|
|
35494
35494
|
createApiReference:B2e}),function(e,t){
|
|
35495
35495
|
const n=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]")
|
|
35496
35496
|
;t?.darkMode?e.body?.classList.add("dark-mode"):e.body?.classList.add("light-mode")
|