@luckystack/core 0.6.4 → 0.6.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/CHANGELOG.md +13 -7
- package/dist/{chunk-PIUX2DOF.js → chunk-3AWP2YEA.js} +2 -2
- package/dist/{chunk-ZHNQOQBR.js → chunk-LU3IPFTR.js} +1 -1
- package/dist/{chunk-ZHNQOQBR.js.map → chunk-LU3IPFTR.js.map} +1 -1
- package/dist/{chunk-WBKHSJID.js → chunk-WFABOO6J.js} +3 -3
- package/dist/client.d.ts +2 -2
- package/dist/client.js +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/dist/{pageRouteValidation-vDT5SERL.d.ts → pageRouteValidation-gqktrJci.d.ts} +1 -20
- package/dist/{projectConfig-FC544PY2.js → projectConfig-XL5VB76A.js} +2 -2
- package/dist/{sentrySetup-UQAWKY5Z.js → sentrySetup-4NTWLN2A.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-PIUX2DOF.js.map → chunk-3AWP2YEA.js.map} +0 -0
- /package/dist/{chunk-WBKHSJID.js.map → chunk-WFABOO6J.js.map} +0 -0
- /package/dist/{projectConfig-FC544PY2.js.map → projectConfig-XL5VB76A.js.map} +0 -0
- /package/dist/{sentrySetup-UQAWKY5Z.js.map → sentrySetup-4NTWLN2A.js.map} +0 -0
|
@@ -726,25 +726,6 @@ interface ProjectConfig {
|
|
|
726
726
|
* consumer's `config.ts` sets it.
|
|
727
727
|
*/
|
|
728
728
|
oauthCallbackBase?: string;
|
|
729
|
-
/**
|
|
730
|
-
* Optional `@luckystack/secret-manager` settings — present when the project
|
|
731
|
-
* commits `.env` POINTERS and resolves them from a remote secret server at
|
|
732
|
-
* boot. Only a minimal structural shape is typed here on purpose: core does
|
|
733
|
-
* NOT depend on `@luckystack/secret-manager` (the full `SecretManagerConfig`
|
|
734
|
-
* lives there). The framework boot reads `secretManager?.url` to know a
|
|
735
|
-
* resolver is configured and drop any Redis client built with an unresolved
|
|
736
|
-
* pointer before the first Redis use.
|
|
737
|
-
*/
|
|
738
|
-
secretManager?: SecretManagerConfigRef;
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* Structural, dependency-free view of a secret-manager config as seen by core.
|
|
742
|
-
* The authoritative shape is `SecretManagerConfig` in `@luckystack/secret-manager`;
|
|
743
|
-
* core only needs to detect that a resolver is configured (`url`).
|
|
744
|
-
*/
|
|
745
|
-
interface SecretManagerConfigRef {
|
|
746
|
-
url?: string;
|
|
747
|
-
[key: string]: unknown;
|
|
748
729
|
}
|
|
749
730
|
type ProjectConfigInput = DeepPartial<ProjectConfig>;
|
|
750
731
|
declare const DEFAULT_PROJECT_CONFIG: ProjectConfig;
|
|
@@ -1070,4 +1051,4 @@ interface PagePathValidationResult {
|
|
|
1070
1051
|
*/
|
|
1071
1052
|
declare const validatePagePath: (srcRelativePath: string, rules?: PageRouteRules) => PagePathValidationResult;
|
|
1072
1053
|
|
|
1073
|
-
export { setSocket as $, type ApiMethodMap as A, type BaseSessionLayout as B, getProjectConfig as C, DEFAULT_PAGE_ROUTE_RULES as D, getRegisteredApiMethod as E, getSyncQueueSize as F, httpFetch as G, type HttpMethodLiteral as H, incrementResponseIndex as I, isApiMethodMapRegistered as J, isOnline as K, type Logger as L, isProjectConfigRegistered as M, type Notifier as N, normalizeErrorResponseCore as O, type PagePathValidationResult as P, notify as Q, type RateLimitingConfig as R, type SOCKETSTATUS as S, parseServiceRouteName as T, registerApiMethodMap as U, registerLogger as V, registerNotifier as W, registerProjectConfig as X, removeApiQueueItem as Y, removeApiQueueItemsByKey as Z, removeSyncQueueItem as _, type AppConfig as a, sleep as a0, socket as a1, socketEventNames as a2, type statusContent as a3, validatePagePath as a4, waitForSocket as a5, type ErrorParam as a6, type ErrorResponseInput as a7, type NormalizedErrorResponse as a8, type HealthHashConfig as a9, type
|
|
1054
|
+
export { setSocket as $, type ApiMethodMap as A, type BaseSessionLayout as B, getProjectConfig as C, DEFAULT_PAGE_ROUTE_RULES as D, getRegisteredApiMethod as E, getSyncQueueSize as F, httpFetch as G, type HttpMethodLiteral as H, incrementResponseIndex as I, isApiMethodMapRegistered as J, isOnline as K, type Logger as L, isProjectConfigRegistered as M, type Notifier as N, normalizeErrorResponseCore as O, type PagePathValidationResult as P, notify as Q, type RateLimitingConfig as R, type SOCKETSTATUS as S, parseServiceRouteName as T, registerApiMethodMap as U, registerLogger as V, registerNotifier as W, registerProjectConfig as X, removeApiQueueItem as Y, removeApiQueueItemsByKey as Z, removeSyncQueueItem as _, type AppConfig as a, sleep as a0, socket as a1, socketEventNames as a2, type statusContent as a3, validatePagePath as a4, waitForSocket as a5, type ErrorParam as a6, type ErrorResponseInput as a7, type NormalizedErrorResponse as a8, type HealthHashConfig as a9, type TransportRouteParseResult as aA, type TransportRouteParseSuccess as aB, type ValidationConfig as aC, createDevLogger as aD, deepMerge as aE, defaultHttpStatusForResponse as aF, getProjectName as aG, isErrorParamArray as aH, isLoggerRegistered as aI, isPlainObject as aJ, parseTransportRouteName as aK, resetLoggerForTests as aL, type DeepPartial as aa, type ApiConfig as ab, type AuthConfig as ac, type AuthRateLimitConfig as ad, type CorsConfig as ae, DEFAULT_PROJECT_CONFIG as af, type DevConfig as ag, type HttpConfig as ah, type HttpStreamConfig as ai, INVALID_ERROR_RESPONSE_CODE as aj, type OfflineQueueConfig as ak, type PasswordPolicyConfig as al, type PathsConfig as am, type ProjectConfigInput as an, type QueueDropReason as ao, type RateLimitIdentity as ap, type RateLimitIdentityParams as aq, type SecurityHeadersConfig as ar, type ServiceRouteParseError as as, type ServiceRouteParseResult as at, type ServiceRouteParseSuccess as au, type SocketConfig as av, type SyncConfig as aw, type SyncFlushPressureConfig as ax, type SyncStreamThrottleConfig as ay, type TransportRouteParseError as az, type AuthProps as b, type LoggerContext as c, type LoggingConfig as d, type NotifyInput as e, type NotifyParam as f, type PageRouteRules as g, type ProjectConfig as h, type SessionConfig as i, type SessionLocation as j, buildApiResponseEventName as k, buildApiStreamEventName as l, buildGetJoinedRoomsResponseEventName as m, buildJoinRoomResponseEventName as n, buildLeaveRoomResponseEventName as o, buildSyncProgressEventName as p, buildSyncResponseEventName as q, clearCsrfToken as r, enqueueApiRequest as s, enqueueSyncRequest as t, flushApiQueue as u, flushSyncQueue as v, getApiQueueSize as w, getCsrfToken as x, getLogger as y, getNotifier as z };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getProjectName,
|
|
5
5
|
isProjectConfigRegistered,
|
|
6
6
|
registerProjectConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LU3IPFTR.js";
|
|
8
8
|
export {
|
|
9
9
|
DEFAULT_PROJECT_CONFIG,
|
|
10
10
|
getProjectConfig,
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
isProjectConfigRegistered,
|
|
13
13
|
registerProjectConfig
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=projectConfig-
|
|
15
|
+
//# sourceMappingURL=projectConfig-XL5VB76A.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
initSharedSentry,
|
|
5
5
|
setSentryUser,
|
|
6
6
|
startSpan
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3AWP2YEA.js";
|
|
8
|
+
import "./chunk-LU3IPFTR.js";
|
|
9
9
|
export {
|
|
10
10
|
captureException,
|
|
11
11
|
captureMessage,
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
setSentryUser,
|
|
14
14
|
startSpan
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=sentrySetup-
|
|
16
|
+
//# sourceMappingURL=sentrySetup-4NTWLN2A.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|