mailmeteor 0.0.5 → 0.0.7

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/dist/index.cjs CHANGED
@@ -874,7 +874,7 @@ const createClient = (config = {}) => {
874
874
  };
875
875
  };
876
876
 
877
- const client = createClient(createConfig({ baseUrl: '/v1' }));
877
+ const client = createClient(createConfig({ baseUrl: '/v1', throwOnError: true }));
878
878
 
879
879
  class HeyApiClient {
880
880
  constructor(args) {
@@ -1587,6 +1587,7 @@ class Mailmeteor {
1587
1587
  const baseUrl = config?.baseUrl || "https://mailmeteor-emailservice-dev.appspot.com/v1";
1588
1588
  this.client = createClient(createConfig({
1589
1589
  baseUrl,
1590
+ throwOnError: true,
1590
1591
  headers: {
1591
1592
  'Authorization': `Bearer ${key}`,
1592
1593
  },