@scaleway/auth-scw 1.2.4 → 1.2.6
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/constants.d.ts +1 -3
- package/dist/constants.js +1 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -2
- package/dist/isExpired.js +0 -1
- package/dist/types/dist/index.d.ts +1 -3
- package/dist/types/iam/index.d.ts +1 -3
- package/dist/types/iam/types.d.ts +0 -2
- package/dist/types/index.d.ts +1 -3
- package/dist/useAuthScw/AuthScwProvider.d.ts +1 -4
- package/dist/useAuthScw/AuthScwProvider.js +5 -7
- package/dist/useAuthScw/authStoreManager/authStoreManager.d.ts +3 -5
- package/dist/useAuthScw/authStoreManager/authStoreManager.js +2 -3
- package/dist/useAuthScw/authStoreManager/constants.d.ts +1 -3
- package/dist/useAuthScw/authStoreManager/constants.js +1 -2
- package/dist/useAuthScw/authStoreManager/cookieBackend.js +1 -2
- package/dist/useAuthScw/authStoreManager/localStorageBackend.js +1 -2
- package/dist/useAuthScw/authStoreManager/types.d.ts +1 -3
- package/dist/useAuthScw/createClient.js +1 -2
- package/dist/useAuthScw/helpers.js +1 -2
- package/dist/useAuthScw/index.d.ts +2 -1
- package/dist/useAuthScw/proxyJwt.js +1 -2
- package/dist/useAuthScw/useAuthScw.d.ts +2 -0
- package/dist/useAuthScw/useAuthScw.js +5 -0
- package/dist/zodSchemas.d.ts +6 -7
- package/dist/zodSchemas.js +1 -2
- package/package.json +4 -4
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, getUniqueHostnameString } from "./useAuthScw/authStoreManager/constants.js";
|
|
2
2
|
import { AuthStoreManager, createAuthStoreManager } from "./useAuthScw/authStoreManager/authStoreManager.js";
|
|
3
|
-
import "./useAuthScw/authStoreManager/index.js";
|
|
4
|
-
import { AudienceIdType, AuthScwContextType, EncodedJWT, StorageType } from "./types/index.js";
|
|
5
3
|
import { EmptySession } from "./constants.js";
|
|
6
|
-
import {
|
|
4
|
+
import { AudienceIdType, AuthScwContextType, EncodedJWT, StorageType } from "./types/index.js";
|
|
7
5
|
import "./useAuthScw/index.js";
|
|
6
|
+
import { AuthScwProvider } from "./useAuthScw/AuthScwProvider.js";
|
|
7
|
+
import { useAuthScw } from "./useAuthScw/useAuthScw.js";
|
|
8
|
+
import "./useAuthScw/authStoreManager/index.js";
|
|
8
9
|
export { type AudienceIdType, type AuthScwContextType, AuthScwProvider, AuthStoreManager, COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, EmptySession, type EncodedJWT, type StorageType, createAuthStoreManager, getUniqueHostnameString, useAuthScw };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EmptySession } from "./constants.js";
|
|
2
|
-
import {
|
|
2
|
+
import { AuthScwProvider } from "./useAuthScw/AuthScwProvider.js";
|
|
3
|
+
import { useAuthScw } from "./useAuthScw/useAuthScw.js";
|
|
3
4
|
import { AuthStoreManager, createAuthStoreManager } from "./useAuthScw/authStoreManager/authStoreManager.js";
|
|
4
|
-
import {
|
|
5
|
+
import { COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, getUniqueHostnameString } from "./useAuthScw/authStoreManager/constants.js";
|
|
5
6
|
export { AuthScwProvider, AuthStoreManager, COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, EmptySession, createAuthStoreManager, getUniqueHostnameString, useAuthScw };
|
package/dist/isExpired.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region ../types/dist/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* A utility used for XOR: marks every key that is only in T (and not in U)
|
|
4
3
|
* as optional-never, effectively requiring those keys to be absent.
|
|
@@ -9,5 +8,4 @@ export type Without<T, U> = Partial<Record<Exclude<keyof T, keyof U>, never>>;
|
|
|
9
8
|
* (T without any U-specific keys) OR (U without any T-specific keys),
|
|
10
9
|
* so only one of them may be present. For non-object unions it falls back to T | U.
|
|
11
10
|
*/
|
|
12
|
-
export type SingleXOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
|
13
|
-
//#endregion
|
|
11
|
+
export type SingleXOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { API, DeleteJWTRequest, EncodedJWT, JWT, UnauthenticatedAPI, UnauthenticatedApiRenewJWTRequest } from "./types.js";
|
|
2
|
-
//#region src/types/iam/index.d.ts
|
|
3
2
|
export declare namespace Iamv1alpha1 {
|
|
4
3
|
export type { API, UnauthenticatedAPI };
|
|
5
4
|
export type { DeleteJWTRequest, EncodedJWT, JWT, UnauthenticatedApiRenewJWTRequest };
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
5
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { API } from "@scaleway/sdk-client";
|
|
2
2
|
import { Iamv1alpha1 } from "@scaleway/sdk-iam";
|
|
3
|
-
//#region src/types/iam/types.d.ts
|
|
4
3
|
export type JWT = Iamv1alpha1.JWT;
|
|
5
4
|
export type EncodedJWT = Iamv1alpha1.EncodedJWT;
|
|
6
5
|
export type DeleteJWTRequest = Iamv1alpha1.DeleteJWTRequest;
|
|
@@ -39,5 +38,4 @@ export declare class UnauthenticatedAPI extends API {
|
|
|
39
38
|
*/
|
|
40
39
|
renewJWT: (request: Readonly<UnauthenticatedApiRenewJWTRequest>) => Promise<EncodedJWT>;
|
|
41
40
|
}
|
|
42
|
-
//#endregion
|
|
43
41
|
export { API$1 as API };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { AuthStoreManagerInstance } from "../useAuthScw/authStoreManager/authStoreManager.js";
|
|
2
2
|
import "../useAuthScw/authStoreManager/index.js";
|
|
3
|
-
import { Iamv1alpha1 } from "./iam/index.js";
|
|
4
3
|
import { audienceIdSchema, jwtSchema } from "../zodSchemas.js";
|
|
4
|
+
import { Iamv1alpha1 } from "./iam/index.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { API, Client, Settings } from "@scaleway/sdk-client";
|
|
7
|
-
//#region src/types/index.d.ts
|
|
8
7
|
export type EncodedJWT = z.infer<typeof jwtSchema>;
|
|
9
8
|
export type AudienceIdType = z.infer<typeof audienceIdSchema>;
|
|
10
9
|
export type OnError = (onError: {
|
|
@@ -63,5 +62,4 @@ export type CookieOptions = {
|
|
|
63
62
|
* - `'localStorage'`: scoped to a single origin, survives reloads, avoids cookie size limits.
|
|
64
63
|
*/
|
|
65
64
|
export type StorageType = 'cookie' | 'localStorage';
|
|
66
|
-
//#endregion
|
|
67
65
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { AuthScwContextType, ConfigAuthProvider, CookieOptions, OnError } from "../types/index.js";
|
|
2
1
|
import { SingleXOR } from "../types/dist/index.js";
|
|
2
|
+
import { ConfigAuthProvider, CookieOptions, OnError } from "../types/index.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
//#region src/useAuthScw/AuthScwProvider.d.ts
|
|
5
4
|
type CookieStorageOptions = {
|
|
6
5
|
storageType?: 'cookie';
|
|
7
6
|
cookie: CookieOptions;
|
|
@@ -23,7 +22,5 @@ export type AuthProviderParamType = ConfigAuthProvider & {
|
|
|
23
22
|
*/
|
|
24
23
|
migrateFromCookie?: boolean;
|
|
25
24
|
} & SingleXOR<CookieStorageOptions, LocalStorageOptions>;
|
|
26
|
-
export declare const useAuthScw: () => AuthScwContextType;
|
|
27
25
|
export declare const AuthScwProvider: ({ clientSettings, IamV1Alpha1, IamUnauthenticatedV1Alpha1, children, cookie, urlParamTokenName, onError, storageType, migrateFromCookie }: AuthProviderParamType) => import("react").JSX.Element;
|
|
28
|
-
//#endregion
|
|
29
26
|
export {};
|
|
@@ -3,11 +3,10 @@ import { createAuthStoreManager } from "./authStoreManager/authStoreManager.js";
|
|
|
3
3
|
import { clientSingleton } from "./createClient.js";
|
|
4
4
|
import { decodeToken, encodeToken, getStoredJWT, refreshSession } from "./helpers.js";
|
|
5
5
|
import { proxyJwt } from "./proxyJwt.js";
|
|
6
|
-
import {
|
|
6
|
+
import { AuthScwContext } from "./useAuthScw.js";
|
|
7
|
+
import { useCallback, useMemo, useState } from "react";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
const AuthScwContext = createContext({});
|
|
10
|
-
const useAuthScw = () => useContext(AuthScwContext);
|
|
9
|
+
// src/useAuthScw/AuthScwProvider.tsx
|
|
11
10
|
const AuthScwProvider = ({ clientSettings, IamV1Alpha1, IamUnauthenticatedV1Alpha1, children, cookie, urlParamTokenName, onError, storageType = "cookie", migrateFromCookie = false }) => {
|
|
12
11
|
const storeManager = useMemo(() => createAuthStoreManager({
|
|
13
12
|
storageType,
|
|
@@ -57,7 +56,7 @@ const AuthScwProvider = ({ clientSettings, IamV1Alpha1, IamUnauthenticatedV1Alph
|
|
|
57
56
|
const storedJWT = getStoredJWT(audienceId, storeManager);
|
|
58
57
|
if (storedJWT?.jwt) {
|
|
59
58
|
const { renewToken, token, jwt: currentJWT } = storedJWT;
|
|
60
|
-
if (currentJWT.expiresAt !== void 0 && !isExpired(new Date(currentJWT.expiresAt))) return {
|
|
59
|
+
if (currentJWT.expiresAt !== void 0 && currentJWT.expiresAt !== null && !isExpired(new Date(currentJWT.expiresAt))) return {
|
|
61
60
|
jwt: currentJWT,
|
|
62
61
|
renewToken,
|
|
63
62
|
source: "storage",
|
|
@@ -143,5 +142,4 @@ const AuthScwProvider = ({ clientSettings, IamV1Alpha1, IamUnauthenticatedV1Alph
|
|
|
143
142
|
children
|
|
144
143
|
});
|
|
145
144
|
};
|
|
146
|
-
|
|
147
|
-
export { AuthScwProvider, useAuthScw };
|
|
145
|
+
export { AuthScwProvider };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CreateAuthStoreManagerOptions } from "./types.js";
|
|
2
|
-
import { COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, getUniqueHostnameString } from "./constants.js";
|
|
3
1
|
import { AudienceIdType, EncodedJWT, StorageType } from "../../types/index.js";
|
|
4
|
-
|
|
2
|
+
import { COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, getUniqueHostnameString } from "./constants.js";
|
|
3
|
+
import { CreateAuthStoreManagerOptions } from "./types.js";
|
|
5
4
|
export type AuthStoreManagerInstance = ReturnType<typeof createAuthStoreManager>;
|
|
6
5
|
/**
|
|
7
6
|
* Factory that creates an isolated AuthStoreManager instance with its own
|
|
@@ -55,5 +54,4 @@ export declare const createAuthStoreManager: (param?: StorageType | CreateAuthSt
|
|
|
55
54
|
* @deprecated Use `useAuthScw().storeManager` or `createAuthStoreManager()` instead.
|
|
56
55
|
* The singleton bypasses the provider's configuration and shares global state across all providers.
|
|
57
56
|
*/
|
|
58
|
-
export declare const AuthStoreManager: AuthStoreManagerInstance;
|
|
59
|
-
//#endregion
|
|
57
|
+
export declare const AuthStoreManager: AuthStoreManagerInstance;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { COOKIE_AGE, DOMAIN, getUniqueHostnameString } from "./constants.js";
|
|
2
1
|
import { audienceIdSchema, jwtSchema } from "../../zodSchemas.js";
|
|
2
|
+
import { COOKIE_AGE, DOMAIN, getUniqueHostnameString } from "./constants.js";
|
|
3
3
|
import { createCookieBackend } from "./cookieBackend.js";
|
|
4
4
|
import { createLocalStorageBackend } from "./localStorageBackend.js";
|
|
5
|
-
|
|
5
|
+
// src/useAuthScw/authStoreManager/authStoreManager.ts
|
|
6
6
|
const KEY_SESSION = "_scw_session";
|
|
7
7
|
const KEY_AUDIENCE_ID = "_scw_audience_id";
|
|
8
8
|
const DEFAULT_SUFFIX_KEY = "";
|
|
@@ -139,5 +139,4 @@ const AuthStoreManager = new Proxy(createAuthStoreManager(), { get(target, prop,
|
|
|
139
139
|
warnSingletonUsage();
|
|
140
140
|
return Reflect.get(target, prop, receiver);
|
|
141
141
|
} });
|
|
142
|
-
//#endregion
|
|
143
142
|
export { AuthStoreManager, createAuthStoreManager };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/useAuthScw/authStoreManager/constants.d.ts
|
|
2
1
|
export declare const COOKIE_AGE: number;
|
|
3
2
|
export declare const DOMAIN: string;
|
|
4
3
|
export declare const getUniqueHostnameString: (inputString: string) => string;
|
|
5
|
-
export declare const DEFAULT_AUTH_SUFFIX_KEY: string;
|
|
6
|
-
//#endregion
|
|
4
|
+
export declare const DEFAULT_AUTH_SUFFIX_KEY: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/useAuthScw/authStoreManager/constants.ts
|
|
2
2
|
const COOKIE_AGE = 2678400;
|
|
3
3
|
const DOMAIN = typeof globalThis !== "undefined" && "location" in globalThis ? globalThis.location.hostname : "";
|
|
4
4
|
const getUniqueHostnameString = (inputString) => inputString.replaceAll(".", "_").replaceAll("-", "_");
|
|
5
5
|
const DEFAULT_AUTH_SUFFIX_KEY = getUniqueHostnameString(DOMAIN);
|
|
6
|
-
//#endregion
|
|
7
6
|
export { COOKIE_AGE, DEFAULT_AUTH_SUFFIX_KEY, DOMAIN, getUniqueHostnameString };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { COOKIE_CONFIG } from "../../constants.js";
|
|
2
2
|
import { DOMAIN } from "./constants.js";
|
|
3
3
|
import { parseCookie, stringifySetCookie } from "cookie";
|
|
4
|
-
|
|
4
|
+
// src/useAuthScw/authStoreManager/cookieBackend.ts
|
|
5
5
|
const getCookie = (key) => {
|
|
6
6
|
const cookies = parseCookie(document.cookie);
|
|
7
7
|
if (key in cookies && cookies[key]) {
|
|
@@ -60,5 +60,4 @@ const createCookieBackend = (options = {}) => {
|
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
createCookieBackend();
|
|
63
|
-
//#endregion
|
|
64
63
|
export { createCookieBackend };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/useAuthScw/authStoreManager/localStorageBackend.ts
|
|
2
2
|
/**
|
|
3
3
|
* localStorage-based storage backend.
|
|
4
4
|
*
|
|
@@ -39,5 +39,4 @@ const createLocalStorageBackend = () => ({
|
|
|
39
39
|
} catch {}
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
//#endregion
|
|
43
42
|
export { createLocalStorageBackend };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { CookieConfigType, StorageType } from "../../types/index.js";
|
|
2
|
-
//#region src/useAuthScw/authStoreManager/types.d.ts
|
|
3
2
|
export type CreateAuthStoreManagerOptions = {
|
|
4
3
|
storageType?: StorageType;
|
|
5
4
|
cookieConfig?: CookieConfigType;
|
|
6
5
|
cookieAge?: number;
|
|
7
6
|
suffixKey?: string;
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SESSION_HEADER_KEY, addAsyncHeaderInterceptor, createAdvancedClient, withAdditionalInterceptors, withProfile } from "@scaleway/sdk-client";
|
|
2
|
-
|
|
2
|
+
// src/useAuthScw/createClient.ts
|
|
3
3
|
const clientSingleton = {
|
|
4
4
|
IamV1Alpha1: void 0,
|
|
5
5
|
IamUnauthenticatedV1Alpha1: void 0,
|
|
@@ -20,5 +20,4 @@ const clientSingleton = {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { clientSingleton };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clientSingleton } from "./createClient.js";
|
|
2
2
|
import { Errors } from "@scaleway/sdk-client";
|
|
3
|
-
|
|
3
|
+
// src/useAuthScw/helpers.ts
|
|
4
4
|
let refreshSessionPromise = void 0;
|
|
5
5
|
const refreshSession = async ({ paramsRenewRequest, setJWT, onError }) => {
|
|
6
6
|
if (refreshSessionPromise !== void 0) return refreshSessionPromise;
|
|
@@ -35,5 +35,4 @@ const decodeToken = (encodedToken, storeManager) => {
|
|
|
35
35
|
};
|
|
36
36
|
const encodeToken = (jwt) => btoa(JSON.stringify(jwt));
|
|
37
37
|
const getStoredJWT = (audienceId, storeManager) => storeManager.getJwt(audienceId);
|
|
38
|
-
//#endregion
|
|
39
38
|
export { decodeToken, encodeToken, getStoredJWT, refreshSession };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_AUTH_SUFFIX_KEY, getUniqueHostnameString } from "./authStoreManager/constants.js";
|
|
2
|
+
import { AuthScwProvider } from "./AuthScwProvider.js";
|
|
3
|
+
import { useAuthScw } from "./useAuthScw.js";
|
|
2
4
|
import "./authStoreManager/index.js";
|
|
3
|
-
import { AuthScwProvider, useAuthScw } from "./AuthScwProvider.js";
|
|
4
5
|
export { AuthScwProvider, useAuthScw };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { subMinutes, subSeconds } from "date-fns";
|
|
2
|
-
|
|
2
|
+
// src/useAuthScw/proxyJwt.ts
|
|
3
3
|
const defaultUpdateValue = {
|
|
4
4
|
shouldOutdated: false,
|
|
5
5
|
subMinuteOfExpires: 59,
|
|
@@ -25,5 +25,4 @@ const proxyJwt = (jwtInfoParam, updateJwt = defaultUpdateValue) => {
|
|
|
25
25
|
}
|
|
26
26
|
return jwtInfoParam;
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { proxyJwt };
|
package/dist/zodSchemas.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Iamv1alpha1 } from "./types/iam/index.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
3
|
+
type OptionalDate = string | Date | null | undefined;
|
|
4
4
|
type TransformJWT = Omit<Iamv1alpha1.JWT, 'createdAt' | 'updatedAt' | 'expiresAt' | 'srn'> & {
|
|
5
|
-
createdAt?:
|
|
6
|
-
updatedAt?:
|
|
7
|
-
expiresAt?:
|
|
8
|
-
srn?: string;
|
|
5
|
+
createdAt?: OptionalDate;
|
|
6
|
+
updatedAt?: OptionalDate;
|
|
7
|
+
expiresAt?: OptionalDate;
|
|
8
|
+
srn?: string | null;
|
|
9
9
|
};
|
|
10
10
|
type ValidateJWTSchema = {
|
|
11
|
-
jwt?: TransformJWT;
|
|
11
|
+
jwt?: TransformJWT | null;
|
|
12
12
|
token: string;
|
|
13
13
|
renewToken: string;
|
|
14
14
|
};
|
|
@@ -16,5 +16,4 @@ export declare const jwtSchema: z.ZodType<ValidateJWTSchema, unknown, z.core.$Zo
|
|
|
16
16
|
export declare const audienceIdSchema: z.ZodObject<{
|
|
17
17
|
audienceId: z.ZodString;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
|
-
//#endregion
|
|
20
19
|
export {};
|
package/dist/zodSchemas.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
2
|
+
// src/zodSchemas.ts
|
|
3
3
|
const dateScheme = z.union([z.string().min(1), z.date()]);
|
|
4
4
|
const rawJwtSchema = z.object({
|
|
5
5
|
jwt: z.object({
|
|
@@ -18,5 +18,4 @@ const rawJwtSchema = z.object({
|
|
|
18
18
|
});
|
|
19
19
|
const jwtSchema = z.compile(rawJwtSchema);
|
|
20
20
|
const audienceIdSchema = z.compile(z.object({ audienceId: z.string().min(1) }));
|
|
21
|
-
//#endregion
|
|
22
21
|
export { audienceIdSchema, jwtSchema };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/auth-scw",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Auth Scaleway",
|
|
5
5
|
"homepage": "https://github.com/scaleway/scaleway-lib/tree/main/packages/auth-scw",
|
|
6
6
|
"bugs": {
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/sdk-iam": "2.
|
|
30
|
-
"cookie": "2.0.
|
|
29
|
+
"@scaleway/sdk-iam": "2.22.0",
|
|
30
|
+
"cookie": "2.0.2",
|
|
31
31
|
"date-fns": "4.4.0",
|
|
32
32
|
"zod": "4.6.7"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@scaleway/sdk-client": "2.
|
|
35
|
+
"@scaleway/sdk-client": "2.17.0",
|
|
36
36
|
"@scaleway/types": "1.2.0",
|
|
37
37
|
"@types/react": "19.3.0",
|
|
38
38
|
"react": "19.3.1"
|