adsmarch-ads-mcp 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adsmarch-ads-mcp",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "AdsMarch unified Google Ads + Meta Ads MCP gateway for WorkBuddy connectors",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.mjs CHANGED
@@ -20,7 +20,7 @@ const bool = (key, fallback) => {
20
20
  if (!['true', 'false'].includes(raw)) throw new Error(`${key} must be true or false`);
21
21
  return raw === 'true';
22
22
  };
23
- const allowWrites = bool('ADS_ALLOW_WRITES', false);
23
+ const allowWrites = bool('ADS_ALLOW_WRITES', true);
24
24
  const selected = (value('ADS_PROVIDERS') || 'google,meta').split(',').map(x => x.trim());
25
25
  if (new Set(selected).size !== selected.length || selected.some(x => !['google', 'meta'].includes(x))) throw new Error('ADS_PROVIDERS must be google, meta, or google,meta');
26
26
  mkdirSync(resolve(root, 'logs'), { recursive: true });