@jini-ai/integrations 0.7.0 → 0.7.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/CHANGELOG.md +13 -0
- package/dist/composio/bounded-data.d.ts +36 -0
- package/dist/composio/bounded-data.js +181 -0
- package/dist/composio/catalog.d.ts +147 -0
- package/dist/composio/catalog.js +126 -0
- package/dist/composio/composio-config.d.ts +42 -0
- package/dist/composio/composio-config.js +145 -0
- package/dist/composio/composio-descriptions.d.ts +16 -0
- package/dist/composio/composio-descriptions.js +766 -0
- package/dist/composio/composio.d.ts +364 -0
- package/dist/composio/composio.js +1902 -0
- package/dist/composio/errors.d.ts +15 -0
- package/dist/composio/errors.js +16 -0
- package/dist/composio/file-lock.d.ts +13 -0
- package/dist/composio/file-lock.js +92 -0
- package/dist/composio/index.d.ts +18 -0
- package/dist/composio/index.js +7 -0
- package/dist/composio/json-schema.d.ts +93 -0
- package/dist/composio/json-schema.js +498 -0
- package/dist/composio/output-protection.d.ts +32 -0
- package/dist/composio/output-protection.js +105 -0
- package/dist/composio/service.d.ts +181 -0
- package/dist/composio/service.js +758 -0
- package/dist/webhooks/signing.js +2 -1
- package/package.json +6 -6
package/dist/webhooks/signing.js
CHANGED
|
@@ -25,7 +25,8 @@ export function verifySignature(input) {
|
|
|
25
25
|
return parsed.signatures.some((candidateHex) => {
|
|
26
26
|
// Multiple signatures allow secret-generation overlap during rotation; any matching one wins.
|
|
27
27
|
// Validate hex/length before timingSafeEqual, which throws rather than returning false on mismatch.
|
|
28
|
-
|
|
28
|
+
// Exact length too: Buffer.from(hex) drops a trailing odd nibble, so a longer value must not decode to the digest.
|
|
29
|
+
if (candidateHex.length !== expectedHex.length || !/^[0-9a-f]+$/i.test(candidateHex))
|
|
29
30
|
return false;
|
|
30
31
|
const candidate = Buffer.from(candidateHex, "hex");
|
|
31
32
|
return candidate.length === expected.length && timingSafeEqual(candidate, expected);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/integrations",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Third-party vendor integrations and outbound services, each independently importable: media generation, credentialed HTTP and webhooks.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"registry": "https://registry.npmjs.org"
|
|
135
135
|
},
|
|
136
136
|
"dependencies": {
|
|
137
|
-
"@jini-ai/core": "^0.7.
|
|
137
|
+
"@jini-ai/core": "^0.7.2"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
140
|
"@jini-ai/db": "^0.7.0",
|
|
@@ -148,10 +148,10 @@
|
|
|
148
148
|
"better-sqlite3": "^13.0.0",
|
|
149
149
|
"@vitest/coverage-v8": "^2.1.9",
|
|
150
150
|
"@cfworker/json-schema": "^4.1.1",
|
|
151
|
-
"@jini-ai/
|
|
152
|
-
"@jini-ai/
|
|
153
|
-
"@jini-ai/oauth": "0.7.
|
|
154
|
-
"@jini-ai/
|
|
151
|
+
"@jini-ai/db": "^0.7.2",
|
|
152
|
+
"@jini-ai/platform": "0.7.2",
|
|
153
|
+
"@jini-ai/oauth": "0.7.2",
|
|
154
|
+
"@jini-ai/core": "0.7.2"
|
|
155
155
|
},
|
|
156
156
|
"peerDependenciesMeta": {
|
|
157
157
|
"@jini-ai/db": {
|