insite-subscriptions-server 2.0.2 → 2.0.4
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/bun.lockb +0 -0
- package/dist/CollectionMapPublication.d.ts +1 -1
- package/dist/CollectionMapPublication.d.ts.map +1 -1
- package/dist/CollectionMapSubscriptionHandle.d.ts +1 -1
- package/dist/CollectionMapSubscriptionHandle.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/ws/CollectionMapPublication.d.ts +5 -3
- package/dist/ws/CollectionMapPublication.d.ts.map +1 -1
- package/dist/ws/CollectionMapSubscriptionHandle.d.ts +1 -1
- package/dist/ws/CollectionMapSubscriptionHandle.d.ts.map +1 -1
- package/dist/ws/SubscriptionHandler.d.ts +20 -6
- package/dist/ws/SubscriptionHandler.d.ts.map +1 -1
- package/dist/ws/Subscriptions.d.ts +3 -3
- package/dist/ws/Subscriptions.d.ts.map +1 -1
- package/dist/ws/index.d.ts +0 -1
- package/dist/ws/index.d.ts.map +1 -1
- package/dist/ws/index.js +12 -1
- package/dist/ws/index.js.map +4 -4
- package/dist/ws/types.d.ts +3 -8
- package/dist/ws/types.d.ts.map +1 -1
- package/package.json +6 -5
package/dist/ws/types.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
export type
|
|
4
|
-
user?: User<AS>;
|
|
5
|
-
lastUserId?: string;
|
|
6
|
-
session?: Session<AS>;
|
|
7
|
-
} & T;
|
|
8
|
-
export type SubscriptionArgs<AS extends AbilitiesSchema = AbilitiesSchema, RA extends unknown[] = unknown[]> = [WithUser<InSiteWebSocketServerClient, AS>, ...RA];
|
|
1
|
+
import type { AbilitiesSchema } from "insite-users-server";
|
|
2
|
+
import type { WSSCWithUser } from "insite-users-server-ws";
|
|
3
|
+
export type SubscriptionArgs<AS extends AbilitiesSchema = AbilitiesSchema, RA extends unknown[] = unknown[]> = [WSSCWithUser<AS>, ...RA];
|
|
9
4
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/ws/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ws/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ws/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,MAAM,MAAM,gBAAgB,CAC3B,EAAE,SAAS,eAAe,GAAG,eAAe,EAC5C,EAAE,SAAS,OAAO,EAAE,GAAG,OAAO,EAAE,IAC7B,CAAE,YAAY,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "insite-subscriptions-server",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "inSite subscriptions server side",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,11 +32,12 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@nesvet/conveyer": "^2.2.1",
|
|
34
34
|
"@nesvet/eslint-config": "^2.0.24",
|
|
35
|
-
"@types/node": "^
|
|
35
|
+
"@types/node": "^22.1.0",
|
|
36
36
|
"@types/ws": "^8.5.12",
|
|
37
|
-
"insite-db": "^2.0.
|
|
38
|
-
"insite-users-server": "^2.0.
|
|
39
|
-
"insite-ws": "^2.0.
|
|
37
|
+
"insite-db": "^2.0.1",
|
|
38
|
+
"insite-users-server": "^2.0.3",
|
|
39
|
+
"insite-users-server-ws": "^2.0.3",
|
|
40
|
+
"insite-ws": "^2.0.12",
|
|
40
41
|
"typescript": "^5.5.4"
|
|
41
42
|
}
|
|
42
43
|
}
|