@scalar/fastify-api-reference 1.48.6 → 1.48.7

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,7 @@
1
1
  # @scalar/fastify-api-reference
2
2
 
3
+ ## 1.48.7
4
+
3
5
  ## 1.48.6
4
6
 
5
7
  ### Patch Changes
@@ -5,7 +5,7 @@
5
5
  * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
6
6
  * /____/\____/_/ |_/_____/_/ |_/_/ |_|
7
7
  *
8
- * @scalar/api-reference 1.48.6
8
+ * @scalar/api-reference 1.48.7
9
9
  *
10
10
  * Website: https://scalar.com
11
11
  * GitHub: https://github.com/scalar/scalar
@@ -30287,7 +30287,7 @@ const n=(r=e?.variables??{},Object.entries(r)).reduce(((e,[t,n])=>(n.default&&(e
30287
30287
  e)),{});var r;return UV(e?.url??"",{...t,...n})
30288
30288
  },zVe=({environment:e,server:t,path:n,pathVariables:r,urlParams:a})=>{
30289
30289
  const o=jVe(e),i=UVe(t,o),s=UV(n,{...o,...r});return qV(i,s,a)
30290
- },ZVe="2.36.2",FVe=(e,t,n)=>({name:e,defaultValue:t,
30290
+ },ZVe="2.37.0",FVe=(e,t,n)=>({name:e,defaultValue:t,
30291
30291
  isOverridden:n.has(e.toLowerCase())
30292
30292
  }),HVe=({method:e,operation:t,exampleKey:n,hideDisabledHeaders:r=!1})=>{
30293
30293
  const a=new Set(t.parameters?.filter((e=>"header"===mSe(e).in)).map((e=>mSe(e).name.toLowerCase()))??[]),o=t["x-scalar-disable-parameters"]?.["default-headers"]?.[n]??{},i=[],s=mSe(t.requestBody)
@@ -34352,7 +34352,7 @@ method:e.method??"get"}:{type:"document"
34352
34352
  }))))),p=uy((()=>AVe(im(e.options)?.hiddenClients)))
34353
34353
  ;return(t,o)=>e.path&&e.method&&e.exampleName&&n.value?(Ab(),Pb(om(d2e),{key:0,
34354
34354
  activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],
34355
- appVersion:om("2.36.2"),authMeta:u.value,
34355
+ appVersion:om("2.37.0"),authMeta:u.value,
34356
34356
  documentSecurity:e.document?.security??[],documentSelectedSecurity:l.value,
34357
34357
  documentUrl:e.document?.["x-scalar-original-source-url"],
34358
34358
  environment:e.environment,environments:d.value,eventBus:e.eventBus,
@@ -37367,7 +37367,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
37367
37367
  "detail"in e&&Object.assign(r,e.detail)}),!1);return{app:a,
37368
37368
  getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
37369
37369
  r.configuration=e},destroy:o}}
37370
- ;console.info("@scalar/api-reference@1.48.6"),"object"==typeof window&&(window.Scalar={
37370
+ ;console.info("@scalar/api-reference@1.48.7"),"object"==typeof window&&(window.Scalar={
37371
37371
  createApiReference:Cet}),function(e,t){
37372
37372
  const n=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]")
37373
37373
  ;t?.darkMode?e.body?.classList.add("dark-mode"):e.body?.classList.add("light-mode")
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "openapi",
18
18
  "swagger"
19
19
  ],
20
- "version": "1.48.6",
20
+ "version": "1.48.7",
21
21
  "engines": {
22
22
  "node": ">=22"
23
23
  },
@@ -54,8 +54,8 @@
54
54
  "dependencies": {
55
55
  "fastify-plugin": "^4.5.1",
56
56
  "github-slugger": "2.0.0",
57
- "@scalar/core": "0.4.3",
58
57
  "@scalar/openapi-parser": "0.25.3",
58
+ "@scalar/core": "0.4.3",
59
59
  "@scalar/openapi-types": "0.6.0"
60
60
  },
61
61
  "devDependencies": {
@@ -66,7 +66,7 @@
66
66
  "vite": "^7.3.1",
67
67
  "vitest": "4.0.16",
68
68
  "yaml": "^2.8.0",
69
- "@scalar/api-reference": "1.48.6",
69
+ "@scalar/api-reference": "1.48.7",
70
70
  "@scalar/build-tooling": "0.5.0"
71
71
  },
72
72
  "scripts": {