@salesforce/lds-runtime-aura 1.442.0 → 1.444.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.
- package/dist/ldsEngineCreator.js +705 -188
- package/dist/types/aura-utils.d.ts +28 -0
- package/dist/types/fetch-service-descriptors/jwt-authorized-fetch-service.d.ts +3 -0
- package/dist/types/network-sfap.d.ts +1 -0
- package/dist/types/parameterized-sfap-jwt-aura-resolver.d.ts +34 -0
- package/dist/types/request-interceptors/csrf-manager.d.ts +6 -43
- package/dist/types/request-interceptors/csrf-service.d.ts +19 -0
- package/dist/types/request-interceptors/first-party-header.d.ts +17 -0
- package/dist/types/request-interceptors/jwt-parameterization.d.ts +50 -0
- package/dist/types/response-interceptors/error-body-normalization.d.ts +20 -0
- package/dist/types/response-interceptors/{lex-runtime-auth-expiration-redirect.d.ts → lex-runtime-session-expiration.d.ts} +2 -2
- package/dist/types/retry-policies/csrf-token-retry-policy.d.ts +0 -1
- package/dist/types/retry-policies/luvio-csrf-token-retry-policy.d.ts +0 -1
- package/dist/types/sfap-jwt-mint-params.d.ts +69 -0
- package/package.json +46 -44
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers for reaching the Aura framework from the LDS Aura runtime.
|
|
3
|
+
*
|
|
4
|
+
* `window.$A` is only present when the runtime is hosted inside LEX; in tests
|
|
5
|
+
* and non-Aura runtimes it is absent. Centralizing the guarded access keeps the
|
|
6
|
+
* `$A` lookup in one place instead of duplicating the `environmentHasAura`
|
|
7
|
+
* check across modules.
|
|
8
|
+
*/
|
|
9
|
+
import { dispatchGlobalEvent as auraDispatchGlobalEvent } from 'aura';
|
|
10
|
+
/**
|
|
11
|
+
* Fires an Aura application-level event (e.g. `aura:invalidSession`). Thin
|
|
12
|
+
* pass-through to the `aura` framework module so callers depend on this util
|
|
13
|
+
* rather than importing `aura` directly.
|
|
14
|
+
*/
|
|
15
|
+
export declare function dispatchGlobalEvent(...args: Parameters<typeof auraDispatchGlobalEvent>): void;
|
|
16
|
+
/**
|
|
17
|
+
* The subset of the Aura client service LDS reaches for. Methods are optional
|
|
18
|
+
* because availability depends on the host's Aura version and server gates.
|
|
19
|
+
*/
|
|
20
|
+
export interface AuraClientService {
|
|
21
|
+
maxAllowedParallelXHRCounts?: () => number;
|
|
22
|
+
getConnectCsrfToken?: () => unknown;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns `$A.clientService` when running inside an Aura environment, or
|
|
26
|
+
* `undefined` otherwise. Defensive: never throws.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getAuraClientService(): AuraClientService | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { type JwtResolver } from '@conduit-client/jwt-manager';
|
|
1
2
|
import { type FetchServiceDescriptor } from '@conduit-client/service-fetch-network/v1';
|
|
3
|
+
import { type ExtraInfo } from '../network-sfap';
|
|
2
4
|
import { type LoggerService } from '@conduit-client/utils';
|
|
5
|
+
export declare function buildDispatchingSfapJwtResolver(legacyResolver: JwtResolver<ExtraInfo>, parameterizedResolver: JwtResolver<ExtraInfo>): JwtResolver<ExtraInfo>;
|
|
3
6
|
export declare function prefetchSfapJwt(): Promise<undefined>;
|
|
4
7
|
export declare function buildJwtAuthorizedSfapFetchServiceDescriptor(logger: LoggerService): FetchServiceDescriptor;
|
|
5
8
|
/**
|
|
@@ -2,6 +2,7 @@ import type { FetchResponse, ResourceRequest, ResourceRequestContext } from '@lu
|
|
|
2
2
|
import type { JwtResolver } from '@conduit-client/jwt-manager';
|
|
3
3
|
export declare const SFAPController = "SalesforceApiPlatformController";
|
|
4
4
|
export declare const SFAPJwtMethod = "getSFAPLightningJwtService";
|
|
5
|
+
export declare const SFAPJwtPostMethod = "postSFAPLightningJwtService";
|
|
5
6
|
export type ExtraInfo = {
|
|
6
7
|
baseUri: string;
|
|
7
8
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { JwtMintParams, JwtResolver } from '@conduit-client/jwt-manager';
|
|
2
|
+
import { type ParameterizedSfapExtraInfo } from './sfap-jwt-mint-params';
|
|
3
|
+
/**
|
|
4
|
+
* Parameterized SFAP JWT resolver that mints over **Aura transport** instead of a
|
|
5
|
+
* direct HTTP `fetch`.
|
|
6
|
+
*
|
|
7
|
+
* It dispatches the SFAP Lightning JWT Service's parameterized POST via its
|
|
8
|
+
* auto-generated Aura controller method
|
|
9
|
+
* `SalesforceApiPlatformController.postSFAPLightningJwtService` (generated by
|
|
10
|
+
* `@ConnectSignature(..., generateAuraMethod = true)` on the Connect resource).
|
|
11
|
+
* The mint inputs ride as the single `requestBody` named param, in the same
|
|
12
|
+
* `{ scopes, dynamicParameters: { items } }` shape the HTTP resolver POSTs — built
|
|
13
|
+
* by the shared {@link buildRequestBody}, so the two transports stay in lockstep.
|
|
14
|
+
*
|
|
15
|
+
* Why Aura (not the HTTP resolver): the mint endpoint is a same-origin core
|
|
16
|
+
* resource, and routing it over Aura keeps session/CSRF handling inside the Aura
|
|
17
|
+
* stack rather than issuing a credentialed cross-cutting `fetch` from the client.
|
|
18
|
+
* This mirrors the legacy parameterless `platformSfapJwtResolver` in
|
|
19
|
+
* `network-sfap.ts`, which already mints over Aura via the `getSFAPLightningJwtService`
|
|
20
|
+
* generated method — this is the parameterized sibling of that call.
|
|
21
|
+
*
|
|
22
|
+
* A `JwtResolver` is invoked directly by `JwtManager` (not through Luvio's
|
|
23
|
+
* `appRouter`/`ResourceRequest` pipeline), so the correct mechanism is a direct
|
|
24
|
+
* named-controller `dispatchAuraAction`, not the `auraNetworkAdapter`/connect-route
|
|
25
|
+
* table. The SFAP JWT endpoint is not registered as a connect-over-Aura route, and
|
|
26
|
+
* a resolver has no `ResourceRequest` for the router to look up.
|
|
27
|
+
*/
|
|
28
|
+
export declare class ParameterizedSfapJwtAuraResolver implements JwtResolver<ParameterizedSfapExtraInfo> {
|
|
29
|
+
getJwt(params?: JwtMintParams): Promise<{
|
|
30
|
+
jwt: string;
|
|
31
|
+
extraInfo: ParameterizedSfapExtraInfo;
|
|
32
|
+
}>;
|
|
33
|
+
}
|
|
34
|
+
export declare function buildParameterizedSfapJwtAuraResolver(): ParameterizedSfapJwtAuraResolver;
|
|
@@ -1,45 +1,8 @@
|
|
|
1
|
+
import { type RenewableResourceManager } from '@conduit-client/service-renewable-resource-manager/v1';
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
3
|
+
* Builds the CSRF token manager: a {@link BasicRenewableResourceManager} that
|
|
4
|
+
* lazily caches the token in durable storage, coalesces concurrent fetches onto
|
|
5
|
+
* a single in-flight request, and dedups refresh storms. Registered as a
|
|
6
|
+
* provisioner service (`csrfTokenManager`) by `initializeOneStore`.
|
|
4
7
|
*/
|
|
5
|
-
declare
|
|
6
|
-
private static instance;
|
|
7
|
-
private tokenPromise;
|
|
8
|
-
private refreshInFlight;
|
|
9
|
-
private storage;
|
|
10
|
-
private constructor();
|
|
11
|
-
static getInstance(): CsrfTokenManager;
|
|
12
|
-
/**
|
|
13
|
-
* Obtain a CSRF token, either from AuraStorage or by fetching a fresh one.
|
|
14
|
-
*
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
|
-
private loadOrFetchToken;
|
|
18
|
-
/**
|
|
19
|
-
* Call API endpoint to acquire a CSRF token and cache it.
|
|
20
|
-
*
|
|
21
|
-
* @private
|
|
22
|
-
*/
|
|
23
|
-
private fetchFreshToken;
|
|
24
|
-
/**
|
|
25
|
-
* Returns the current token value as a Promise.
|
|
26
|
-
* Lazy-loads the token on first call (from cache or by fetching).
|
|
27
|
-
*/
|
|
28
|
-
getToken(): Promise<string | undefined>;
|
|
29
|
-
/**
|
|
30
|
-
* Obtains and returns a new token value as a promise.
|
|
31
|
-
* This will clear the cached token and fetch a fresh one.
|
|
32
|
-
*
|
|
33
|
-
* Concurrent calls coalesce onto a single in-flight refresh — important when
|
|
34
|
-
* multiple requests fail with INVALID_ACCESS_TOKEN simultaneously and each
|
|
35
|
-
* retry policy independently calls refreshToken(). Without this, every caller
|
|
36
|
-
* triggers its own /session/csrf round-trip.
|
|
37
|
-
*/
|
|
38
|
-
refreshToken(): Promise<string | undefined>;
|
|
39
|
-
/**
|
|
40
|
-
* Reset the singleton instance (useful for testing).
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
static resetInstance(): void;
|
|
44
|
-
}
|
|
45
|
-
export { CsrfTokenManager };
|
|
8
|
+
export declare function buildCsrfTokenManager(): RenewableResourceManager<string>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RenewableResourceManager } from '@conduit-client/service-renewable-resource-manager/v1';
|
|
2
|
+
/**
|
|
3
|
+
* Service name the CSRF token manager is registered under by
|
|
4
|
+
* `initializeOneStore` (see `buildRenewableResourceManagerDescriptor`).
|
|
5
|
+
*/
|
|
6
|
+
export declare const CSRF_TOKEN_MANAGER_SERVICE = "csrfTokenManager";
|
|
7
|
+
/**
|
|
8
|
+
* Resolves the CSRF token manager from the service provisioner.
|
|
9
|
+
*
|
|
10
|
+
* The manager is registered during `initializeOneStore`, which runs before any
|
|
11
|
+
* request flows; the interceptors and retry policies that call this resolve
|
|
12
|
+
* lazily (per request / per retry), so the service is always available by then.
|
|
13
|
+
*
|
|
14
|
+
* The resolved promise is memoized so resolution happens once rather than per
|
|
15
|
+
* request. A rejection is NOT memoized — `getServices` rejects when the service
|
|
16
|
+
* is unavailable, and caching that would permanently wedge CSRF handling — so a
|
|
17
|
+
* later call retries the resolution.
|
|
18
|
+
*/
|
|
19
|
+
export declare function getCsrfTokenManager(): Promise<RenewableResourceManager<string>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
|
|
2
|
+
import type { ResourceRequest } from '@luvio/engine';
|
|
3
|
+
/**
|
|
4
|
+
* Builds a request interceptor that adds the LDS first party header to every
|
|
5
|
+
* outbound request.
|
|
6
|
+
*
|
|
7
|
+
* @returns A RequestInterceptor function for FetchParameters
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildFirstPartyHeaderInterceptor(): RequestInterceptor;
|
|
10
|
+
/**
|
|
11
|
+
* Builds a Luvio request interceptor that adds the LDS first party header to
|
|
12
|
+
* every outbound `ResourceRequest`. See {@link buildFirstPartyHeaderInterceptor} for
|
|
13
|
+
* the header semantics.
|
|
14
|
+
*
|
|
15
|
+
* @returns A request interceptor for Luvio ResourceRequest objects
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildLuvioFirstPartyHeaderInterceptor(): (resourceRequest: ResourceRequest) => Promise<ResourceRequest>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { FetchParameters, RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
|
|
2
|
+
import { type JwtRequestModifier } from '@conduit-client/service-fetch-network/v1';
|
|
3
|
+
import type { JwtManager } from '@conduit-client/jwt-manager';
|
|
4
|
+
import type { ExtraInfo } from '../network-sfap';
|
|
5
|
+
/**
|
|
6
|
+
* The context-seed key under which a custom command forwards its JWT mint
|
|
7
|
+
* parameters. The framework's `buildServiceDescriptor` merges the request init's
|
|
8
|
+
* `__contextSeed` onto the per-request interceptor context, so this interceptor
|
|
9
|
+
* reads the params off `context[JWT_MINT_PARAMS_SEED_KEY]`.
|
|
10
|
+
*
|
|
11
|
+
* This is a cross-team contract: the custom command writes this key, this
|
|
12
|
+
* interceptor reads it. It is intentionally an opaque key — OneStore does not
|
|
13
|
+
* define it and never inspects the param shape; the typed shape lives in the
|
|
14
|
+
* resolver.
|
|
15
|
+
*/
|
|
16
|
+
export declare const JWT_MINT_PARAMS_SEED_KEY = "jwtMintParams";
|
|
17
|
+
/**
|
|
18
|
+
* Returns `true` if the fetch arguments already carry an `Authorization` header,
|
|
19
|
+
* across the three shapes the framework's `setHeader` handles: a `Request`
|
|
20
|
+
* resource's own headers, an `options.headers` `Headers` instance, or a plain
|
|
21
|
+
* record. The descriptor's guarded legacy interceptor uses this to skip when the
|
|
22
|
+
* parameterized interceptor has already authorized the request — avoiding a second
|
|
23
|
+
* mint and the throw `setHeaderAuthorization` raises on an existing header.
|
|
24
|
+
*/
|
|
25
|
+
export declare function hasAuthorizationHeader([resource, options]: FetchParameters): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Builds the request interceptor that bridges the per-request context seed to the
|
|
28
|
+
* dispatching SFAP JwtManager for the **parameterized** mint path.
|
|
29
|
+
*
|
|
30
|
+
* For a parameterized SFAP command, the context carries `jwtMintParams`. This
|
|
31
|
+
* interceptor reads them, calls `jwtManager.getJwt(params)` (which the dispatching
|
|
32
|
+
* resolver routes to the parameterized resolver), attaches the `Authorization`
|
|
33
|
+
* header, and rewrites the request URL via the minted `baseUri`. The presence of
|
|
34
|
+
* that `Authorization` header is the signal the descriptor's guarded legacy
|
|
35
|
+
* interceptor uses to skip — so the legacy path does not mint a second time.
|
|
36
|
+
*
|
|
37
|
+
* For a legacy parameterless command the context carries no `jwtMintParams`, so
|
|
38
|
+
* this interceptor **early-returns on its first line** and the request flows
|
|
39
|
+
* unchanged to the legacy `buildJwtRequestHeaderInterceptor` — guaranteeing zero
|
|
40
|
+
* behavior change for non-opted-in adapters.
|
|
41
|
+
*
|
|
42
|
+
* Lives in `lds-lightning-platform` (not OneStore) beside the existing SFAP/CSRF
|
|
43
|
+
* interceptors, per the JWT-parameterization ADR §5: OneStore provides only the
|
|
44
|
+
* generic interceptor mechanism and the opaque context-seed channel; the service-
|
|
45
|
+
* specific bridge is a runtime-layer concern.
|
|
46
|
+
*
|
|
47
|
+
* @param jwtManager - the dispatching SFAP JwtManager
|
|
48
|
+
* @param jwtRequestModifier - applies the minted `extraInfo.baseUri` to the request URL
|
|
49
|
+
*/
|
|
50
|
+
export declare function buildJwtParameterizationInterceptor(jwtManager: JwtManager<unknown, ExtraInfo>, jwtRequestModifier?: JwtRequestModifier): RequestInterceptor;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
|
|
2
|
+
/**
|
|
3
|
+
* Normalizes Connect REST error envelopes into the Aura Shape A
|
|
4
|
+
* (ConnectInJava) shape, so consumers can read `response.body.errorCode`
|
|
5
|
+
* regardless of transport.
|
|
6
|
+
*
|
|
7
|
+
* - HTTP error envelope (this path): `[{ errorCode, message }, ...]`
|
|
8
|
+
* - Aura Shape A: `{ errorCode, message, statusCode, ... }`
|
|
9
|
+
*
|
|
10
|
+
* The full array is preserved at `body.enhancedErrorInfo.allErrors` since
|
|
11
|
+
* Connect can return multiple errors per response.
|
|
12
|
+
*
|
|
13
|
+
* Aura Shape B (`{ error: "..." }`) is an Aura-only fallback that never
|
|
14
|
+
* appears on the HTTP path, so no normalization is needed for it here.
|
|
15
|
+
*
|
|
16
|
+
* Ordering: must run AFTER any other interceptor that inspects the raw
|
|
17
|
+
* error body shape (e.g. the 5xx interceptor's ErrorId extraction reads
|
|
18
|
+
* `body[0].message` from the array form).
|
|
19
|
+
*/
|
|
20
|
+
export declare function buildLuvioErrorBodyNormalizationInterceptor(): LuvioResponseInterceptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LoggerService } from '@conduit-client/utils';
|
|
2
2
|
import type { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
|
|
3
3
|
import type { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
4
|
+
export declare function buildLexRuntimeSessionExpirationResponseInterceptor(logger: LoggerService): ResponseInterceptor;
|
|
5
|
+
export declare function buildLexRuntimeLuvioSessionExpirationResponseInterceptor(): LuvioResponseInterceptor;
|
|
@@ -12,7 +12,6 @@ export interface MutableLuvioRequest {
|
|
|
12
12
|
}
|
|
13
13
|
export declare class LuvioCsrfTokenRetryPolicy extends RetryPolicy<FetchResponse<any>> {
|
|
14
14
|
private config;
|
|
15
|
-
private csrfTokenManager;
|
|
16
15
|
private requestContext?;
|
|
17
16
|
constructor(config?: LuvioCsrfTokenRetryPolicyConfig);
|
|
18
17
|
setRequestContext(context: MutableLuvioRequest): void;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { JwtMintParams } from '@conduit-client/jwt-manager';
|
|
2
|
+
/**
|
|
3
|
+
* Typed shape of the params the SFAP Lightning JWT Service understands.
|
|
4
|
+
* Lives in the resolver layer because OneStore is param-shape-agnostic; it
|
|
5
|
+
* sees only an opaque `JwtMintParams` bag and stable-JSON-stringifies it for
|
|
6
|
+
* cache keying.
|
|
7
|
+
*/
|
|
8
|
+
export type SfapJwtMintParams = {
|
|
9
|
+
scopes?: string[];
|
|
10
|
+
dynamicParams?: Record<string, string>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The `extraInfo` the SFAP JWT resolver returns alongside the minted token: the
|
|
14
|
+
* per-tenant base URI the downstream SFAP API request is rewritten to.
|
|
15
|
+
*/
|
|
16
|
+
export type ParameterizedSfapExtraInfo = {
|
|
17
|
+
baseUri: string;
|
|
18
|
+
};
|
|
19
|
+
type DynamicParameterItem = {
|
|
20
|
+
name: string;
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* The SFAP Lightning JWT Service mint request body. Sent as the `requestBody`
|
|
25
|
+
* named param of the `postSFAPLightningJwtService` Aura controller method.
|
|
26
|
+
* Matches the server's `SFAPLightningJwtServiceInputRepresentation`: `scopes` is
|
|
27
|
+
* a single space-delimited string; `dynamicParameters` is `{ items: [{ name, value }] }`.
|
|
28
|
+
*/
|
|
29
|
+
export type SfapJwtRequestBody = {
|
|
30
|
+
scopes?: string;
|
|
31
|
+
dynamicParameters?: {
|
|
32
|
+
items: DynamicParameterItem[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Normalize SFAP-shaped params into the opaque `JwtMintParams` bag that callers
|
|
37
|
+
* hand to `JwtManager.getJwt(params)`. Scopes are sorted because they are
|
|
38
|
+
* semantically a set — without this, `['a', 'b']` and `['b', 'a']` would cache
|
|
39
|
+
* as separate entries (OneStore treats arrays as ordered under stable-JSON
|
|
40
|
+
* serialization; see ADR "JWT Parameterization" §2).
|
|
41
|
+
*
|
|
42
|
+
* MANDATORY CONSUMER ENTRY POINT. Every consumer that mints a parameterized
|
|
43
|
+
* SFAP JWT MUST assemble its params through this function before calling the
|
|
44
|
+
* manager. The cache key is derived by `JwtManager` from the caller's params
|
|
45
|
+
* (`cacheKeyFor(params)`) *before* the resolver runs — so the resolver cannot
|
|
46
|
+
* normalize after the fact. Set-stable caching therefore depends on the caller
|
|
47
|
+
* routing params through here. Do NOT sort inside the resolver: that would only
|
|
48
|
+
* reorder the wire body, not the cache key, and mutating the caller's params
|
|
49
|
+
* mid-call would desync the in-flight-dedup key from the stored-token key.
|
|
50
|
+
*/
|
|
51
|
+
export declare function buildSfapJwtMintParams(params: SfapJwtMintParams): JwtMintParams;
|
|
52
|
+
export type SfapParamsResult = {
|
|
53
|
+
params: SfapJwtMintParams;
|
|
54
|
+
} | {
|
|
55
|
+
error: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Validate and narrow an opaque `JwtMintParams` bag to the SFAP-shaped subset the
|
|
59
|
+
* resolver forwards. Returns `{ error }` (surfaced as a resolver rejection) for a
|
|
60
|
+
* malformed bag rather than throwing.
|
|
61
|
+
*/
|
|
62
|
+
export declare function coerceToSfapParams(params: JwtMintParams): SfapParamsResult;
|
|
63
|
+
/**
|
|
64
|
+
* Build the SFAP mint request body from the coerced params: `scopes` joined into a
|
|
65
|
+
* single space-delimited string, `dynamicParams` mapped to `dynamicParameters.items`.
|
|
66
|
+
* Empty scopes / dynamic params are omitted.
|
|
67
|
+
*/
|
|
68
|
+
export declare function buildRequestBody(params: SfapJwtMintParams): SfapJwtRequestBody;
|
|
69
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.444.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Aura runtime.",
|
|
6
6
|
"main": "dist/ldsEngineCreator.js",
|
|
@@ -34,60 +34,62 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@conduit-client/service-provisioner": "3.
|
|
38
|
-
"@conduit-client/tools-core": "3.
|
|
39
|
-
"@salesforce/lds-adapters-apex": "^1.
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
41
|
-
"@salesforce/lds-ads-bridge": "^1.
|
|
42
|
-
"@salesforce/lds-aura-storage": "^1.
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
45
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
46
|
-
"@salesforce/lds-network-aura": "^1.
|
|
47
|
-
"@salesforce/lds-network-fetch": "^1.
|
|
37
|
+
"@conduit-client/service-provisioner": "3.23.1",
|
|
38
|
+
"@conduit-client/tools-core": "3.23.1",
|
|
39
|
+
"@salesforce/lds-adapters-apex": "^1.444.0",
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.444.0",
|
|
41
|
+
"@salesforce/lds-ads-bridge": "^1.444.0",
|
|
42
|
+
"@salesforce/lds-aura-storage": "^1.444.0",
|
|
43
|
+
"@salesforce/lds-bindings": "^1.444.0",
|
|
44
|
+
"@salesforce/lds-instrumentation": "^1.444.0",
|
|
45
|
+
"@salesforce/lds-network-adapter": "^1.444.0",
|
|
46
|
+
"@salesforce/lds-network-aura": "^1.444.0",
|
|
47
|
+
"@salesforce/lds-network-fetch": "^1.444.0",
|
|
48
48
|
"jwt-encode": "1.0.1"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@conduit-client/command-aura-graphql-normalized-cache-control": "3.
|
|
52
|
-
"@conduit-client/command-aura-network": "3.
|
|
53
|
-
"@conduit-client/command-aura-normalized-cache-control": "3.
|
|
54
|
-
"@conduit-client/command-aura-resource-cache-control": "3.
|
|
55
|
-
"@conduit-client/command-fetch-network": "3.
|
|
56
|
-
"@conduit-client/command-http-graphql-normalized-cache-control": "3.
|
|
57
|
-
"@conduit-client/command-http-normalized-cache-control": "3.
|
|
58
|
-
"@conduit-client/command-ndjson": "3.
|
|
59
|
-
"@conduit-client/command-network": "3.
|
|
60
|
-
"@conduit-client/command-sse": "3.
|
|
61
|
-
"@conduit-client/command-streaming": "3.
|
|
62
|
-
"@conduit-client/
|
|
63
|
-
"@conduit-client/service-
|
|
64
|
-
"@conduit-client/service-bindings-
|
|
65
|
-
"@conduit-client/service-
|
|
66
|
-
"@conduit-client/service-cache
|
|
67
|
-
"@conduit-client/service-cache-
|
|
68
|
-
"@conduit-client/service-
|
|
69
|
-
"@conduit-client/service-
|
|
70
|
-
"@conduit-client/service-
|
|
71
|
-
"@conduit-client/service-
|
|
72
|
-
"@conduit-client/service-
|
|
73
|
-
"@conduit-client/service-
|
|
74
|
-
"@conduit-client/
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
51
|
+
"@conduit-client/command-aura-graphql-normalized-cache-control": "3.23.1",
|
|
52
|
+
"@conduit-client/command-aura-network": "3.23.1",
|
|
53
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.23.1",
|
|
54
|
+
"@conduit-client/command-aura-resource-cache-control": "3.23.1",
|
|
55
|
+
"@conduit-client/command-fetch-network": "3.23.1",
|
|
56
|
+
"@conduit-client/command-http-graphql-normalized-cache-control": "3.23.1",
|
|
57
|
+
"@conduit-client/command-http-normalized-cache-control": "3.23.1",
|
|
58
|
+
"@conduit-client/command-ndjson": "3.23.1",
|
|
59
|
+
"@conduit-client/command-network": "3.23.1",
|
|
60
|
+
"@conduit-client/command-sse": "3.23.1",
|
|
61
|
+
"@conduit-client/command-streaming": "3.23.1",
|
|
62
|
+
"@conduit-client/jwt-manager": "3.23.1",
|
|
63
|
+
"@conduit-client/service-aura-network": "3.23.1",
|
|
64
|
+
"@conduit-client/service-bindings-imperative": "3.23.1",
|
|
65
|
+
"@conduit-client/service-bindings-lwc": "3.23.1",
|
|
66
|
+
"@conduit-client/service-cache": "3.23.1",
|
|
67
|
+
"@conduit-client/service-cache-control": "3.23.1",
|
|
68
|
+
"@conduit-client/service-cache-inclusion-policy": "3.23.1",
|
|
69
|
+
"@conduit-client/service-config": "3.23.1",
|
|
70
|
+
"@conduit-client/service-feature-flags": "3.23.1",
|
|
71
|
+
"@conduit-client/service-fetch-network": "3.23.1",
|
|
72
|
+
"@conduit-client/service-instrument-command": "3.23.1",
|
|
73
|
+
"@conduit-client/service-pubsub": "3.23.1",
|
|
74
|
+
"@conduit-client/service-renewable-resource-manager": "3.23.1",
|
|
75
|
+
"@conduit-client/service-store": "3.23.1",
|
|
76
|
+
"@conduit-client/utils": "3.23.1",
|
|
77
|
+
"@luvio/network-adapter-composable": "0.161.0",
|
|
78
|
+
"@luvio/network-adapter-fetch": "0.161.0",
|
|
77
79
|
"@lwc/state": "^0.29.0",
|
|
78
|
-
"@salesforce/lds-adapters-onestore-graphql": "^1.
|
|
80
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.444.0",
|
|
79
81
|
"@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
|
|
80
|
-
"@salesforce/lds-durable-storage": "^1.
|
|
81
|
-
"@salesforce/lds-luvio-service": "^1.
|
|
82
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.
|
|
82
|
+
"@salesforce/lds-durable-storage": "^1.444.0",
|
|
83
|
+
"@salesforce/lds-luvio-service": "^1.444.0",
|
|
84
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.444.0"
|
|
83
85
|
},
|
|
84
86
|
"luvioBundlesize": [
|
|
85
87
|
{
|
|
86
88
|
"path": "./dist/ldsEngineCreator.js",
|
|
87
89
|
"maxSize": {
|
|
88
|
-
"none": "
|
|
90
|
+
"none": "410 kB",
|
|
89
91
|
"min": "190 kB",
|
|
90
|
-
"compressed": "
|
|
92
|
+
"compressed": "71 kB"
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
],
|