Commit 70f678d
committed
Add a deprecation warning
These client options have been deprecated in [1] if favor of the new
`ClientOptions.endpoint` parameter. They were marked as deprecated
only in the type declaration file, meaning that non-TypeScript users
wouldn't see the deprecation warning. This PR adds an explicit
deprecation warning log message when using these deprecated client
options.
[1] #1973environment, restHost and realtimeHost client options1 parent 6f2b7e6 commit 70f678d
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
279 | 277 | | |
280 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
281 | 292 | | |
282 | 293 | | |
283 | 294 | | |
| |||
0 commit comments