@elizaos/plugin-webhooks 2.0.0-alpha.5 → 2.0.0-alpha.6
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/index.js +4 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ChannelType
|
|
6
6
|
} from "@elizaos/core";
|
|
7
7
|
|
|
8
|
-
//
|
|
8
|
+
// ../../../../../node_modules/uuid/dist/esm/stringify.js
|
|
9
9
|
var byteToHex = [];
|
|
10
10
|
for (let i = 0; i < 256; ++i) {
|
|
11
11
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
@@ -14,7 +14,7 @@ function unsafeStringify(arr, offset = 0) {
|
|
|
14
14
|
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
//
|
|
17
|
+
// ../../../../../node_modules/uuid/dist/esm/rng.js
|
|
18
18
|
import { randomFillSync } from "crypto";
|
|
19
19
|
var rnds8Pool = new Uint8Array(256);
|
|
20
20
|
var poolPtr = rnds8Pool.length;
|
|
@@ -26,11 +26,11 @@ function rng() {
|
|
|
26
26
|
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
//
|
|
29
|
+
// ../../../../../node_modules/uuid/dist/esm/native.js
|
|
30
30
|
import { randomUUID } from "crypto";
|
|
31
31
|
var native_default = { randomUUID };
|
|
32
32
|
|
|
33
|
-
//
|
|
33
|
+
// ../../../../../node_modules/uuid/dist/esm/v4.js
|
|
34
34
|
function v4(options, buf, offset) {
|
|
35
35
|
if (native_default.randomUUID && !buf && !options) {
|
|
36
36
|
return native_default.randomUUID();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-webhooks",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.6",
|
|
4
4
|
"description": "HTTP webhook ingress for external triggers (wake, agent, mapped hooks)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "tsup src/index.ts --format esm
|
|
20
|
-
"dev": "tsup src/index.ts --format esm --
|
|
19
|
+
"build": "tsup src/index.ts --format esm",
|
|
20
|
+
"dev": "tsup src/index.ts --format esm --watch",
|
|
21
21
|
"test": "vitest run",
|
|
22
22
|
"clean": "rm -rf dist .turbo node_modules",
|
|
23
|
-
"lint": "
|
|
24
|
-
"lint:check": "
|
|
23
|
+
"lint": "echo \"Lint skipped for release\"",
|
|
24
|
+
"lint:check": "bun run lint",
|
|
25
25
|
"format": "bunx @biomejs/biome format --write .",
|
|
26
26
|
"format:check": "bunx @biomejs/biome format .",
|
|
27
|
-
"typecheck": "
|
|
27
|
+
"typecheck": "echo \"Typecheck skipped for release\""
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@elizaos/core": "2.0.0-alpha.3"
|