@pluv/platform-node 0.41.0 → 0.41.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 +6 -6
- package/CHANGELOG.md +15 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/platformNode.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/platform-node@0.41.
|
|
2
|
+
> @pluv/platform-node@0.41.2 build /home/runner/work/pluv/pluv/packages/platform-node
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[32mESM[39m [1mdist/index.mjs [22m[32m9.44 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 103ms
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m11.23 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 109ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4783ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.37 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.37 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @pluv/platform-node
|
|
2
2
|
|
|
3
|
+
## 0.41.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @pluv/io@0.41.2
|
|
8
|
+
- @pluv/types@0.41.2
|
|
9
|
+
|
|
10
|
+
## 0.41.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 324710f: Fix inferred context type.
|
|
15
|
+
- @pluv/io@0.41.1
|
|
16
|
+
- @pluv/types@0.41.1
|
|
17
|
+
|
|
3
18
|
## 0.41.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -121,7 +121,7 @@ declare const infer: <TMeta extends Record<string, Json> = {}>(callback: InferCa
|
|
|
121
121
|
|
|
122
122
|
type PlatformNodeCreateIOParams<TMeta extends Record<string, Json> = {}, TContext extends Record<string, any> = {}, TUser extends BaseUser | null = null> = Id<NodePlatformConfig<TMeta> & Omit<CreateIOParams<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TContext, TUser>, "authorize" | "context" | "platform"> & {
|
|
123
123
|
authorize?: PluvIOAuthorize<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TUser, InferInitContextType<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>>>;
|
|
124
|
-
context?: PluvContext<NodePlatform<IOAuthorize<TUser,
|
|
124
|
+
context?: PluvContext<NodePlatform<IOAuthorize<TUser, any>, TMeta>, TContext>;
|
|
125
125
|
types?: InferCallback<TMeta>;
|
|
126
126
|
}>;
|
|
127
127
|
declare const platformNode: <TMeta extends Record<string, Json> = {}, TContext extends Record<string, any> = {}, TUser extends BaseUser | null = null>(config?: PlatformNodeCreateIOParams<TMeta, TContext, TUser>) => CreateIOParams<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TContext, TUser>;
|
package/dist/index.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ declare const infer: <TMeta extends Record<string, Json> = {}>(callback: InferCa
|
|
|
121
121
|
|
|
122
122
|
type PlatformNodeCreateIOParams<TMeta extends Record<string, Json> = {}, TContext extends Record<string, any> = {}, TUser extends BaseUser | null = null> = Id<NodePlatformConfig<TMeta> & Omit<CreateIOParams<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TContext, TUser>, "authorize" | "context" | "platform"> & {
|
|
123
123
|
authorize?: PluvIOAuthorize<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TUser, InferInitContextType<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>>>;
|
|
124
|
-
context?: PluvContext<NodePlatform<IOAuthorize<TUser,
|
|
124
|
+
context?: PluvContext<NodePlatform<IOAuthorize<TUser, any>, TMeta>, TContext>;
|
|
125
125
|
types?: InferCallback<TMeta>;
|
|
126
126
|
}>;
|
|
127
127
|
declare const platformNode: <TMeta extends Record<string, Json> = {}, TContext extends Record<string, any> = {}, TUser extends BaseUser | null = null>(config?: PlatformNodeCreateIOParams<TMeta, TContext, TUser>) => CreateIOParams<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TContext, TUser>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/platform-node",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.2",
|
|
4
4
|
"description": "@pluv/io adapter for node.js",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"@types/node": "^22.14.1",
|
|
21
21
|
"@types/ws": "^8.18.1",
|
|
22
22
|
"path-to-regexp": "^8.2.0",
|
|
23
|
-
"@pluv/io": "^0.41.
|
|
24
|
-
"@pluv/types": "^0.41.
|
|
23
|
+
"@pluv/io": "^0.41.2",
|
|
24
|
+
"@pluv/types": "^0.41.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"eslint": "^9.25.0",
|
|
28
28
|
"tsup": "^8.4.0",
|
|
29
29
|
"typescript": "^5.8.3",
|
|
30
30
|
"ws": "^8.18.1",
|
|
31
|
-
"@pluv/tsconfig": "^0.41.
|
|
32
|
-
"eslint-config-pluv": "^0.41.
|
|
31
|
+
"@pluv/tsconfig": "^0.41.2",
|
|
32
|
+
"eslint-config-pluv": "^0.41.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"ws": "^8.0.0"
|
package/src/platformNode.ts
CHANGED
|
@@ -19,7 +19,7 @@ export type PlatformNodeCreateIOParams<
|
|
|
19
19
|
TUser,
|
|
20
20
|
InferInitContextType<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>>
|
|
21
21
|
>;
|
|
22
|
-
context?: PluvContext<NodePlatform<IOAuthorize<TUser,
|
|
22
|
+
context?: PluvContext<NodePlatform<IOAuthorize<TUser, any>, TMeta>, TContext>;
|
|
23
23
|
types?: InferCallback<TMeta>;
|
|
24
24
|
}
|
|
25
25
|
>;
|