feat(dangerous protections): disable dangerous operations by default

This commit is contained in:
2025-07-29 12:13:26 +00:00
parent cb6e79ba50
commit dfbf66e339
3 changed files with 16 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ export interface IBunqConstructorOptions {
environment: 'SANDBOX' | 'PRODUCTION';
permittedIps?: string[];
isOAuthToken?: boolean; // Set to true when using OAuth access token instead of API key
dangerousOperations?: boolean; // Set to true to enable dangerous operations like closing accounts
}
/**