@sockethub/platform-irc 4.0.0-alpha.12 → 4.0.0-alpha.13

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.
@@ -1,2 +0,0 @@
1
- declare const buildCommand: (input: string) => string;
2
- export default buildCommand;
package/src/octal-hack.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = (content) => {
2
- // biome-ignore lint/style/useTemplate: IRC ACTION wrapper expects raw concatenation
3
- return "\x01ACTION " + content + "\x01";
4
- };
package/src/schema.ts DELETED
@@ -1,70 +0,0 @@
1
- import packageJson from "../package.json" with { type: "json" };
2
-
3
- const version = packageJson.version;
4
-
5
- export const PlatformIrcSchema = {
6
- name: "irc",
7
- version: version,
8
- contextUrl: "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
9
- contextVersion: "1",
10
- schemaVersion: "1",
11
- messages: {
12
- required: ["type"],
13
- properties: {
14
- type: {
15
- enum: [
16
- "connect",
17
- "update",
18
- "join",
19
- "leave",
20
- "send",
21
- "query",
22
- "announce",
23
- "disconnect",
24
- ],
25
- },
26
- },
27
- },
28
- credentials: {
29
- required: ["object"],
30
- properties: {
31
- // TODO platforms shouldn't have to define the actor property
32
- // if they don't want to, just credential specifics
33
- actor: {
34
- type: "object",
35
- required: ["id"],
36
- },
37
- object: {
38
- type: "object",
39
- required: ["type", "nick", "server"],
40
- additionalProperties: false,
41
- properties: {
42
- type: {
43
- type: "string",
44
- },
45
- nick: {
46
- type: "string",
47
- },
48
- username: {
49
- type: "string",
50
- },
51
- password: {
52
- type: "string",
53
- },
54
- server: {
55
- type: "string",
56
- },
57
- port: {
58
- type: "number",
59
- },
60
- secure: {
61
- type: "boolean",
62
- },
63
- sasl: {
64
- type: "boolean",
65
- },
66
- },
67
- },
68
- },
69
- },
70
- };