@squadbase/server 0.0.1-beta.4 → 0.0.1-beta.5
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 +4 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4122,7 +4122,10 @@ var ServerClient = class {
|
|
|
4122
4122
|
const request = new Request(
|
|
4123
4123
|
`https://${this.options.projectId}.${this.options._internal?.app_base_domain ?? APP_BASE_DOMAIN}/_sqcore/auth`,
|
|
4124
4124
|
{
|
|
4125
|
-
method: "POST"
|
|
4125
|
+
method: "POST",
|
|
4126
|
+
headers: {
|
|
4127
|
+
Authorization: `Bearer ${sessionToken}`
|
|
4128
|
+
}
|
|
4126
4129
|
}
|
|
4127
4130
|
);
|
|
4128
4131
|
const response = await fetch(request);
|
package/dist/index.js
CHANGED
|
@@ -4096,7 +4096,10 @@ var ServerClient = class {
|
|
|
4096
4096
|
const request = new Request(
|
|
4097
4097
|
`https://${this.options.projectId}.${this.options._internal?.app_base_domain ?? APP_BASE_DOMAIN}/_sqcore/auth`,
|
|
4098
4098
|
{
|
|
4099
|
-
method: "POST"
|
|
4099
|
+
method: "POST",
|
|
4100
|
+
headers: {
|
|
4101
|
+
Authorization: `Bearer ${sessionToken}`
|
|
4102
|
+
}
|
|
4100
4103
|
}
|
|
4101
4104
|
);
|
|
4102
4105
|
const response = await fetch(request);
|