qcobjects-sdk 2.4.35 → 2.4.38

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/-m ADDED
@@ -0,0 +1 @@
1
+ 0.0.2
package/.eslintignore CHANGED
@@ -1,4 +1,5 @@
1
1
  build
2
2
  dist
3
3
  public
4
- src/**/*.d.ts
4
+ src/**/*.d.ts
5
+ src/*.js
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.35
1
+ 2.4.38
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects-sdk",
3
- "version": "2.4.35",
3
+ "version": "2.4.38",
4
4
  "description": "QCObjects SDK is a set of Controllers, Views and Components that are elementary and useful to assist developers to build applications under MVC patterns using QCObjects, Cross Browser Javascript Framework for MVC Patterns",
5
5
  "main": "src/index.cjs",
6
6
  "module": "src/index.mjs",
@@ -24,7 +24,23 @@
24
24
  */
25
25
  (function __qcobjects_sdk__ (_top) {
26
26
  "use strict";
27
- if (typeof __qcobjects_sdk__.__loaded__ === "undefined"){
27
+ if (typeof Object.defineProperty !== "undefined" && typeof _top !== "undefined"){
28
+ try {
29
+ Object.defineProperty(_top,"__qcobjects_sdk__", {
30
+ enumerable: true,
31
+ configurable: false,
32
+ writable: false,
33
+ value: __qcobjects_sdk__,
34
+ });
35
+ } catch (e){
36
+ if (typeof _top.__qcobjects_sdk__ !== "undefined"){
37
+ _top.__qcobjects_sdk__.__loaded__ = true;
38
+ }
39
+ }
40
+ }
41
+
42
+ if (typeof _top.__qcobjects_sdk__.__loaded__ === "undefined"){
43
+ _top.__qcobjects_sdk__.__loaded__ = true;
28
44
  if (typeof _top === "undefined"){
29
45
  throw Error("Top context empty: It should either global, module or window");
30
46
  }
@@ -37,7 +53,7 @@
37
53
  if (external) {
38
54
  CONFIG.set("remoteImportsPath", "https://sdk.qcobjects.dev/v2.4/js/");
39
55
  } else {
40
- CONFIG.set("relativeImportPath", "qcobjects-sdk/src/js/");
56
+ CONFIG.set("relativeImportPath", "qcobjects-sdk/js/");
41
57
  }
42
58
  if (typeof _top._DOMCreateElement === "undefined") {
43
59
  _top._DOMCreateElement = function (elementName) {