@everymatrix/player-profile-info 1.53.12 → 1.54.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-B0DWY_Sn.cjs")).then(({default:t})=>{!customElements.get("player-profile-info")&&customElements.define("player-profile-info",t.element)})}
@@ -0,0 +1,16 @@
1
+ if (typeof window != "undefined") {
2
+ let n = function(t) {
3
+ return function(...i) {
4
+ try {
5
+ return t.apply(this, i);
6
+ } catch (e) {
7
+ if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
+ return !1;
9
+ throw e;
10
+ }
11
+ };
12
+ };
13
+ customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-Bv1LGhVO.js").then(({ default: t }) => {
14
+ !customElements.get("player-profile-info") && customElements.define("player-profile-info", t.element);
15
+ });
16
+ }
package/package.json CHANGED
@@ -1,26 +1,22 @@
1
-
2
1
  {
3
2
  "name": "@everymatrix/player-profile-info",
4
- "version": "1.53.12",
3
+ "version": "1.54.0",
5
4
  "type": "module",
6
- "main": "esnext/player-profile-info.js",
7
- "module": "esnext/player-profile-info.js",
5
+ "main": "es2015/player-profile-info.cjs",
6
+ "module": "es2015/player-profile-info.js",
8
7
  "exports": {
9
8
  ".": {
10
- "import": "./esnext/player-profile-info.js"
9
+ "import": "./es2015/player-profile-info.js",
10
+ "require": "./es2015/player-profile-info.cjs"
11
11
  },
12
- "./es2015/player-profile-info.cjs": "./es2015/player-profile-info.cjs",
13
- "./es2015/player-profile-info.js": "./es2015/player-profile-info.js"
12
+ "./es2015/player-profile-info.cjs": "./es2015/player-profile-info.cjs"
14
13
  },
15
14
  "files": [
16
- "components/",
17
15
  "es2015/",
18
- "stencil",
19
- "angular",
20
- "esnext/"
16
+ "components",
17
+ "stencil"
21
18
  ],
22
19
  "publishConfig": {
23
20
  "access": "public"
24
21
  }
25
22
  }
26
-
@@ -1,14 +0,0 @@
1
- import { P as s } from "../components/PlayerProfileInfo-BqaXiv9W.js";
2
- function r(t) {
3
- return function(...n) {
4
- try {
5
- return t.apply(this, n);
6
- } catch (e) {
7
- if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
- return !1;
9
- throw e;
10
- }
11
- };
12
- }
13
- customElements.define = r(customElements.define);
14
- !customElements.get("player-profile-info") && customElements.define("player-profile-info", s.element);