@pluv/io 0.16.1 → 0.16.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/.turbo/turbo-build.log +13 -9
- package/CHANGELOG.md +8 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -0
- package/dist/index.mjs +4 -0
- package/package.json +9 -7
- package/src/index.ts +1 -0
- package/src/version.generated.ts +2 -0
- package/src/version.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/io@0.16.
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts
|
|
2
|
+
> @pluv/io@0.16.2 build /home/runner/work/pluv/pluv/packages/io
|
|
3
|
+
> pnpm run version && tsup src/index.ts --format esm,cjs --dts
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> @pluv/io@0.16.2 version /home/runner/work/pluv/pluv/packages/io
|
|
7
|
+
> genversion ./src/version.generated.ts --esm
|
|
4
8
|
|
|
5
9
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
10
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
@@ -8,11 +12,11 @@
|
|
|
8
12
|
[34mCLI[39m Target: es6
|
|
9
13
|
[34mESM[39m Build start
|
|
10
14
|
[34mCJS[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.js [22m[32m31.
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m29.
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
15
|
+
[32mCJS[39m [1mdist/index.js [22m[32m31.75 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 149ms
|
|
17
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m29.67 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 150ms
|
|
15
19
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m17.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m17.
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 2956ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m17.67 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m17.67 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -296,4 +296,6 @@ type CreateIOParams<TPlatform extends AbstractPlatform<any> = AbstractPlatform<a
|
|
|
296
296
|
};
|
|
297
297
|
declare const createIO: <TPlatform extends AbstractPlatform<any, {}, {}> = AbstractPlatform<any, {}, {}>, TContext extends JsonObject = {}, TAuthorizeUser extends BaseUser = BaseUser, TAuthorizeRequired extends boolean = false>(params: CreateIOParams<TPlatform, TContext, TAuthorizeUser, TAuthorizeRequired>) => PluvIO<TPlatform, IOAuthorize<TAuthorizeUser, TAuthorizeRequired>, TContext, BaseClientEventRecord, BaseIOEventRecord<IOAuthorize<TAuthorizeUser, TAuthorizeRequired>>, {}, {}>;
|
|
298
298
|
|
|
299
|
-
|
|
299
|
+
declare const version = "0.16.2";
|
|
300
|
+
|
|
301
|
+
export { type AbstractCloseEvent, type AbstractErrorEvent, type AbstractEvent, type AbstractEventMap, type AbstractListener, type AbstractMessageEvent, AbstractPersistance, AbstractPlatform, type AbstractPlatformConfig, AbstractPubSub, AbstractWebSocket, type AbstractWebSocketConfig, type AbstractWebSocketHandleErrorParams, type AuthorizeModule, type AuthorizeParams, type ConvertWebSocketConfig, type CreateIOParams, type GetRoomOptions, type IOPubSubEventMessage, IORoom, type InferIORoom, type InferPlatformEventContextType, type InferPlatformRoomContextType, type InferPlatformWebSocketType, type JWT, type JWTEncodeParams, PluvIO, type PluvIOConfig, version as __PLUV_VERSION, createIO };
|
package/dist/index.d.ts
CHANGED
|
@@ -296,4 +296,6 @@ type CreateIOParams<TPlatform extends AbstractPlatform<any> = AbstractPlatform<a
|
|
|
296
296
|
};
|
|
297
297
|
declare const createIO: <TPlatform extends AbstractPlatform<any, {}, {}> = AbstractPlatform<any, {}, {}>, TContext extends JsonObject = {}, TAuthorizeUser extends BaseUser = BaseUser, TAuthorizeRequired extends boolean = false>(params: CreateIOParams<TPlatform, TContext, TAuthorizeUser, TAuthorizeRequired>) => PluvIO<TPlatform, IOAuthorize<TAuthorizeUser, TAuthorizeRequired>, TContext, BaseClientEventRecord, BaseIOEventRecord<IOAuthorize<TAuthorizeUser, TAuthorizeRequired>>, {}, {}>;
|
|
298
298
|
|
|
299
|
-
|
|
299
|
+
declare const version = "0.16.2";
|
|
300
|
+
|
|
301
|
+
export { type AbstractCloseEvent, type AbstractErrorEvent, type AbstractEvent, type AbstractEventMap, type AbstractListener, type AbstractMessageEvent, AbstractPersistance, AbstractPlatform, type AbstractPlatformConfig, AbstractPubSub, AbstractWebSocket, type AbstractWebSocketConfig, type AbstractWebSocketHandleErrorParams, type AuthorizeModule, type AuthorizeParams, type ConvertWebSocketConfig, type CreateIOParams, type GetRoomOptions, type IOPubSubEventMessage, IORoom, type InferIORoom, type InferPlatformEventContextType, type InferPlatformRoomContextType, type InferPlatformWebSocketType, type JWT, type JWTEncodeParams, PluvIO, type PluvIOConfig, version as __PLUV_VERSION, createIO };
|
package/dist/index.js
CHANGED
|
@@ -84,6 +84,7 @@ __export(src_exports, {
|
|
|
84
84
|
AbstractPubSub: () => AbstractPubSub,
|
|
85
85
|
AbstractWebSocket: () => AbstractWebSocket,
|
|
86
86
|
PluvIO: () => PluvIO,
|
|
87
|
+
__PLUV_VERSION: () => version,
|
|
87
88
|
createIO: () => createIO
|
|
88
89
|
});
|
|
89
90
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -1013,6 +1014,9 @@ var createIO = (params) => {
|
|
|
1013
1014
|
platform
|
|
1014
1015
|
});
|
|
1015
1016
|
};
|
|
1017
|
+
|
|
1018
|
+
// src/version.generated.ts
|
|
1019
|
+
var version = "0.16.2";
|
|
1016
1020
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1017
1021
|
0 && (module.exports = {
|
|
1018
1022
|
AbstractPersistance,
|
|
@@ -1020,5 +1024,6 @@ var createIO = (params) => {
|
|
|
1020
1024
|
AbstractPubSub,
|
|
1021
1025
|
AbstractWebSocket,
|
|
1022
1026
|
PluvIO,
|
|
1027
|
+
__PLUV_VERSION,
|
|
1023
1028
|
createIO
|
|
1024
1029
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -975,11 +975,15 @@ var createIO = (params) => {
|
|
|
975
975
|
platform
|
|
976
976
|
});
|
|
977
977
|
};
|
|
978
|
+
|
|
979
|
+
// src/version.generated.ts
|
|
980
|
+
var version = "0.16.2";
|
|
978
981
|
export {
|
|
979
982
|
AbstractPersistance,
|
|
980
983
|
AbstractPlatform,
|
|
981
984
|
AbstractPubSub,
|
|
982
985
|
AbstractWebSocket,
|
|
983
986
|
PluvIO,
|
|
987
|
+
version as __PLUV_VERSION,
|
|
984
988
|
createIO
|
|
985
989
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/io",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "@pluv/io server-side websocket manager",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,20 +21,22 @@
|
|
|
21
21
|
"jose": "^5.2.2",
|
|
22
22
|
"kleur": "^4.1.5",
|
|
23
23
|
"wonka": "^6.3.4",
|
|
24
|
-
"@pluv/crdt": "^0.16.
|
|
25
|
-
"@pluv/types": "^0.16.
|
|
24
|
+
"@pluv/crdt": "^0.16.2",
|
|
25
|
+
"@pluv/types": "^0.16.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"eslint": "^8.56.0",
|
|
29
|
+
"genversion": "^3.2.0",
|
|
29
30
|
"tsup": "^8.0.2",
|
|
30
31
|
"typescript": "^5.3.3",
|
|
31
|
-
"@pluv/tsconfig": "^0.16.
|
|
32
|
-
"eslint-config-pluv": "^0.16.
|
|
32
|
+
"@pluv/tsconfig": "^0.16.2",
|
|
33
|
+
"eslint-config-pluv": "^0.16.2"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
35
|
-
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
36
|
+
"build": "pnpm run version && tsup src/index.ts --format esm,cjs --dts",
|
|
36
37
|
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
|
|
37
38
|
"lint": "eslint src/**/*.ts* --fix",
|
|
38
|
-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
|
39
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
40
|
+
"version": "genversion ./src/version.generated.ts --esm"
|
|
39
41
|
}
|
|
40
42
|
}
|
package/src/index.ts
CHANGED
package/src/version.ts
ADDED