Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 333c764

Browse files
chore: promote main to stable
2 parents d6450fd + 836c818 commit 333c764

21 files changed

Lines changed: 3803 additions & 2069 deletions

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ function App() {
3737

3838
fields={{
3939
document: [
40-
{ id: 'user_name', value: 'John Doe' },
41-
{ id: 'agreement_date', value: new Date().toLocaleDateString() },
42-
{ id: 'company_name', value: 'SuperDoc' },
43-
{ id: 'service_type', value: 'Premium' },
44-
{ id: 'agreement_jurisdiction', value: 'CA' },
45-
{ id: 'company_address', value: '123 Main St, Anytown, USA' }
40+
{ id: '1', value: 'John Doe' },
41+
{ id: '2', value: new Date().toLocaleDateString() },
42+
{ id: '3', value: 'SuperDoc' },
43+
{ id: '4', value: 'Premium' },
44+
{ id: '5', value: 'CA' },
45+
{ id: '6', value: '123 Main St, Anytown, USA' }
4646
],
4747
signer: [
4848
{
49-
id: 'signature',
49+
id: '7',
5050
type: 'signature',
5151
validation: { required: true },
5252
label: 'Type your full name'
5353
},
5454
{
55-
id: 'accept_terms',
55+
id: '8',
5656
type: 'checkbox',
5757
validation: { required: true },
5858
label: 'I accept the terms'
@@ -118,11 +118,11 @@ See [Python, Node.js, and more examples](https://docs.superdoc.dev/solutions/esi
118118
timestamp: "2024-01-15T10:30:00Z",
119119
duration: 45000,
120120
documentFields: [
121-
{ id: "user_name", value: "John Doe" }
121+
{ id: "1", value: "John Doe" }
122122
],
123123
signerFields: [
124-
{ id: "signature", value: "John Doe" },
125-
{ id: "accept_terms", value: true }
124+
{ id: "7", value: "John Doe" },
125+
{ id: "8", value: true }
126126
],
127127
auditTrail: [
128128
{ type: "ready", timestamp: "..." },

demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@superdoc-dev/esign": "link:../.",
1212
"react": "^18.3.1",
1313
"react-dom": "^18.3.1",
14-
"superdoc": "^0.36.1",
14+
"superdoc": "1.9.0",
1515
"signature_pad": "^5.1.1"
1616
},
1717
"devDependencies": {
@@ -21,4 +21,4 @@
2121
"typescript": "^5.9.2",
2222
"vite": "^7.1.7"
2323
}
24-
}
24+
}

demo/pnpm-lock.yaml

Lines changed: 624 additions & 747 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/server/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@
55
"main": "server.js",
66
"scripts": {
77
"start": "node server.js",
8-
"dev": "node server.js"
8+
"dev": "node server.js",
9+
"test": "vitest run",
10+
"test:watch": "vitest"
911
},
1012
"dependencies": {
1113
"cors": "^2.8.5",
1214
"dotenv": "^16.4.5",
1315
"express": "^4.19.2"
16+
},
17+
"devDependencies": {
18+
"supertest": "^7.0.0",
19+
"vitest": "^3.0.0"
1420
}
1521
}

0 commit comments

Comments
 (0)