Skip to content

Commit

Permalink
DocWorks for js-wixcode-sdk - 1 change detected, but 15 issue detected
Browse files Browse the repository at this point in the history
changes:
Service wix-window-frontend operation postMessage has changed description

issues:
Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8))
Operation postMessage has an unknown param type * (HtmlComponent.js (97))
Property data has an unknown type * (HtmlComponentMessageEvent.js (16))
Property fileLimit has mismatching types for get (number) and set (string) (UploadButton.js (128, 149))
Operation set has an unknown param type * (window-frontend.js (201))
Operation get has an unknown return type * (window-frontend.js (234))
Operation set has an unknown param type * (window.js (235))
Operation get has an unknown return type * (window.js (269))
Callback ViewChangeOperation is defined two or more times (AppointmentField.js (347), DatePicker.js (471))
Callback ViewChangeOperation has an unknown return type * (AppointmentField.js (347))
Callback ViewChangeEventHandler is defined two or more times (AppointmentField.js (362), DatePicker.js (465))
Callback Validator has an unknown param type * (ValidatableMixin.js (143))
Property value has an unknown type * (ValueMixin.js (62))
Property value has an unknown type * (ValueMixin.js (89))
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
  • Loading branch information
AriGoldWix committed Oct 19, 2023
1 parent df9efd8 commit d72c7b6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
6 changes: 2 additions & 4 deletions js-wixcode-sdk/$w.service.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ "name": "$w",
"mixes": [],
"labels":
[ "changed" ],
"labels": [],
"location":
{ "lineno": 1,
"filename": "wixCode.js" },
Expand Down Expand Up @@ -157,8 +156,7 @@
"extra":
{ } },
{ "name": "onReady",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params":
[ { "name": "initFunction",
Expand Down
9 changes: 3 additions & 6 deletions js-wixcode-sdk/$w/Repeater.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
[ "$w.Element",
"$w.HiddenCollapsedMixin",
"$w.EffectsMixin" ],
"labels":
[ "changed" ],
"labels": [],
"location":
{ "lineno": 1,
"filename": "Repeater.js" },
Expand Down Expand Up @@ -531,8 +530,7 @@
{ } } ],
"operations":
[ { "name": "forEachItem",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params":
[ { "name": "callback",
Expand Down Expand Up @@ -618,8 +616,7 @@
"extra":
{ } },
{ "name": "forItems",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params":
[ { "name": "itemIds",
Expand Down
8 changes: 5 additions & 3 deletions js-wixcode-sdk/wix-window-frontend.service.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ "name": "wix-window-frontend",
"mixes": [],
"labels": [],
"labels":
[ "changed" ],
"location":
{ "lineno": 1,
"filename": "window-frontend.js" },
Expand Down Expand Up @@ -825,7 +826,8 @@
"extra":
{ } },
{ "name": "postMessage",
"labels": [],
"labels":
[ "changed" ],
"nameParams": [],
"params":
[ { "name": "message",
Expand Down Expand Up @@ -855,7 +857,7 @@
" When the parent site is a Wix site, use the [`onMessage()`]($w.HtmlComponent.html#onMessage)",
" function to receive the message on the parent page.",
"",
" When the parent site is a non-Wix site, use the page's `window.onmessage`",
" When the parent site is a non-Wix site, use the page's `window.onMessage`",
" event handler to read the `data` property of the received `MessageEvent`",
" to receive the message on the parent page." ],
"links": [],
Expand Down

0 comments on commit d72c7b6

Please sign in to comment.