@passlock/node 2.0.6 → 2.0.9
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/dist/network.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface MatchStatusCases<Resp extends NetworkResponse = NetworkResponse
|
|
|
66
66
|
readonly "5xx"?: MatchStatusHandler<Resp>;
|
|
67
67
|
readonly orElse: MatchStatusHandler<Resp>;
|
|
68
68
|
}
|
|
69
|
-
declare const NetworkRequestError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
69
|
+
declare const NetworkRequestError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
70
70
|
readonly _tag: "@error/NetworkRequest";
|
|
71
71
|
} & Readonly<A>;
|
|
72
72
|
/**
|
|
@@ -78,7 +78,7 @@ export declare class NetworkRequestError extends NetworkRequestError_base<{
|
|
|
78
78
|
readonly message: string;
|
|
79
79
|
}> {
|
|
80
80
|
}
|
|
81
|
-
declare const NetworkPayloadError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
81
|
+
declare const NetworkPayloadError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
82
82
|
readonly _tag: "@error/NetworkPayload";
|
|
83
83
|
} & Readonly<A>;
|
|
84
84
|
/**
|
|
@@ -89,7 +89,7 @@ export declare class NetworkPayloadError extends NetworkPayloadError_base<{
|
|
|
89
89
|
readonly message: string;
|
|
90
90
|
}> {
|
|
91
91
|
}
|
|
92
|
-
declare const NetworkResponseError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
92
|
+
declare const NetworkResponseError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
93
93
|
readonly _tag: "@error/NetworkResponse";
|
|
94
94
|
} & Readonly<A>;
|
|
95
95
|
/**
|
|
@@ -7,7 +7,7 @@ export interface ExchangeCodeOptions extends AuthenticatedOptions {
|
|
|
7
7
|
code: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const exchangeCode: (options: ExchangeCodeOptions, fetchLayer?: Layer.Layer<NetworkFetch>) => Effect.Effect<ExtendedPrincipal, InvalidCodeError | ForbiddenError>;
|
|
10
|
-
declare const VerificationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
10
|
+
declare const VerificationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
11
11
|
readonly _tag: "@error/Verification";
|
|
12
12
|
} & Readonly<A>;
|
|
13
13
|
export declare class VerificationError extends VerificationError_base<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passlock/node",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Passkey authentication for NodeJS backends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"passkey",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"!dist/**/*.spec.*"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"effect": "3.
|
|
52
|
-
"jose": "^6.
|
|
51
|
+
"effect": "3.20.0",
|
|
52
|
+
"jose": "^6.2.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@biomejs/biome": "^2.4.
|
|
56
|
-
"@effect/vitest": "^0.
|
|
57
|
-
"@types/node": "25.
|
|
55
|
+
"@biomejs/biome": "^2.4.8",
|
|
56
|
+
"@effect/vitest": "^0.28.0",
|
|
57
|
+
"@types/node": "25.5.0",
|
|
58
58
|
"globals": "^17.4.0",
|
|
59
|
-
"npm-check-updates": "^19.6.
|
|
59
|
+
"npm-check-updates": "^19.6.5",
|
|
60
60
|
"publint": "0.3.18",
|
|
61
61
|
"rimraf": "^6.1.3",
|
|
62
62
|
"tsx": "4.21.0",
|