n8n-nodes-digit 0.1.16 → 0.1.17

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.
@@ -165,8 +165,8 @@ class DIGIT {
165
165
  const clientId = this.getNodeParameter('clientId', i);
166
166
  const accessToken = this.getNodeParameter('accessToken', i);
167
167
  const cleanToken = accessToken.replace(/^Bearer\s+/i, '').trim();
168
- // Gateway boundary endpoint
169
- const boundaryUrl = new URL('/boundary/v1', baseUrl).toString();
168
+ // EXACT gateway URL (same as curl)
169
+ const boundaryUrl = `${baseUrl}/boundary/v1`;
170
170
  const apiResponse = await this.helpers.httpRequest({
171
171
  method: 'GET',
172
172
  url: boundaryUrl,
@@ -181,7 +181,7 @@ class DIGIT {
181
181
  json: true,
182
182
  });
183
183
  returnData.push({
184
- json: JSON.parse(JSON.stringify(apiResponse)),
184
+ json: apiResponse,
185
185
  });
186
186
  }
187
187
  return [returnData];
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-digit",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "DIGIT Platform nodes for n8n",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-digit",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "DIGIT Platform nodes for n8n",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",