@salesforce/lds-runtime-mobile 1.404.0-dev7 → 1.404.0-dev9

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
@@ -20379,10 +20379,36 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20379
20379
  if (obj_fields_prop_union3_error != null) {
20380
20380
  obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
20381
20381
  }
20382
+ let obj_fields_prop_union4 = null;
20383
+ const obj_fields_prop_union4_error = (() => {
20384
+ if (!ArrayIsArray(obj_fields_prop)) {
20385
+ return new TypeError('Expected "array" but received "' +
20386
+ typeof obj_fields_prop +
20387
+ '" (at "' +
20388
+ path_fields_prop +
20389
+ '")');
20390
+ }
20391
+ for (let j = 0; j < obj_fields_prop.length; j++) {
20392
+ const obj_fields_prop_item = obj_fields_prop[j];
20393
+ const path_fields_prop_item = path_fields_prop + '[' + j + ']';
20394
+ if (typeof obj_fields_prop_item !== 'string') {
20395
+ return new TypeError('Expected "string" but received "' +
20396
+ typeof obj_fields_prop_item +
20397
+ '" (at "' +
20398
+ path_fields_prop_item +
20399
+ '")');
20400
+ }
20401
+ }
20402
+ })();
20403
+ // eslint-disable-next-line eqeqeq
20404
+ if (obj_fields_prop_union4_error != null) {
20405
+ obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
20406
+ }
20382
20407
  if (obj_fields_prop_union0 &&
20383
20408
  obj_fields_prop_union1 &&
20384
20409
  obj_fields_prop_union2 &&
20385
- obj_fields_prop_union3) {
20410
+ obj_fields_prop_union3 &&
20411
+ obj_fields_prop_union4) {
20386
20412
  let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
20387
20413
  message +=
20388
20414
  '\n' +
@@ -20408,6 +20434,12 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20408
20434
  .split('\n')
20409
20435
  .map((line) => '\t' + line)
20410
20436
  .join('\n');
20437
+ message +=
20438
+ '\n' +
20439
+ obj_fields_prop_union4
20440
+ .split('\n')
20441
+ .map((line) => '\t' + line)
20442
+ .join('\n');
20411
20443
  return new TypeError(message);
20412
20444
  }
20413
20445
  }
@@ -52049,7 +52081,7 @@ function instrumentAdapter(adapter, metadata) {
52049
52081
  }
52050
52082
  if (pdpEventSchema) {
52051
52083
  ldsInstrumentation.log(pdpEventSchema, {
52052
- event_name: 'lsdkLDSAdapter.invoked',
52084
+ eventName: 'lsdkLdsAdapter.invoked',
52053
52085
  productFeatureId: VERTICAL_NAV_FEATURE_ID,
52054
52086
  contextName: metadata.name,
52055
52087
  });
@@ -58385,7 +58417,7 @@ function buildServiceDescriptor$b(luvio) {
58385
58417
  },
58386
58418
  };
58387
58419
  }
58388
- // version: 1.404.0-dev7-7d4ca687f7
58420
+ // version: 1.404.0-dev9-2a4f3180c5
58389
58421
 
58390
58422
  /**
58391
58423
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58411,7 +58443,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
58411
58443
  },
58412
58444
  };
58413
58445
  }
58414
- // version: 1.404.0-dev7-7d4ca687f7
58446
+ // version: 1.404.0-dev9-2a4f3180c5
58415
58447
 
58416
58448
  /*!
58417
58449
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -60999,4 +61031,4 @@ register({
60999
61031
  });
61000
61032
 
61001
61033
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
61002
- // version: 1.404.0-dev7-f7cbfedbf0
61034
+ // version: 1.404.0-dev9-0713cc66e9
@@ -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.404.0-dev7",
3
+ "version": "1.404.0-dev9",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -35,11 +35,11 @@
35
35
  "@conduit-client/service-bindings-imperative": "3.7.0-dev2",
36
36
  "@conduit-client/service-bindings-lwc": "3.7.0-dev2",
37
37
  "@conduit-client/service-provisioner": "3.7.0-dev2",
38
- "@salesforce/lds-adapters-uiapi": "^1.404.0-dev7",
39
- "@salesforce/lds-bindings": "^1.404.0-dev7",
40
- "@salesforce/lds-instrumentation": "^1.404.0-dev7",
41
- "@salesforce/lds-luvio-service": "^1.404.0-dev7",
42
- "@salesforce/lds-luvio-uiapi-records-service": "^1.404.0-dev7",
38
+ "@salesforce/lds-adapters-uiapi": "^1.404.0-dev9",
39
+ "@salesforce/lds-bindings": "^1.404.0-dev9",
40
+ "@salesforce/lds-instrumentation": "^1.404.0-dev9",
41
+ "@salesforce/lds-luvio-service": "^1.404.0-dev9",
42
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.404.0-dev9",
43
43
  "@salesforce/user": "0.0.21",
44
44
  "o11y": "250.7.0",
45
45
  "o11y_schema": "256.126.0"
@@ -60,16 +60,16 @@
60
60
  "@conduit-client/service-pubsub": "3.7.0-dev2",
61
61
  "@conduit-client/service-store": "3.7.0-dev2",
62
62
  "@conduit-client/utils": "3.7.0-dev2",
63
- "@salesforce/lds-adapters-graphql": "^1.404.0-dev7",
64
- "@salesforce/lds-drafts": "^1.404.0-dev7",
65
- "@salesforce/lds-durable-records": "^1.404.0-dev7",
66
- "@salesforce/lds-network-adapter": "^1.404.0-dev7",
67
- "@salesforce/lds-network-nimbus": "^1.404.0-dev7",
68
- "@salesforce/lds-store-binary": "^1.404.0-dev7",
69
- "@salesforce/lds-store-nimbus": "^1.404.0-dev7",
70
- "@salesforce/lds-store-sql": "^1.404.0-dev7",
71
- "@salesforce/lds-utils-adapters": "^1.404.0-dev7",
72
- "@salesforce/nimbus-plugin-lds": "^1.404.0-dev7",
63
+ "@salesforce/lds-adapters-graphql": "^1.404.0-dev9",
64
+ "@salesforce/lds-drafts": "^1.404.0-dev9",
65
+ "@salesforce/lds-durable-records": "^1.404.0-dev9",
66
+ "@salesforce/lds-network-adapter": "^1.404.0-dev9",
67
+ "@salesforce/lds-network-nimbus": "^1.404.0-dev9",
68
+ "@salesforce/lds-store-binary": "^1.404.0-dev9",
69
+ "@salesforce/lds-store-nimbus": "^1.404.0-dev9",
70
+ "@salesforce/lds-store-sql": "^1.404.0-dev9",
71
+ "@salesforce/lds-utils-adapters": "^1.404.0-dev9",
72
+ "@salesforce/nimbus-plugin-lds": "^1.404.0-dev9",
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
@@ -20379,10 +20379,36 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20379
20379
  if (obj_fields_prop_union3_error != null) {
20380
20380
  obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
20381
20381
  }
20382
+ let obj_fields_prop_union4 = null;
20383
+ const obj_fields_prop_union4_error = (() => {
20384
+ if (!ArrayIsArray(obj_fields_prop)) {
20385
+ return new TypeError('Expected "array" but received "' +
20386
+ typeof obj_fields_prop +
20387
+ '" (at "' +
20388
+ path_fields_prop +
20389
+ '")');
20390
+ }
20391
+ for (let j = 0; j < obj_fields_prop.length; j++) {
20392
+ const obj_fields_prop_item = obj_fields_prop[j];
20393
+ const path_fields_prop_item = path_fields_prop + '[' + j + ']';
20394
+ if (typeof obj_fields_prop_item !== 'string') {
20395
+ return new TypeError('Expected "string" but received "' +
20396
+ typeof obj_fields_prop_item +
20397
+ '" (at "' +
20398
+ path_fields_prop_item +
20399
+ '")');
20400
+ }
20401
+ }
20402
+ })();
20403
+ // eslint-disable-next-line eqeqeq
20404
+ if (obj_fields_prop_union4_error != null) {
20405
+ obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
20406
+ }
20382
20407
  if (obj_fields_prop_union0 &&
20383
20408
  obj_fields_prop_union1 &&
20384
20409
  obj_fields_prop_union2 &&
20385
- obj_fields_prop_union3) {
20410
+ obj_fields_prop_union3 &&
20411
+ obj_fields_prop_union4) {
20386
20412
  let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
20387
20413
  message +=
20388
20414
  '\n' +
@@ -20408,6 +20434,12 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20408
20434
  .split('\n')
20409
20435
  .map((line) => '\t' + line)
20410
20436
  .join('\n');
20437
+ message +=
20438
+ '\n' +
20439
+ obj_fields_prop_union4
20440
+ .split('\n')
20441
+ .map((line) => '\t' + line)
20442
+ .join('\n');
20411
20443
  return new TypeError(message);
20412
20444
  }
20413
20445
  }
@@ -52049,7 +52081,7 @@ function instrumentAdapter(adapter, metadata) {
52049
52081
  }
52050
52082
  if (pdpEventSchema) {
52051
52083
  ldsInstrumentation.log(pdpEventSchema, {
52052
- event_name: 'lsdkLDSAdapter.invoked',
52084
+ eventName: 'lsdkLdsAdapter.invoked',
52053
52085
  productFeatureId: VERTICAL_NAV_FEATURE_ID,
52054
52086
  contextName: metadata.name,
52055
52087
  });
@@ -58385,7 +58417,7 @@ function buildServiceDescriptor$b(luvio) {
58385
58417
  },
58386
58418
  };
58387
58419
  }
58388
- // version: 1.404.0-dev7-7d4ca687f7
58420
+ // version: 1.404.0-dev9-2a4f3180c5
58389
58421
 
58390
58422
  /**
58391
58423
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58411,7 +58443,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
58411
58443
  },
58412
58444
  };
58413
58445
  }
58414
- // version: 1.404.0-dev7-7d4ca687f7
58446
+ // version: 1.404.0-dev9-2a4f3180c5
58415
58447
 
58416
58448
  /*!
58417
58449
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -60999,4 +61031,4 @@ register({
60999
61031
  });
61000
61032
 
61001
61033
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
61002
- // version: 1.404.0-dev7-f7cbfedbf0
61034
+ // version: 1.404.0-dev9-0713cc66e9
@@ -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
  }