The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
2 fixes: prevent overiding auth header in requests if already present and fix storage explorer for new gotrue
Joshen Limd2845b5c4b57
diff --git a/studio/lib/common/fetch/base.ts b/studio/lib/common/fetch/base.tsindex c67d440a313..4cd461163c2 100644--- a/studio/lib/common/fetch/base.ts+++ b/studio/lib/common/fetch/base.ts@@ -1,5 +1,6 @@import { GOTRUE_ENABLED } from 'lib/gotrue'import { tryParseJson } from 'lib/helpers'+import { isUndefined } from 'lodash'import { SupaResponse } from 'types/base'export function handleError<T>(e: any, requestId: string): SupaResponse<T> {@@ -90,7 +91,7 @@ export function getAccessToken() {function getParameterByName(name: string, url?: string) {// ignore if server-sideif (typeof window === 'undefined') return ''-+if (!url) url = window?.location?.href || ''// eslint-disable-next-line no-useless-escapename = name.replace(/[\[\]]/g, '\\$&')@@ -109,7 +110,8 @@ export function constructHeaders(requestId: string, optionHeaders?: { [prop: str...optionHeaders,}- if (GOTRUE_ENABLED) {+ const hasAuthHeader = !isUndefined(optionHeaders) && 'Authorization' in optionHeaders+ if (GOTRUE_ENABLED && !hasAuthHeader) {const accessToken = getAccessToken()if (accessToken) headers.Authorization = `Bearer ${accessToken}`}diff --git a/studio/localStores/storageExplorer/StorageExplorerStore.js b/studio/localStores/storageExplorer/StorageExplorerStore.jsindex cb5a793c31a..8a0ae4fb41f 100644--- a/studio/localStores/storageExplorer/StorageExplorerStore.js+++ b/studio/localStores/storageExplorer/StorageExplorerStore.js@@ -104,7 +104,16 @@ class StorageExplorerStore {initializeSupabaseClient = (serviceKey, serviceEndpoint) => {this.supabaseClient = createClient(this.normalizeSupabaseURL(`https://${serviceEndpoint}`),- serviceKey+ serviceKey,+ {+ localStorage: {+ getItem: (key) => {+ return undefined+ },+ setItem: (key, value) => {},+ removeItem: (key) => {},+ },+ })}diff --git a/studio/package-lock.json b/studio/package-lock.jsonindex fb0a2cddf45..5e031e16441 100644--- a/studio/package-lock.json+++ b/studio/package-lock.json@@ -1,12 +1,12 @@{"name": "studio",- "version": "0.0.3",+ "version": "0.0.6","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "studio",- "version": "0.0.3",+ "version": "0.0.6","dependencies": {"@auth0/nextjs-auth0": "^1.6.1","@headlessui/react": "^1.4.1",@@ -31,7 +31,7 @@"markdown-table": "=2.0.0","mobx": "^6.3.2","mobx-react-lite": "^3.2.0",- "next": "11.1.1",+ "next": "11.1.3","next-compose-plugins": "^2.2.1","openapi-types": "^9.1.0","papaparse": "^5.3.1",@@ -1965,19 +1965,19 @@}},"node_modules/@next/env": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/env/-/env-11.1.1.tgz",- "integrity": "sha512-UEAzlfKofotLmj9LIgNixAfXpRck9rt/1CU9Q4ZtNDueGBJQP3HUzPHlrLChltWY2TA5MOzDQGL82H0a3+i5Ag=="+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/env/-/env-11.1.3.tgz",+ "integrity": "sha512-5+vaeooJuWmICSlmVaAC8KG3O8hwKasACVfkHj58xQuCB5SW0TKW3hWxgxkBuefMBn1nM0yEVPKokXCsYjBtng=="},"node_modules/@next/polyfill-module": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.1.1.tgz",- "integrity": "sha512-9FyVSnz00WGdlLsgc2w1xL1Lm/Q25y6FYIyA+1WlJvT6LA2lbR78GKiHgedzUvrAatVGAcg/Og+d0d7B4tsJOg=="+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.1.3.tgz",+ "integrity": "sha512-7yr9cr4a0SrBoVE8psxXWK1wTFc8UzsY8Wc2cWGL7qA0hgtqACHaXC47M1ByJB410hFZenGrpE+KFaT1unQMyw=="},"node_modules/@next/react-dev-overlay": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.1.1.tgz",- "integrity": "sha512-CXc/A0DbSk5VXYu4+zr0fHm52Zh/LhPlLyVPEctJOZL64ccxkls5xGoXvgolJCku9L0pLjJzvdfAmhNLOp5dyw==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.1.3.tgz",+ "integrity": "sha512-zIwtMliSUR+IKl917ToFNB+0fD7bI5kYMdjHU/UEKpfIXAZPnXRHHISCvPDsczlr+bRsbjlUFW1CsNiuFedeuQ==","dependencies": {"@babel/code-frame": "7.12.11","anser": "1.4.9",@@ -2061,9 +2061,9 @@}},"node_modules/@next/react-refresh-utils": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.1.tgz",- "integrity": "sha512-j186y+lWc8BHAuysAWvlOqO9Bp7E3BLK/d/Ju3W2sP5BCH5ZLyLG/p308zSy/O0MGTag0B038ZA1dCy/msouRQ==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.3.tgz",+ "integrity": "sha512-144kD8q2nChw67V3AJJlPQ6NUJVFczyn10bhTynn9o2rY5DEnkzuBipcyMuQl2DqfxMkV7sn+yOCOYbrLCk9zg==","peerDependencies": {"react-refresh": "0.8.3","webpack": "^4 || ^5"@@ -2075,9 +2075,9 @@}},"node_modules/@next/swc-darwin-arm64": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-11.1.1.tgz",- "integrity": "sha512-KyB0aLpfQ+B2dsyGYpkM0ZwK3PV0t4C4b9yjgQc1VoTVnIjzXdDPnNOuVvmD849ZNOHfj3x8e2rlbxkj0lPm3A==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-11.1.3.tgz",+ "integrity": "sha512-TwP4krjhs+uU9pesDYCShEXZrLSbJr78p12e7XnLBBaNf20SgWLlVmQUT9gX9KbWan5V0sUbJfmcS8MRNHgYuA==","cpu": ["arm64"],@@ -2090,9 +2090,9 @@}},"node_modules/@next/swc-darwin-x64": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-11.1.1.tgz",- "integrity": "sha512-B3ZXgrGx0bQplbrk2oggPjKPPsmyg8Fl0PJLMTVQ+erQ8g1m5QzyS9P6tB3SiIZa180JgENuguTHlVK5qEj4UA==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-11.1.3.tgz",+ "integrity": "sha512-ZSWmkg/PxccHFNUSeBdrfaH8KwSkoeUtewXKvuYYt7Ph0yRsbqSyNIvhUezDua96lApiXXq6EL2d1THfeWomvw==","cpu": ["x64"],@@ -2105,9 +2105,9 @@}},"node_modules/@next/swc-linux-x64-gnu": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-11.1.1.tgz",- "integrity": "sha512-qvZL7gSKF+E+GZ3L1XiTnE3cOh9rk0wkqimT/q+wwcZA4E720Lu4lrT79I3HPuj6i/JPgGvmNskcnYrDeaoFaw==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-11.1.3.tgz",+ "integrity": "sha512-PrTBN0iZudAuj4jSbtXcdBdmfpaDCPIneG4Oms4zcs93KwMgLhivYW082Mvlgx9QVEiRm7+RkFpIVtG/i7JitA==","cpu": ["x64"],@@ -2120,9 +2120,9 @@}},"node_modules/@next/swc-win32-x64-msvc": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.1.tgz",- "integrity": "sha512-jhnCiA1De1L+kA0gmHG1AJijHoxOcrETWziDWy8fcqSrM1NlC4aJ5Mnu6k0QMcM9MnmXTA4TQZOEv3kF7vhJUQ==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.3.tgz",+ "integrity": "sha512-mRwbscVjRoHk+tDY7XbkT5d9FCwujFIQJpGp0XNb1i5OHCSDO8WW/C9cLEWS4LxKRbIZlTLYg1MTXqLQkvva8w==","cpu": ["x64"],@@ -9937,16 +9937,16 @@"dev": true},"node_modules/next": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/next/-/next-11.1.1.tgz",- "integrity": "sha512-vfLJDkwAHsZUho5R1K4w49nfYhftUMWNmeNSjCtulOvnRBuEFb7ROyRZOQk7f29rMz02eLQrPZ9yiAmPsexL2g==",+ "version": "11.1.3",+ "resolved": "https://registry.npmjs.org/next/-/next-11.1.3.tgz",+ "integrity": "sha512-ud/gKmnKQ8wtHC+pd1ZiqPRa7DdgulPkAk94MbpsspfNliwZkYs9SIYWhlLSyg+c661LzdUI2nZshvrtggSYWA==","dependencies": {"@babel/runtime": "7.15.3","@hapi/accept": "5.0.2",- "@next/env": "11.1.1",- "@next/polyfill-module": "11.1.1",- "@next/react-dev-overlay": "11.1.1",- "@next/react-refresh-utils": "11.1.1",+ "@next/env": "11.1.3",+ "@next/polyfill-module": "11.1.3",+ "@next/react-dev-overlay": "11.1.3",+ "@next/react-refresh-utils": "11.1.3","@node-rs/helper": "1.2.1","assert": "2.0.0","ast-types": "0.13.2",@@ -9984,7 +9984,7 @@"stream-browserify": "3.0.0","stream-http": "3.1.1","string_decoder": "1.3.0",- "styled-jsx": "4.0.0",+ "styled-jsx": "4.0.1","timers-browserify": "2.0.12","tty-browserify": "0.0.1","use-subscription": "1.5.1",@@ -9999,10 +9999,10 @@"node": ">=12.0.0"},"optionalDependencies": {- "@next/swc-darwin-arm64": "11.1.1",- "@next/swc-darwin-x64": "11.1.1",- "@next/swc-linux-x64-gnu": "11.1.1",- "@next/swc-win32-x64-msvc": "11.1.1"+ "@next/swc-darwin-arm64": "11.1.3",+ "@next/swc-darwin-x64": "11.1.3",+ "@next/swc-linux-x64-gnu": "11.1.3",+ "@next/swc-win32-x64-msvc": "11.1.3"},"peerDependencies": {"fibers": ">= 3.1.0",@@ -12382,9 +12382,9 @@}},"node_modules/styled-jsx": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-4.0.0.tgz",- "integrity": "sha512-2USeoWMoJ/Lx5s2y1PxuvLy/cz2Yrr8cTySV3ILHU1Vmaw1bnV7suKdblLPjnyhMD+qzN7B1SWyh4UZTARn/WA==",+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-4.0.1.tgz",+ "integrity": "sha512-Gcb49/dRB1k8B4hdK8vhW27Rlb2zujCk1fISrizCcToIs+55B4vmUM0N9Gi4nnVfFZWe55jRdWpAqH1ldAKWvQ==","dependencies": {"@babel/plugin-syntax-jsx": "7.14.5","@babel/types": "7.15.0",@@ -12395,8 +12395,16 @@"stylis": "3.5.4","stylis-rule-sheet": "0.0.10"},+ "engines": {+ "node": ">= 12.0.0"+ },"peerDependencies": {"react": ">= 16.8.0 || 17.x.x || 18.x.x"+ },+ "peerDependenciesMeta": {+ "@babel/core": {+ "optional": true+ }}},"node_modules/styled-jsx/node_modules/source-map": {@@ -15120,9 +15128,9 @@}},"@napi-rs/triples": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/@napi-rs/triples/-/triples-1.1.0.tgz",- "integrity": "sha512-XQr74QaLeMiqhStEhLn1im9EOMnkypp7MZOwQhGzqp2Weu5eQJbpPxWxixxlYRKWPOmJjsk6qYfYH9kq43yc2w=="+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/@napi-rs/triples/-/triples-1.0.3.tgz",+ "integrity": "sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA=="},"@next/bundle-analyzer": {"version": "12.0.4",@@ -15208,7 +15216,8 @@"@next/react-refresh-utils": {"version": "11.1.3","resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.3.tgz",- "integrity": "sha512-144kD8q2nChw67V3AJJlPQ6NUJVFczyn10bhTynn9o2rY5DEnkzuBipcyMuQl2DqfxMkV7sn+yOCOYbrLCk9zg=="+ "integrity": "sha512-144kD8q2nChw67V3AJJlPQ6NUJVFczyn10bhTynn9o2rY5DEnkzuBipcyMuQl2DqfxMkV7sn+yOCOYbrLCk9zg==",+ "requires": {}},"@next/swc-darwin-arm64": {"version": "11.1.3",@@ -17320,22 +17329,6 @@"integrity": "sha1-9AIvyPlwDGgCnVQghK+69CWj8+M=","dev": true},- "cssnano-preset-simple": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/cssnano-preset-simple/-/cssnano-preset-simple-3.0.0.tgz",- "integrity": "sha512-vxQPeoMRqUT3c/9f0vWeVa2nKQIHFpogtoBvFdW4GQ3IvEJ6uauCP6p3Y5zQDLFcI7/+40FTgX12o7XUL0Ko+w==",- "requires": {- "caniuse-lite": "^1.0.30001202"- }- },- "cssnano-simple": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/cssnano-simple/-/cssnano-simple-3.0.0.tgz",- "integrity": "sha512-oU3ueli5Dtwgh0DyeohcIEE00QVfbPR3HzyXdAl89SfnQG3y0/qcpfLVW+jPIh3/rgMZGwuW96rejZGaYE9eUg==",- "requires": {- "cssnano-preset-simple": "^3.0.0"- }- },"cssom": {"version": "0.4.4","resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",@@ -17772,9 +17765,9 @@}},"es-abstract": {- "version": "1.19.1",- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz",- "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==",+ "version": "1.18.6",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.6.tgz",+ "integrity": "sha512-kAeIT4cku5eNLNuUKhlmtuk1/TRZvQoYccn6TO0cSVdf1kzB0T7+dYuVK9MWM7l+/53W2Q8M7N2c6MQvhXFcUQ==","requires": {"call-bind": "^1.0.2","es-to-primitive": "^1.2.1",@@ -17787,9 +17780,7 @@"is-callable": "^1.2.4","is-negative-zero": "^2.0.1","is-regex": "^1.1.4",- "is-shared-array-buffer": "^1.0.1","is-string": "^1.0.7",- "is-weakref": "^1.0.1","object-inspect": "^1.11.0","object-keys": "^1.1.1","object.assign": "^4.1.2",@@ -18789,11 +18780,6 @@"resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz","integrity": "sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg=="},- "is-shared-array-buffer": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz",- "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA=="- },"is-stream": {"version": "2.0.1","resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",@@ -18833,14 +18819,6 @@"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz","integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="},- "is-weakref": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz",- "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==",- "requires": {- "call-bind": "^1.0.0"- }- },"isarray": {"version": "1.0.0","resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",@@ -21500,6 +21478,24 @@"node-releases": "^1.1.71"}},+ "cssnano-simple": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-simple/-/cssnano-simple-3.0.0.tgz",+ "integrity": "sha512-oU3ueli5Dtwgh0DyeohcIEE00QVfbPR3HzyXdAl89SfnQG3y0/qcpfLVW+jPIh3/rgMZGwuW96rejZGaYE9eUg==",+ "requires": {+ "cssnano-preset-simple": "^3.0.0"+ },+ "dependencies": {+ "cssnano-preset-simple": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-preset-simple/-/cssnano-preset-simple-3.0.0.tgz",+ "integrity": "sha512-vxQPeoMRqUT3c/9f0vWeVa2nKQIHFpogtoBvFdW4GQ3IvEJ6uauCP6p3Y5zQDLFcI7/+40FTgX12o7XUL0Ko+w==",+ "requires": {+ "caniuse-lite": "^1.0.30001202"+ }+ }+ }+ },"postcss": {"version": "8.2.15","resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.15.tgz",@@ -21599,6 +21595,11 @@"util": "0.10.3"},"dependencies": {+ "inherits": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",+ "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE="+ },"util": {"version": "0.10.3","resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",@@ -21625,9 +21626,9 @@"integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA=="},"inherits": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",- "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE="+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="},"path-browserify": {"version": "0.0.1",@@ -21651,21 +21652,6 @@"safe-buffer": "~5.1.1","string_decoder": "~1.1.1","util-deprecate": "~1.0.1"- },- "dependencies": {- "inherits": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="- },- "string_decoder": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",- "requires": {- "safe-buffer": "~5.1.0"- }- }}},"safe-buffer": {@@ -21694,6 +21680,14 @@"xtend": "^4.0.0"}},+ "string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "requires": {+ "safe-buffer": "~5.1.0"+ }+ },"tty-browserify": {"version": "0.0.0","resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",@@ -21705,13 +21699,6 @@"integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==","requires": {"inherits": "2.0.3"- },- "dependencies": {- "inherits": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="- }}}}@@ -21723,9 +21710,9 @@"dev": true},"node-releases": {- "version": "1.1.77",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.77.tgz",- "integrity": "sha512-rB1DUFUNAN4Gn9keO2K1efO35IDK7yKHCdCaIMvFO7yUYmmZYeDjnGKle26G4rwj+LKRQpjyUUvMkPglwGCYNQ=="+ "version": "1.1.76",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.76.tgz",+ "integrity": "sha512-9/IECtNr8dXNmPWmFXepT0/7o5eolGesHUa3mtr0KlgnCvnZxwh2qensKL42JJY2vQKC3nIBXetFAqR+PW1CmA=="},"normalize-path": {"version": "3.0.0",@@ -21785,9 +21772,9 @@"integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw=="},"object-inspect": {- "version": "1.11.1",- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz",- "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA=="+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz",+ "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg=="},"object-is": {"version": "1.1.5",diff --git a/studio/stores/pgmeta/OpenApiStore.ts b/studio/stores/pgmeta/OpenApiStore.tsindex f8956674754..be5e2a29847 100644--- a/studio/stores/pgmeta/OpenApiStore.ts+++ b/studio/stores/pgmeta/OpenApiStore.ts@@ -57,7 +57,7 @@ export default class OpenApiStore implements IOpenApiStore {const restApiUrl = projectConfig.autoApiService?.restUrlconst response = await get<OpenAPIV2.Document>(`${restApiUrl}?apikey=${apiKey}`, {- headers: { ...headers, apiKey: apiKey, authorization: `Bearer ${apiKey}` },+ headers: { ...headers, apiKey: apiKey, Authorization: `Bearer ${apiKey}` },credentials: 'omit',})if (response.error) throw response.error