From c56f70b43dbb26f713f67f4ec25fd595c6b3a16f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 31 Jul 2025 12:19:03 +0000 Subject: [PATCH] Update ZapSign domain from .com to .co in URLs and contact info Co-authored-by: andre --- README.md | 12 ++++++------ credentials/ZapSignApi.credentials.ts | 2 +- nodes/ZapSignTrigger/ZapSignTrigger.node.ts | 12 ++++++------ package.json | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index dcfab91..17c2b56 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is an n8n community node that lets you use ZapSign's digital signature API in your n8n workflows. -[ZapSign](https://zapsign.com) is a digital signature platform that enables you to create, send, and manage legally binding electronic signatures for your documents. +[ZapSign](https://zapsign.co) is a digital signature platform that enables you to create, send, and manage legally binding electronic signatures for your documents. [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform. @@ -38,7 +38,7 @@ RUN cd /usr/local/lib/node_modules/n8n && npm install n8n-nodes-zapsign You'll need to set up ZapSign API credentials to use this node: -1. Sign up for a [ZapSign account](https://zapsign.com) +1. Sign up for a [ZapSign account](https://zapsign.co) 2. Go to your ZapSign dashboard 3. Navigate to API settings and generate an API key 4. In n8n, create new ZapSign API credentials with: @@ -135,8 +135,8 @@ Additional security features: The node assumes the following ZapSign API structure: ``` -Base URL: https://api.zapsign.com (Production) - https://sandbox.api.zapsign.com (Sandbox) +Base URL: https://api.zapsign.co (Production) + https://sandbox.api.zapsign.co (Sandbox) Documents: - POST /v1/documents - Create document @@ -182,7 +182,7 @@ All errors are properly formatted and include helpful context for debugging. - [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/) - [ZapSign API Documentation](https://docs.zapsign.com.br/) -- [ZapSign Website](https://zapsign.com) +- [ZapSign Website](https://zapsign.co) ## Support @@ -192,7 +192,7 @@ For support with this community node: 2. Review the [n8n community forum](https://community.n8n.io/) 3. Open an issue on this repository -For ZapSign-specific questions, contact ZapSign support at support@zapsign.com +For ZapSign-specific questions, contact ZapSign support at support@zapsign.co ## License diff --git a/credentials/ZapSignApi.credentials.ts b/credentials/ZapSignApi.credentials.ts index 50b527e..57acb0c 100644 --- a/credentials/ZapSignApi.credentials.ts +++ b/credentials/ZapSignApi.credentials.ts @@ -53,7 +53,7 @@ export class ZapSignApi implements ICredentialType { test: ICredentialTestRequest = { request: { - baseURL: '={{$credentials.environment === "sandbox" ? "https://sandbox.api.zapsign.com" : "https://api.zapsign.com"}}', + baseURL: '={{$credentials.environment === "sandbox" ? "https://sandbox.api.zapsign.co" : "https://api.zapsign.co"}}', url: '/v1/me', method: 'GET', }, diff --git a/nodes/ZapSignTrigger/ZapSignTrigger.node.ts b/nodes/ZapSignTrigger/ZapSignTrigger.node.ts index bd28fb0..99de063 100644 --- a/nodes/ZapSignTrigger/ZapSignTrigger.node.ts +++ b/nodes/ZapSignTrigger/ZapSignTrigger.node.ts @@ -137,8 +137,8 @@ export class ZapSignTrigger implements INodeType { const credentials = await this.getCredentials('zapSignApi'); const baseUrl = credentials.environment === 'sandbox' - ? 'https://sandbox.api.zapsign.com' - : 'https://api.zapsign.com'; + ? 'https://sandbox.api.zapsign.co' + : 'https://api.zapsign.co'; try { const response = await this.helpers.request({ @@ -171,8 +171,8 @@ export class ZapSignTrigger implements INodeType { const credentials = await this.getCredentials('zapSignApi'); const baseUrl = credentials.environment === 'sandbox' - ? 'https://sandbox.api.zapsign.com' - : 'https://api.zapsign.com'; + ? 'https://sandbox.api.zapsign.co' + : 'https://api.zapsign.co'; const body = { url: webhookUrl, @@ -209,8 +209,8 @@ export class ZapSignTrigger implements INodeType { if (webhookData.webhookId !== undefined) { const credentials = await this.getCredentials('zapSignApi'); const baseUrl = credentials.environment === 'sandbox' - ? 'https://sandbox.api.zapsign.com' - : 'https://api.zapsign.com'; + ? 'https://sandbox.api.zapsign.co' + : 'https://api.zapsign.co'; try { await this.helpers.request({ diff --git a/package.json b/package.json index d37a0c3..c245bba 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "homepage": "", "author": { "name": "ZapSign", - "email": "support@zapsign.com" + "email": "support@zapsign.co" }, "repository": { "type": "git",