@salesforce/lds-adapters-industries-einstein-aiaccelerator 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,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.260.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.260.0"
41
+ "@salesforce/lds-bindings": "^1.262.0"
43
42
  },
44
43
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.260.0",
46
- "@salesforce/lds-karma": "^1.260.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
@@ -3656,23 +3656,23 @@ const predictionsAdapterFactory = (luvio) => {
3656
3656
 
3657
3657
  let fetchRecommendations;
3658
3658
  let predictions;
3659
+ // Notify Update Available
3659
3660
  function bindExportsTo(luvio) {
3661
+ // LDS Adapters
3660
3662
  function unwrapSnapshotData(factory) {
3661
3663
  const adapter = factory(luvio);
3662
- return (config) => adapter(config).then(snapshot => snapshot.data);
3664
+ return (config) => adapter(config).then((snapshot) => snapshot.data);
3663
3665
  }
3664
3666
  return {
3665
3667
  fetchRecommendations: unwrapSnapshotData(fetchRecommendationsAdapterFactory),
3666
3668
  predictions: unwrapSnapshotData(predictionsAdapterFactory),
3667
3669
  // Imperative GET Adapters
3670
+ // Notify Update Availables
3668
3671
  };
3669
3672
  }
3670
3673
  withDefaultLuvio((luvio) => {
3671
- ({
3672
- fetchRecommendations,
3673
- predictions,
3674
- } = bindExportsTo(luvio));
3674
+ ({ fetchRecommendations, predictions } = bindExportsTo(luvio));
3675
3675
  });
3676
3676
 
3677
3677
  export { fetchRecommendations, predictions };
3678
- // version: 1.260.0-7a5d1675a
3678
+ // version: 1.262.0-d3c071fdc