@attocash/n8n-nodes-atto 0.2.1 → 0.3.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Atto
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Use Atto from n8n workflows.
8
8
 
9
- This package adds action and trigger nodes for Atto addresses, accounts, receivables, transactions, and representatives. Signing, address derivation, node calls, wallet operations, streams, and test mocks come from Atto Commons.
9
+ This package adds action and trigger nodes for Atto addresses, accounts, receivables, transactions, and representatives. Atto Commons provides the protocol model, address derivation, block construction, hashing, and signing. Network calls use n8n's HTTP helpers, and integration tests use the Commons mocks.
10
10
 
11
11
  ## Install
12
12
 
@@ -169,10 +169,10 @@ git push origin main
169
169
 
170
170
  On pushes to `main`, GitHub Actions tests and packs the attempted version, uploads the `.tgz` artifact, then waits for approval in the `release` environment. After approval, it creates the tag, publishes `@attocash/n8n-nodes-atto` to npm, and creates the GitHub release.
171
171
 
172
- Configure npm Trusted Publishing for `.github/workflows/n8n-node-package.yml`. `NPM_TOKEN` is supported as a fallback.
172
+ Configure npm Trusted Publishing for `.github/workflows/n8n-node-package.yml`.
173
173
 
174
174
  ## Notes
175
175
 
176
- - Runtime Atto behavior comes from Atto Commons split packages: `@attocash/commons-core`, `@attocash/commons-node`, `@attocash/commons-node-remote`, `@attocash/commons-wallet`, and `@attocash/commons-worker-remote`.
177
- - Atto Commons code is bundled into the built action and trigger node files, so the published n8n package has no runtime dependencies beyond n8n.
176
+ - Runtime protocol behavior comes from `@attocash/commons-core`; `@attocash/commons-test` is used only by integration tests.
177
+ - Commons Core is bundled once into the built protocol adapter, so the published n8n package has no runtime dependencies beyond n8n.
178
178
  - Hex private keys must use the format accepted by `AttoPrivateKey.Companion.parse`.
@@ -0,0 +1,224 @@
1
+ # Third-Party Notices
2
+
3
+ The published package bundles code from the following projects.
4
+
5
+ ## Atto Commons Core
6
+
7
+ `@attocash/commons-core` is licensed under the BSD 3-Clause License.
8
+
9
+ Copyright (c) 2023, Atto
10
+
11
+ Redistribution and use in source and binary forms, with or without
12
+ modification, are permitted provided that the following conditions are met:
13
+
14
+ 1. Redistributions of source code must retain the above copyright notice,
15
+ this list of conditions and the following disclaimer.
16
+ 2. Redistributions in binary form must reproduce the above copyright notice,
17
+ this list of conditions and the following disclaimer in the documentation
18
+ and/or other materials provided with the distribution.
19
+ 3. Neither the name of the copyright holder nor the names of its contributors
20
+ may be used to endorse or promote products derived from this software
21
+ without specific prior written permission.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
27
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
31
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+
34
+ ## Noble Hashes
35
+
36
+ `@noble/hashes` is licensed under the MIT License.
37
+
38
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
39
+
40
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
41
+ this software and associated documentation files (the "Software"), to deal in
42
+ the Software without restriction, including without limitation the rights to
43
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
44
+ of the Software, and to permit persons to whom the Software is furnished to do
45
+ so, subject to the following conditions:
46
+
47
+ The above copyright notice and this permission notice shall be included in all
48
+ copies or substantial portions of the Software.
49
+
50
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
51
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
52
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
53
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
54
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
55
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
56
+ SOFTWARE.
57
+
58
+ ## Kotlin and kotlinx Libraries
59
+
60
+ The bundled Kotlin standard library, kotlinx-datetime, kotlinx-io, and
61
+ kotlinx-serialization runtime code is licensed under the Apache License 2.0.
62
+
63
+ Copyright 2010-2026 JetBrains s.r.o. and respective contributors.
64
+
65
+ Apache License
66
+ Version 2.0, January 2004
67
+ http://www.apache.org/licenses/
68
+
69
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
70
+
71
+ 1. Definitions.
72
+
73
+ "License" shall mean the terms and conditions for use, reproduction, and
74
+ distribution as defined by Sections 1 through 9 of this document.
75
+
76
+ "Licensor" shall mean the copyright owner or entity authorized by the
77
+ copyright owner that is granting the License.
78
+
79
+ "Legal Entity" shall mean the union of the acting entity and all other
80
+ entities that control, are controlled by, or are under common control with
81
+ that entity. For the purposes of this definition, "control" means (i) the
82
+ power, direct or indirect, to cause the direction or management of such
83
+ entity, whether by contract or otherwise, or (ii) ownership of fifty percent
84
+ (50%) or more of the outstanding shares, or (iii) beneficial ownership of
85
+ such entity.
86
+
87
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
88
+ permissions granted by this License.
89
+
90
+ "Source" form shall mean the preferred form for making modifications,
91
+ including but not limited to software source code, documentation source, and
92
+ configuration files.
93
+
94
+ "Object" form shall mean any form resulting from mechanical transformation or
95
+ translation of a Source form, including but not limited to compiled object
96
+ code, generated documentation, and conversions to other media types.
97
+
98
+ "Work" shall mean the work of authorship, whether in Source or Object form,
99
+ made available under the License, as indicated by a copyright notice that is
100
+ included in or attached to the work.
101
+
102
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
103
+ is based on (or derived from) the Work and for which the editorial revisions,
104
+ annotations, elaborations, or other modifications represent, as a whole, an
105
+ original work of authorship. Derivative Works shall not include works that
106
+ remain separable from, or merely link (or bind by name) to the interfaces of,
107
+ the Work and Derivative Works thereof.
108
+
109
+ "Contribution" shall mean any work of authorship, including the original
110
+ version of the Work and any modifications or additions to that Work or
111
+ Derivative Works thereof, that is intentionally submitted to Licensor for
112
+ inclusion in the Work by the copyright owner or by an individual or Legal
113
+ Entity authorized to submit on behalf of the copyright owner. "Submitted"
114
+ means any form of electronic, verbal, or written communication sent to the
115
+ Licensor or its representatives, including but not limited to communication
116
+ on electronic mailing lists, source code control systems, and issue tracking
117
+ systems that are managed by, or on behalf of, the Licensor for the purpose of
118
+ discussing and improving the Work, but excluding communication that is
119
+ conspicuously marked or otherwise designated in writing by the copyright
120
+ owner as "Not a Contribution."
121
+
122
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
123
+ of whom a Contribution has been received by Licensor and subsequently
124
+ incorporated within the Work.
125
+
126
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
127
+ License, each Contributor hereby grants to You a perpetual, worldwide,
128
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
129
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
130
+ sublicense, and distribute the Work and such Derivative Works in Source or
131
+ Object form.
132
+
133
+ 3. Grant of Patent License. Subject to the terms and conditions of this
134
+ License, each Contributor hereby grants to You a perpetual, worldwide,
135
+ non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
136
+ section) patent license to make, have made, use, offer to sell, sell, import,
137
+ and otherwise transfer the Work, where such license applies only to those
138
+ patent claims licensable by such Contributor that are necessarily infringed by
139
+ their Contribution(s) alone or by combination of their Contribution(s) with
140
+ the Work to which such Contribution(s) was submitted. If You institute patent
141
+ litigation against any entity (including a cross-claim or counterclaim in a
142
+ lawsuit) alleging that the Work or a Contribution incorporated within the Work
143
+ constitutes direct or contributory patent infringement, then any patent
144
+ licenses granted to You under this License for that Work shall terminate as of
145
+ the date such litigation is filed.
146
+
147
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
148
+ Derivative Works thereof in any medium, with or without modifications, and in
149
+ Source or Object form, provided that You meet the following conditions:
150
+
151
+ (a) You must give any other recipients of the Work or Derivative Works a copy
152
+ of this License; and
153
+
154
+ (b) You must cause any modified files to carry prominent notices stating that
155
+ You changed the files; and
156
+
157
+ (c) You must retain, in the Source form of any Derivative Works that You
158
+ distribute, all copyright, patent, trademark, and attribution notices from the
159
+ Source form of the Work, excluding those notices that do not pertain to any
160
+ part of the Derivative Works; and
161
+
162
+ (d) If the Work includes a "NOTICE" text file as part of its distribution,
163
+ then any Derivative Works that You distribute must include a readable copy of
164
+ the attribution notices contained within such NOTICE file, excluding those
165
+ notices that do not pertain to any part of the Derivative Works, in at least
166
+ one of the following places: within a NOTICE text file distributed as part of
167
+ the Derivative Works; within the Source form or documentation, if provided
168
+ along with the Derivative Works; or, within a display generated by the
169
+ Derivative Works, if and wherever such third-party notices normally appear.
170
+ The contents of the NOTICE file are for informational purposes only and do not
171
+ modify the License. You may add Your own attribution notices within Derivative
172
+ Works that You distribute, alongside or as an addendum to the NOTICE text from
173
+ the Work, provided that such additional attribution notices cannot be
174
+ construed as modifying the License.
175
+
176
+ You may add Your own copyright statement to Your modifications and may provide
177
+ additional or different license terms and conditions for use, reproduction,
178
+ or distribution of Your modifications, or for any such Derivative Works as a
179
+ whole, provided Your use, reproduction, and distribution of the Work otherwise
180
+ complies with the conditions stated in this License.
181
+
182
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
183
+ Contribution intentionally submitted for inclusion in the Work by You to the
184
+ Licensor shall be under the terms and conditions of this License, without any
185
+ additional terms or conditions. Notwithstanding the above, nothing herein
186
+ shall supersede or modify the terms of any separate license agreement you may
187
+ have executed with Licensor regarding such Contributions.
188
+
189
+ 6. Trademarks. This License does not grant permission to use the trade names,
190
+ trademarks, service marks, or product names of the Licensor, except as required
191
+ for reasonable and customary use in describing the origin of the Work and
192
+ reproducing the content of the NOTICE file.
193
+
194
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
195
+ writing, Licensor provides the Work (and each Contributor provides its
196
+ Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
197
+ KIND, either express or implied, including, without limitation, any warranties
198
+ or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
199
+ PARTICULAR PURPOSE. You are solely responsible for determining the
200
+ appropriateness of using or redistributing the Work and assume any risks
201
+ associated with Your exercise of permissions under this License.
202
+
203
+ 8. Limitation of Liability. In no event and under no legal theory, whether in
204
+ tort (including negligence), contract, or otherwise, unless required by
205
+ applicable law (such as deliberate and grossly negligent acts) or agreed to in
206
+ writing, shall any Contributor be liable to You for damages, including any
207
+ direct, indirect, special, incidental, or consequential damages of any
208
+ character arising as a result of this License or out of the use or inability to
209
+ use the Work (including but not limited to damages for loss of goodwill, work
210
+ stoppage, computer failure or malfunction, or any and all other commercial
211
+ damages or losses), even if such Contributor has been advised of the
212
+ possibility of such damages.
213
+
214
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work
215
+ or Derivative Works thereof, You may choose to offer, and charge a fee for,
216
+ acceptance of support, warranty, indemnity, or other liability obligations
217
+ and/or rights consistent with this License. However, in accepting such
218
+ obligations, You may act only on Your own behalf and on Your sole
219
+ responsibility, not on behalf of any other Contributor, and only if You agree
220
+ to indemnify, defend, and hold each Contributor harmless for any liability
221
+ incurred by, or claims asserted against, such Contributor by reason of your
222
+ accepting any such warranty or additional liability.
223
+
224
+ END OF TERMS AND CONDITIONS
@@ -5,14 +5,14 @@ class AttoApi {
5
5
  name = 'attoApi';
6
6
  displayName = 'Atto API';
7
7
  icon = 'file:../nodes/Atto/atto.svg';
8
- documentationUrl = 'https://github.com/attocash/integrations/tree/main/n8n-node#credentials';
8
+ documentationUrl = 'https://github.com/attocash/integrations/blob/main/n8n-node/USAGE.md';
9
9
  properties = [
10
10
  {
11
11
  displayName: 'Node Base URL',
12
12
  name: 'nodeUrl',
13
13
  type: 'string',
14
14
  default: 'https://gatekeeper.live.application.atto.cash',
15
- placeholder: 'https://my-node.example',
15
+ placeholder: 'e.g. https://my-node.example',
16
16
  description: 'Base URL of the Atto node HTTP API',
17
17
  },
18
18
  {
@@ -20,7 +20,7 @@ class AttoApi {
20
20
  name: 'workerUrl',
21
21
  type: 'string',
22
22
  default: 'https://gatekeeper.live.application.atto.cash',
23
- placeholder: 'https://my-work-server.example',
23
+ placeholder: 'e.g. https://my-work-server.example',
24
24
  description: 'Base URL of the Atto work server HTTP API',
25
25
  },
26
26
  {