@salesforce/lds-adapters-service-knowledge 1.261.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.261.0",
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.261.0"
43
+ "@salesforce/lds-bindings": "^1.262.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.261.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.262.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -243,9 +243,10 @@ const updateViewStatAdapterFactory = (luvio) => {
243
243
  let updateViewStat;
244
244
  // Notify Update Available
245
245
  function bindExportsTo(luvio) {
246
+ // LDS Adapters
246
247
  function unwrapSnapshotData(factory) {
247
248
  const adapter = factory(luvio);
248
- return (config) => adapter(config).then(snapshot => snapshot.data);
249
+ return (config) => adapter(config).then((snapshot) => snapshot.data);
249
250
  }
250
251
  return {
251
252
  updateViewStat: unwrapSnapshotData(updateViewStatAdapterFactory),
@@ -254,10 +255,8 @@ function bindExportsTo(luvio) {
254
255
  };
255
256
  }
256
257
  withDefaultLuvio((luvio) => {
257
- ({
258
- updateViewStat,
259
- } = bindExportsTo(luvio));
258
+ ({ updateViewStat } = bindExportsTo(luvio));
260
259
  });
261
260
 
262
261
  export { updateViewStat };
263
- // version: 1.261.0-10ee630e7
262
+ // version: 1.262.0-d3c071fdc