@cybermp-community/browser-types 1.0.5 → 1.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.
package/README.md CHANGED
@@ -6,8 +6,6 @@ These types allow for robust communication between the UI and the client, as wel
6
6
 
7
7
  ## 📦 Installation
8
8
 
9
- ### 1. Install Package
10
-
11
9
  Using NPM:
12
10
 
13
11
  ```bash
@@ -26,18 +24,6 @@ Using Bun:
26
24
  bun add -d @cybermp-community/browser-types
27
25
  ```
28
26
 
29
- ### 2. Set types in tsconfig.json
30
-
31
- ```json
32
- {
33
- "compilerOptions": {
34
- "types": [
35
- "@cybermp-community/browser-types"
36
- ]
37
- }
38
- }
39
- ```
40
-
41
27
  ## 📜 Disclaimer
42
28
 
43
29
  This repository is developed by [CyberMP Community Developers](https://gitlab.com/cybermp) and is not directly related to CyberMP (cyber.mp).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybermp-community/browser-types",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "TypeScript type definitions for the CyberMP browser environment (CEF).",
5
5
  "license": "CC BY-SA 4.0",
6
6
  "author": {
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "repository": {
14
14
  "type": "gitlab",
15
- "url": "https://gitlab.com/cybermp/types/browser"
15
+ "url": "git+https://gitlab.com/cybermp/types/browser.git"
16
16
  },
17
17
  "publishConfig": {
18
18
  "access": "public"
package/src/index.ts CHANGED
@@ -1 +1 @@
1
- export * from "./mp"
1
+ export * from './mp';
package/src/mp.d.ts CHANGED
@@ -25,4 +25,4 @@ export interface MpBrowser {
25
25
  events: MpEvents;
26
26
  }
27
27
 
28
- export const mp: MpBrowser;
28
+ export declare const mp: MpBrowser;