@salesforce/lds-runtime-mobile 1.409.0 → 1.410.1

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/main.js CHANGED
@@ -20378,10 +20378,36 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20378
20378
  if (obj_fields_prop_union3_error != null) {
20379
20379
  obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
20380
20380
  }
20381
+ let obj_fields_prop_union4 = null;
20382
+ const obj_fields_prop_union4_error = (() => {
20383
+ if (!ArrayIsArray(obj_fields_prop)) {
20384
+ return new TypeError('Expected "array" but received "' +
20385
+ typeof obj_fields_prop +
20386
+ '" (at "' +
20387
+ path_fields_prop +
20388
+ '")');
20389
+ }
20390
+ for (let j = 0; j < obj_fields_prop.length; j++) {
20391
+ const obj_fields_prop_item = obj_fields_prop[j];
20392
+ const path_fields_prop_item = path_fields_prop + '[' + j + ']';
20393
+ if (typeof obj_fields_prop_item !== 'string') {
20394
+ return new TypeError('Expected "string" but received "' +
20395
+ typeof obj_fields_prop_item +
20396
+ '" (at "' +
20397
+ path_fields_prop_item +
20398
+ '")');
20399
+ }
20400
+ }
20401
+ })();
20402
+ // eslint-disable-next-line eqeqeq
20403
+ if (obj_fields_prop_union4_error != null) {
20404
+ obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
20405
+ }
20381
20406
  if (obj_fields_prop_union0 &&
20382
20407
  obj_fields_prop_union1 &&
20383
20408
  obj_fields_prop_union2 &&
20384
- obj_fields_prop_union3) {
20409
+ obj_fields_prop_union3 &&
20410
+ obj_fields_prop_union4) {
20385
20411
  let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
20386
20412
  message +=
20387
20413
  '\n' +
@@ -20407,6 +20433,12 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20407
20433
  .split('\n')
20408
20434
  .map((line) => '\t' + line)
20409
20435
  .join('\n');
20436
+ message +=
20437
+ '\n' +
20438
+ obj_fields_prop_union4
20439
+ .split('\n')
20440
+ .map((line) => '\t' + line)
20441
+ .join('\n');
20410
20442
  return new TypeError(message);
20411
20443
  }
20412
20444
  }
@@ -56309,7 +56341,12 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56309
56341
  this.coerceAuraErrors
56310
56342
  );
56311
56343
  } else if (this.shouldUseFetch()) {
56312
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
56344
+ const params = this.fetchParams;
56345
+ try {
56346
+ return this.convertFetchResponseToData(this.services.fetch(...params));
56347
+ } catch (reason) {
56348
+ return resolvedPromiseLike$2(err$1(toError(reason)));
56349
+ }
56313
56350
  }
56314
56351
  return resolvedPromiseLike$2(err$1(toError("Aura/Fetch network services not found")));
56315
56352
  }
@@ -56907,7 +56944,12 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
56907
56944
  (errs) => this.coerceAuraErrors(errs)
56908
56945
  );
56909
56946
  } else if (this.shouldUseFetch()) {
56910
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
56947
+ const params = this.fetchParams;
56948
+ try {
56949
+ return this.convertFetchResponseToData(this.services.fetch(...params));
56950
+ } catch (reason) {
56951
+ return resolvedPromiseLike$2(err$1(toError(reason)));
56952
+ }
56911
56953
  }
56912
56954
  return resolvedPromiseLike$2(err$1(toError("Aura/Fetch network services not found")));
56913
56955
  }
@@ -57046,7 +57088,12 @@ class AuraCacheControlCommand extends CacheControlCommand {
57046
57088
  (errs) => this.coerceAuraErrors(errs)
57047
57089
  );
57048
57090
  } else if (this.shouldUseFetch()) {
57049
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57091
+ const params = this.fetchParams;
57092
+ try {
57093
+ return this.convertFetchResponseToData(this.services.fetch(...params));
57094
+ } catch (reason) {
57095
+ return resolvedPromiseLike$2(err$1(toError(reason)));
57096
+ }
57050
57097
  }
57051
57098
  return resolvedPromiseLike$2(err$1(toError("Aura/Fetch network services not found")));
57052
57099
  }
@@ -57282,7 +57329,11 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
57282
57329
  this.services = services;
57283
57330
  }
57284
57331
  fetch() {
57285
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57332
+ try {
57333
+ return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57334
+ } catch (reason) {
57335
+ return resolvedPromiseLike$2(err$1(toError(reason)));
57336
+ }
57286
57337
  }
57287
57338
  async coerceError(errorResponse) {
57288
57339
  return toError(errorResponse.statusText);
@@ -57346,7 +57397,11 @@ class HttpCacheControlCommand extends CacheControlCommand {
57346
57397
  return this.fetch();
57347
57398
  }
57348
57399
  fetch() {
57349
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57400
+ try {
57401
+ return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57402
+ } catch (reason) {
57403
+ return resolvedPromiseLike$2(err$1(toError(reason)));
57404
+ }
57350
57405
  }
57351
57406
  async coerceError(errorResponse) {
57352
57407
  return toError(errorResponse.statusText);
@@ -57823,9 +57878,13 @@ class OnlyIfCachedCacheControlStrategy extends CacheControlStrategy {
57823
57878
  }
57824
57879
  get expiredChecks() {
57825
57880
  return [
57826
- (cacheControlMetadata) => cacheControlMetadata.type === "no-store"
57881
+ ...super.expiredChecks,
57882
+ (cacheControlMetadata) => cacheControlMetadata.type === "no-cache"
57827
57883
  ];
57828
57884
  }
57885
+ // Note: If we add support for `stale-while-revalidate` in the future, we may
57886
+ // need to further override expiredChecks to allow stale entries that are within the
57887
+ // stale-while-revalidate window to be returned for only-if-cached requests.
57829
57888
  collectCacheHitInstrumentation(startTime, instrumentationAttributes) {
57830
57889
  if (this.services.instrumentation) {
57831
57890
  const meter = this.services.instrumentation.metrics.getMeter("onestore");
@@ -58347,7 +58406,7 @@ function buildServiceDescriptor$b(luvio) {
58347
58406
  },
58348
58407
  };
58349
58408
  }
58350
- // version: 1.409.0-355a528ce3
58409
+ // version: 1.410.1-ee98040f21
58351
58410
 
58352
58411
  /**
58353
58412
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58373,7 +58432,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
58373
58432
  },
58374
58433
  };
58375
58434
  }
58376
- // version: 1.409.0-355a528ce3
58435
+ // version: 1.410.1-ee98040f21
58377
58436
 
58378
58437
  /*!
58379
58438
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58584,11 +58643,26 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
58584
58643
  return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
58585
58644
  });
58586
58645
  } else if (this.shouldUseFetch()) {
58587
- return this.convertFetchResponseToData(
58588
- this.services.fetch(...this.originalFetchParams)
58589
- ).then((result) => {
58590
- return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
58591
- });
58646
+ const params = this.originalFetchParams;
58647
+ try {
58648
+ return this.convertFetchResponseToData(this.services.fetch(...params)).then(
58649
+ (result) => {
58650
+ return buildSubscribableResult$1(
58651
+ result,
58652
+ this.buildSubscribe(),
58653
+ () => this.refresh()
58654
+ );
58655
+ }
58656
+ );
58657
+ } catch (reason) {
58658
+ return resolvedPromiseLike$2(
58659
+ buildSubscribableResult$1(
58660
+ err$1(toError(reason)),
58661
+ this.buildSubscribe(),
58662
+ () => this.refresh()
58663
+ )
58664
+ );
58665
+ }
58592
58666
  }
58593
58667
  return resolvedPromiseLike$2(
58594
58668
  buildSubscribableResult$1(
@@ -59903,7 +59977,12 @@ function buildServiceDescriptor$2() {
59903
59977
  * All rights reserved.
59904
59978
  * For full license text, see the LICENSE.txt file
59905
59979
  */
59906
- function buildServiceDescriptor$1(interceptors = { request: [], response: [], finally: [] }, retryService) {
59980
+ function buildServiceDescriptor$1(interceptors = {
59981
+ request: [],
59982
+ retry: void 0,
59983
+ response: [],
59984
+ finally: []
59985
+ }, retryService) {
59907
59986
  return {
59908
59987
  type: "fetch",
59909
59988
  version: "1.0",
@@ -59912,6 +59991,7 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
59912
59991
  const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
59913
59992
  const {
59914
59993
  request: requestInterceptors = [],
59994
+ retry: retryInterceptor = void 0,
59915
59995
  response: responseInterceptors = [],
59916
59996
  finally: finallyInterceptors = []
59917
59997
  } = interceptors;
@@ -59920,10 +60000,14 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
59920
60000
  resolvedPromiseLike$2(args)
59921
60001
  );
59922
60002
  return Promise.resolve(pending).then((args2) => {
59923
- if (retryService) {
59924
- return retryService.applyRetry(() => fetch(...args2));
60003
+ if (retryInterceptor) {
60004
+ return retryInterceptor(args2, retryService, context);
60005
+ } else {
60006
+ if (retryService) {
60007
+ return retryService.applyRetry(() => fetch(...args2));
60008
+ }
60009
+ return fetch(...args2);
59925
60010
  }
59926
- return fetch(...args2);
59927
60011
  }).then((response) => {
59928
60012
  return responseInterceptors.reduce(
59929
60013
  (previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
@@ -60936,4 +61020,4 @@ register({
60936
61020
  });
60937
61021
 
60938
61022
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
60939
- // version: 1.409.0-19a3d9bdf5
61023
+ // version: 1.410.1-f2ce00a20c
@@ -20,7 +20,7 @@ export interface RecordInputRepresentationNormalized {
20
20
  apiName?: string;
21
21
  /** Field values. When this representation is deserialized from JSON, the values will be typed as JsonNode, delaying full deserialization until the resource executes, which knows the expected data types. In the case of invocation through CiJ directly, the field values should be typed as the expected data types. */
22
22
  fields: {
23
- [key: string]: string | number | null | boolean;
23
+ [key: string]: string | number | null | boolean | string[];
24
24
  };
25
25
  }
26
26
  /**
@@ -33,6 +33,6 @@ export interface RecordInputRepresentation {
33
33
  allowSaveOnDuplicate?: boolean;
34
34
  apiName?: string;
35
35
  fields: {
36
- [key: string]: string | number | null | boolean;
36
+ [key: string]: string | number | null | boolean | string[];
37
37
  };
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.409.0",
3
+ "version": "1.410.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -32,44 +32,44 @@
32
32
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
33
33
  },
34
34
  "dependencies": {
35
- "@conduit-client/service-bindings-imperative": "3.2.0",
36
- "@conduit-client/service-bindings-lwc": "3.2.0",
37
- "@conduit-client/service-provisioner": "3.2.0",
38
- "@salesforce/lds-adapters-uiapi": "^1.409.0",
39
- "@salesforce/lds-bindings": "^1.409.0",
40
- "@salesforce/lds-instrumentation": "^1.409.0",
41
- "@salesforce/lds-luvio-service": "^1.409.0",
42
- "@salesforce/lds-luvio-uiapi-records-service": "^1.409.0",
35
+ "@conduit-client/service-bindings-imperative": "3.6.3",
36
+ "@conduit-client/service-bindings-lwc": "3.6.3",
37
+ "@conduit-client/service-provisioner": "3.6.3",
38
+ "@salesforce/lds-adapters-uiapi": "^1.410.1",
39
+ "@salesforce/lds-bindings": "^1.410.1",
40
+ "@salesforce/lds-instrumentation": "^1.410.1",
41
+ "@salesforce/lds-luvio-service": "^1.410.1",
42
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.410.1",
43
43
  "@salesforce/user": "0.0.21",
44
44
  "o11y": "250.7.0",
45
45
  "o11y_schema": "256.126.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@conduit-client/command-aura-network": "3.2.0",
49
- "@conduit-client/command-aura-normalized-cache-control": "3.2.0",
50
- "@conduit-client/command-aura-resource-cache-control": "3.2.0",
51
- "@conduit-client/command-fetch-network": "3.2.0",
52
- "@conduit-client/command-http-normalized-cache-control": "3.2.0",
53
- "@conduit-client/command-network": "3.2.0",
54
- "@conduit-client/service-cache": "3.2.0",
55
- "@conduit-client/service-cache-control": "3.2.0",
56
- "@conduit-client/service-cache-inclusion-policy": "3.2.0",
57
- "@conduit-client/service-fetch-network": "3.2.0",
58
- "@conduit-client/service-instrument-command": "3.2.0",
59
- "@conduit-client/service-instrumentation": "3.2.0",
60
- "@conduit-client/service-pubsub": "3.2.0",
61
- "@conduit-client/service-store": "3.2.0",
62
- "@conduit-client/utils": "3.2.0",
63
- "@salesforce/lds-adapters-graphql": "^1.409.0",
64
- "@salesforce/lds-drafts": "^1.409.0",
65
- "@salesforce/lds-durable-records": "^1.409.0",
66
- "@salesforce/lds-network-adapter": "^1.409.0",
67
- "@salesforce/lds-network-nimbus": "^1.409.0",
68
- "@salesforce/lds-store-binary": "^1.409.0",
69
- "@salesforce/lds-store-nimbus": "^1.409.0",
70
- "@salesforce/lds-store-sql": "^1.409.0",
71
- "@salesforce/lds-utils-adapters": "^1.409.0",
72
- "@salesforce/nimbus-plugin-lds": "^1.409.0",
48
+ "@conduit-client/command-aura-network": "3.6.3",
49
+ "@conduit-client/command-aura-normalized-cache-control": "3.6.3",
50
+ "@conduit-client/command-aura-resource-cache-control": "3.6.3",
51
+ "@conduit-client/command-fetch-network": "3.6.3",
52
+ "@conduit-client/command-http-normalized-cache-control": "3.6.3",
53
+ "@conduit-client/command-network": "3.6.3",
54
+ "@conduit-client/service-cache": "3.6.3",
55
+ "@conduit-client/service-cache-control": "3.6.3",
56
+ "@conduit-client/service-cache-inclusion-policy": "3.6.3",
57
+ "@conduit-client/service-fetch-network": "3.6.3",
58
+ "@conduit-client/service-instrument-command": "3.6.3",
59
+ "@conduit-client/service-instrumentation": "3.6.3",
60
+ "@conduit-client/service-pubsub": "3.6.3",
61
+ "@conduit-client/service-store": "3.6.3",
62
+ "@conduit-client/utils": "3.6.3",
63
+ "@salesforce/lds-adapters-graphql": "^1.410.1",
64
+ "@salesforce/lds-drafts": "^1.410.1",
65
+ "@salesforce/lds-durable-records": "^1.410.1",
66
+ "@salesforce/lds-network-adapter": "^1.410.1",
67
+ "@salesforce/lds-network-nimbus": "^1.410.1",
68
+ "@salesforce/lds-store-binary": "^1.410.1",
69
+ "@salesforce/lds-store-nimbus": "^1.410.1",
70
+ "@salesforce/lds-store-sql": "^1.410.1",
71
+ "@salesforce/lds-utils-adapters": "^1.410.1",
72
+ "@salesforce/nimbus-plugin-lds": "^1.410.1",
73
73
  "babel-plugin-dynamic-import-node": "^2.3.3",
74
74
  "wait-for-expect": "^3.0.2"
75
75
  },
package/sfdc/main.js CHANGED
@@ -20378,10 +20378,36 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20378
20378
  if (obj_fields_prop_union3_error != null) {
20379
20379
  obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
20380
20380
  }
20381
+ let obj_fields_prop_union4 = null;
20382
+ const obj_fields_prop_union4_error = (() => {
20383
+ if (!ArrayIsArray(obj_fields_prop)) {
20384
+ return new TypeError('Expected "array" but received "' +
20385
+ typeof obj_fields_prop +
20386
+ '" (at "' +
20387
+ path_fields_prop +
20388
+ '")');
20389
+ }
20390
+ for (let j = 0; j < obj_fields_prop.length; j++) {
20391
+ const obj_fields_prop_item = obj_fields_prop[j];
20392
+ const path_fields_prop_item = path_fields_prop + '[' + j + ']';
20393
+ if (typeof obj_fields_prop_item !== 'string') {
20394
+ return new TypeError('Expected "string" but received "' +
20395
+ typeof obj_fields_prop_item +
20396
+ '" (at "' +
20397
+ path_fields_prop_item +
20398
+ '")');
20399
+ }
20400
+ }
20401
+ })();
20402
+ // eslint-disable-next-line eqeqeq
20403
+ if (obj_fields_prop_union4_error != null) {
20404
+ obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
20405
+ }
20381
20406
  if (obj_fields_prop_union0 &&
20382
20407
  obj_fields_prop_union1 &&
20383
20408
  obj_fields_prop_union2 &&
20384
- obj_fields_prop_union3) {
20409
+ obj_fields_prop_union3 &&
20410
+ obj_fields_prop_union4) {
20385
20411
  let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
20386
20412
  message +=
20387
20413
  '\n' +
@@ -20407,6 +20433,12 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20407
20433
  .split('\n')
20408
20434
  .map((line) => '\t' + line)
20409
20435
  .join('\n');
20436
+ message +=
20437
+ '\n' +
20438
+ obj_fields_prop_union4
20439
+ .split('\n')
20440
+ .map((line) => '\t' + line)
20441
+ .join('\n');
20410
20442
  return new TypeError(message);
20411
20443
  }
20412
20444
  }
@@ -56309,7 +56341,12 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56309
56341
  this.coerceAuraErrors
56310
56342
  );
56311
56343
  } else if (this.shouldUseFetch()) {
56312
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
56344
+ const params = this.fetchParams;
56345
+ try {
56346
+ return this.convertFetchResponseToData(this.services.fetch(...params));
56347
+ } catch (reason) {
56348
+ return resolvedPromiseLike$2(err$1(toError(reason)));
56349
+ }
56313
56350
  }
56314
56351
  return resolvedPromiseLike$2(err$1(toError("Aura/Fetch network services not found")));
56315
56352
  }
@@ -56907,7 +56944,12 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
56907
56944
  (errs) => this.coerceAuraErrors(errs)
56908
56945
  );
56909
56946
  } else if (this.shouldUseFetch()) {
56910
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
56947
+ const params = this.fetchParams;
56948
+ try {
56949
+ return this.convertFetchResponseToData(this.services.fetch(...params));
56950
+ } catch (reason) {
56951
+ return resolvedPromiseLike$2(err$1(toError(reason)));
56952
+ }
56911
56953
  }
56912
56954
  return resolvedPromiseLike$2(err$1(toError("Aura/Fetch network services not found")));
56913
56955
  }
@@ -57046,7 +57088,12 @@ class AuraCacheControlCommand extends CacheControlCommand {
57046
57088
  (errs) => this.coerceAuraErrors(errs)
57047
57089
  );
57048
57090
  } else if (this.shouldUseFetch()) {
57049
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57091
+ const params = this.fetchParams;
57092
+ try {
57093
+ return this.convertFetchResponseToData(this.services.fetch(...params));
57094
+ } catch (reason) {
57095
+ return resolvedPromiseLike$2(err$1(toError(reason)));
57096
+ }
57050
57097
  }
57051
57098
  return resolvedPromiseLike$2(err$1(toError("Aura/Fetch network services not found")));
57052
57099
  }
@@ -57282,7 +57329,11 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
57282
57329
  this.services = services;
57283
57330
  }
57284
57331
  fetch() {
57285
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57332
+ try {
57333
+ return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57334
+ } catch (reason) {
57335
+ return resolvedPromiseLike$2(err$1(toError(reason)));
57336
+ }
57286
57337
  }
57287
57338
  async coerceError(errorResponse) {
57288
57339
  return toError(errorResponse.statusText);
@@ -57346,7 +57397,11 @@ class HttpCacheControlCommand extends CacheControlCommand {
57346
57397
  return this.fetch();
57347
57398
  }
57348
57399
  fetch() {
57349
- return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57400
+ try {
57401
+ return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
57402
+ } catch (reason) {
57403
+ return resolvedPromiseLike$2(err$1(toError(reason)));
57404
+ }
57350
57405
  }
57351
57406
  async coerceError(errorResponse) {
57352
57407
  return toError(errorResponse.statusText);
@@ -57823,9 +57878,13 @@ class OnlyIfCachedCacheControlStrategy extends CacheControlStrategy {
57823
57878
  }
57824
57879
  get expiredChecks() {
57825
57880
  return [
57826
- (cacheControlMetadata) => cacheControlMetadata.type === "no-store"
57881
+ ...super.expiredChecks,
57882
+ (cacheControlMetadata) => cacheControlMetadata.type === "no-cache"
57827
57883
  ];
57828
57884
  }
57885
+ // Note: If we add support for `stale-while-revalidate` in the future, we may
57886
+ // need to further override expiredChecks to allow stale entries that are within the
57887
+ // stale-while-revalidate window to be returned for only-if-cached requests.
57829
57888
  collectCacheHitInstrumentation(startTime, instrumentationAttributes) {
57830
57889
  if (this.services.instrumentation) {
57831
57890
  const meter = this.services.instrumentation.metrics.getMeter("onestore");
@@ -58347,7 +58406,7 @@ function buildServiceDescriptor$b(luvio) {
58347
58406
  },
58348
58407
  };
58349
58408
  }
58350
- // version: 1.409.0-355a528ce3
58409
+ // version: 1.410.1-ee98040f21
58351
58410
 
58352
58411
  /**
58353
58412
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58373,7 +58432,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
58373
58432
  },
58374
58433
  };
58375
58434
  }
58376
- // version: 1.409.0-355a528ce3
58435
+ // version: 1.410.1-ee98040f21
58377
58436
 
58378
58437
  /*!
58379
58438
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58584,11 +58643,26 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
58584
58643
  return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
58585
58644
  });
58586
58645
  } else if (this.shouldUseFetch()) {
58587
- return this.convertFetchResponseToData(
58588
- this.services.fetch(...this.originalFetchParams)
58589
- ).then((result) => {
58590
- return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
58591
- });
58646
+ const params = this.originalFetchParams;
58647
+ try {
58648
+ return this.convertFetchResponseToData(this.services.fetch(...params)).then(
58649
+ (result) => {
58650
+ return buildSubscribableResult$1(
58651
+ result,
58652
+ this.buildSubscribe(),
58653
+ () => this.refresh()
58654
+ );
58655
+ }
58656
+ );
58657
+ } catch (reason) {
58658
+ return resolvedPromiseLike$2(
58659
+ buildSubscribableResult$1(
58660
+ err$1(toError(reason)),
58661
+ this.buildSubscribe(),
58662
+ () => this.refresh()
58663
+ )
58664
+ );
58665
+ }
58592
58666
  }
58593
58667
  return resolvedPromiseLike$2(
58594
58668
  buildSubscribableResult$1(
@@ -59903,7 +59977,12 @@ function buildServiceDescriptor$2() {
59903
59977
  * All rights reserved.
59904
59978
  * For full license text, see the LICENSE.txt file
59905
59979
  */
59906
- function buildServiceDescriptor$1(interceptors = { request: [], response: [], finally: [] }, retryService) {
59980
+ function buildServiceDescriptor$1(interceptors = {
59981
+ request: [],
59982
+ retry: void 0,
59983
+ response: [],
59984
+ finally: []
59985
+ }, retryService) {
59907
59986
  return {
59908
59987
  type: "fetch",
59909
59988
  version: "1.0",
@@ -59912,6 +59991,7 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
59912
59991
  const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
59913
59992
  const {
59914
59993
  request: requestInterceptors = [],
59994
+ retry: retryInterceptor = void 0,
59915
59995
  response: responseInterceptors = [],
59916
59996
  finally: finallyInterceptors = []
59917
59997
  } = interceptors;
@@ -59920,10 +60000,14 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
59920
60000
  resolvedPromiseLike$2(args)
59921
60001
  );
59922
60002
  return Promise.resolve(pending).then((args2) => {
59923
- if (retryService) {
59924
- return retryService.applyRetry(() => fetch(...args2));
60003
+ if (retryInterceptor) {
60004
+ return retryInterceptor(args2, retryService, context);
60005
+ } else {
60006
+ if (retryService) {
60007
+ return retryService.applyRetry(() => fetch(...args2));
60008
+ }
60009
+ return fetch(...args2);
59925
60010
  }
59926
- return fetch(...args2);
59927
60011
  }).then((response) => {
59928
60012
  return responseInterceptors.reduce(
59929
60013
  (previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
@@ -60936,4 +61020,4 @@ register({
60936
61020
  });
60937
61021
 
60938
61022
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
60939
- // version: 1.409.0-19a3d9bdf5
61023
+ // version: 1.410.1-f2ce00a20c
@@ -20,7 +20,7 @@ export interface RecordInputRepresentationNormalized {
20
20
  apiName?: string;
21
21
  /** Field values. When this representation is deserialized from JSON, the values will be typed as JsonNode, delaying full deserialization until the resource executes, which knows the expected data types. In the case of invocation through CiJ directly, the field values should be typed as the expected data types. */
22
22
  fields: {
23
- [key: string]: string | number | null | boolean;
23
+ [key: string]: string | number | null | boolean | string[];
24
24
  };
25
25
  }
26
26
  /**
@@ -33,6 +33,6 @@ export interface RecordInputRepresentation {
33
33
  allowSaveOnDuplicate?: boolean;
34
34
  apiName?: string;
35
35
  fields: {
36
- [key: string]: string | number | null | boolean;
36
+ [key: string]: string | number | null | boolean | string[];
37
37
  };
38
38
  }