@pluv/platform-node 0.41.0 → 0.41.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/platform-node@0.41.0 build /home/runner/work/pluv/pluv/packages/platform-node
2
+ > @pluv/platform-node@0.41.1 build /home/runner/work/pluv/pluv/packages/platform-node
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.mjs 9.44 KB
12
- ESM ⚡️ Build success in 84ms
13
11
  CJS dist/index.js 11.23 KB
14
- CJS ⚡️ Build success in 85ms
12
+ CJS ⚡️ Build success in 92ms
13
+ ESM dist/index.mjs 9.44 KB
14
+ ESM ⚡️ Build success in 93ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 5117ms
17
- DTS dist/index.d.mts 6.38 KB
18
- DTS dist/index.d.ts 6.38 KB
16
+ DTS ⚡️ Build success in 5062ms
17
+ DTS dist/index.d.mts 6.37 KB
18
+ DTS dist/index.d.ts 6.37 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @pluv/platform-node
2
2
 
3
+ ## 0.41.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 324710f: Fix inferred context type.
8
+ - @pluv/io@0.41.1
9
+ - @pluv/types@0.41.1
10
+
3
11
  ## 0.41.0
4
12
 
5
13
  ### 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, TContext>, TMeta>, TContext>;
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, TContext>, TMeta>, TContext>;
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.0",
3
+ "version": "0.41.1",
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.0",
24
- "@pluv/types": "^0.41.0"
23
+ "@pluv/io": "^0.41.1",
24
+ "@pluv/types": "^0.41.1"
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.0",
32
- "eslint-config-pluv": "^0.41.0"
31
+ "@pluv/tsconfig": "^0.41.1",
32
+ "eslint-config-pluv": "^0.41.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "ws": "^8.0.0"
@@ -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, TContext>, TMeta>, TContext>;
22
+ context?: PluvContext<NodePlatform<IOAuthorize<TUser, any>, TMeta>, TContext>;
23
23
  types?: InferCallback<TMeta>;
24
24
  }
25
25
  >;