@raven_app/raven.js 0.0.0-stage → 1.0.2

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/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026 andre5338
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,33 @@
1
- # Temporary Holding Version
1
+ # @raven_app/raven.js
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ SDK for building Raven bots on [ravenapp.xyz](https://ravenapp.xyz) — REST (`/api/v1`) + live gateway, with polling fallback.
4
+
5
+ Docs: **https://docs.ravenapp.xyz**
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @raven_app/raven.js
11
+ ```
12
+
13
+ Requires Node `>=18` and a bot token (`rvb_...`).
14
+
15
+ ## Quickstart
16
+
17
+ ```js
18
+ import { RavenBot } from "@raven_app/raven.js"
19
+
20
+ const bot = new RavenBot({ token: "rvb_..." })
21
+ bot.command("ping", (ctx) => ctx.reply("pong"))
22
+ await bot.start()
23
+ ```
24
+
25
+ CJS: `const { RavenBot } = require("@raven_app/raven.js")`
26
+
27
+ ## Docs & examples
28
+
29
+ Full guides, API reference and gateway/commands/errors docs live at **https://docs.ravenapp.xyz**.
30
+
31
+ ## License
32
+
33
+ ISC