{"_id":"@absolutejs/esign-docusign","name":"@absolutejs/esign-docusign","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@absolutejs/esign-docusign","version":"0.0.1","description":"DocuSign adapter for @absolutejs/esign","type":"module","license":"BSL-1.1","author":{"name":"Alex Kahn"},"sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"bun build src/index.ts --outdir dist --target node --external '@absolutejs/esign' && tsc --project tsconfig.build.json","typecheck":"tsc --noEmit","test":"bun test ../test","check:package":"absolute-changelog check","prepublishOnly":"bun run typecheck && bun run test && bun run build && bun run check:package"},"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@absolutejs/esign":"0.0.1","@absolutejs/changelog":"^0.6.0"},"peerDependencies":{"@absolutejs/esign":"^0.0.1"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/absolutejs/esign-adapters.git","directory":"docusign"},"_id":"@absolutejs/esign-docusign@0.0.1","gitHead":"2488cbe01e4ca0bf269bf224a0a05d5761988fbc","bugs":{"url":"https://github.com/absolutejs/esign-adapters/issues"},"homepage":"https://github.com/absolutejs/esign-adapters#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-VAx3KEZf4z0oiDG9qgRmCxlTXq1CX0r8OD0pfQjdlZLO7LjaA46rXR/s1IHVcfAJtwgoeT1RyEBo15M9X61E9Q==","shasum":"d2ee983740ec111af4013c80a8f27328b8956447","tarball":"https://registry.npmjs.org/@absolutejs/esign-docusign/-/esign-docusign-0.0.1.tgz","fileCount":7,"unpackedSize":17561,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDsswtWFr24fjOeeKulYzfPwn68kDue9calG0P1JKR66wIhAIVLMFQGqHunb3YglLgtIvr02F6COTq7PIqjLUbv22aM"}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/esign-docusign_0.0.1_1789096913445_0.7575671181253334"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-11T03:21:53.222Z","0.0.1":"2026-09-11T03:21:53.573Z","modified":"2026-09-11T03:21:53.833Z"},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"description":"DocuSign adapter for @absolutejs/esign","homepage":"https://github.com/absolutejs/esign-adapters#readme","repository":{"type":"git","url":"git+https://github.com/absolutejs/esign-adapters.git","directory":"docusign"},"author":{"name":"Alex Kahn"},"bugs":{"url":"https://github.com/absolutejs/esign-adapters/issues"},"license":"BSL-1.1","readme":"# @absolutejs/esign-docusign\n\n```ts\nimport { docusign } from '@absolutejs/esign-docusign';\nconst provider = docusign({\n  accountId: connectedAccount.accountId,\n  baseUri: connectedAccount.baseUri,\n  accessToken: () => tokenResolver.getFreshToken(),\n  hmacSecrets: [process.env.DOCUSIGN_CONNECT_HMAC_SECRET!],\n});\n```\n\nThe base URI must be the HTTPS `base_uri` for the selected account returned by OAuth `/userinfo`, not a user-entered API URL. Sandbox uses `https://account-d.docusign.com`; production OAuth uses `https://account.docusign.com`. `docusignOAuth` provides authorization URL construction, code exchange, refresh, and account discovery. The application must validate OAuth state and authorize the selected account.\n\nUse a DocuSign integration key with an approved redirect URI and configure Connect HMAC secrets. Pass the exact raw JSON callback body and headers to `verifyWebhook`; key rotation is supported by passing multiple secrets. Reconcile the saved envelope afterward. `authenticationMethod: none` records that the application provides recipient authorization; it does not add provider identity verification.\n\nSignature requests use embedded recipients. Open `createSigningSession().url` as a top-level navigation, then reconcile after returning. Both combined PDF and completion certificate downloads require a completed envelope.\n\nReferences: [Create envelope](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/), [recipient view](https://www.docusign.com/blog/developers/deep-dive-the-embedded-signing-recipient-view), [Connect HMAC](https://www.docusign.com/blog/developers/manually-authenticating-hmac-signatures-docusign-connect-webhook-configurations).\n","readmeFilename":"README.md","_rev":"1-c7baeb989dff515c95838cc36b0da528"}