@salesforce/lds-adapters-platform-enablement 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.
@@ -11,5 +11,5 @@ declare let getEnablementProgramSummary_imperative: any;
11
11
  declare let getProgramSummaryCollection_imperative: any;
12
12
  declare let getProgramSummaryCollectionForCommunity_imperative: any;
13
13
  declare let notifyEnablementProgramSummaryUpdateAvailable: any;
14
- export { getAssignedEnablementProgramSummary, getAssignedEnablementProgramSummaryForCommunity, getEnablementProgramSummary, getProgramSummaryCollection, getProgramSummaryCollectionForCommunity, selfEnrollInEnablementProgram, unenrollFromEnablementProgram, getAssignedEnablementProgramSummary_imperative, getAssignedEnablementProgramSummaryForCommunity_imperative, getEnablementProgramSummary_imperative, getProgramSummaryCollection_imperative, getProgramSummaryCollectionForCommunity_imperative };
15
- export { notifyEnablementProgramSummaryUpdateAvailable, };
14
+ export { getAssignedEnablementProgramSummary, getAssignedEnablementProgramSummaryForCommunity, getEnablementProgramSummary, getProgramSummaryCollection, getProgramSummaryCollectionForCommunity, selfEnrollInEnablementProgram, unenrollFromEnablementProgram, getAssignedEnablementProgramSummary_imperative, getAssignedEnablementProgramSummaryForCommunity_imperative, getEnablementProgramSummary_imperative, getProgramSummaryCollection_imperative, getProgramSummaryCollectionForCommunity_imperative, };
15
+ export { notifyEnablementProgramSummaryUpdateAvailable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-enablement",
3
- "version": "1.261.0",
3
+ "version": "1.262.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for enablement APIs",
6
6
  "main": "dist/es/es2018/platform-enablement.js",
@@ -41,15 +41,14 @@
41
41
  "release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-platform-enablement",
42
42
  "start": "nx build:karma && karma start",
43
43
  "test": "nx build:karma && karma start --single-run",
44
- "test:compat": "nx build:karma && karma start --single-run --compat",
45
44
  "test:unit": "jest"
46
45
  },
47
46
  "dependencies": {
48
- "@salesforce/lds-bindings": "^1.261.0"
47
+ "@salesforce/lds-bindings": "^1.262.0"
49
48
  },
50
49
  "devDependencies": {
51
- "@salesforce/lds-compiler-plugins": "^1.261.0",
52
- "@salesforce/lds-karma": "^1.261.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.262.0",
51
+ "@salesforce/lds-karma": "^1.262.0"
53
52
  },
54
53
  "nx": {
55
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -2075,11 +2075,27 @@ let getEnablementProgramSummary_imperative;
2075
2075
  let getProgramSummaryCollection_imperative;
2076
2076
  let getProgramSummaryCollectionForCommunity_imperative;
2077
2077
  // Adapter Metadata
2078
- const getAssignedEnablementProgramSummaryMetadata = { apiFamily: 'enablement', name: 'getAssignedEnablementProgramSummary' };
2079
- const getAssignedEnablementProgramSummaryForCommunityMetadata = { apiFamily: 'enablement', name: 'getAssignedEnablementProgramSummaryForCommunity' };
2080
- const getEnablementProgramSummaryMetadata = { apiFamily: 'enablement', name: 'getEnablementProgramSummary', ttl: 15000 };
2081
- const getProgramSummaryCollectionMetadata = { apiFamily: 'enablement', name: 'getProgramSummaryCollection' };
2082
- const getProgramSummaryCollectionForCommunityMetadata = { apiFamily: 'enablement', name: 'getProgramSummaryCollectionForCommunity' };
2078
+ const getAssignedEnablementProgramSummaryMetadata = {
2079
+ apiFamily: 'enablement',
2080
+ name: 'getAssignedEnablementProgramSummary',
2081
+ };
2082
+ const getAssignedEnablementProgramSummaryForCommunityMetadata = {
2083
+ apiFamily: 'enablement',
2084
+ name: 'getAssignedEnablementProgramSummaryForCommunity',
2085
+ };
2086
+ const getEnablementProgramSummaryMetadata = {
2087
+ apiFamily: 'enablement',
2088
+ name: 'getEnablementProgramSummary',
2089
+ ttl: 15000,
2090
+ };
2091
+ const getProgramSummaryCollectionMetadata = {
2092
+ apiFamily: 'enablement',
2093
+ name: 'getProgramSummaryCollection',
2094
+ };
2095
+ const getProgramSummaryCollectionForCommunityMetadata = {
2096
+ apiFamily: 'enablement',
2097
+ name: 'getProgramSummaryCollectionForCommunity',
2098
+ };
2083
2099
  // Notify Update Available
2084
2100
  let notifyEnablementProgramSummaryUpdateAvailable;
2085
2101
  function bindExportsTo(luvio) {
@@ -2091,7 +2107,7 @@ function bindExportsTo(luvio) {
2091
2107
  const getProgramSummaryCollectionForCommunity_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getProgramSummaryCollectionForCommunity', getProgramSummaryCollectionForCommunityAdapterFactory), getProgramSummaryCollectionForCommunityMetadata);
2092
2108
  function unwrapSnapshotData(factory) {
2093
2109
  const adapter = factory(luvio);
2094
- return (config) => adapter(config).then(snapshot => snapshot.data);
2110
+ return (config) => adapter(config).then((snapshot) => snapshot.data);
2095
2111
  }
2096
2112
  return {
2097
2113
  getAssignedEnablementProgramSummary: createWireAdapterConstructor(luvio, getAssignedEnablementProgramSummary_ldsAdapter, getAssignedEnablementProgramSummaryMetadata),
@@ -2108,7 +2124,7 @@ function bindExportsTo(luvio) {
2108
2124
  getProgramSummaryCollection_imperative: createImperativeAdapter(luvio, getProgramSummaryCollection_ldsAdapter, getProgramSummaryCollectionMetadata),
2109
2125
  getProgramSummaryCollectionForCommunity_imperative: createImperativeAdapter(luvio, getProgramSummaryCollectionForCommunity_ldsAdapter, getProgramSummaryCollectionForCommunityMetadata),
2110
2126
  // Notify Update Availables
2111
- notifyEnablementProgramSummaryUpdateAvailable: createLDSAdapter(luvio, 'notifyEnablementProgramSummaryUpdateAvailable', notifyUpdateAvailableFactory)
2127
+ notifyEnablementProgramSummaryUpdateAvailable: createLDSAdapter(luvio, 'notifyEnablementProgramSummaryUpdateAvailable', notifyUpdateAvailableFactory),
2112
2128
  };
2113
2129
  }
2114
2130
  withDefaultLuvio((luvio) => {
@@ -2130,4 +2146,4 @@ withDefaultLuvio((luvio) => {
2130
2146
  });
2131
2147
 
2132
2148
  export { getAssignedEnablementProgramSummary, getAssignedEnablementProgramSummaryForCommunity, getAssignedEnablementProgramSummaryForCommunity_imperative, getAssignedEnablementProgramSummary_imperative, getEnablementProgramSummary, getEnablementProgramSummary_imperative, getProgramSummaryCollection, getProgramSummaryCollectionForCommunity, getProgramSummaryCollectionForCommunity_imperative, getProgramSummaryCollection_imperative, notifyEnablementProgramSummaryUpdateAvailable, selfEnrollInEnablementProgram, unenrollFromEnablementProgram };
2133
- // version: 1.261.0-10ee630e7
2149
+ // version: 1.262.0-d3c071fdc