gramio 0.11.0 → 0.12.0

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/dist/rich.cjs ADDED
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var rich = require('@gramio/format/rich');
4
+
5
+
6
+
7
+ Object.keys(rich).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return rich[k]; }
11
+ });
12
+ });
@@ -0,0 +1 @@
1
+ export * from '@gramio/format/rich';
package/dist/rich.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@gramio/format/rich';
package/dist/rich.js ADDED
@@ -0,0 +1 @@
1
+ export * from '@gramio/format/rich';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gramio",
3
3
  "type": "module",
4
- "version": "0.11.0",
4
+ "version": "0.12.0",
5
5
  "description": "Powerful, extensible and really type-safe Telegram Bot API framework",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -26,6 +26,16 @@
26
26
  "types": "./dist/utils.d.cts",
27
27
  "default": "./dist/utils.cjs"
28
28
  }
29
+ },
30
+ "./rich": {
31
+ "import": {
32
+ "types": "./dist/rich.d.ts",
33
+ "default": "./dist/rich.js"
34
+ },
35
+ "require": {
36
+ "types": "./dist/rich.d.cts",
37
+ "default": "./dist/rich.cjs"
38
+ }
29
39
  }
30
40
  },
31
41
  "keywords": [
@@ -66,11 +76,11 @@
66
76
  "dependencies": {
67
77
  "@gramio/callback-data": "^0.1.0",
68
78
  "@gramio/composer": "^0.5.0",
69
- "@gramio/contexts": "^0.8.0",
79
+ "@gramio/contexts": "^0.9.0",
70
80
  "@gramio/files": "^0.6.1",
71
- "@gramio/format": "^0.8.0",
81
+ "@gramio/format": "^0.9.0",
72
82
  "@gramio/keyboards": "^1.4.0",
73
- "@gramio/types": "^10.0.0",
83
+ "@gramio/types": "^10.1.0",
74
84
  "debug": "^4.4.3"
75
85
  },
76
86
  "files": [