mailmeteor 0.0.13 → 0.0.14

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
@@ -1627,7 +1627,7 @@ function querySerializer(query) {
1627
1627
  }
1628
1628
  class Mailmeteor {
1629
1629
  constructor(key, config) {
1630
- const baseUrl = config?.baseUrl || "https://api.mailmeteor.com/v1";
1630
+ const baseUrl = config?.baseUrl || 'https://api.mailmeteor.com/v1';
1631
1631
  this.client = createClient(createConfig({
1632
1632
  baseUrl,
1633
1633
  throwOnError: true,
@@ -1641,7 +1641,6 @@ class Mailmeteor {
1641
1641
  this.billing = new Billing({ client: this.client });
1642
1642
  this.contactLists = new ContactLists({ client: this.client });
1643
1643
  this.organizations = new Organizations({ client: this.client });
1644
- this.organizationMembers = new OrganizationMembers({ client: this.client });
1645
1644
  this.users = new Users({ client: this.client });
1646
1645
  this.contacts = new Contacts({ client: this.client });
1647
1646
  }
@@ -1656,6 +1655,13 @@ class Mailmeteor {
1656
1655
  },
1657
1656
  });
1658
1657
  }
1658
+ setApiBaseUrl(baseUrl) {
1659
+ const currentConfig = this.client.getConfig();
1660
+ this.client.setConfig({
1661
+ ...currentConfig,
1662
+ baseUrl,
1663
+ });
1664
+ }
1659
1665
  }
1660
1666
 
1661
1667
  exports.Mailmeteor = Mailmeteor;