@salesforce/lds-runtime-mobile 1.463.0 → 1.465.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 +17 -8
- package/package.json +33 -33
- package/sfdc/main.js +17 -8
package/dist/main.js
CHANGED
|
@@ -57996,8 +57996,8 @@ class InternalError extends Error {
|
|
|
57996
57996
|
}
|
|
57997
57997
|
}
|
|
57998
57998
|
class UserVisibleError extends Error {
|
|
57999
|
-
constructor(data) {
|
|
58000
|
-
super();
|
|
57999
|
+
constructor(data, message) {
|
|
58000
|
+
super(message);
|
|
58001
58001
|
this.data = data;
|
|
58002
58002
|
this.type = "user-visible";
|
|
58003
58003
|
}
|
|
@@ -58105,7 +58105,11 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
58105
58105
|
return void 0;
|
|
58106
58106
|
}
|
|
58107
58107
|
coerceAuraErrors(auraErrors) {
|
|
58108
|
-
|
|
58108
|
+
const response = getFetchResponseFromAuraError(auraErrors[0]);
|
|
58109
|
+
return new UserVisibleError(
|
|
58110
|
+
response,
|
|
58111
|
+
`Error from ${this.endpoint}, status ${response.status}`
|
|
58112
|
+
);
|
|
58109
58113
|
}
|
|
58110
58114
|
/**
|
|
58111
58115
|
* Customize how non-2xx fetch fallback responses are converted into errors.
|
|
@@ -58202,7 +58206,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
58202
58206
|
this.auraParams,
|
|
58203
58207
|
this.actionConfig
|
|
58204
58208
|
),
|
|
58205
|
-
this.coerceAuraErrors
|
|
58209
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
58206
58210
|
);
|
|
58207
58211
|
} else if (this.shouldUseFetch()) {
|
|
58208
58212
|
const [input, init] = this.fetchParams;
|
|
@@ -60160,7 +60164,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
60160
60164
|
},
|
|
60161
60165
|
};
|
|
60162
60166
|
}
|
|
60163
|
-
// version: 1.
|
|
60167
|
+
// version: 1.465.0-91ef58ca05
|
|
60164
60168
|
|
|
60165
60169
|
/**
|
|
60166
60170
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -60186,7 +60190,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
60186
60190
|
},
|
|
60187
60191
|
};
|
|
60188
60192
|
}
|
|
60189
|
-
// version: 1.
|
|
60193
|
+
// version: 1.465.0-91ef58ca05
|
|
60190
60194
|
|
|
60191
60195
|
function findExecutableOperation(input) {
|
|
60192
60196
|
const operations = input.query.definitions.filter(
|
|
@@ -61869,7 +61873,12 @@ function buildServiceDescriptor$1(interceptors = {
|
|
|
61869
61873
|
}
|
|
61870
61874
|
const fetchArgs = cleanInit === void 0 ? [input] : [input, cleanInit];
|
|
61871
61875
|
const baseContext = interceptors.createContext?.();
|
|
61872
|
-
const
|
|
61876
|
+
const onestore = cleanInit?.onestore;
|
|
61877
|
+
const context = contextSeed === void 0 && onestore === void 0 ? baseContext : {
|
|
61878
|
+
...baseContext,
|
|
61879
|
+
...contextSeed,
|
|
61880
|
+
...onestore !== void 0 && { onestore }
|
|
61881
|
+
};
|
|
61873
61882
|
const {
|
|
61874
61883
|
request: requestInterceptors = [],
|
|
61875
61884
|
retry: retryInterceptor = void 0,
|
|
@@ -62903,4 +62912,4 @@ register({
|
|
|
62903
62912
|
});
|
|
62904
62913
|
|
|
62905
62914
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
|
|
62906
|
-
// version: 1.
|
|
62915
|
+
// version: 1.465.0-91ef58ca05
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-mobile",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.465.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,43 +32,43 @@
|
|
|
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.32.1",
|
|
36
|
+
"@conduit-client/service-bindings-lwc": "3.32.1",
|
|
37
|
+
"@conduit-client/service-provisioner": "3.32.1",
|
|
38
|
+
"@salesforce/lds-adapters-uiapi": "^1.465.0",
|
|
39
|
+
"@salesforce/lds-bindings": "^1.465.0",
|
|
40
|
+
"@salesforce/lds-instrumentation": "^1.465.0",
|
|
41
|
+
"@salesforce/lds-luvio-service": "^1.465.0",
|
|
42
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.465.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-fetch-network": "3.
|
|
51
|
-
"@conduit-client/command-http-normalized-cache-control": "3.
|
|
52
|
-
"@conduit-client/command-network": "3.
|
|
53
|
-
"@conduit-client/service-cache": "3.
|
|
54
|
-
"@conduit-client/service-cache-control": "3.
|
|
55
|
-
"@conduit-client/service-cache-inclusion-policy": "3.
|
|
56
|
-
"@conduit-client/service-fetch-network": "3.
|
|
57
|
-
"@conduit-client/service-instrument-command": "3.
|
|
58
|
-
"@conduit-client/service-instrumentation": "3.
|
|
59
|
-
"@conduit-client/service-pubsub": "3.
|
|
60
|
-
"@conduit-client/service-store": "3.
|
|
61
|
-
"@conduit-client/utils": "3.
|
|
62
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
63
|
-
"@salesforce/lds-drafts": "^1.
|
|
64
|
-
"@salesforce/lds-durable-records": "^1.
|
|
65
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
66
|
-
"@salesforce/lds-network-nimbus": "^1.
|
|
67
|
-
"@salesforce/lds-store-binary": "^1.
|
|
68
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
69
|
-
"@salesforce/lds-store-sql": "^1.
|
|
70
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
71
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
48
|
+
"@conduit-client/command-aura-network": "3.32.1",
|
|
49
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.32.1",
|
|
50
|
+
"@conduit-client/command-fetch-network": "3.32.1",
|
|
51
|
+
"@conduit-client/command-http-normalized-cache-control": "3.32.1",
|
|
52
|
+
"@conduit-client/command-network": "3.32.1",
|
|
53
|
+
"@conduit-client/service-cache": "3.32.1",
|
|
54
|
+
"@conduit-client/service-cache-control": "3.32.1",
|
|
55
|
+
"@conduit-client/service-cache-inclusion-policy": "3.32.1",
|
|
56
|
+
"@conduit-client/service-fetch-network": "3.32.1",
|
|
57
|
+
"@conduit-client/service-instrument-command": "3.32.1",
|
|
58
|
+
"@conduit-client/service-instrumentation": "3.32.1",
|
|
59
|
+
"@conduit-client/service-pubsub": "3.32.1",
|
|
60
|
+
"@conduit-client/service-store": "3.32.1",
|
|
61
|
+
"@conduit-client/utils": "3.32.1",
|
|
62
|
+
"@salesforce/lds-adapters-graphql": "^1.465.0",
|
|
63
|
+
"@salesforce/lds-drafts": "^1.465.0",
|
|
64
|
+
"@salesforce/lds-durable-records": "^1.465.0",
|
|
65
|
+
"@salesforce/lds-network-adapter": "^1.465.0",
|
|
66
|
+
"@salesforce/lds-network-nimbus": "^1.465.0",
|
|
67
|
+
"@salesforce/lds-store-binary": "^1.465.0",
|
|
68
|
+
"@salesforce/lds-store-nimbus": "^1.465.0",
|
|
69
|
+
"@salesforce/lds-store-sql": "^1.465.0",
|
|
70
|
+
"@salesforce/lds-utils-adapters": "^1.465.0",
|
|
71
|
+
"@salesforce/nimbus-plugin-lds": "^1.465.0",
|
|
72
72
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
73
73
|
"wait-for-expect": "^3.0.2"
|
|
74
74
|
},
|
package/sfdc/main.js
CHANGED
|
@@ -57996,8 +57996,8 @@ class InternalError extends Error {
|
|
|
57996
57996
|
}
|
|
57997
57997
|
}
|
|
57998
57998
|
class UserVisibleError extends Error {
|
|
57999
|
-
constructor(data) {
|
|
58000
|
-
super();
|
|
57999
|
+
constructor(data, message) {
|
|
58000
|
+
super(message);
|
|
58001
58001
|
this.data = data;
|
|
58002
58002
|
this.type = "user-visible";
|
|
58003
58003
|
}
|
|
@@ -58105,7 +58105,11 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
58105
58105
|
return void 0;
|
|
58106
58106
|
}
|
|
58107
58107
|
coerceAuraErrors(auraErrors) {
|
|
58108
|
-
|
|
58108
|
+
const response = getFetchResponseFromAuraError(auraErrors[0]);
|
|
58109
|
+
return new UserVisibleError(
|
|
58110
|
+
response,
|
|
58111
|
+
`Error from ${this.endpoint}, status ${response.status}`
|
|
58112
|
+
);
|
|
58109
58113
|
}
|
|
58110
58114
|
/**
|
|
58111
58115
|
* Customize how non-2xx fetch fallback responses are converted into errors.
|
|
@@ -58202,7 +58206,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
58202
58206
|
this.auraParams,
|
|
58203
58207
|
this.actionConfig
|
|
58204
58208
|
),
|
|
58205
|
-
this.coerceAuraErrors
|
|
58209
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
58206
58210
|
);
|
|
58207
58211
|
} else if (this.shouldUseFetch()) {
|
|
58208
58212
|
const [input, init] = this.fetchParams;
|
|
@@ -60160,7 +60164,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
60160
60164
|
},
|
|
60161
60165
|
};
|
|
60162
60166
|
}
|
|
60163
|
-
// version: 1.
|
|
60167
|
+
// version: 1.465.0-91ef58ca05
|
|
60164
60168
|
|
|
60165
60169
|
/**
|
|
60166
60170
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -60186,7 +60190,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
60186
60190
|
},
|
|
60187
60191
|
};
|
|
60188
60192
|
}
|
|
60189
|
-
// version: 1.
|
|
60193
|
+
// version: 1.465.0-91ef58ca05
|
|
60190
60194
|
|
|
60191
60195
|
function findExecutableOperation(input) {
|
|
60192
60196
|
const operations = input.query.definitions.filter(
|
|
@@ -61869,7 +61873,12 @@ function buildServiceDescriptor$1(interceptors = {
|
|
|
61869
61873
|
}
|
|
61870
61874
|
const fetchArgs = cleanInit === void 0 ? [input] : [input, cleanInit];
|
|
61871
61875
|
const baseContext = interceptors.createContext?.();
|
|
61872
|
-
const
|
|
61876
|
+
const onestore = cleanInit?.onestore;
|
|
61877
|
+
const context = contextSeed === void 0 && onestore === void 0 ? baseContext : {
|
|
61878
|
+
...baseContext,
|
|
61879
|
+
...contextSeed,
|
|
61880
|
+
...onestore !== void 0 && { onestore }
|
|
61881
|
+
};
|
|
61873
61882
|
const {
|
|
61874
61883
|
request: requestInterceptors = [],
|
|
61875
61884
|
retry: retryInterceptor = void 0,
|
|
@@ -62903,4 +62912,4 @@ register({
|
|
|
62903
62912
|
});
|
|
62904
62913
|
|
|
62905
62914
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
|
|
62906
|
-
// version: 1.
|
|
62915
|
+
// version: 1.465.0-91ef58ca05
|