@salesforce/lds-adapters-industries-einstein-aiaccelerator 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,3 +1,3 @@
1
1
  declare let fetchRecommendations: any;
2
2
  declare let predictions: any;
3
- export { fetchRecommendations, predictions, };
3
+ export { fetchRecommendations, predictions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-einstein-aiaccelerator",
3
- "version": "1.261.0",
3
+ "version": "1.262.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "AI Accelerator Connect API to make predictions",
6
6
  "main": "dist/es/es2018/industries-einstein-aiaccelerator.js",
@@ -35,15 +35,14 @@
35
35
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-einstein-aiaccelerator",
36
36
  "release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-industries-einstein-aiaccelerator",
37
37
  "start": "nx build:karma && karma start",
38
- "test": "nx build:karma && karma start --single-run",
39
- "test:compat": "nx build:karma && karma start --single-run --compat"
38
+ "test": "nx build:karma && karma start --single-run"
40
39
  },
41
40
  "dependencies": {
42
- "@salesforce/lds-bindings": "^1.261.0"
41
+ "@salesforce/lds-bindings": "^1.262.0"
43
42
  },
44
43
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.261.0",
46
- "@salesforce/lds-karma": "^1.261.0"
44
+ "@salesforce/lds-compiler-plugins": "^1.262.0",
45
+ "@salesforce/lds-karma": "^1.262.0"
47
46
  },
48
47
  "nx": {
49
48
  "targets": {
package/sfdc/index.js CHANGED
@@ -3658,9 +3658,10 @@ let fetchRecommendations;
3658
3658
  let predictions;
3659
3659
  // Notify Update Available
3660
3660
  function bindExportsTo(luvio) {
3661
+ // LDS Adapters
3661
3662
  function unwrapSnapshotData(factory) {
3662
3663
  const adapter = factory(luvio);
3663
- return (config) => adapter(config).then(snapshot => snapshot.data);
3664
+ return (config) => adapter(config).then((snapshot) => snapshot.data);
3664
3665
  }
3665
3666
  return {
3666
3667
  fetchRecommendations: unwrapSnapshotData(fetchRecommendationsAdapterFactory),
@@ -3670,11 +3671,8 @@ function bindExportsTo(luvio) {
3670
3671
  };
3671
3672
  }
3672
3673
  withDefaultLuvio((luvio) => {
3673
- ({
3674
- fetchRecommendations,
3675
- predictions,
3676
- } = bindExportsTo(luvio));
3674
+ ({ fetchRecommendations, predictions } = bindExportsTo(luvio));
3677
3675
  });
3678
3676
 
3679
3677
  export { fetchRecommendations, predictions };
3680
- // version: 1.261.0-10ee630e7
3678
+ // version: 1.262.0-d3c071fdc