@pollis-inc/app 0.1.0 → 0.1.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/dist/index.d.ts +1 -1
  2. package/package.json +7 -1
package/dist/index.d.ts CHANGED
@@ -158,7 +158,7 @@ export interface Logger {
158
158
  * and no state is written.
159
159
  */
160
160
  export interface Context {
161
- /** Post a new message in a channel (by id, e.g. `message.channel`). Needs `post`. */
161
+ /** Post a new message in a granted channel, by id (e.g. `message.channel`) or by name (`"support"` or `"#support"`, any case). Needs `post`. */
162
162
  post(channel: string, text: string): Promise<void>;
163
163
  /** Reply to a message. Needs `reply`. */
164
164
  reply(to: Message | string, text: string): Promise<void>;
package/package.json CHANGED
@@ -1,8 +1,14 @@
1
1
  {
2
2
  "name": "@pollis-inc/app",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Write Pollis Apps in TypeScript: handlers, a typed context and the manifest, compiled to a sandboxed component by `pollis app build`.",
5
5
  "license": "MIT",
6
+ "homepage": "https://pollis.com/bots-developers.html",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/pollis-app/pollis.git",
10
+ "directory": "sdk/ts/app"
11
+ },
6
12
  "type": "module",
7
13
  "exports": {
8
14
  ".": {