Skip to content

Commit 656e975

Browse files
authored
fix: align n8n Creator Portal metadata (#3)
1 parent 2287124 commit 656e975

7 files changed

Lines changed: 20 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.1.1 - 2026-07-27
4+
5+
- Align Creator Portal metadata with the exported `bailingHub` node identifier.
6+
- Use the supported `Development` category for n8n community-node discovery.
7+
- Add regression coverage for the reviewed metadata contract.
8+
39
## 0.1.0 - 2026-07-22
410

511
- Add BailingHub credentials with HTTPS-by-default validation.

compatibility/client-api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "bailing.client-api.consumer.v1",
33
"consumer": "bailinghub-n8n-node",
4-
"adapter_version": "0.1.0",
4+
"adapter_version": "0.1.1",
55
"contract": "bailing.client-api",
66
"contract_major": 1,
77
"tested_contract_version": "1.0.0",

nodes/BailingHub/BailingHub.node.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"node": "n8n-nodes-bailinghub",
2+
"node": "n8n-nodes-bailinghub.bailingHub",
33
"nodeVersion": "1.0",
44
"codexVersion": "1.0",
5-
"categories": ["AI", "Development", "Developer Tools"],
5+
"categories": ["Development"],
66
"resources": {
77
"credentialDocumentation": [
88
{

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "n8n-nodes-bailinghub",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Submit and monitor governed AI jobs through BailingHub from n8n workflows.",
55
"license": "MIT",
66
"homepage": "https://github.com/bailinghub/bailinghub-n8n-node#readme",

tests/client.test.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ const {
1212
waitForJob,
1313
} = require('../dist/shared/client.js');
1414
const compatibility = require('../compatibility/client-api.json');
15+
const packageJson = require('../package.json');
1516

1617
const JOB_ID = '11111111-1111-4111-8111-111111111111';
1718

1819
test('Client API compatibility declaration matches adapter code', () => {
20+
assert.equal(compatibility.adapter_version, packageJson.version);
1921
assert.deepEqual(compatibility.endpoint_contracts, CLIENT_API_ENDPOINTS);
2022
assert.deepEqual(compatibility.known_job_statuses, [...CLIENT_API_KNOWN_STATUSES]);
2123
assert.deepEqual(compatibility.terminal_job_statuses, [...CLIENT_API_TERMINAL_STATUSES]);

tests/node.test.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const { BailingHub } = require('../dist/nodes/BailingHub/BailingHub.node.js');
55
const {
66
BailingHubApi,
77
} = require('../dist/credentials/BailingHubApi.credentials.js');
8+
const nodeMetadata = require('../nodes/BailingHub/BailingHub.node.json');
89

910
const JOB_ID = '11111111-1111-4111-8111-111111111111';
1011

@@ -32,6 +33,11 @@ function executionContext(parameters, request) {
3233
};
3334
}
3435

36+
test('Creator Portal metadata identifies the exact node and uses supported categories', () => {
37+
assert.equal(nodeMetadata.node, 'n8n-nodes-bailinghub.bailingHub');
38+
assert.deepEqual(nodeMetadata.categories, ['Development']);
39+
});
40+
3541
test('the n8n node submits through the public client API and returns paired output', async () => {
3642
const calls = [];
3743
const context = executionContext(

0 commit comments

Comments
 (0)