@mr-m/telegram-webapp-kit 1.0.0 → 1.0.1

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/README.md +2 -2
  2. package/package.json +13 -3
package/README.md CHANGED
@@ -8,9 +8,9 @@ Types · Hooks · Providers · Utilities — zero dependencies beyond React.
8
8
  ## Install
9
9
 
10
10
  ```bash
11
- npm install telegram-webapp-kit
11
+ npm install @mr-m/telegram-webapp-kit
12
12
  # or
13
- pnpm add telegram-webapp-kit
13
+ pnpm add @mr-m/telegram-webapp-kit
14
14
  ```
15
15
 
16
16
  Add the Telegram script to your `layout.tsx` or `_document.tsx`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mr-m/telegram-webapp-kit",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Full-featured Telegram Web App SDK for React / Next.js — types, hooks, providers, and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -12,13 +12,23 @@
12
12
  "types": "./dist/index.d.ts"
13
13
  }
14
14
  },
15
- "files": ["dist"],
15
+ "files": [
16
+ "dist"
17
+ ],
16
18
  "scripts": {
17
19
  "build": "tsup src/index.ts --format cjs,esm --dts --external react",
18
20
  "dev": "tsup src/index.ts --format cjs,esm --dts --external react --watch",
19
21
  "lint": "tsc --noEmit"
20
22
  },
21
- "keywords": ["telegram", "telegram-web-app", "twa", "mini-app", "react", "nextjs", "hooks"],
23
+ "keywords": [
24
+ "telegram",
25
+ "telegram-web-app",
26
+ "twa",
27
+ "mini-app",
28
+ "react",
29
+ "nextjs",
30
+ "hooks"
31
+ ],
22
32
  "author": "",
23
33
  "license": "MIT",
24
34
  "peerDependencies": {