@crvouga/mockingbird-service-slack 3.1.0 → 3.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-slack",
3
- "version": "3.1.0",
3
+ "version": "3.3.0",
4
4
  "description": "Stateful emulator of Slack incoming webhooks, the Web API, and the Socket Mode control plane, with an outbox of every alert the app sent.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -11,7 +11,11 @@
11
11
  "CHANGELOG.md",
12
12
  "DISCOVERY.md",
13
13
  "SUPPORT.md",
14
- "openapi.yaml"
14
+ "openapi.yaml",
15
+ "LICENSE_EMULATE",
16
+ "THIRD_PARTY_NOTICES.md",
17
+ "routes.json",
18
+ "API_EVIDENCE.md"
15
19
  ],
16
20
  "main": "./dist/index.js",
17
21
  "types": "./dist/index.d.ts",
@@ -74,6 +78,7 @@
74
78
  "introspection": [
75
79
  "GET /__admin/health",
76
80
  "GET /__admin",
81
+ "GET /__admin/controls",
77
82
  "GET /__admin/state",
78
83
  "GET /__admin/requests",
79
84
  "GET /__admin/metrics",
@@ -96,8 +101,12 @@
96
101
  "pack:check": "bun ../../../scripts/pack-check.ts"
97
102
  },
98
103
  "dependencies": {
99
- "@crvouga/mockingbird-service-sqlite": "3.1.0",
100
- "hono": "4.11.9"
104
+ "@crvouga/mockingbird-service-sqlite": "3.3.0",
105
+ "hono": "4.11.9",
106
+ "buffer": "6.0.3",
107
+ "@noble/hashes": "2.4.0",
108
+ "jose": "6.2.2",
109
+ "graphql": "17.0.0"
101
110
  },
102
111
  "devDependencies": {
103
112
  "@crvouga/mockingbird-adapter-node": "0.0.0-development",
@@ -115,6 +124,7 @@
115
124
  "@slack/bolt": "4.4.0",
116
125
  "@slack/socket-mode": "2.0.4",
117
126
  "@slack/web-api": "7.9.3",
118
- "fast-check": "4.9.0"
127
+ "fast-check": "4.9.0",
128
+ "@crvouga/mockingbird-http-provider": "0.0.0-development"
119
129
  }
120
130
  }
package/routes.json ADDED
@@ -0,0 +1,72 @@
1
+ [
2
+ "GET /",
3
+ "GET /api/chat.getPermalink",
4
+ "GET /api/files.info",
5
+ "GET /api/files.list",
6
+ "GET /api/pins.list",
7
+ "GET /api/users.getPresence",
8
+ "GET /api/users.profile.get",
9
+ "GET /files-pri/:fileId/:filename",
10
+ "GET /oauth/v2/authorize",
11
+ "POST /api/auth.test",
12
+ "POST /api/bookmarks.add",
13
+ "POST /api/bookmarks.edit",
14
+ "POST /api/bookmarks.list",
15
+ "POST /api/bookmarks.remove",
16
+ "POST /api/bots.info",
17
+ "POST /api/chat.delete",
18
+ "POST /api/chat.deleteScheduledMessage",
19
+ "POST /api/chat.getPermalink",
20
+ "POST /api/chat.meMessage",
21
+ "POST /api/chat.postEphemeral",
22
+ "POST /api/chat.postMessage",
23
+ "POST /api/chat.scheduleMessage",
24
+ "POST /api/chat.scheduledMessages.list",
25
+ "POST /api/chat.update",
26
+ "POST /api/conversations.archive",
27
+ "POST /api/conversations.close",
28
+ "POST /api/conversations.create",
29
+ "POST /api/conversations.history",
30
+ "POST /api/conversations.info",
31
+ "POST /api/conversations.invite",
32
+ "POST /api/conversations.join",
33
+ "POST /api/conversations.kick",
34
+ "POST /api/conversations.leave",
35
+ "POST /api/conversations.list",
36
+ "POST /api/conversations.mark",
37
+ "POST /api/conversations.members",
38
+ "POST /api/conversations.open",
39
+ "POST /api/conversations.rename",
40
+ "POST /api/conversations.replies",
41
+ "POST /api/conversations.setPurpose",
42
+ "POST /api/conversations.setTopic",
43
+ "POST /api/conversations.unarchive",
44
+ "POST /api/files.completeUploadExternal",
45
+ "POST /api/files.delete",
46
+ "POST /api/files.getUploadURLExternal",
47
+ "POST /api/files.info",
48
+ "POST /api/files.list",
49
+ "POST /api/oauth.v2.access",
50
+ "POST /api/pins.add",
51
+ "POST /api/pins.list",
52
+ "POST /api/pins.remove",
53
+ "POST /api/reactions.add",
54
+ "POST /api/reactions.get",
55
+ "POST /api/reactions.remove",
56
+ "POST /api/team.info",
57
+ "POST /api/users.getPresence",
58
+ "POST /api/users.info",
59
+ "POST /api/users.list",
60
+ "POST /api/users.lookupByEmail",
61
+ "POST /api/users.profile.get",
62
+ "POST /api/users.profile.set",
63
+ "POST /api/users.setPresence",
64
+ "POST /api/views.generateTriggerId",
65
+ "POST /api/views.open",
66
+ "POST /api/views.publish",
67
+ "POST /api/views.push",
68
+ "POST /api/views.update",
69
+ "POST /oauth/v2/authorize/callback",
70
+ "POST /services/:teamId/:botId/:token",
71
+ "POST /upload/v1/:fileId"
72
+ ]