@salesforce/lds-adapters-industries-sustainability-reference-data-v2 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.
Files changed (2) hide show
  1. package/package.json +5 -6
  2. package/sfdc/index.js +11 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-sustainability-reference-data-v2",
3
- "version": "1.260.0",
3
+ "version": "1.262.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "sustainability-reference-data-v2",
6
6
  "main": "dist/es/es2018/industries-sustainability-reference-data-v2.js",
@@ -39,15 +39,14 @@
39
39
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-sustainability-reference-data-v2",
40
40
  "release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-industries-sustainability-reference-data-v2",
41
41
  "start": "nx build:karma && karma start",
42
- "test": "nx build:karma && karma start --single-run",
43
- "test:compat": "nx build:karma && karma start --single-run --compat"
42
+ "test": "nx build:karma && karma start --single-run"
44
43
  },
45
44
  "dependencies": {
46
- "@salesforce/lds-bindings": "^1.260.0"
45
+ "@salesforce/lds-bindings": "^1.262.0"
47
46
  },
48
47
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "^1.260.0",
50
- "@salesforce/lds-karma": "^1.260.0"
48
+ "@salesforce/lds-compiler-plugins": "^1.262.0",
49
+ "@salesforce/lds-karma": "^1.262.0"
51
50
  },
52
51
  "nx": {
53
52
  "targets": {
package/sfdc/index.js CHANGED
@@ -648,28 +648,30 @@ let uploadEntityVersion;
648
648
  // Imperative GET Adapters
649
649
  let getEntityVersion_imperative;
650
650
  // Adapter Metadata
651
- const getEntityVersionMetadata = { apiFamily: 'sustainabilityreference-data-v2', name: 'getEntityVersion', ttl: 300 };
651
+ const getEntityVersionMetadata = {
652
+ apiFamily: 'sustainabilityreference-data-v2',
653
+ name: 'getEntityVersion',
654
+ ttl: 300,
655
+ };
656
+ // Notify Update Available
652
657
  function bindExportsTo(luvio) {
653
658
  // LDS Adapters
654
659
  const getEntityVersion_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getEntityVersion', getEntityVersionAdapterFactory), getEntityVersionMetadata);
655
660
  function unwrapSnapshotData(factory) {
656
661
  const adapter = factory(luvio);
657
- return (config) => adapter(config).then(snapshot => snapshot.data);
662
+ return (config) => adapter(config).then((snapshot) => snapshot.data);
658
663
  }
659
664
  return {
660
665
  getEntityVersion: createWireAdapterConstructor(luvio, getEntityVersion_ldsAdapter, getEntityVersionMetadata),
661
666
  uploadEntityVersion: unwrapSnapshotData(uploadEntityVersionAdapterFactory),
662
667
  // Imperative GET Adapters
663
- getEntityVersion_imperative: createImperativeAdapter(luvio, getEntityVersion_ldsAdapter, getEntityVersionMetadata)
668
+ getEntityVersion_imperative: createImperativeAdapter(luvio, getEntityVersion_ldsAdapter, getEntityVersionMetadata),
669
+ // Notify Update Availables
664
670
  };
665
671
  }
666
672
  withDefaultLuvio((luvio) => {
667
- ({
668
- getEntityVersion,
669
- uploadEntityVersion,
670
- getEntityVersion_imperative
671
- } = bindExportsTo(luvio));
673
+ ({ getEntityVersion, uploadEntityVersion, getEntityVersion_imperative } = bindExportsTo(luvio));
672
674
  });
673
675
 
674
676
  export { getEntityVersion, getEntityVersion_imperative, uploadEntityVersion };
675
- // version: 1.260.0-7a5d1675a
677
+ // version: 1.262.0-d3c071fdc