@skip-go/widget-web-component 0.0.5 → 0.0.7

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.
Files changed (2) hide show
  1. package/build/index.d.ts +9 -0
  2. package/package.json +4 -6
@@ -0,0 +1,9 @@
1
+ declare const WEB_COMPONENT_NAME = "skip-widget";
2
+
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ [WEB_COMPONENT_NAME]: HTMLElement;
6
+ }
7
+ }
8
+
9
+ export {};
package/package.json CHANGED
@@ -1,16 +1,14 @@
1
1
  {
2
2
  "name": "@skip-go/widget-web-component",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Swap widget web component",
5
5
  "exports": {
6
6
  ".": {
7
- "import": "./build/index.js"
7
+ "import": "./build/index.js",
8
+ "types": "./build/index.d.ts"
8
9
  }
9
10
  },
10
- "types": "./types.d.ts",
11
- "scripts": {
12
- "publish": "npm publish"
13
- },
11
+ "types": "./build/types.d.ts",
14
12
  "files": [
15
13
  "build",
16
14
  "README.md"