@scalar/fastify-api-reference 0.6.12 → 0.6.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,12 @@
1
1
  # @scalar/fastify-api-reference
2
2
 
3
+ ## 0.6.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [727d7f47]
8
+ - @scalar/api-reference@0.6.13
9
+
3
10
  ## 0.6.12
4
11
 
5
12
  ### Patch Changes
@@ -51322,7 +51322,8 @@ ${o}]` : `[${t.join(s)}]`;
51322
51322
  specResult: {},
51323
51323
  proxyUrl: {},
51324
51324
  hocuspocusConfiguration: {},
51325
- theme: { default: "default" }
51325
+ theme: { default: "default" },
51326
+ initialTabState: {}
51326
51327
  },
51327
51328
  emits: ["changeTheme"],
51328
51329
  setup(t) {
@@ -51428,11 +51429,12 @@ ${o}]` : `[${t.join(s)}]`;
51428
51429
  Ft(U("div", jEe, [
51429
51430
  we(K(r), {
51430
51431
  hocuspocusConfiguration: y.hocuspocusConfiguration,
51432
+ initialTabState: y.initialTabState,
51431
51433
  theme: y.theme,
51432
51434
  value: n.value,
51433
51435
  onChangeTheme: w[0] || (w[0] = (S) => y.$emit("changeTheme", S)),
51434
51436
  onSpecUpdate: h
51435
- }, null, 8, ["hocuspocusConfiguration", "theme", "value"])
51437
+ }, null, 8, ["hocuspocusConfiguration", "initialTabState", "theme", "value"])
51436
51438
  ], 512), [
51437
51439
  [Vo, m.value]
51438
51440
  ]),
@@ -80643,7 +80645,7 @@ ul,
80643
80645
  }
80644
80646
  }
80645
80647
 
80646
- .swagger-editor[data-v-ecb4cecb] {
80648
+ .swagger-editor[data-v-ae604b16] {
80647
80649
  min-width: 0;
80648
80650
  min-height: 0;
80649
80651
 
@@ -117822,7 +117824,8 @@ Downloads a flow in .tfl or .tflx format.`,
117822
117824
  props: {
117823
117825
  value: {},
117824
117826
  hocuspocusConfiguration: {},
117825
- theme: {}
117827
+ theme: {},
117828
+ initialTabState: {}
117826
117829
  },
117827
117830
  emits: ["contentUpdate", "specUpdate", "import", "changeTheme"],
117828
117831
  setup(t, { emit: e }) {
@@ -117863,7 +117866,9 @@ Downloads a flow in .tfl or .tflx format.`,
117863
117866
  },
117864
117867
  { immediate: !0 }
117865
117868
  );
117866
- const h = ye("Getting Started");
117869
+ const h = ye(
117870
+ r.initialTabState ?? "Getting Started"
117871
+ );
117867
117872
  return (f, m) => (J(), de(Ye, null, [
117868
117873
  we(K(NKe), { id: f.theme }, null, 8, ["id"]),
117869
117874
  U("div", Udt, [
@@ -117904,7 +117909,7 @@ Downloads a flow in .tfl or .tflx format.`,
117904
117909
  ])
117905
117910
  ], 64));
117906
117911
  }
117907
- }), qZ = /* @__PURE__ */ Tc(Mdt, [["__scopeId", "data-v-ecb4cecb"]]), Xf = ye(!1);
117912
+ }), qZ = /* @__PURE__ */ Tc(Mdt, [["__scopeId", "data-v-ae604b16"]]), Xf = ye(!1);
117908
117913
  function Vdt() {
117909
117914
  const t = () => {
117910
117915
  var r, n;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@scalar/fastify-api-reference",
3
3
  "description": "a fastify plugin to render an API reference from a Swagger spec",
4
- "version": "0.6.12",
4
+ "version": "0.6.13",
5
5
  "author": "Scalar (https://github.com/scalar)",
6
6
  "bugs": "https://github.com/scalar/scalar/issues/new",
7
7
  "dependencies": {
8
8
  "ejs": "3.1.9",
9
- "@scalar/api-reference": "0.6.12"
9
+ "@scalar/api-reference": "0.6.13"
10
10
  },
11
11
  "devDependencies": {
12
12
  "@vitejs/plugin-vue": "4.3.4",