@salesforce/lds-adapters-platform-learning-content 1.261.0 → 1.262.1

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.
@@ -23,5 +23,5 @@ declare let getTextLesson_imperative: any;
23
23
  declare let notifyLearningItemProgressUpdateAvailable: any;
24
24
  declare let notifyLearningItemUpdateAvailable: any;
25
25
  declare let notifyLearningTextLessonUpdateAvailable: any;
26
- export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRelatedList, getLearningConfig, getLearningItemProgress, getLearningItemsList, getLearningModel, getLearningPractice, getLearningPracticeNotifyChange, getModule, getModuleNotifyChange, getTextLesson, getTextLessonNotifyChange, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList_imperative, getLearningConfig_imperative, getLearningItemProgress_imperative, getLearningItemsList_imperative, getLearningModel_imperative, getLearningPractice_imperative, getModule_imperative, getTextLesson_imperative };
26
+ export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRelatedList, getLearningConfig, getLearningItemProgress, getLearningItemsList, getLearningModel, getLearningPractice, getLearningPracticeNotifyChange, getModule, getModuleNotifyChange, getTextLesson, getTextLessonNotifyChange, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList_imperative, getLearningConfig_imperative, getLearningItemProgress_imperative, getLearningItemsList_imperative, getLearningModel_imperative, getLearningPractice_imperative, getModule_imperative, getTextLesson_imperative, };
27
27
  export { notifyLearningItemProgressUpdateAvailable, notifyLearningItemUpdateAvailable, notifyLearningTextLessonUpdateAvailable, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-learning-content",
3
- "version": "1.261.0",
3
+ "version": "1.262.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Learning content platform",
6
6
  "main": "dist/es/es2018/platform-learning-content.js",
@@ -35,15 +35,14 @@
35
35
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-learning-content",
36
36
  "release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-platform-learning-content",
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.261.0"
41
+ "@salesforce/lds-bindings": "^1.262.1"
43
42
  },
44
43
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.261.0",
46
- "@salesforce/lds-karma": "^1.261.0"
44
+ "@salesforce/lds-compiler-plugins": "^1.262.1",
45
+ "@salesforce/lds-karma": "^1.262.1"
47
46
  },
48
47
  "nx": {
49
48
  "targets": {
package/sfdc/index.js CHANGED
@@ -5050,15 +5050,46 @@ let getLearningModel_imperative;
5050
5050
  let getLearningPractice_imperative;
5051
5051
  let getModule_imperative;
5052
5052
  let getTextLesson_imperative;
5053
- const getFeaturedItemsRecommendedListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getFeaturedItemsRecommendedList' };
5054
- const getFeaturedItemsRelatedListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getFeaturedItemsRelatedList' };
5055
- const getLearningConfigMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningConfig' };
5056
- const getLearningItemProgressMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningItemProgress' };
5057
- const getLearningItemsListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningItemsList' };
5058
- const getLearningModelMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningModel', ttl: 15000 };
5059
- const getLearningPracticeMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningPractice', ttl: 60000 };
5060
- const getModuleMetadata = { apiFamily: 'LearningContentPlatform', name: 'getModule', ttl: 21600000 };
5061
- const getTextLessonMetadata = { apiFamily: 'LearningContentPlatform', name: 'getTextLesson', ttl: 60000 };
5053
+ const getFeaturedItemsRecommendedListMetadata = {
5054
+ apiFamily: 'LearningContentPlatform',
5055
+ name: 'getFeaturedItemsRecommendedList',
5056
+ };
5057
+ const getFeaturedItemsRelatedListMetadata = {
5058
+ apiFamily: 'LearningContentPlatform',
5059
+ name: 'getFeaturedItemsRelatedList',
5060
+ };
5061
+ const getLearningConfigMetadata = {
5062
+ apiFamily: 'LearningContentPlatform',
5063
+ name: 'getLearningConfig',
5064
+ };
5065
+ const getLearningItemProgressMetadata = {
5066
+ apiFamily: 'LearningContentPlatform',
5067
+ name: 'getLearningItemProgress',
5068
+ };
5069
+ const getLearningItemsListMetadata = {
5070
+ apiFamily: 'LearningContentPlatform',
5071
+ name: 'getLearningItemsList',
5072
+ };
5073
+ const getLearningModelMetadata = {
5074
+ apiFamily: 'LearningContentPlatform',
5075
+ name: 'getLearningModel',
5076
+ ttl: 15000,
5077
+ };
5078
+ const getLearningPracticeMetadata = {
5079
+ apiFamily: 'LearningContentPlatform',
5080
+ name: 'getLearningPractice',
5081
+ ttl: 60000,
5082
+ };
5083
+ const getModuleMetadata = {
5084
+ apiFamily: 'LearningContentPlatform',
5085
+ name: 'getModule',
5086
+ ttl: 21600000,
5087
+ };
5088
+ const getTextLessonMetadata = {
5089
+ apiFamily: 'LearningContentPlatform',
5090
+ name: 'getTextLesson',
5091
+ ttl: 60000,
5092
+ };
5062
5093
  // Notify Update Available
5063
5094
  let notifyLearningItemProgressUpdateAvailable;
5064
5095
  let notifyLearningItemUpdateAvailable;
@@ -5076,7 +5107,7 @@ function bindExportsTo(luvio) {
5076
5107
  const getTextLesson_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getTextLesson', getTextLessonAdapterFactory), getTextLessonMetadata);
5077
5108
  function unwrapSnapshotData(factory) {
5078
5109
  const adapter = factory(luvio);
5079
- return (config) => adapter(config).then(snapshot => snapshot.data);
5110
+ return (config) => adapter(config).then((snapshot) => snapshot.data);
5080
5111
  }
5081
5112
  return {
5082
5113
  evaluateLearningItem: unwrapSnapshotData(evaluateLearningItemAdapterFactory),
@@ -5105,7 +5136,7 @@ function bindExportsTo(luvio) {
5105
5136
  // Notify Update Availables
5106
5137
  notifyLearningItemProgressUpdateAvailable: createLDSAdapter(luvio, 'notifyLearningItemProgressUpdateAvailable', notifyUpdateAvailableFactory$2),
5107
5138
  notifyLearningItemUpdateAvailable: createLDSAdapter(luvio, 'notifyLearningItemUpdateAvailable', notifyUpdateAvailableFactory$1),
5108
- notifyLearningTextLessonUpdateAvailable: createLDSAdapter(luvio, 'notifyLearningTextLessonUpdateAvailable', notifyUpdateAvailableFactory)
5139
+ notifyLearningTextLessonUpdateAvailable: createLDSAdapter(luvio, 'notifyLearningTextLessonUpdateAvailable', notifyUpdateAvailableFactory),
5109
5140
  };
5110
5141
  }
5111
5142
  withDefaultLuvio((luvio) => {
@@ -5139,4 +5170,4 @@ withDefaultLuvio((luvio) => {
5139
5170
  });
5140
5171
 
5141
5172
  export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList, getFeaturedItemsRelatedList_imperative, getLearningConfig, getLearningConfig_imperative, getLearningItemProgress, getLearningItemProgress_imperative, getLearningItemsList, getLearningItemsList_imperative, getLearningModel, getLearningModel_imperative, getLearningPractice, getLearningPracticeNotifyChange, getLearningPractice_imperative, getModule, getModuleNotifyChange, getModule_imperative, getTextLesson, getTextLessonNotifyChange, getTextLesson_imperative, notifyLearningItemProgressUpdateAvailable, notifyLearningItemUpdateAvailable, notifyLearningTextLessonUpdateAvailable };
5142
- // version: 1.261.0-10ee630e7
5173
+ // version: 1.262.1-9a1924e93