n8n-nodes-orbitpage 0.1.2 → 0.2.1
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 +49 -0
- package/CODE_OF_CONDUCT.md +32 -0
- package/CONTRIBUTING.md +143 -0
- package/README.md +244 -230
- package/SECURITY.md +57 -0
- package/dist/credentials/OrbitPageApi.credentials.js +13 -25
- package/dist/credentials/OrbitPageApi.credentials.js.map +1 -1
- package/dist/nodes/OrbitPage/OrbitPage.node.d.ts +4 -2
- package/dist/nodes/OrbitPage/OrbitPage.node.js +89 -50
- package/dist/nodes/OrbitPage/OrbitPage.node.js.map +1 -1
- package/dist/nodes/OrbitPage/bodyGuidance.d.ts +3 -0
- package/dist/nodes/OrbitPage/bodyGuidance.js +43 -0
- package/dist/nodes/OrbitPage/bodyGuidance.js.map +1 -0
- package/dist/nodes/OrbitPage/description.d.ts +2 -0
- package/dist/nodes/OrbitPage/description.js +126 -119
- package/dist/nodes/OrbitPage/description.js.map +1 -1
- package/dist/nodes/OrbitPage/operations.d.ts +10 -2
- package/dist/nodes/OrbitPage/operations.js +238 -106
- package/dist/nodes/OrbitPage/operations.js.map +1 -1
- package/dist/nodes/OrbitPageTrigger/OrbitPageTrigger.node.d.ts +3 -0
- package/dist/nodes/OrbitPageTrigger/OrbitPageTrigger.node.js +51 -25
- package/dist/nodes/OrbitPageTrigger/OrbitPageTrigger.node.js.map +1 -1
- package/dist/package.json +25 -11
- package/docs/OPERATIONS.md +159 -147
- package/docs/README.md +44 -0
- package/docs/guides/ai-safety.md +86 -0
- package/docs/guides/binary-uploads.md +105 -0
- package/docs/guides/credentials-and-scopes.md +113 -0
- package/docs/guides/development-and-release.md +168 -0
- package/docs/guides/getting-started.md +150 -0
- package/docs/guides/revisions-and-publishing.md +96 -0
- package/docs/guides/troubleshooting.md +126 -0
- package/examples/README.md +69 -0
- package/package.json +25 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this package are documented here.
|
|
4
4
|
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
## 0.2.1 - 2026-09-02
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Make generated operation defaults statically recognizable by the official
|
|
12
|
+
n8n community-package scanner without changing their runtime values.
|
|
13
|
+
|
|
14
|
+
## 0.2.0 - 2026-09-02
|
|
15
|
+
|
|
16
|
+
### Breaking changes
|
|
17
|
+
|
|
18
|
+
- Remove resources outside the public workspace API from the package. Review
|
|
19
|
+
workflows created with v0.1.x before upgrading to 0.2.0. All remaining
|
|
20
|
+
workspace resource and operation IDs are unchanged.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Clarify resource, operation, credential, trigger, and upload labels while
|
|
25
|
+
preserving the internal values used by remaining workspace workflows.
|
|
26
|
+
- Keep Shop polling read-only with the API's `refresh=0` snapshot mode while
|
|
27
|
+
preserving the stored `shopChanged` trigger value.
|
|
28
|
+
- Add explicit automatic, read-only snapshot, and forced-refresh modes to Get
|
|
29
|
+
Shop Overview, and cancel failed compound file uploads so reservations and
|
|
30
|
+
reserved storage are released promptly.
|
|
31
|
+
- Add task-based operation selection, request-body, effect, output-shape, and
|
|
32
|
+
advanced-upload guidance for first-time users.
|
|
33
|
+
- Add operation-specific JSON guidance for every action with a request body,
|
|
34
|
+
dynamic human-readable node subtitles, and combined possible-effect labels.
|
|
35
|
+
- Correct immediate-public restore and managed-text-file descriptions, align
|
|
36
|
+
the bodyless Shop connection action with OpenAPI, and make credential tests
|
|
37
|
+
reject unsafe remote HTTP or cross-origin redirects.
|
|
38
|
+
- Correct the scope guide to reflect that each selected write scope adds its
|
|
39
|
+
matching read scope.
|
|
40
|
+
- Separate the published-version selector from the manual current-revision field,
|
|
41
|
+
while retaining a fallback for existing workflows.
|
|
42
|
+
- Prevent Advanced API requests from reaching paths outside the public
|
|
43
|
+
workspace API contract through alternate encodings or separators.
|
|
44
|
+
- Reorganize the npm README around requirements, installation, first use,
|
|
45
|
+
scopes, safety and focused guides.
|
|
46
|
+
- Add contributor, security, example and maintainer documentation without
|
|
47
|
+
changing the runtime node contract.
|
|
48
|
+
- Improve npm and in-editor discovery with a clearer OrbitPage/n8n description,
|
|
49
|
+
focused package keywords, and a direct integration-guide link.
|
|
50
|
+
- Align the declared runtime floor with the current n8n toolchain at Node.js
|
|
51
|
+
22.22, test Node.js 22.22 and 24 in CI, and require exact package/lock/tag
|
|
52
|
+
parity for OIDC-only npm publishing.
|
|
53
|
+
|
|
5
54
|
## 0.1.2 - 2026-08-04
|
|
6
55
|
|
|
7
56
|
- Add an end-to-end quick start covering token creation, exact n8n credential
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
OrbitPage should be a welcoming, professional place to collaborate on useful
|
|
4
|
+
automation software.
|
|
5
|
+
|
|
6
|
+
## Expected behavior
|
|
7
|
+
|
|
8
|
+
- Be respectful, constructive, and specific when giving feedback.
|
|
9
|
+
- Welcome contributors with different backgrounds and levels of experience.
|
|
10
|
+
- Keep discussions focused on the project and its users.
|
|
11
|
+
- Respect privacy. Never publish API tokens, workflow credentials, customer
|
|
12
|
+
data, private URLs, or unpatched vulnerability details.
|
|
13
|
+
|
|
14
|
+
## Unacceptable behavior
|
|
15
|
+
|
|
16
|
+
- Harassment, discrimination, threats, or personal attacks.
|
|
17
|
+
- Sexualized language or unwanted attention.
|
|
18
|
+
- Deliberate intimidation, disruption, or repeated bad-faith engagement.
|
|
19
|
+
- Publishing another person's private information without permission.
|
|
20
|
+
- Conduct that would be inappropriate in a professional community.
|
|
21
|
+
|
|
22
|
+
## Scope and enforcement
|
|
23
|
+
|
|
24
|
+
This policy applies in repository discussions, issues, pull requests, reviews,
|
|
25
|
+
release conversations, and other spaces where someone represents the project.
|
|
26
|
+
|
|
27
|
+
Report conduct concerns privately to `contact@orbitpage.com`. Maintainers may
|
|
28
|
+
remove content and warn, restrict, or ban participants who violate this policy.
|
|
29
|
+
Retaliation against a good-faith report is not acceptable.
|
|
30
|
+
|
|
31
|
+
Security vulnerabilities follow the private process in
|
|
32
|
+
[SECURITY.md](./SECURITY.md).
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thank you for improving the OrbitPage community nodes. This repository is
|
|
4
|
+
public, so contributions must contain only information and code that can be
|
|
5
|
+
published on GitHub and npm. By participating, you agree to follow the project
|
|
6
|
+
[Code of Conduct](./CODE_OF_CONDUCT.md).
|
|
7
|
+
|
|
8
|
+
## Before you start
|
|
9
|
+
|
|
10
|
+
- Use a public issue for reproducible bugs, documentation problems, and feature
|
|
11
|
+
proposals that contain no sensitive data.
|
|
12
|
+
- Report suspected vulnerabilities privately through [SECURITY.md](SECURITY.md).
|
|
13
|
+
- Keep a change focused. Discuss broad API or node-architecture changes before
|
|
14
|
+
investing in a large implementation.
|
|
15
|
+
- Use respectful, technical communication and avoid including customer or
|
|
16
|
+
tenant data in examples.
|
|
17
|
+
|
|
18
|
+
## Development environment
|
|
19
|
+
|
|
20
|
+
Use Node.js 22.22 or newer and install the locked dependencies:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm ci
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Run the local n8n development environment with:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm run dev
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The package declares runtime support for Node.js 22.22 or newer. CI validates
|
|
33
|
+
the locked toolchain on Node.js 22.22 and 24.
|
|
34
|
+
|
|
35
|
+
## Repository conventions
|
|
36
|
+
|
|
37
|
+
- Keep runtime dependencies empty unless a concrete requirement has been
|
|
38
|
+
reviewed. `n8n-workflow` remains a peer dependency.
|
|
39
|
+
- Preserve one output item and `pairedItem` linking for each input item.
|
|
40
|
+
- Preserve intentional `Continue On Fail` behavior.
|
|
41
|
+
- Keep authentication inside the n8n credential and transport helper.
|
|
42
|
+
- Never log credentials, signed upload URLs, authorization headers, or
|
|
43
|
+
sensitive response bodies.
|
|
44
|
+
- Require HTTPS for non-localhost endpoints and do not weaken redirect or host
|
|
45
|
+
restrictions.
|
|
46
|
+
- Prefer guided operations over special-case execution code.
|
|
47
|
+
- Keep private OrbitPage SaaS implementation details outside this public
|
|
48
|
+
repository.
|
|
49
|
+
|
|
50
|
+
The programmatic action node is intentional because the integration combines a
|
|
51
|
+
large typed operation catalog with revision preflights, signed binary uploads,
|
|
52
|
+
item linking, and guarded custom paths. New special execution paths still need
|
|
53
|
+
a concrete reason and tests.
|
|
54
|
+
|
|
55
|
+
## Changing the API catalog
|
|
56
|
+
|
|
57
|
+
`nodes/OrbitPage/operations.ts` is the source of truth for guided operations.
|
|
58
|
+
When the public OpenAPI contract changes:
|
|
59
|
+
|
|
60
|
+
1. Verify method, path, `operationId`, scope, parameters, body requirements,
|
|
61
|
+
revision source, and publish behavior.
|
|
62
|
+
2. Update the typed operation catalog.
|
|
63
|
+
3. Add editor properties only when the operation needs new input.
|
|
64
|
+
4. Add request-level tests in addition to catalog-count assertions.
|
|
65
|
+
5. Build and regenerate the operation matrix:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm run build
|
|
69
|
+
npm run docs:generate
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
6. Review the generated diff.
|
|
73
|
+
|
|
74
|
+
`docs/OPERATIONS.md` is generated by
|
|
75
|
+
`scripts/generate-operation-docs.cjs`. Do not edit it manually.
|
|
76
|
+
|
|
77
|
+
## Documentation changes
|
|
78
|
+
|
|
79
|
+
The npm README should remain a concise first-use path. Put detailed procedures
|
|
80
|
+
in `docs/guides/` and add them to `docs/README.md`.
|
|
81
|
+
|
|
82
|
+
When behavior changes, update all affected surfaces:
|
|
83
|
+
|
|
84
|
+
- node field descriptions;
|
|
85
|
+
- generated operation metadata;
|
|
86
|
+
- focused guide;
|
|
87
|
+
- troubleshooting guidance;
|
|
88
|
+
- examples, when their behavior changes;
|
|
89
|
+
- `CHANGELOG.md` for user-visible release notes.
|
|
90
|
+
|
|
91
|
+
Use relative links for repository files so documentation works on both GitHub
|
|
92
|
+
and npm. Do not copy the generated operation table into hand-written guides.
|
|
93
|
+
|
|
94
|
+
## Tests and checks
|
|
95
|
+
|
|
96
|
+
Run the complete suite before opening a pull request:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
npm run check
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
This runs lint, build, isolated package loading, generated-documentation
|
|
103
|
+
verification, and Vitest.
|
|
104
|
+
|
|
105
|
+
Add behavioral tests for the successful path and important failure modes,
|
|
106
|
+
especially for:
|
|
107
|
+
|
|
108
|
+
- revision and `If-Match` behavior;
|
|
109
|
+
- path parameters and custom-path validation;
|
|
110
|
+
- upload reserve, finalize, and cleanup;
|
|
111
|
+
- trigger baseline and state comparison;
|
|
112
|
+
- credentials and Base URL restrictions;
|
|
113
|
+
- item linking and `Continue On Fail`.
|
|
114
|
+
|
|
115
|
+
For documentation-only changes, also verify every relative Markdown link and
|
|
116
|
+
anchor. External links should point to primary OrbitPage, n8n, GitHub, or npm
|
|
117
|
+
sources.
|
|
118
|
+
|
|
119
|
+
## Pull-request checklist
|
|
120
|
+
|
|
121
|
+
- [ ] The change is limited to this public community-node repository.
|
|
122
|
+
- [ ] No token, signed URL, tenant data, customer data, or private SaaS code is
|
|
123
|
+
included.
|
|
124
|
+
- [ ] `npm run check` passes.
|
|
125
|
+
- [ ] New behavior has regression tests.
|
|
126
|
+
- [ ] Generated files were regenerated rather than manually edited.
|
|
127
|
+
- [ ] Documentation and examples match the editor and runtime behavior.
|
|
128
|
+
- [ ] Compatibility or migration impact is explained.
|
|
129
|
+
- [ ] `CHANGELOG.md` is updated when users will observe the change.
|
|
130
|
+
|
|
131
|
+
## Versions and releases
|
|
132
|
+
|
|
133
|
+
Maintainers release the npm package through the checked-in GitHub Actions
|
|
134
|
+
workflow with provenance. Contributors should not create version tags or
|
|
135
|
+
publish the package from a pull request.
|
|
136
|
+
|
|
137
|
+
The npm package version and the n8n node version solve different problems. Use
|
|
138
|
+
semantic versioning for package releases; change the node version only when n8n
|
|
139
|
+
must preserve old stored workflow behavior. Parameter renames require an
|
|
140
|
+
explicit compatibility plan or fallback.
|
|
141
|
+
|
|
142
|
+
See [Development and release](docs/guides/development-and-release.md) for the
|
|
143
|
+
full repository layout and maintainer process.
|