builtwith-official-cli 1.5.1 → 1.5.2

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/lib/client.js CHANGED
@@ -43,8 +43,8 @@ const BASE_URLS = {
43
43
  'payment-balance': 'https://payments.builtwith.com/v1/billing/api-discovery',
44
44
  'payment-config': 'https://payments.builtwith.com/v1/billing/api-configuration',
45
45
  'payment-purchase': 'https://payments.builtwith.com/v1/billing/api-purchase',
46
- 'agent-auth-start': 'https://api.builtwith.com/agent-auth-start',
47
- 'agent-auth-token': 'https://api.builtwith.com/agent-auth-token',
46
+ 'agent-auth-start': 'https://api.builtwith.com/agent-auth/start',
47
+ 'agent-auth-token': 'https://api.builtwith.com/agent-auth/token',
48
48
  };
49
49
 
50
50
  /**
@@ -3,8 +3,8 @@
3
3
  const fetch = require('node-fetch');
4
4
  const output = require('../output');
5
5
 
6
- const AUTH_START_URL = 'https://api.builtwith.com/agent-auth-start';
7
- const AUTH_TOKEN_URL = 'https://api.builtwith.com/agent-auth-token';
6
+ const AUTH_START_URL = 'https://api.builtwith.com/agent-auth/start';
7
+ const AUTH_TOKEN_URL = 'https://api.builtwith.com/agent-auth/token';
8
8
  const POLL_INTERVAL_MS = 5000;
9
9
  const TIMEOUT_MS = 5 * 60 * 1000;
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "builtwith-official-cli",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Non-interactive, scriptable CLI for the BuiltWith API",
5
5
  "main": "lib/cli.js",
6
6
  "bin": {