feat(dangerous protections): disable dangerous operations by default
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user