@scalar/api-client-react 0.1.3 → 0.1.4

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,11 @@
1
1
  # @scalar/api-client-react
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - c200170: fix: react client props name
8
+
3
9
  ## 0.1.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -52773,7 +52773,10 @@ const ApiClientReactBase = (props) => {
52773
52773
  require$$0.useEffect(() => {
52774
52774
  if (!el.current)
52775
52775
  return void 0;
52776
- const vueApp = createApp(_sfc_main, { proxy: props.proxy, readOnly: true });
52776
+ const vueApp = createApp(_sfc_main, {
52777
+ proxyUrl: props.proxy,
52778
+ readOnly: true
52779
+ });
52777
52780
  vueApp.mount(el.current);
52778
52781
  return () => vueApp.unmount();
52779
52782
  }, [el]);
package/dist/index.js CHANGED
@@ -52771,7 +52771,10 @@ const ApiClientReactBase = (props) => {
52771
52771
  useEffect(() => {
52772
52772
  if (!el.current)
52773
52773
  return void 0;
52774
- const vueApp = createApp(_sfc_main, { proxy: props.proxy, readOnly: true });
52774
+ const vueApp = createApp(_sfc_main, {
52775
+ proxyUrl: props.proxy,
52776
+ readOnly: true
52777
+ });
52775
52778
  vueApp.mount(el.current);
52776
52779
  return () => vueApp.unmount();
52777
52780
  }, [el]);
@@ -52774,7 +52774,10 @@ ${codeFrame}` : message);
52774
52774
  require$$0.useEffect(() => {
52775
52775
  if (!el.current)
52776
52776
  return void 0;
52777
- const vueApp = createApp(_sfc_main, { proxy: props.proxy, readOnly: true });
52777
+ const vueApp = createApp(_sfc_main, {
52778
+ proxyUrl: props.proxy,
52779
+ readOnly: true
52780
+ });
52778
52781
  vueApp.mount(el.current);
52779
52782
  return () => vueApp.unmount();
52780
52783
  }, [el]);
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "testing",
15
15
  "react"
16
16
  ],
17
- "version": "0.1.3",
17
+ "version": "0.1.4",
18
18
  "engines": {
19
19
  "node": ">=18"
20
20
  },