@sherwoodagent/cli 0.18.3 → 0.18.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.
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1143,7 +1143,10 @@ async function provisionApiKey() {
|
|
|
1143
1143
|
const signature = await account.signMessage({ message: token });
|
|
1144
1144
|
const keyRes = await fetch(`${VENICE_API_BASE}/api_keys/generate_web3_key`, {
|
|
1145
1145
|
method: "POST",
|
|
1146
|
-
headers: {
|
|
1146
|
+
headers: {
|
|
1147
|
+
"Content-Type": "application/json",
|
|
1148
|
+
Authorization: `Bearer ${token}`
|
|
1149
|
+
},
|
|
1147
1150
|
signal: AbortSignal.timeout(15e3),
|
|
1148
1151
|
body: JSON.stringify({
|
|
1149
1152
|
address: account.address,
|