@attocash/n8n-nodes-atto 0.4.0 → 0.4.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/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @attocash/n8n-nodes-atto
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@attocash/n8n-nodes-atto)
|
|
4
|
-
[](https://github.com/attocash/integrations/actions/workflows/n8n-node-package.yml)
|
|
5
|
-
[](https://github.com/attocash/integrations/blob/main/LICENSE)
|
|
4
|
+
[](https://github.com/attocash/integrations-n8n/actions/workflows/n8n-node-package.yml)
|
|
5
|
+
[](https://github.com/attocash/integrations-n8n/blob/main/LICENSE)
|
|
6
6
|
|
|
7
7
|
Use Atto from n8n workflows.
|
|
8
8
|
|
|
@@ -101,7 +101,7 @@ After importing an example, attach your **Atto API** credential and replace any
|
|
|
101
101
|
Install dependencies and run the checks:
|
|
102
102
|
|
|
103
103
|
```bash
|
|
104
|
-
npm install
|
|
104
|
+
npm install --ignore-scripts
|
|
105
105
|
npm run build
|
|
106
106
|
npm test
|
|
107
107
|
npm run lint
|
|
@@ -109,6 +109,8 @@ npm run lint
|
|
|
109
109
|
|
|
110
110
|
`npm test` builds the package and runs unit, smoke, and integration tests. The integration test uses `AttoNodeMockAsyncBuilder` and `AttoWorkerMockAsyncBuilder` from `@attocash/commons-test`. It uses Docker when available and falls back to a local Podman socket.
|
|
111
111
|
|
|
112
|
+
Dependencies ship prebuilt, so lifecycle scripts are disabled to avoid transitive package-manager guard scripts.
|
|
113
|
+
|
|
112
114
|
To require the mock-container integration path:
|
|
113
115
|
|
|
114
116
|
```bash
|
|
@@ -141,8 +143,8 @@ If you have shell access inside the n8n container:
|
|
|
141
143
|
|
|
142
144
|
```bash
|
|
143
145
|
cd /tmp
|
|
144
|
-
git clone https://github.com/attocash/integrations.git
|
|
145
|
-
cd integrations
|
|
146
|
+
git clone https://github.com/attocash/integrations-n8n.git
|
|
147
|
+
cd integrations-n8n
|
|
146
148
|
npm run install:n8n
|
|
147
149
|
```
|
|
148
150
|
|
|
@@ -159,17 +161,17 @@ Restart n8n after the script finishes.
|
|
|
159
161
|
|
|
160
162
|
## Maintainers
|
|
161
163
|
|
|
162
|
-
|
|
164
|
+
Use conventional commits to select the next release version. Release-producing changes use the `n8n-node` scope:
|
|
163
165
|
|
|
164
166
|
```bash
|
|
165
|
-
|
|
166
|
-
npm version patch --no-git-tag-version
|
|
167
|
-
git add package.json package-lock.json
|
|
168
|
-
git commit -m "Release n8n Atto node vX.Y.Z"
|
|
169
|
-
git push origin main
|
|
167
|
+
git commit -m "fix(n8n-node): describe the fix"
|
|
170
168
|
```
|
|
171
169
|
|
|
172
|
-
On pushes to `main`, GitHub Actions
|
|
170
|
+
On pushes to `main`, GitHub Actions calculates the next version from the latest `n8n-node-vX.Y.Z` tag and tests the attempted package. When the manifests need updating, CI commits both files on `release/n8n-node-vX.Y.Z` and opens a release PR. After that protected PR is reviewed and merged, the next `main` run verifies the committed version, waits for approval in the `release` environment, creates the matching tag and GitHub release, and publishes the tested `.tgz` to npm.
|
|
171
|
+
|
|
172
|
+
Do not bump `package.json` manually. Snapshot versions exist only in their workflow runners; successful releases commit the version through the protected release PR so the repository and npm stay synchronized.
|
|
173
|
+
|
|
174
|
+
Allow GitHub Actions to create pull requests under **Settings → Actions → General → Workflow permissions**. A version PR created with `GITHUB_TOKEN` may require a maintainer to approve its workflow run before the required `test / test` check starts.
|
|
173
175
|
|
|
174
176
|
Configure npm Trusted Publishing for `.github/workflows/n8n-node-package.yml`.
|
|
175
177
|
|
|
@@ -8,7 +8,7 @@ class AttoApi {
|
|
|
8
8
|
light: 'file:../nodes/Atto/atto.svg',
|
|
9
9
|
dark: 'file:../nodes/Atto/atto.dark.svg',
|
|
10
10
|
};
|
|
11
|
-
documentationUrl = 'https://github.com/attocash/integrations/blob/main/
|
|
11
|
+
documentationUrl = 'https://github.com/attocash/integrations-n8n/blob/main/USAGE.md';
|
|
12
12
|
properties = [
|
|
13
13
|
{
|
|
14
14
|
displayName: 'Node Base URL',
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"resources": {
|
|
7
7
|
"credentialDocumentation": [
|
|
8
8
|
{
|
|
9
|
-
"url": "https://github.com/attocash/integrations
|
|
9
|
+
"url": "https://github.com/attocash/integrations-n8n#credentials"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"primaryDocumentation": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://github.com/attocash/integrations/blob/main/
|
|
14
|
+
"url": "https://github.com/attocash/integrations-n8n/blob/main/USAGE.md"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
17
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"resources": {
|
|
7
7
|
"credentialDocumentation": [
|
|
8
8
|
{
|
|
9
|
-
"url": "https://github.com/attocash/integrations
|
|
9
|
+
"url": "https://github.com/attocash/integrations-n8n#credentials"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"primaryDocumentation": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://github.com/attocash/integrations/blob/main/
|
|
14
|
+
"url": "https://github.com/attocash/integrations-n8n/blob/main/USAGE.md"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
17
|
}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attocash/n8n-nodes-atto",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Atto cryptocurrency wallet, transaction, account, and trigger nodes for n8n, powered by Atto Commons",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -24,14 +24,13 @@
|
|
|
24
24
|
"name": "Atto",
|
|
25
25
|
"email": "contact@atto.cash"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/attocash/integrations
|
|
27
|
+
"homepage": "https://github.com/attocash/integrations-n8n#readme",
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/attocash/integrations.git"
|
|
31
|
-
"directory": "n8n-node"
|
|
30
|
+
"url": "git+https://github.com/attocash/integrations-n8n.git"
|
|
32
31
|
},
|
|
33
32
|
"bugs": {
|
|
34
|
-
"url": "https://github.com/attocash/integrations/issues"
|
|
33
|
+
"url": "https://github.com/attocash/integrations-n8n/issues"
|
|
35
34
|
},
|
|
36
35
|
"publishConfig": {
|
|
37
36
|
"access": "public",
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"install:n8n": "sh scripts/install-into-n8n.sh",
|
|
52
51
|
"lint": "n8n-node lint",
|
|
53
52
|
"lint:fix": "n8n-node lint --fix",
|
|
54
|
-
"test": "npm run build && node
|
|
53
|
+
"test": "npm run build && node scripts/run-tests.mjs",
|
|
55
54
|
"test:integration": "npm run build && ATTO_TEST_INTEGRATION=1 node --test test/integration.test.mjs",
|
|
56
55
|
"validate:local": "node scripts/validate-local.mjs",
|
|
57
56
|
"validate:release-tag": "node scripts/validate-release-tag.mjs"
|
|
@@ -62,7 +61,7 @@
|
|
|
62
61
|
"devDependencies": {
|
|
63
62
|
"@attocash/commons-core": "7.0.2",
|
|
64
63
|
"@attocash/commons-test": "7.0.2",
|
|
65
|
-
"@n8n/node-cli": "0.
|
|
64
|
+
"@n8n/node-cli": "0.41.2",
|
|
66
65
|
"@types/node": "^22.15.21",
|
|
67
66
|
"esbuild": "0.27.1",
|
|
68
67
|
"eslint": "9.29.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attocash/n8n-nodes-atto",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Atto cryptocurrency wallet, transaction, account, and trigger nodes for n8n, powered by Atto Commons",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -24,14 +24,13 @@
|
|
|
24
24
|
"name": "Atto",
|
|
25
25
|
"email": "contact@atto.cash"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/attocash/integrations
|
|
27
|
+
"homepage": "https://github.com/attocash/integrations-n8n#readme",
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/attocash/integrations.git"
|
|
31
|
-
"directory": "n8n-node"
|
|
30
|
+
"url": "git+https://github.com/attocash/integrations-n8n.git"
|
|
32
31
|
},
|
|
33
32
|
"bugs": {
|
|
34
|
-
"url": "https://github.com/attocash/integrations/issues"
|
|
33
|
+
"url": "https://github.com/attocash/integrations-n8n/issues"
|
|
35
34
|
},
|
|
36
35
|
"publishConfig": {
|
|
37
36
|
"access": "public",
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"install:n8n": "sh scripts/install-into-n8n.sh",
|
|
52
51
|
"lint": "n8n-node lint",
|
|
53
52
|
"lint:fix": "n8n-node lint --fix",
|
|
54
|
-
"test": "npm run build && node
|
|
53
|
+
"test": "npm run build && node scripts/run-tests.mjs",
|
|
55
54
|
"test:integration": "npm run build && ATTO_TEST_INTEGRATION=1 node --test test/integration.test.mjs",
|
|
56
55
|
"validate:local": "node scripts/validate-local.mjs",
|
|
57
56
|
"validate:release-tag": "node scripts/validate-release-tag.mjs"
|
|
@@ -62,7 +61,7 @@
|
|
|
62
61
|
"devDependencies": {
|
|
63
62
|
"@attocash/commons-core": "7.0.2",
|
|
64
63
|
"@attocash/commons-test": "7.0.2",
|
|
65
|
-
"@n8n/node-cli": "0.
|
|
64
|
+
"@n8n/node-cli": "0.41.2",
|
|
66
65
|
"@types/node": "^22.15.21",
|
|
67
66
|
"esbuild": "0.27.1",
|
|
68
67
|
"eslint": "9.29.0",
|