@o3co/auth-provider-foundation 0.10.0 → 0.11.0
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.
|
@@ -8,7 +8,8 @@ import type { User, UserRepository } from "@o3co/auth-provider-core";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const DEFAULT_MAX_RESPONSE_BYTES: number;
|
|
10
10
|
/**
|
|
11
|
-
* `UserRepository` backed by
|
|
11
|
+
* `UserRepository` backed by "the Store" — the upstream user service defined
|
|
12
|
+
* on core's `User` doc (`@o3co/auth-provider-core`, `src/repositories/types.mts`).
|
|
12
13
|
*
|
|
13
14
|
* Both endpoints receive plaintext user credentials, so both are validated at
|
|
14
15
|
* **construction**: a deployment configured with an `http://` Store URL fails
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpUserRepository.d.mts","sourceRoot":"","sources":["../../src/repositories/HttpUserRepository.mts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGrE;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,QAAc,CAAC;AAkItD
|
|
1
|
+
{"version":3,"file":"HttpUserRepository.d.mts","sourceRoot":"","sources":["../../src/repositories/HttpUserRepository.mts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGrE;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,QAAc,CAAC;AAkItD;;;;;;;;;GASG;AACH,qBAAa,kBAAmB,YAAW,cAAc;IACxD,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,sBAAsB,CAAS;IACvC,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,gBAAgB,CAAS;gBAErB,EACX,eAAe,EACf,sBAAsB,EACtB,OAAO,EACP,gBAA6C,GAC7C,EAAE;QACF,eAAe,EAAE,MAAM,CAAC;QACxB,sBAAsB,EAAE,MAAM,CAAC;QAC/B,OAAO,EAAE,MAAM,CAAC;QAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC1B;IAqBK,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;IAItE,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;YAIhD,IAAI;CAqElB"}
|
|
@@ -138,7 +138,8 @@ function isAbortError(err) {
|
|
|
138
138
|
return name === "AbortError" || name === "TimeoutError";
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* `UserRepository` backed by
|
|
141
|
+
* `UserRepository` backed by "the Store" — the upstream user service defined
|
|
142
|
+
* on core's `User` doc (`@o3co/auth-provider-core`, `src/repositories/types.mts`).
|
|
142
143
|
*
|
|
143
144
|
* Both endpoints receive plaintext user credentials, so both are validated at
|
|
144
145
|
* **construction**: a deployment configured with an `http://` Store URL fails
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3co/auth-provider-foundation",
|
|
3
3
|
"description": "Production HTTP user-authentication adapter for auth.provider",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=22.0.0"
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@o3co/auth-provider-core": "^0.
|
|
35
|
+
"@o3co/auth-provider-core": "^0.11.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^26.2.0",
|
|
39
39
|
"msw": "^2.15.0",
|
|
40
40
|
"pino": "^10.3.1",
|
|
41
|
-
"vitest": "^4.1.
|
|
41
|
+
"vitest": "^4.1.11",
|
|
42
42
|
"@vitest/coverage-v8": "^4.1.10",
|
|
43
|
-
"@o3co/auth-provider-core": "0.
|
|
43
|
+
"@o3co/auth-provider-core": "0.11.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "rimraf dist",
|