@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.
@@ -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.2 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
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  ESM dist/index.mjs 9.44 KB
12
- ESM ⚡️ Build success in 84ms
12
+ ESM ⚡️ Build success in 103ms
13
13
  CJS dist/index.js 11.23 KB
14
- CJS ⚡️ Build success in 85ms
14
+ CJS ⚡️ Build success in 109ms
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 4783ms
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,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, 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.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.0",
24
- "@pluv/types": "^0.41.0"
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.0",
32
- "eslint-config-pluv": "^0.41.0"
31
+ "@pluv/tsconfig": "^0.41.2",
32
+ "eslint-config-pluv": "^0.41.2"
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
  >;