@salesforce/lds-runtime-mobile 1.409.0 → 1.410.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/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
|
}
|
|
@@ -58347,7 +58379,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
58347
58379
|
},
|
|
58348
58380
|
};
|
|
58349
58381
|
}
|
|
58350
|
-
// version: 1.
|
|
58382
|
+
// version: 1.410.0-7c228ee347
|
|
58351
58383
|
|
|
58352
58384
|
/**
|
|
58353
58385
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -58373,7 +58405,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
58373
58405
|
},
|
|
58374
58406
|
};
|
|
58375
58407
|
}
|
|
58376
|
-
// version: 1.
|
|
58408
|
+
// version: 1.410.0-7c228ee347
|
|
58377
58409
|
|
|
58378
58410
|
/*!
|
|
58379
58411
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -59903,7 +59935,12 @@ function buildServiceDescriptor$2() {
|
|
|
59903
59935
|
* All rights reserved.
|
|
59904
59936
|
* For full license text, see the LICENSE.txt file
|
|
59905
59937
|
*/
|
|
59906
|
-
function buildServiceDescriptor$1(interceptors = {
|
|
59938
|
+
function buildServiceDescriptor$1(interceptors = {
|
|
59939
|
+
request: [],
|
|
59940
|
+
retry: void 0,
|
|
59941
|
+
response: [],
|
|
59942
|
+
finally: []
|
|
59943
|
+
}, retryService) {
|
|
59907
59944
|
return {
|
|
59908
59945
|
type: "fetch",
|
|
59909
59946
|
version: "1.0",
|
|
@@ -59912,6 +59949,7 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
|
|
|
59912
59949
|
const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
|
|
59913
59950
|
const {
|
|
59914
59951
|
request: requestInterceptors = [],
|
|
59952
|
+
retry: retryInterceptor = void 0,
|
|
59915
59953
|
response: responseInterceptors = [],
|
|
59916
59954
|
finally: finallyInterceptors = []
|
|
59917
59955
|
} = interceptors;
|
|
@@ -59920,10 +59958,14 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
|
|
|
59920
59958
|
resolvedPromiseLike$2(args)
|
|
59921
59959
|
);
|
|
59922
59960
|
return Promise.resolve(pending).then((args2) => {
|
|
59923
|
-
if (
|
|
59924
|
-
return
|
|
59961
|
+
if (retryInterceptor) {
|
|
59962
|
+
return retryInterceptor(args2, retryService, context);
|
|
59963
|
+
} else {
|
|
59964
|
+
if (retryService) {
|
|
59965
|
+
return retryService.applyRetry(() => fetch(...args2));
|
|
59966
|
+
}
|
|
59967
|
+
return fetch(...args2);
|
|
59925
59968
|
}
|
|
59926
|
-
return fetch(...args2);
|
|
59927
59969
|
}).then((response) => {
|
|
59928
59970
|
return responseInterceptors.reduce(
|
|
59929
59971
|
(previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
|
|
@@ -60936,4 +60978,4 @@ register({
|
|
|
60936
60978
|
});
|
|
60937
60979
|
|
|
60938
60980
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
|
|
60939
|
-
// version: 1.
|
|
60981
|
+
// version: 1.410.0-19e0e5d352
|
|
@@ -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.
|
|
3
|
+
"version": "1.410.0",
|
|
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.
|
|
36
|
-
"@conduit-client/service-bindings-lwc": "3.
|
|
37
|
-
"@conduit-client/service-provisioner": "3.
|
|
38
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
39
|
-
"@salesforce/lds-bindings": "^1.
|
|
40
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
41
|
-
"@salesforce/lds-luvio-service": "^1.
|
|
42
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.
|
|
35
|
+
"@conduit-client/service-bindings-imperative": "3.6.1",
|
|
36
|
+
"@conduit-client/service-bindings-lwc": "3.6.1",
|
|
37
|
+
"@conduit-client/service-provisioner": "3.6.1",
|
|
38
|
+
"@salesforce/lds-adapters-uiapi": "^1.410.0",
|
|
39
|
+
"@salesforce/lds-bindings": "^1.410.0",
|
|
40
|
+
"@salesforce/lds-instrumentation": "^1.410.0",
|
|
41
|
+
"@salesforce/lds-luvio-service": "^1.410.0",
|
|
42
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.410.0",
|
|
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.
|
|
49
|
-
"@conduit-client/command-aura-normalized-cache-control": "3.
|
|
50
|
-
"@conduit-client/command-aura-resource-cache-control": "3.
|
|
51
|
-
"@conduit-client/command-fetch-network": "3.
|
|
52
|
-
"@conduit-client/command-http-normalized-cache-control": "3.
|
|
53
|
-
"@conduit-client/command-network": "3.
|
|
54
|
-
"@conduit-client/service-cache": "3.
|
|
55
|
-
"@conduit-client/service-cache-control": "3.
|
|
56
|
-
"@conduit-client/service-cache-inclusion-policy": "3.
|
|
57
|
-
"@conduit-client/service-fetch-network": "3.
|
|
58
|
-
"@conduit-client/service-instrument-command": "3.
|
|
59
|
-
"@conduit-client/service-instrumentation": "3.
|
|
60
|
-
"@conduit-client/service-pubsub": "3.
|
|
61
|
-
"@conduit-client/service-store": "3.
|
|
62
|
-
"@conduit-client/utils": "3.
|
|
63
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
64
|
-
"@salesforce/lds-drafts": "^1.
|
|
65
|
-
"@salesforce/lds-durable-records": "^1.
|
|
66
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
67
|
-
"@salesforce/lds-network-nimbus": "^1.
|
|
68
|
-
"@salesforce/lds-store-binary": "^1.
|
|
69
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
70
|
-
"@salesforce/lds-store-sql": "^1.
|
|
71
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
72
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
48
|
+
"@conduit-client/command-aura-network": "3.6.1",
|
|
49
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.6.1",
|
|
50
|
+
"@conduit-client/command-aura-resource-cache-control": "3.6.1",
|
|
51
|
+
"@conduit-client/command-fetch-network": "3.6.1",
|
|
52
|
+
"@conduit-client/command-http-normalized-cache-control": "3.6.1",
|
|
53
|
+
"@conduit-client/command-network": "3.6.1",
|
|
54
|
+
"@conduit-client/service-cache": "3.6.1",
|
|
55
|
+
"@conduit-client/service-cache-control": "3.6.1",
|
|
56
|
+
"@conduit-client/service-cache-inclusion-policy": "3.6.1",
|
|
57
|
+
"@conduit-client/service-fetch-network": "3.6.1",
|
|
58
|
+
"@conduit-client/service-instrument-command": "3.6.1",
|
|
59
|
+
"@conduit-client/service-instrumentation": "3.6.1",
|
|
60
|
+
"@conduit-client/service-pubsub": "3.6.1",
|
|
61
|
+
"@conduit-client/service-store": "3.6.1",
|
|
62
|
+
"@conduit-client/utils": "3.6.1",
|
|
63
|
+
"@salesforce/lds-adapters-graphql": "^1.410.0",
|
|
64
|
+
"@salesforce/lds-drafts": "^1.410.0",
|
|
65
|
+
"@salesforce/lds-durable-records": "^1.410.0",
|
|
66
|
+
"@salesforce/lds-network-adapter": "^1.410.0",
|
|
67
|
+
"@salesforce/lds-network-nimbus": "^1.410.0",
|
|
68
|
+
"@salesforce/lds-store-binary": "^1.410.0",
|
|
69
|
+
"@salesforce/lds-store-nimbus": "^1.410.0",
|
|
70
|
+
"@salesforce/lds-store-sql": "^1.410.0",
|
|
71
|
+
"@salesforce/lds-utils-adapters": "^1.410.0",
|
|
72
|
+
"@salesforce/nimbus-plugin-lds": "^1.410.0",
|
|
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
|
}
|
|
@@ -58347,7 +58379,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
58347
58379
|
},
|
|
58348
58380
|
};
|
|
58349
58381
|
}
|
|
58350
|
-
// version: 1.
|
|
58382
|
+
// version: 1.410.0-7c228ee347
|
|
58351
58383
|
|
|
58352
58384
|
/**
|
|
58353
58385
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -58373,7 +58405,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
58373
58405
|
},
|
|
58374
58406
|
};
|
|
58375
58407
|
}
|
|
58376
|
-
// version: 1.
|
|
58408
|
+
// version: 1.410.0-7c228ee347
|
|
58377
58409
|
|
|
58378
58410
|
/*!
|
|
58379
58411
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -59903,7 +59935,12 @@ function buildServiceDescriptor$2() {
|
|
|
59903
59935
|
* All rights reserved.
|
|
59904
59936
|
* For full license text, see the LICENSE.txt file
|
|
59905
59937
|
*/
|
|
59906
|
-
function buildServiceDescriptor$1(interceptors = {
|
|
59938
|
+
function buildServiceDescriptor$1(interceptors = {
|
|
59939
|
+
request: [],
|
|
59940
|
+
retry: void 0,
|
|
59941
|
+
response: [],
|
|
59942
|
+
finally: []
|
|
59943
|
+
}, retryService) {
|
|
59907
59944
|
return {
|
|
59908
59945
|
type: "fetch",
|
|
59909
59946
|
version: "1.0",
|
|
@@ -59912,6 +59949,7 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
|
|
|
59912
59949
|
const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
|
|
59913
59950
|
const {
|
|
59914
59951
|
request: requestInterceptors = [],
|
|
59952
|
+
retry: retryInterceptor = void 0,
|
|
59915
59953
|
response: responseInterceptors = [],
|
|
59916
59954
|
finally: finallyInterceptors = []
|
|
59917
59955
|
} = interceptors;
|
|
@@ -59920,10 +59958,14 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
|
|
|
59920
59958
|
resolvedPromiseLike$2(args)
|
|
59921
59959
|
);
|
|
59922
59960
|
return Promise.resolve(pending).then((args2) => {
|
|
59923
|
-
if (
|
|
59924
|
-
return
|
|
59961
|
+
if (retryInterceptor) {
|
|
59962
|
+
return retryInterceptor(args2, retryService, context);
|
|
59963
|
+
} else {
|
|
59964
|
+
if (retryService) {
|
|
59965
|
+
return retryService.applyRetry(() => fetch(...args2));
|
|
59966
|
+
}
|
|
59967
|
+
return fetch(...args2);
|
|
59925
59968
|
}
|
|
59926
|
-
return fetch(...args2);
|
|
59927
59969
|
}).then((response) => {
|
|
59928
59970
|
return responseInterceptors.reduce(
|
|
59929
59971
|
(previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
|
|
@@ -60936,4 +60978,4 @@ register({
|
|
|
60936
60978
|
});
|
|
60937
60979
|
|
|
60938
60980
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
|
|
60939
|
-
// version: 1.
|
|
60981
|
+
// version: 1.410.0-19e0e5d352
|
|
@@ -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
|
}
|