claude-trello-cli 0.1.3 → 0.1.4

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -78,6 +78,7 @@ async function apiFetch(path, options) {
78
78
  ...options,
79
79
  headers: {
80
80
  "Content-Type": "application/json",
81
+ Origin: serverUrl,
81
82
  Cookie: cookie,
82
83
  ...options?.headers ?? {}
83
84
  },
@@ -103,7 +104,10 @@ async function apiFetch(path, options) {
103
104
  async function signIn(serverUrl, email, password2) {
104
105
  const res = await fetch(`${serverUrl}/api/auth/sign-in/email`, {
105
106
  method: "POST",
106
- headers: { "Content-Type": "application/json" },
107
+ headers: {
108
+ "Content-Type": "application/json",
109
+ Origin: serverUrl
110
+ },
107
111
  body: JSON.stringify({ email, password: password2 }),
108
112
  redirect: "manual"
109
113
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-trello-cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "CLI for Claude Trello Bridge — point Claude Code at a Trello board and work through tasks from your terminal",
5
5
  "type": "module",
6
6
  "bin": {