Skip to content

Commit 589d552

Browse files
Merge pull request #255 from richardeschloss/issue/254
Issue/254
2 parents bc51d80 + e5a7ca4 commit 589d552

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export interface NuxtSocketOpts extends Partial<SocketIOClient.ManagerOptions> {
138138
* (see [vuexModule](https://nuxt-socket-io.netlify.app/vuexModule)).
139139
* @default false
140140
*/
141-
persist?: boolean;
141+
persist?: boolean | string;
142142
/** Specifies the property in [this] component that will be used
143143
* to contain the socket status (referring to an object).
144144
* @default 'socketStatus'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt-socket-io",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "Socket.io client and server module for Nuxt. Just plug it in and GO",
55
"author": "Richard Schloss",
66
"type": "module",

0 commit comments

Comments
 (0)