Skip to content

Commit

Permalink
upgrade sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmachuca committed May 6, 2023
1 parent 4598dce commit 6b05639
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 42 deletions.
66 changes: 33 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"peerDependencies": {
"@types/qcobjects": "github:QCObjects/-types-qcobjects",
"@types/qcobjects-sdk": "github:QCObjects/-types-qcobjects-sdk",
"qcobjects-sdk": "^2.4.38"
"qcobjects-sdk": "^2.4.49"
},
"engines": {
"npm": ">=9",
Expand Down
38 changes: 30 additions & 8 deletions src/QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@
_config_settings._CONFIG = {
"relativeImportPath": "",
"remoteImportsPath": "",
"remoteSDKPath": "https://sdk.qcobjects.dev/v2.4/",
"remoteSDKPath": "https://sdk.qcobjects.dev/v2.4/src/",
"asynchronousImportsLoad": false,
"removePackageScriptAfterLoading": true,
"componentsBasePath": "",
Expand Down Expand Up @@ -2168,13 +2168,35 @@
_body=_DOMCreateElement("div"),
__promise__= null,
__shadowRoot,
body,
shadowRoot,
splashScreenComponent,
controller,
view
body,
shadowRoot,
splashScreenComponent,
controller,
view
}){
super(...arguments);
if (arguments.length<1){
throw Error(`No arguments in component. You must at least give one argument.`);
}
super({
templateURI,
template,
tplsource,
url,
name,
method,
data,
reload,
shadowed,
cached,
_body,
__promise__,
__shadowRoot,
body,
shadowRoot,
splashScreenComponent,
controller,
view
});
var self = this;

if (typeof self.name === "undefined") {
Expand Down Expand Up @@ -4602,7 +4624,7 @@
componentRoot.style.display = "block";
_transition_.effects.map(function (effectClassName, eff) {
var __effectClass__ = ClassFactory(effectClassName);
var effectObj = new __effectClass__();
var effectObj = new __effectClass__({});
var effectClassMethod = effectObj.apply;
var args = [componentRoot].concat(Object.values({
alphaFrom,
Expand Down

0 comments on commit 6b05639

Please sign in to comment.