@sebspark/openapi-auth-iam 3.0.53 → 3.0.55
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/CHANGELOG.md +15 -0
- package/dist/index.d.mts +0 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @sebspark/openapi-auth-iam
|
|
2
2
|
|
|
3
|
+
## 3.0.55
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ad1e80f]
|
|
8
|
+
- @sebspark/gcp-iam@3.0.57
|
|
9
|
+
|
|
10
|
+
## 3.0.54
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 9f44fbd: Updated dependencies
|
|
15
|
+
- Updated dependencies [9f44fbd]
|
|
16
|
+
- @sebspark/gcp-iam@3.0.56
|
|
17
|
+
|
|
3
18
|
## 3.0.53
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/index.d.ts
|
|
2
1
|
export declare const apiGatewayTokenByUrlGenerator: (apiKey: string) => (url: string) => Promise<Record<string, string>>;
|
|
3
2
|
export declare const apiGatewayTokenByClientIdGenerator: (apiKey: string, clientId: string) => () => Promise<Record<string, string>>;
|
|
4
3
|
export declare const apiGatewayTokenRefresh: () => (url: string) => Promise<void>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"A,qBAMa,gCAA6B,oBAAkB,gBAC9B,QAAQ;qBAmBzB,qCAAkC,gBAC/B,2BAGG,QAAQ;qBAiBd,+BAAsB,gBACR"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { clearCache, getApiGatewayTokenByClientId, getApiGatewayTokenByUrl } from "@sebspark/gcp-iam";
|
|
2
|
-
|
|
2
|
+
// src/index.ts
|
|
3
3
|
const apiGatewayTokenByUrlGenerator = (apiKey) => {
|
|
4
4
|
return async (url) => {
|
|
5
5
|
if (process.env.ENV === "local") return { "x-api-key": apiKey };
|
|
@@ -23,7 +23,6 @@ const apiGatewayTokenRefresh = () => {
|
|
|
23
23
|
return await clearCache(url);
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
//#endregion
|
|
27
26
|
export { apiGatewayTokenByClientIdGenerator, apiGatewayTokenByUrlGenerator, apiGatewayTokenRefresh };
|
|
28
27
|
|
|
29
28
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebspark/openapi-auth-iam",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.55",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
"depcheck": "depcheck",
|
|
20
20
|
"dev": "tsc --watch --noEmit",
|
|
21
21
|
"lint": "biome check .",
|
|
22
|
-
"test": "vitest run --passWithNoTests --coverage",
|
|
22
|
+
"test": "vitest run --passWithNoTests --coverage --fsModuleCachePath node_modules/.vitest-cache",
|
|
23
23
|
"typecheck": "vitest --typecheck.only --passWithNoTests --run"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@sebspark/gcp-iam": "3.0.
|
|
26
|
+
"@sebspark/gcp-iam": "3.0.57"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
30
|
"url": "https://github.com/seb-oss/Spark-packages.git"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@biomejs/biome": "2.
|
|
34
|
-
"@sebspark/tsconfig": "
|
|
33
|
+
"@biomejs/biome": "2.6.3",
|
|
34
|
+
"@sebspark/tsconfig": "3.0.26",
|
|
35
35
|
"depcheck": "1.4.7",
|
|
36
36
|
"typescript": "7.0.2",
|
|
37
|
-
"vite": "8.
|
|
38
|
-
"vitest": "5.0.
|
|
37
|
+
"vite": "8.3.5",
|
|
38
|
+
"vitest": "5.0.5"
|
|
39
39
|
}
|
|
40
40
|
}
|