Skip to content

Commit ef74e12

Browse files
committed
Move @seamapi/http to peerDependencies
1 parent 9b136e4 commit ef74e12

File tree

4 files changed

+40
-35
lines changed

4 files changed

+40
-35
lines changed

package-lock.json

Lines changed: 34 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"npm": ">= 9.0.0"
110110
},
111111
"peerDependencies": {
112+
"@seamapi/http": "^1.37.0",
112113
"@seamapi/types": "^1.395.3",
113114
"@types/react": "^18.0.0",
114115
"@types/react-dom": "^18.0.0",
@@ -128,7 +129,6 @@
128129
},
129130
"dependencies": {
130131
"@floating-ui/react": "^0.27.5",
131-
"@seamapi/http": "^1.30.2",
132132
"@tanstack/react-query": "^5.27.5",
133133
"classnames": "^2.3.2",
134134
"luxon": "^3.3.0",
@@ -145,6 +145,7 @@
145145
"@rxfork/r2wc-react-to-web-component": "^2.4.0",
146146
"@seamapi/fake-devicedb": "^1.6.1",
147147
"@seamapi/fake-seam-connect": "^1.76.0",
148+
"@seamapi/http": "^1.37.0",
148149
"@seamapi/types": "^1.395.3",
149150
"@storybook/addon-designs": "^7.0.1",
150151
"@storybook/addon-essentials": "^7.0.2",

src/lib/seam/access-codes/use-generate-access-code-code.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type {
2-
AccessCodesGenerateCodeBody,
2+
AccessCodesGenerateCodeParams,
33
SeamHttpApiError,
44
} from '@seamapi/http/connect'
55
import { useMutation, type UseMutationResult } from '@tanstack/react-query'
@@ -11,7 +11,7 @@ export type UseGenerateAccessCodeCodeParams = never
1111
export type UseGenerateAccessCodeCodeData = string
1212

1313
export type UseGenerateAccessCodeCodeMutationVariables =
14-
AccessCodesGenerateCodeBody
14+
AccessCodesGenerateCodeParams
1515

1616
export function useGenerateAccessCodeCode(): UseMutationResult<
1717
UseGenerateAccessCodeCodeData,

src/lib/seam/thermostats/use-delete-thermostat-climate-preset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {
22
SeamHttpApiError,
3-
ThermostatsDeleteClimatePresetBody,
3+
ThermostatsDeleteClimatePresetParams,
44
} from '@seamapi/http/connect'
55
import {
66
useMutation,
@@ -16,7 +16,7 @@ export type UseDeleteThermostatClimatePresetParams = never
1616
export type UseDeleteThermostatClimatePresetData = undefined
1717

1818
export type UseDeleteThermostatClimatePresetVariables =
19-
ThermostatsDeleteClimatePresetBody
19+
ThermostatsDeleteClimatePresetParams
2020

2121
export function useDeleteThermostatClimatePreset(): UseMutationResult<
2222
UseDeleteThermostatClimatePresetData,

0 commit comments

Comments
 (0)