Skip to content

Commit 05fd600

Browse files
committed
update README
1 parent 1105b3d commit 05fd600

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ Options can be declared globally using the **init** method or locally as the fou
115115
\
116116
The local parameter will have higher priority than the global one.
117117

118-
| Name | Type | Description |
119-
| --------- | ------ | ------------------------------------------------- |
120-
| publicKey | String | The public key is required to invoke the command. |
118+
| Name | Type | Default | Description |
119+
| ------------- | ------- | ------- | -------------------------------------------------------- |
120+
| publicKey | String | | The public key is required to invoke the method. |
121+
| blockHeadless | Boolean | False | Method will return error 451 if the browser is headless. |
121122

122123
**Declare global settings**
123124

@@ -126,6 +127,7 @@ import emailjs from '@emailjs/browser';
126127

127128
emailjs.init({
128129
publicKey: 'YOUR_PUBLIC_KEY',
130+
blockHeadless: true,
129131
});
130132
```
131133

0 commit comments

Comments
 (0)