@nodrel-dev/n8n-nodes-fedex 0.2.0 → 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/README.md
CHANGED
|
@@ -172,6 +172,15 @@ The tracking number and rate details are passed through on the main JSON output.
|
|
|
172
172
|
|
|
173
173
|
FedEx error messages (`errors[].message`) are surfaced directly through n8n's error handling, and the node honors **Continue On Fail** — failed items emit an `error` entry and the workflow keeps processing the rest.
|
|
174
174
|
|
|
175
|
+
## Documentation
|
|
176
|
+
|
|
177
|
+
Deeper docs for contributors and integrators live in [`docs/`](docs/):
|
|
178
|
+
|
|
179
|
+
- [System Overview](docs/system-overview.md) — architecture, auth/environment model, request lifecycle (with diagrams).
|
|
180
|
+
- [Integration Specification](docs/integration-spec.md) — endpoints, request/response shapes, enums, and error handling for all four operations.
|
|
181
|
+
- [Data Model](docs/data-model.md) — the typed shapes the node assembles, and the node-parameter → FedEx-field mapping.
|
|
182
|
+
- [Architecture Decision Records](docs/adr/) — why the key design choices were made.
|
|
183
|
+
|
|
175
184
|
## Resources
|
|
176
185
|
|
|
177
186
|
- [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
|
|
@@ -180,18 +189,4 @@ FedEx error messages (`errors[].message`) are surfaced directly through n8n's er
|
|
|
180
189
|
|
|
181
190
|
## Version history
|
|
182
191
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
Credentials: the single FedEx OAuth2 credential is split into **FedEx Track OAuth2 API** and **FedEx Shipping OAuth2 API**, each with its own connection test so n8n shows a green credential-test result. Each operation automatically uses the matching credential (Track vs Rate/Ship/Address). **Breaking:** re-create your credentials using the new types.
|
|
186
|
-
|
|
187
|
-
### 0.1.2
|
|
188
|
-
|
|
189
|
-
Documentation and packaging only: README badges, Snyk + provenance security notes, and an MIT `LICENSE` file. No functional node changes.
|
|
190
|
-
|
|
191
|
-
### 0.1.1
|
|
192
|
-
|
|
193
|
-
Supply-chain hardening, no functional node changes: npm publishing moved to keyless **OIDC trusted publishing** with signed provenance, and CI/release workflows run on the Node 24 GitHub Actions runtime.
|
|
194
|
-
|
|
195
|
-
### 0.1.0
|
|
196
|
-
|
|
197
|
-
Initial release. Shipment (Track, Get Rates, Create) and Address (Validate) operations, sandbox/production environment switch, and label-as-binary output.
|
|
192
|
+
See [CHANGELOG.md](CHANGELOG.md) for the full, per-release history (kept current automatically on each release).
|
|
@@ -24,12 +24,12 @@ class Fedex {
|
|
|
24
24
|
{
|
|
25
25
|
name: 'fedexTrackOAuth2Api',
|
|
26
26
|
required: true,
|
|
27
|
-
displayOptions: { show: {
|
|
27
|
+
displayOptions: { show: { authentication: ['fedexTrackOAuth2Api'] } },
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
name: 'fedexShippingOAuth2Api',
|
|
31
31
|
required: true,
|
|
32
|
-
displayOptions: { show: {
|
|
32
|
+
displayOptions: { show: { authentication: ['fedexShippingOAuth2Api'] } },
|
|
33
33
|
},
|
|
34
34
|
],
|
|
35
35
|
requestDefaults: {
|
|
@@ -53,6 +53,20 @@ class Fedex {
|
|
|
53
53
|
},
|
|
54
54
|
...tracking_1.trackingDescription,
|
|
55
55
|
...shipping_1.shippingDescription,
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Authentication',
|
|
58
|
+
name: 'authentication',
|
|
59
|
+
type: 'hidden',
|
|
60
|
+
default: 'fedexTrackOAuth2Api',
|
|
61
|
+
displayOptions: { show: { operation: ['track'] } },
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Authentication',
|
|
65
|
+
name: 'authentication',
|
|
66
|
+
type: 'hidden',
|
|
67
|
+
default: 'fedexShippingOAuth2Api',
|
|
68
|
+
displayOptions: { show: { operation: ['getRates', 'create', 'validate'] } },
|
|
69
|
+
},
|
|
56
70
|
],
|
|
57
71
|
};
|
|
58
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fedex.node.js","sourceRoot":"","sources":["../../../nodes/Fedex/Fedex.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,mDAA2D;AAC3D,mDAA2D;AAE3D,MAAa,KAAK;IAAlB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,qBAAqB,EAAE;YAC9D,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EACV,+FAA+F;YAChG,QAAQ,EAAE;gBACT,IAAI,EAAE,OAAO;aACb;YAID,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Fedex.node.js","sourceRoot":"","sources":["../../../nodes/Fedex/Fedex.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,mDAA2D;AAC3D,mDAA2D;AAE3D,MAAa,KAAK;IAAlB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,qBAAqB,EAAE;YAC9D,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EACV,+FAA+F;YAChG,QAAQ,EAAE;gBACT,IAAI,EAAE,OAAO;aACb;YAID,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAenC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,qBAAqB;oBAC3B,QAAQ,EAAE,IAAI;oBACd,c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6,12 @@
|
|
|
6
6
|
"resources": {
|
|
7
7
|
"credentialDocumentation": [
|
|
8
8
|
{
|
|
9
|
-
"url": "https://github.com/
|
|
9
|
+
"url": "https://github.com/nodrel-dev/n8n-fedex-node?tab=readme-ov-file#credentials"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"primaryDocumentation": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/nodrel-dev/n8n-fedex-node?tab=readme-ov-file"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
17
|
}
|
package/dist/package.json
CHANGED