@simfinity/constellation-client 1.0.16 → 1.0.18

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.cjs CHANGED
@@ -54,7 +54,7 @@ var WebClient = class {
54
54
  const response = await fetch(`${this.config.sessionEndpoint}/prepare_session`, {
55
55
  method: "POST",
56
56
  headers: {
57
- "Authorization": `Bearer ${this.config.key}`,
57
+ "Sim-Api-Key": `${this.config.key}`,
58
58
  "Content-Type": "application/json",
59
59
  "Accept": "application/json"
60
60
  },
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ var WebClient = class {
28
28
  const response = await fetch(`${this.config.sessionEndpoint}/prepare_session`, {
29
29
  method: "POST",
30
30
  headers: {
31
- "Authorization": `Bearer ${this.config.key}`,
31
+ "Sim-Api-Key": `${this.config.key}`,
32
32
  "Content-Type": "application/json",
33
33
  "Accept": "application/json"
34
34
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simfinity/constellation-client",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {