@vectorstores/supabase 0.1.6 → 0.1.7

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
@@ -10,7 +10,7 @@ class SupabaseVectorStore extends core.BaseVectorStore {
10
10
  * @param init Configuration object containing either a Supabase client or URL/key pair, and table name
11
11
  * @throws Error if neither client nor valid URL/key pair is provided
12
12
  */ constructor(init){
13
- super(init), this.storesText = true, this.flatMetadata = false;
13
+ super(), this.storesText = true, this.flatMetadata = false;
14
14
  this.table = init.table;
15
15
  if (init.client) {
16
16
  this.supabaseClient = init.client;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { SupabaseClient } from '@supabase/supabase-js';
2
- import { VectorStoreBaseParams, BaseVectorStore, BaseNode, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
2
+ import { BaseVectorStore, BaseNode, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
3
3
 
4
- interface SupabaseVectorStoreInit extends VectorStoreBaseParams {
4
+ interface SupabaseVectorStoreInit {
5
5
  client?: SupabaseClient;
6
6
  supabaseUrl?: string;
7
7
  supabaseKey?: string;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { SupabaseClient } from '@supabase/supabase-js';
2
- import { VectorStoreBaseParams, BaseVectorStore, BaseNode, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
2
+ import { BaseVectorStore, BaseNode, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
3
3
 
4
- interface SupabaseVectorStoreInit extends VectorStoreBaseParams {
4
+ interface SupabaseVectorStoreInit {
5
5
  client?: SupabaseClient;
6
6
  supabaseUrl?: string;
7
7
  supabaseKey?: string;
@@ -1,7 +1,7 @@
1
1
  import { SupabaseClient } from '@supabase/supabase-js';
2
- import { VectorStoreBaseParams, BaseVectorStore, BaseNode, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
2
+ import { BaseVectorStore, BaseNode, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
3
3
 
4
- interface SupabaseVectorStoreInit extends VectorStoreBaseParams {
4
+ interface SupabaseVectorStoreInit {
5
5
  client?: SupabaseClient;
6
6
  supabaseUrl?: string;
7
7
  supabaseKey?: string;
@@ -8,7 +8,7 @@ class SupabaseVectorStore extends BaseVectorStore {
8
8
  * @param init Configuration object containing either a Supabase client or URL/key pair, and table name
9
9
  * @throws Error if neither client nor valid URL/key pair is provided
10
10
  */ constructor(init){
11
- super(init), this.storesText = true, this.flatMetadata = false;
11
+ super(), this.storesText = true, this.flatMetadata = false;
12
12
  this.table = init.table;
13
13
  if (init.client) {
14
14
  this.supabaseClient = init.client;
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ class SupabaseVectorStore extends BaseVectorStore {
8
8
  * @param init Configuration object containing either a Supabase client or URL/key pair, and table name
9
9
  * @throws Error if neither client nor valid URL/key pair is provided
10
10
  */ constructor(init){
11
- super(init), this.storesText = true, this.flatMetadata = false;
11
+ super(), this.storesText = true, this.flatMetadata = false;
12
12
  this.table = init.table;
13
13
  if (init.client) {
14
14
  this.supabaseClient = init.client;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vectorstores/supabase",
3
3
  "description": "Supabase Storage for vectorstores",
4
- "version": "0.1.6",
4
+ "version": "0.1.7",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "vitest": "2.1.0",
38
- "@vectorstores/core": "0.1.6",
38
+ "@vectorstores/core": "0.1.7",
39
39
  "@vectorstores/env": "0.1.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@vectorstores/core": "0.1.6",
42
+ "@vectorstores/core": "0.1.7",
43
43
  "@vectorstores/env": "0.1.0"
44
44
  },
45
45
  "dependencies": {