@salesforce/lds-adapters-industries-sustainability-reference-data-v2 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.
- package/package.json +5 -6
- package/sfdc/index.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-sustainability-reference-data-v2",
|
|
3
|
-
"version": "1.
|
|
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.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.262.0"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
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,14 +648,18 @@ let uploadEntityVersion;
|
|
|
648
648
|
// Imperative GET Adapters
|
|
649
649
|
let getEntityVersion_imperative;
|
|
650
650
|
// Adapter Metadata
|
|
651
|
-
const getEntityVersionMetadata = {
|
|
651
|
+
const getEntityVersionMetadata = {
|
|
652
|
+
apiFamily: 'sustainabilityreference-data-v2',
|
|
653
|
+
name: 'getEntityVersion',
|
|
654
|
+
ttl: 300,
|
|
655
|
+
};
|
|
652
656
|
// Notify Update Available
|
|
653
657
|
function bindExportsTo(luvio) {
|
|
654
658
|
// LDS Adapters
|
|
655
659
|
const getEntityVersion_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getEntityVersion', getEntityVersionAdapterFactory), getEntityVersionMetadata);
|
|
656
660
|
function unwrapSnapshotData(factory) {
|
|
657
661
|
const adapter = factory(luvio);
|
|
658
|
-
return (config) => adapter(config).then(snapshot => snapshot.data);
|
|
662
|
+
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
659
663
|
}
|
|
660
664
|
return {
|
|
661
665
|
getEntityVersion: createWireAdapterConstructor(luvio, getEntityVersion_ldsAdapter, getEntityVersionMetadata),
|
|
@@ -666,12 +670,8 @@ function bindExportsTo(luvio) {
|
|
|
666
670
|
};
|
|
667
671
|
}
|
|
668
672
|
withDefaultLuvio((luvio) => {
|
|
669
|
-
({
|
|
670
|
-
getEntityVersion,
|
|
671
|
-
uploadEntityVersion,
|
|
672
|
-
getEntityVersion_imperative,
|
|
673
|
-
} = bindExportsTo(luvio));
|
|
673
|
+
({ getEntityVersion, uploadEntityVersion, getEntityVersion_imperative } = bindExportsTo(luvio));
|
|
674
674
|
});
|
|
675
675
|
|
|
676
676
|
export { getEntityVersion, getEntityVersion_imperative, uploadEntityVersion };
|
|
677
|
-
// version: 1.
|
|
677
|
+
// version: 1.262.0-d3c071fdc
|