@supabase/realtime-js 2.7.1 → 2.7.2
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/README.md
CHANGED
|
@@ -114,7 +114,16 @@ Your client can track and sync state that's stored in the channel.
|
|
|
114
114
|
```js
|
|
115
115
|
// Setup...
|
|
116
116
|
|
|
117
|
-
const channel = client.channel(
|
|
117
|
+
const channel = client.channel(
|
|
118
|
+
'presence-test',
|
|
119
|
+
{
|
|
120
|
+
config: {
|
|
121
|
+
presence: {
|
|
122
|
+
key: ''
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
)
|
|
118
127
|
|
|
119
128
|
channel.on('presence', { event: 'sync' }, () => {
|
|
120
129
|
console.log('Online users: ', channel.presenceState())
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.7.
|
|
1
|
+
export declare const version = "2.7.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/main/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.7.
|
|
1
|
+
export declare const version = "2.7.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '2.7.
|
|
1
|
+
export const version = '2.7.2';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supabase/realtime-js",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"description": "Listen to realtime updates to your PostgreSQL database",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"realtime",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"babel-register": "^6.26.0",
|
|
46
46
|
"eslint": "^7.0.0",
|
|
47
47
|
"esm": "^3.2.25",
|
|
48
|
-
"jsdom": "16.
|
|
48
|
+
"jsdom": "^16.7.0",
|
|
49
49
|
"jsdom-global": "3.0.0",
|
|
50
50
|
"mocha": "^8.0.1",
|
|
51
51
|
"mock-socket": "^9.0.3",
|
package/src/lib/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.7.
|
|
1
|
+
export const version = '2.7.2'
|