@corva/create-app 0.46.0-0-test-2f3568e2 → 0.46.0-0-test-2f3568e3

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.
@@ -17,6 +17,15 @@ export class Api {
17
17
  constructor(envName, apiKey, authToken = null) {
18
18
  const prefixUrl = `https://api${envName === 'production' ? '' : `.${envName}`}.corva.ai`;
19
19
 
20
+ console.log({
21
+ prefixUrl,
22
+ headers: {
23
+ 'Authorization': authToken ? `Bearer` : `API ${apiKey.split('').reverse().join('')}`,
24
+ 'Content-Type': 'application/json',
25
+ 'Accept': 'application/json',
26
+ },
27
+ });
28
+
20
29
  this.#api = got.extend({
21
30
  prefixUrl,
22
31
  retry: { limit: 0 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/create-app",
3
- "version": "0.46.0-0-test-2f3568e2",
3
+ "version": "0.46.0-0-test-2f3568e3",
4
4
  "private": false,
5
5
  "description": "Create an app to use it in CORVA.AI",
6
6
  "keywords": [