@salesforce/lds-adapters-service-knowledge 1.260.0 → 1.262.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
declare let updateViewStat: any;
|
|
2
|
-
export { updateViewStat
|
|
2
|
+
export { updateViewStat };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-knowledge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.262.0",
|
|
4
4
|
"description": "Knowledge family consisting of legacy features such as update view stat, knowledge topics etc",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-knowledge.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.262.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.262.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -241,21 +241,22 @@ const updateViewStatAdapterFactory = (luvio) => {
|
|
|
241
241
|
};
|
|
242
242
|
|
|
243
243
|
let updateViewStat;
|
|
244
|
+
// Notify Update Available
|
|
244
245
|
function bindExportsTo(luvio) {
|
|
246
|
+
// LDS Adapters
|
|
245
247
|
function unwrapSnapshotData(factory) {
|
|
246
248
|
const adapter = factory(luvio);
|
|
247
|
-
return (config) => adapter(config).then(snapshot => snapshot.data);
|
|
249
|
+
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
248
250
|
}
|
|
249
251
|
return {
|
|
250
252
|
updateViewStat: unwrapSnapshotData(updateViewStatAdapterFactory),
|
|
251
253
|
// Imperative GET Adapters
|
|
254
|
+
// Notify Update Availables
|
|
252
255
|
};
|
|
253
256
|
}
|
|
254
257
|
withDefaultLuvio((luvio) => {
|
|
255
|
-
({
|
|
256
|
-
updateViewStat,
|
|
257
|
-
} = bindExportsTo(luvio));
|
|
258
|
+
({ updateViewStat } = bindExportsTo(luvio));
|
|
258
259
|
});
|
|
259
260
|
|
|
260
261
|
export { updateViewStat };
|
|
261
|
-
// version: 1.
|
|
262
|
+
// version: 1.262.0-d3c071fdc
|