@salesforce/lds-runtime-aura 1.417.0 → 1.418.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.
@@ -2705,7 +2705,7 @@ function buildServiceDescriptor$d(luvio) {
2705
2705
  },
2706
2706
  };
2707
2707
  }
2708
- // version: 1.417.0-83ca87d09c
2708
+ // version: 1.418.0-68f5961c99
2709
2709
 
2710
2710
  /*!
2711
2711
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3058,7 +3058,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
3058
3058
  },
3059
3059
  };
3060
3060
  }
3061
- // version: 1.417.0-83ca87d09c
3061
+ // version: 1.418.0-68f5961c99
3062
3062
 
3063
3063
  /*!
3064
3064
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4428,7 +4428,18 @@ function buildServiceDescriptor$2(interceptors = {
4428
4428
  }
4429
4429
  };
4430
4430
  }
4431
- const textEncoder = new TextEncoder();
4431
+ let textEncoder;
4432
+ function getTextEncoder() {
4433
+ if (!textEncoder) {
4434
+ if (typeof TextEncoder === "undefined") {
4435
+ throw new Error(
4436
+ "TextEncoder is not available in this environment. Request body compression requires TextEncoder support."
4437
+ );
4438
+ }
4439
+ textEncoder = new TextEncoder();
4440
+ }
4441
+ return textEncoder;
4442
+ }
4432
4443
  function buildCompressionInterceptor(config) {
4433
4444
  const threshold = config.threshold ?? 1024;
4434
4445
  return async (args) => {
@@ -4443,7 +4454,7 @@ function buildCompressionInterceptor(config) {
4443
4454
  if (headers.has("Content-Encoding")) {
4444
4455
  return resolvedPromiseLike$2(args);
4445
4456
  }
4446
- const encodedBody = textEncoder.encode(options.body);
4457
+ const encodedBody = getTextEncoder().encode(options.body);
4447
4458
  if (encodedBody.byteLength < threshold) {
4448
4459
  return resolvedPromiseLike$2(args);
4449
4460
  }
@@ -5632,7 +5643,7 @@ function getEnvironmentSetting(name) {
5632
5643
  }
5633
5644
  return undefined;
5634
5645
  }
5635
- // version: 1.417.0-83ca87d09c
5646
+ // version: 1.418.0-68f5961c99
5636
5647
 
5637
5648
  const environmentHasAura = typeof window !== 'undefined' && typeof window.$A !== 'undefined';
5638
5649
  const defaultConfig = {
@@ -10539,4 +10550,4 @@ function ldsEngineCreator() {
10539
10550
  }
10540
10551
 
10541
10552
  export { LexRequestStrategy, PdlPrefetcherEventType, PdlRequestPriority, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, subscribeToPrefetcherEvents, unregisterRequestStrategy, whenPredictionsReady };
10542
- // version: 1.417.0-8e5ac81c4c
10553
+ // version: 1.418.0-b4def2b6ce
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.417.0",
3
+ "version": "1.418.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -34,50 +34,50 @@
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.13.1",
38
- "@conduit-client/tools-core": "3.13.1",
39
- "@salesforce/lds-adapters-apex": "^1.417.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.417.0",
41
- "@salesforce/lds-ads-bridge": "^1.417.0",
42
- "@salesforce/lds-aura-storage": "^1.417.0",
43
- "@salesforce/lds-bindings": "^1.417.0",
44
- "@salesforce/lds-instrumentation": "^1.417.0",
45
- "@salesforce/lds-network-aura": "^1.417.0",
46
- "@salesforce/lds-network-fetch": "^1.417.0",
37
+ "@conduit-client/service-provisioner": "3.14.0",
38
+ "@conduit-client/tools-core": "3.14.0",
39
+ "@salesforce/lds-adapters-apex": "^1.418.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.418.0",
41
+ "@salesforce/lds-ads-bridge": "^1.418.0",
42
+ "@salesforce/lds-aura-storage": "^1.418.0",
43
+ "@salesforce/lds-bindings": "^1.418.0",
44
+ "@salesforce/lds-instrumentation": "^1.418.0",
45
+ "@salesforce/lds-network-aura": "^1.418.0",
46
+ "@salesforce/lds-network-fetch": "^1.418.0",
47
47
  "jwt-encode": "1.0.1"
48
48
  },
49
49
  "dependencies": {
50
- "@conduit-client/command-aura-graphql-normalized-cache-control": "3.13.1",
51
- "@conduit-client/command-aura-network": "3.13.1",
52
- "@conduit-client/command-aura-normalized-cache-control": "3.13.1",
53
- "@conduit-client/command-aura-resource-cache-control": "3.13.1",
54
- "@conduit-client/command-fetch-network": "3.13.1",
55
- "@conduit-client/command-http-graphql-normalized-cache-control": "3.13.1",
56
- "@conduit-client/command-http-normalized-cache-control": "3.13.1",
57
- "@conduit-client/command-ndjson": "3.13.1",
58
- "@conduit-client/command-network": "3.13.1",
59
- "@conduit-client/command-sse": "3.13.1",
60
- "@conduit-client/command-streaming": "3.13.1",
61
- "@conduit-client/service-aura-network": "3.13.1",
62
- "@conduit-client/service-bindings-imperative": "3.13.1",
63
- "@conduit-client/service-bindings-lwc": "3.13.1",
64
- "@conduit-client/service-cache": "3.13.1",
65
- "@conduit-client/service-cache-control": "3.13.1",
66
- "@conduit-client/service-cache-inclusion-policy": "3.13.1",
67
- "@conduit-client/service-config": "3.13.1",
68
- "@conduit-client/service-feature-flags": "3.13.1",
69
- "@conduit-client/service-fetch-network": "3.13.1",
70
- "@conduit-client/service-instrument-command": "3.13.1",
71
- "@conduit-client/service-pubsub": "3.13.1",
72
- "@conduit-client/service-store": "3.13.1",
73
- "@conduit-client/utils": "3.13.1",
50
+ "@conduit-client/command-aura-graphql-normalized-cache-control": "3.14.0",
51
+ "@conduit-client/command-aura-network": "3.14.0",
52
+ "@conduit-client/command-aura-normalized-cache-control": "3.14.0",
53
+ "@conduit-client/command-aura-resource-cache-control": "3.14.0",
54
+ "@conduit-client/command-fetch-network": "3.14.0",
55
+ "@conduit-client/command-http-graphql-normalized-cache-control": "3.14.0",
56
+ "@conduit-client/command-http-normalized-cache-control": "3.14.0",
57
+ "@conduit-client/command-ndjson": "3.14.0",
58
+ "@conduit-client/command-network": "3.14.0",
59
+ "@conduit-client/command-sse": "3.14.0",
60
+ "@conduit-client/command-streaming": "3.14.0",
61
+ "@conduit-client/service-aura-network": "3.14.0",
62
+ "@conduit-client/service-bindings-imperative": "3.14.0",
63
+ "@conduit-client/service-bindings-lwc": "3.14.0",
64
+ "@conduit-client/service-cache": "3.14.0",
65
+ "@conduit-client/service-cache-control": "3.14.0",
66
+ "@conduit-client/service-cache-inclusion-policy": "3.14.0",
67
+ "@conduit-client/service-config": "3.14.0",
68
+ "@conduit-client/service-feature-flags": "3.14.0",
69
+ "@conduit-client/service-fetch-network": "3.14.0",
70
+ "@conduit-client/service-instrument-command": "3.14.0",
71
+ "@conduit-client/service-pubsub": "3.14.0",
72
+ "@conduit-client/service-store": "3.14.0",
73
+ "@conduit-client/utils": "3.14.0",
74
74
  "@luvio/network-adapter-composable": "0.160.1",
75
75
  "@luvio/network-adapter-fetch": "0.160.1",
76
76
  "@lwc/state": "^0.23.0",
77
- "@salesforce/lds-adapters-onestore-graphql": "^1.417.0",
77
+ "@salesforce/lds-adapters-onestore-graphql": "^1.418.0",
78
78
  "@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
79
- "@salesforce/lds-luvio-service": "^1.417.0",
80
- "@salesforce/lds-luvio-uiapi-records-service": "^1.417.0"
79
+ "@salesforce/lds-luvio-service": "^1.418.0",
80
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.418.0"
81
81
  },
82
82
  "luvioBundlesize": [
83
83
  {