@fachkraftfreund/n8n-nodes-supabase 1.2.0 → 1.2.1
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,15 +17,16 @@ class SupabaseExtendedApi {
|
|
|
17
17
|
description: 'Your Supabase project URL',
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
displayName: '
|
|
20
|
+
displayName: 'Secret Key',
|
|
21
21
|
name: 'serviceKey',
|
|
22
22
|
type: 'string',
|
|
23
23
|
default: '',
|
|
24
|
+
placeholder: 'sb_secret_...',
|
|
24
25
|
typeOptions: {
|
|
25
26
|
password: true,
|
|
26
27
|
},
|
|
27
28
|
required: true,
|
|
28
|
-
description: 'Your Supabase
|
|
29
|
+
description: 'Your Supabase Secret key (sb_secret_... from Project Settings → API Keys). Legacy service_role JWTs are also supported.',
|
|
29
30
|
},
|
|
30
31
|
{
|
|
31
32
|
displayName: 'Additional Options',
|
|
@@ -49,7 +50,6 @@ class SupabaseExtendedApi {
|
|
|
49
50
|
properties: {
|
|
50
51
|
headers: {
|
|
51
52
|
apikey: '={{$credentials.serviceKey}}',
|
|
52
|
-
Authorization: 'Bearer {{$credentials.serviceKey}}',
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
};
|
|
@@ -60,7 +60,6 @@ class SupabaseExtendedApi {
|
|
|
60
60
|
method: 'GET',
|
|
61
61
|
headers: {
|
|
62
62
|
apikey: '={{$credentials.serviceKey}}',
|
|
63
|
-
Authorization: 'Bearer {{$credentials.serviceKey}}',
|
|
64
63
|
'Accept': 'application/vnd.pgrst.object+json',
|
|
65
64
|
'Content-Type': 'application/json',
|
|
66
65
|
},
|
package/package.json
CHANGED