@digipair/skill-web-interact 0.10.16 → 0.10.17

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/index.cjs.js CHANGED
@@ -35,13 +35,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
35
35
  const element = document.querySelector(selector);
36
36
  return element[name](...args);
37
37
  }
38
- async goTo(_params, _pinsSettingsList, _context) {
39
- window.location.reload();
40
- }
41
- async reload(params, _pinsSettingsList, _context) {
38
+ async goTo(params, _pinsSettingsList, _context) {
42
39
  const { url, target = '_self' } = params;
43
40
  window.open(url, target);
44
41
  }
42
+ async reload(_params, _pinsSettingsList, _context) {
43
+ window.location.reload();
44
+ }
45
45
  };
46
46
  const setAttribute = (params, pinsSettingsList, context)=>new DomService().setAttribute(params, pinsSettingsList, context);
47
47
  const getAttribute = (params, pinsSettingsList, context)=>new DomService().getAttribute(params, pinsSettingsList, context);
package/index.esm.js CHANGED
@@ -31,13 +31,13 @@
31
31
  const element = document.querySelector(selector);
32
32
  return element[name](...args);
33
33
  }
34
- async goTo(_params, _pinsSettingsList, _context) {
35
- window.location.reload();
36
- }
37
- async reload(params, _pinsSettingsList, _context) {
34
+ async goTo(params, _pinsSettingsList, _context) {
38
35
  const { url, target = '_self' } = params;
39
36
  window.open(url, target);
40
37
  }
38
+ async reload(_params, _pinsSettingsList, _context) {
39
+ window.location.reload();
40
+ }
41
41
  };
42
42
  const setAttribute = (params, pinsSettingsList, context)=>new DomService().setAttribute(params, pinsSettingsList, context);
43
43
  const getAttribute = (params, pinsSettingsList, context)=>new DomService().getAttribute(params, pinsSettingsList, context);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-interact",
3
- "version": "0.10.16",
3
+ "version": "0.10.17",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"