@assinafy/sdk 2.0.0 → 2.1.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/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@assinafy/sdk",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
+ "packageManager": "bun@1.3.14",
4
5
  "description": "TypeScript SDK for Assinafy API - Digital signature platform",
5
6
  "type": "commonjs",
6
7
  "main": "dist/index.js",
@@ -23,12 +24,16 @@
23
24
  "scripts": {
24
25
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
25
26
  "test": "bun test",
26
- "lint": "eslint src",
27
- "lint:fix": "eslint src --fix",
27
+ "test:coverage": "bun test --coverage",
28
+ "lint": "eslint src scripts --max-warnings=0",
29
+ "lint:fix": "eslint src scripts --fix",
28
30
  "lint:pkg": "publint --strict && attw --pack .",
29
- "prepublishOnly": "bun run build",
30
- "release": "bun run typecheck && bun run lint && bun test && bun run build && npm publish --access public && npm publish --registry=https://npm.pkg.github.com",
31
- "typecheck": "tsc --noEmit"
31
+ "audit": "bun audit",
32
+ "audit:api": "bun scripts/api-contract-audit.ts",
33
+ "prepack": "bun run build",
34
+ "prepublishOnly": "bun run verify && bun run audit",
35
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.scripts.json && tsc --noEmit -p tsconfig.tests.json",
36
+ "verify": "bun run typecheck && bun run lint && bun run test:coverage && bun run build && bun run lint:pkg"
32
37
  },
33
38
  "keywords": [
34
39
  "assinafy",
@@ -61,21 +66,28 @@
61
66
  "homepage": "https://github.com/assinafy/typescript-sdk/#readme",
62
67
  "devDependencies": {
63
68
  "@arethetypeswrong/cli": "^0.18.5",
64
- "@eslint/js": "^9.0.0",
65
- "@types/bun": "^1.3.0",
66
- "@types/node": "^26.1.1",
67
- "eslint": "^9.0.0",
68
- "publint": "^0.3.21",
69
- "tsup": "^8.0.0",
70
- "typescript": "^5.0.0",
71
- "typescript-eslint": "^8.0.0"
69
+ "@eslint/js": "^10.0.1",
70
+ "@types/bun": "^1.3.14",
71
+ "@types/node": "^22.20.1",
72
+ "eslint": "^10.8.0",
73
+ "publint": "^0.3.23",
74
+ "tsup": "^8.5.1",
75
+ "typescript": "^6.0.3",
76
+ "typescript-eslint": "^8.66.0"
72
77
  },
73
78
  "dependencies": {
74
- "axios": "^1.6.0"
79
+ "axios": "^1.19.0"
80
+ },
81
+ "overrides": {
82
+ "esbuild": "0.28.1",
83
+ "brace-expansion": "5.0.9"
75
84
  },
76
85
  "files": [
77
86
  "dist",
87
+ "docs",
78
88
  "README.md",
89
+ "CHANGELOG.md",
90
+ "SECURITY.md",
79
91
  "LICENSE"
80
92
  ]
81
93
  }