File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { Podium } from "@hapi/podium"
27
27
import * as ws from "ws"
28
28
import * as http from "node:http"
29
29
30
- declare namespace HAPIPluginWebSockets {
30
+ declare namespace HAPIPluginWebsocket {
31
31
interface PluginState {
32
32
mode : "websocket"
33
33
ctx : Record < string , any >
@@ -82,19 +82,19 @@ declare namespace HAPIPluginWebSockets {
82
82
}
83
83
}
84
84
85
- declare const HAPIPluginDucky : Plugin < HAPIPluginWebSockets . OptionalRegistrationOptions >
85
+ declare const HAPIPluginWebsocket : Plugin < HAPIPluginWebsocket . OptionalRegistrationOptions >
86
86
87
- export = HAPIPluginWebSockets
87
+ export = HAPIPluginWebsocket
88
88
89
89
declare module "@hapi/hapi" {
90
90
export interface Request < Refs extends ReqRef = ReqRefDefaults > extends Podium {
91
- websocket ( ) : HAPIPluginWebSockets . PluginState
91
+ websocket ( ) : HAPIPluginWebsocket . PluginState
92
92
}
93
93
export interface PluginsStates {
94
- websocket : HAPIPluginWebSockets . PluginState
94
+ websocket : HAPIPluginWebsocket . PluginState
95
95
}
96
96
export interface PluginSpecificConfiguration {
97
- websocket ?: HAPIPluginWebSockets . PluginSpecificConfiguration
97
+ websocket ?: HAPIPluginWebsocket . PluginSpecificConfiguration
98
98
}
99
99
}
100
100
You can’t perform that action at this time.
0 commit comments