@scalar/fastify-api-reference 1.49.2 → 1.49.3

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.49.3
4
+
3
5
  ## 1.49.2
4
6
 
5
7
  ## 1.49.1
@@ -5,7 +5,7 @@
5
5
  * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
6
6
  * /____/\____/_/ |_/_____/_/ |_/_/ |_|
7
7
  *
8
- * @scalar/api-reference 1.49.2
8
+ * @scalar/api-reference 1.49.3
9
9
  *
10
10
  * Website: https://scalar.com
11
11
  * GitHub: https://github.com/scalar/scalar
@@ -35317,7 +35317,7 @@ e?.createNew&&"request"===r.name&&i()}
35317
35317
  class:mv(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{
35318
35318
  "hidden opacity-0":e.numWorkspaceRequests<=1&&"modal"!==oy(o)}])
35319
35319
  },["modal"!==oy(o)?(jw(),
35320
- Fw("div",J_t,[Yw(" Scalar App V"+lv(oy("2.38.3"))+" Beta ",1),r[3]||(r[3]=qw("div",{
35320
+ Fw("div",J_t,[Yw(" Scalar App V"+lv(oy("2.38.4"))+" Beta ",1),r[3]||(r[3]=qw("div",{
35321
35321
  class:"mt-2"},[qw("a",{href:"https://github.com/scalar/scalar/issues/2669",
35322
35322
  target:"_blank"}," Roadmap ")],-1))])):Jw("",!0),r[4]||(r[4]=qw("a",{
35323
35323
  class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",
@@ -37020,7 +37020,7 @@ const n=rPt(e.examples,e.example,t);if(void 0!==n)return n}const r=nPt(e)
37020
37020
  ;if("enum"in e&&void 0!==e.enum?.[0])return{value:e.enum[0]}
37021
37021
  ;if("examples"in e&&void 0!==e.examples?.[0])return{value:e.examples[0]}
37022
37022
  ;if("example"in e&&void 0!==e.example)return{value:e.example}}
37023
- },oPt="undefined"!=typeof OVERRIDE_PACKAGE_VERSION?OVERRIDE_PACKAGE_VERSION:"2.38.3",
37023
+ },oPt="undefined"!=typeof OVERRIDE_PACKAGE_VERSION?OVERRIDE_PACKAGE_VERSION:"2.38.4",
37024
37024
  iPt=(e,t,n)=>({name:e,defaultValue:t,isOverridden:n.has(e.toLowerCase())
37025
37025
  }),sPt=({method:e,operation:t,exampleKey:n,hideDisabledHeaders:r=!1})=>{
37026
37026
  const a=new Set(t.parameters?.filter((e=>"header"===A_e(e).in)).map((e=>A_e(e).name.toLowerCase()))??[]),o=t["x-scalar-disable-parameters"]?.["default-headers"]?.[n]??{},i=[],s=A_e(t.requestBody)
@@ -45349,7 +45349,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
45349
45349
  "detail"in e&&Object.assign(r,e.detail)}),!1),{app:a,
45350
45350
  getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
45351
45351
  r.configuration=e},destroy:o}}
45352
- ;console.info("@scalar/api-reference@1.49.2"),"object"==typeof window&&(window.Scalar={
45352
+ ;console.info("@scalar/api-reference@1.49.3"),"object"==typeof window&&(window.Scalar={
45353
45353
  createApiReference:c6t}),function(e,t){
45354
45354
  const n=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]")
45355
45355
  ;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.49.2",
20
+ "version": "1.49.3",
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.4",
58
57
  "@scalar/openapi-parser": "0.25.6",
58
+ "@scalar/core": "0.4.4",
59
59
  "@scalar/openapi-types": "0.6.1"
60
60
  },
61
61
  "devDependencies": {
@@ -66,7 +66,7 @@
66
66
  "vite": "8.0.0",
67
67
  "vitest": "4.1.0",
68
68
  "yaml": "^2.8.0",
69
- "@scalar/api-reference": "1.49.2"
69
+ "@scalar/api-reference": "1.49.3"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm copy:standalone",