@affonso/cli 0.1.2 → 0.1.3

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ function resolveBaseUrl(flagBaseUrl) {
117
117
  // src/auth/oauth.ts
118
118
  var import_node_crypto = __toESM(require("crypto"));
119
119
  var import_node_http = __toESM(require("http"));
120
- var CLIENT_ID = "affonso-cli";
120
+ var CLIENT_ID = "d4e5f6a7-b8c9-4d0e-a1f2-b3c4d5e6f7a8";
121
121
  var SCOPES = "read write";
122
122
  var LOGIN_TIMEOUT_MS = 5 * 60 * 1e3;
123
123
  function escapeHtml(s) {
@@ -1318,7 +1318,7 @@ function registerLogoutCommand(program2) {
1318
1318
  headers: { "Content-Type": "application/x-www-form-urlencoded" },
1319
1319
  body: new URLSearchParams({
1320
1320
  token: auth.access_token,
1321
- client_id: "affonso-cli"
1321
+ client_id: CLIENT_ID
1322
1322
  })
1323
1323
  });
1324
1324
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affonso/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Command line interface for the Affonso affiliate marketing platform",
5
5
  "bin": {
6
6
  "affonso": "./dist/index.js"