@salesforce/lds-adapters-platform-formula 1.261.0 → 1.262.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
declare let getExplanation: any;
|
|
2
|
-
export { getExplanation
|
|
2
|
+
export { getExplanation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-formula",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.262.1",
|
|
4
4
|
"description": "APIs related to core Salesforce Formulas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-formula.js",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.262.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.262.1",
|
|
47
|
+
"@salesforce/lds-karma": "^1.262.1"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -261,9 +261,10 @@ const getExplanationAdapterFactory = (luvio) => {
|
|
|
261
261
|
let getExplanation;
|
|
262
262
|
// Notify Update Available
|
|
263
263
|
function bindExportsTo(luvio) {
|
|
264
|
+
// LDS Adapters
|
|
264
265
|
function unwrapSnapshotData(factory) {
|
|
265
266
|
const adapter = factory(luvio);
|
|
266
|
-
return (config) => adapter(config).then(snapshot => snapshot.data);
|
|
267
|
+
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
267
268
|
}
|
|
268
269
|
return {
|
|
269
270
|
getExplanation: unwrapSnapshotData(getExplanationAdapterFactory),
|
|
@@ -272,10 +273,8 @@ function bindExportsTo(luvio) {
|
|
|
272
273
|
};
|
|
273
274
|
}
|
|
274
275
|
withDefaultLuvio((luvio) => {
|
|
275
|
-
({
|
|
276
|
-
getExplanation,
|
|
277
|
-
} = bindExportsTo(luvio));
|
|
276
|
+
({ getExplanation } = bindExportsTo(luvio));
|
|
278
277
|
});
|
|
279
278
|
|
|
280
279
|
export { getExplanation };
|
|
281
|
-
// version: 1.
|
|
280
|
+
// version: 1.262.1-9a1924e93
|