@didask/scol-r 2.2.1 → 2.2.2
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/lib/SCORMAdapter.d.ts +1 -1
- package/lib/SCORMAdapter.js +7 -3
- package/package.json +1 -1
package/lib/SCORMAdapter.d.ts
CHANGED
package/lib/SCORMAdapter.js
CHANGED
|
@@ -184,9 +184,13 @@ var SCORMAdapter = /** @class */ (function () {
|
|
|
184
184
|
SCORMAdapter.prototype.LMSGetDiagnostic = function (errorCode) {
|
|
185
185
|
return this._callAPIFunction("GetDiagnostic", [errorCode]);
|
|
186
186
|
};
|
|
187
|
-
SCORMAdapter.prototype
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
Object.defineProperty(SCORMAdapter.prototype, "lastRequest", {
|
|
188
|
+
get: function () {
|
|
189
|
+
return this._lastRequest;
|
|
190
|
+
},
|
|
191
|
+
enumerable: false,
|
|
192
|
+
configurable: true
|
|
193
|
+
});
|
|
190
194
|
SCORMAdapter.prototype.getDataFromLMS = function () {
|
|
191
195
|
return this.LMSGetValue("cmi.launch_data");
|
|
192
196
|
};
|