@salesforce/lds-adapters-marketing-assetcreation 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.
|
@@ -3,4 +3,4 @@ declare let getStarterTemplateById: any;
|
|
|
3
3
|
declare let getStarterTemplates: any;
|
|
4
4
|
declare let getStarterTemplateById_imperative: any;
|
|
5
5
|
declare let getStarterTemplates_imperative: any;
|
|
6
|
-
export { createAsset, getStarterTemplateById, getStarterTemplates, getStarterTemplateById_imperative, getStarterTemplates_imperative };
|
|
6
|
+
export { createAsset, getStarterTemplateById, getStarterTemplates, getStarterTemplateById_imperative, getStarterTemplates_imperative, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-marketing-assetcreation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.262.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs to create assets based on templates",
|
|
6
6
|
"main": "dist/es/es2018/marketing-assetcreation.js",
|
|
@@ -35,15 +35,14 @@
|
|
|
35
35
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-marketing-assetcreation",
|
|
36
36
|
"release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-marketing-assetcreation",
|
|
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.
|
|
41
|
+
"@salesforce/lds-bindings": "^1.262.0"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
-
"@salesforce/lds-karma": "^1.
|
|
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
|
@@ -902,8 +902,16 @@ let getStarterTemplates;
|
|
|
902
902
|
// Imperative GET Adapters
|
|
903
903
|
let getStarterTemplateById_imperative;
|
|
904
904
|
let getStarterTemplates_imperative;
|
|
905
|
-
const getStarterTemplateByIdMetadata = {
|
|
906
|
-
|
|
905
|
+
const getStarterTemplateByIdMetadata = {
|
|
906
|
+
apiFamily: 'assetcreation',
|
|
907
|
+
name: 'getStarterTemplateById',
|
|
908
|
+
ttl: 1000,
|
|
909
|
+
};
|
|
910
|
+
const getStarterTemplatesMetadata = {
|
|
911
|
+
apiFamily: 'assetcreation',
|
|
912
|
+
name: 'getStarterTemplates',
|
|
913
|
+
ttl: 3000,
|
|
914
|
+
};
|
|
907
915
|
// Notify Update Available
|
|
908
916
|
function bindExportsTo(luvio) {
|
|
909
917
|
// LDS Adapters
|
|
@@ -911,7 +919,7 @@ function bindExportsTo(luvio) {
|
|
|
911
919
|
const getStarterTemplates_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getStarterTemplates', getStarterTemplatesAdapterFactory), getStarterTemplatesMetadata);
|
|
912
920
|
function unwrapSnapshotData(factory) {
|
|
913
921
|
const adapter = factory(luvio);
|
|
914
|
-
return (config) => adapter(config).then(snapshot => snapshot.data);
|
|
922
|
+
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
915
923
|
}
|
|
916
924
|
return {
|
|
917
925
|
createAsset: unwrapSnapshotData(createAssetAdapterFactory),
|
|
@@ -934,4 +942,4 @@ withDefaultLuvio((luvio) => {
|
|
|
934
942
|
});
|
|
935
943
|
|
|
936
944
|
export { createAsset, getStarterTemplateById, getStarterTemplateById_imperative, getStarterTemplates, getStarterTemplates_imperative };
|
|
937
|
-
// version: 1.
|
|
945
|
+
// version: 1.262.0-d3c071fdc
|