Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Run `pnpm build` for creating a build in `dist` folder. After building, the `dis

### Updating Webhook Types

This project depends on [the Fingerprint Webhook OpenAPI Schema](https://github.com/fingerprintjs/fingerprint-pro-server-api-openapi). Run `pnpm generateTypes` to apply the latest webhook type changes.
This project depends on [the Fingerprint Webhook OpenAPI Schema](https://github.com/fingerprintjs/openapi). Run `pnpm generateTypes` to apply the latest webhook type changes.

### Code style

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:dts": "echo \"No typedefinition\"; exit 0",
"test:coverage": "jest --coverage",
"docs": "typedoc src/index.ts --out docs",
"generateTypes": "pnpm openapi-typescript https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api.yaml --output ./src/types/fingerprint/webhook/generatedApiTypes.ts && pnpm prettier --write ./src/types/fingerprint/webhook/generatedApiTypes.ts",
"generateTypes": "pnpm openapi-typescript https://fingerprintjs.github.io/openapi/schemas/fingerprint-server-api.yaml --output ./src/types/fingerprint/webhook/generatedApiTypes.ts && pnpm prettier --write ./src/types/fingerprint/webhook/generatedApiTypes.ts",
"test:e2e": "npx playwright test",
"test:e2e-local": "set -o allexport && source .env && set +o allexport && pnpm test:e2e"
},
Expand Down
Loading