@supabase/storage-js 2.84.0 → 2.84.1-canary.0

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.
Files changed (67) hide show
  1. package/dist/main/StorageClient.d.ts +1 -15
  2. package/dist/main/StorageClient.d.ts.map +1 -1
  3. package/dist/main/StorageClient.js +1 -15
  4. package/dist/main/StorageClient.js.map +1 -1
  5. package/dist/main/lib/vectors/StorageVectorsClient.d.ts +18 -47
  6. package/dist/main/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
  7. package/dist/main/lib/vectors/StorageVectorsClient.js +18 -47
  8. package/dist/main/lib/vectors/StorageVectorsClient.js.map +1 -1
  9. package/dist/main/lib/vectors/VectorBucketApi.d.ts +9 -153
  10. package/dist/main/lib/vectors/VectorBucketApi.d.ts.map +1 -1
  11. package/dist/main/lib/vectors/VectorBucketApi.js +9 -153
  12. package/dist/main/lib/vectors/VectorBucketApi.js.map +1 -1
  13. package/dist/main/lib/vectors/VectorDataApi.d.ts +10 -258
  14. package/dist/main/lib/vectors/VectorDataApi.d.ts.map +1 -1
  15. package/dist/main/lib/vectors/VectorDataApi.js +10 -258
  16. package/dist/main/lib/vectors/VectorDataApi.js.map +1 -1
  17. package/dist/main/lib/vectors/VectorIndexApi.d.ts +9 -177
  18. package/dist/main/lib/vectors/VectorIndexApi.d.ts.map +1 -1
  19. package/dist/main/lib/vectors/VectorIndexApi.js +9 -176
  20. package/dist/main/lib/vectors/VectorIndexApi.js.map +1 -1
  21. package/dist/main/lib/version.d.ts +1 -1
  22. package/dist/main/lib/version.d.ts.map +1 -1
  23. package/dist/main/lib/version.js +1 -1
  24. package/dist/main/lib/version.js.map +1 -1
  25. package/dist/main/packages/StorageAnalyticsClient.d.ts +6 -2
  26. package/dist/main/packages/StorageAnalyticsClient.d.ts.map +1 -1
  27. package/dist/main/packages/StorageAnalyticsClient.js +6 -2
  28. package/dist/main/packages/StorageAnalyticsClient.js.map +1 -1
  29. package/dist/module/StorageClient.d.ts +1 -15
  30. package/dist/module/StorageClient.d.ts.map +1 -1
  31. package/dist/module/StorageClient.js +1 -15
  32. package/dist/module/StorageClient.js.map +1 -1
  33. package/dist/module/lib/vectors/StorageVectorsClient.d.ts +18 -47
  34. package/dist/module/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
  35. package/dist/module/lib/vectors/StorageVectorsClient.js +18 -47
  36. package/dist/module/lib/vectors/StorageVectorsClient.js.map +1 -1
  37. package/dist/module/lib/vectors/VectorBucketApi.d.ts +9 -153
  38. package/dist/module/lib/vectors/VectorBucketApi.d.ts.map +1 -1
  39. package/dist/module/lib/vectors/VectorBucketApi.js +9 -153
  40. package/dist/module/lib/vectors/VectorBucketApi.js.map +1 -1
  41. package/dist/module/lib/vectors/VectorDataApi.d.ts +10 -258
  42. package/dist/module/lib/vectors/VectorDataApi.d.ts.map +1 -1
  43. package/dist/module/lib/vectors/VectorDataApi.js +10 -258
  44. package/dist/module/lib/vectors/VectorDataApi.js.map +1 -1
  45. package/dist/module/lib/vectors/VectorIndexApi.d.ts +9 -177
  46. package/dist/module/lib/vectors/VectorIndexApi.d.ts.map +1 -1
  47. package/dist/module/lib/vectors/VectorIndexApi.js +9 -176
  48. package/dist/module/lib/vectors/VectorIndexApi.js.map +1 -1
  49. package/dist/module/lib/version.d.ts +1 -1
  50. package/dist/module/lib/version.d.ts.map +1 -1
  51. package/dist/module/lib/version.js +1 -1
  52. package/dist/module/lib/version.js.map +1 -1
  53. package/dist/module/packages/StorageAnalyticsClient.d.ts +6 -2
  54. package/dist/module/packages/StorageAnalyticsClient.d.ts.map +1 -1
  55. package/dist/module/packages/StorageAnalyticsClient.js +6 -2
  56. package/dist/module/packages/StorageAnalyticsClient.js.map +1 -1
  57. package/dist/tsconfig.module.tsbuildinfo +1 -1
  58. package/dist/tsconfig.tsbuildinfo +1 -1
  59. package/dist/umd/supabase.js +1 -1
  60. package/package.json +1 -1
  61. package/src/StorageClient.ts +1 -15
  62. package/src/lib/vectors/StorageVectorsClient.ts +18 -47
  63. package/src/lib/vectors/VectorBucketApi.ts +9 -153
  64. package/src/lib/vectors/VectorDataApi.ts +10 -258
  65. package/src/lib/vectors/VectorIndexApi.ts +9 -177
  66. package/src/lib/version.ts +1 -1
  67. package/src/packages/StorageAnalyticsClient.ts +6 -2
@@ -1,7 +1,6 @@
1
1
  import { Fetch } from './fetch';
2
2
  import { ApiResponse, VectorIndex, ListIndexesOptions, ListIndexesResponse, VectorDataType, DistanceMetric, MetadataConfiguration } from './types';
3
3
  /**
4
- *
5
4
  * @alpha
6
5
  *
7
6
  * Options for creating a vector index
@@ -17,13 +16,9 @@ export interface CreateIndexOptions {
17
16
  metadataConfiguration?: MetadataConfiguration;
18
17
  }
19
18
  /**
20
- *
21
- * @alpha
22
- *
23
- * API class for managing Vector Indexes within Vector Buckets
24
- * Provides methods for creating, reading, listing, and deleting vector indexes
25
- *
26
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
19
+ * @hidden
20
+ * Base implementation for vector index operations.
21
+ * Use {@link VectorBucketScope} via `supabase.storage.vectors.from('bucket')` instead.
27
22
  */
28
23
  export default class VectorIndexApi {
29
24
  protected url: string;
@@ -32,184 +27,21 @@ export default class VectorIndexApi {
32
27
  };
33
28
  protected fetch: Fetch;
34
29
  protected shouldThrowOnError: boolean;
35
- /**
36
- *
37
- * @alpha
38
- *
39
- * Creates an API client for managing vector indexes.
40
- *
41
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
42
- *
43
- * @category Vector Buckets
44
- * @param url - Base URL for the Storage Vectors API.
45
- * @param headers - Default headers sent with each request.
46
- * @param fetch - Optional custom `fetch` implementation for non-browser runtimes.
47
- *
48
- * @example
49
- * ```typescript
50
- * const client = new VectorIndexApi(url, headers)
51
- * ```
52
- */
30
+ /** Creates a new VectorIndexApi instance */
53
31
  constructor(url: string, headers?: {
54
32
  [key: string]: string;
55
33
  }, fetch?: Fetch);
56
- /**
57
- *
58
- * @alpha
59
- *
60
- * Enable throwing errors instead of returning them in the response
61
- * When enabled, failed operations will throw instead of returning { data: null, error }
62
- *
63
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
64
- *
65
- * @category Vector Buckets
66
- * @returns This instance for method chaining
67
- * @example
68
- * ```typescript
69
- * const client = new VectorIndexApi(url, headers)
70
- * client.throwOnError()
71
- * const { data } = await client.createIndex(options) // throws on error
72
- * ```
73
- */
34
+ /** Enable throwing errors instead of returning them in the response */
74
35
  throwOnError(): this;
75
- /**
76
- *
77
- * @alpha
78
- *
79
- * Creates a new vector index within a bucket
80
- * Defines the schema for vectors including dimensionality, distance metric, and metadata config
81
- *
82
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
83
- *
84
- * @category Vector Buckets
85
- * @param options - Index configuration
86
- * @param options.vectorBucketName - Name of the parent vector bucket
87
- * @param options.indexName - Unique name for the index within the bucket
88
- * @param options.dataType - Data type for vector components (currently only 'float32')
89
- * @param options.dimension - Dimensionality of vectors (e.g., 384, 768, 1536)
90
- * @param options.distanceMetric - Similarity metric ('cosine', 'euclidean', 'dotproduct')
91
- * @param options.metadataConfiguration - Optional config for non-filterable metadata keys
92
- * @returns Promise with empty response on success or error
93
- *
94
- * @throws {StorageVectorsApiError} With code:
95
- * - `S3VectorConflictException` if index already exists (HTTP 409)
96
- * - `S3VectorMaxIndexesExceeded` if quota exceeded (HTTP 400)
97
- * - `S3VectorNotFoundException` if bucket doesn't exist (HTTP 404)
98
- * - `InternalError` for server errors (HTTP 500)
99
- *
100
- * @example
101
- * ```typescript
102
- * const { data, error } = await client.createIndex({
103
- * vectorBucketName: 'embeddings-prod',
104
- * indexName: 'documents-openai-small',
105
- * dataType: 'float32',
106
- * dimension: 1536,
107
- * distanceMetric: 'cosine',
108
- * metadataConfiguration: {
109
- * nonFilterableMetadataKeys: ['raw_text', 'internal_id']
110
- * }
111
- * })
112
- * ```
113
- */
36
+ /** Creates a new vector index within a bucket */
114
37
  createIndex(options: CreateIndexOptions): Promise<ApiResponse<undefined>>;
115
- /**
116
- *
117
- * @alpha
118
- *
119
- * Retrieves metadata for a specific vector index
120
- * Returns index configuration including dimension, distance metric, and metadata settings
121
- *
122
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
123
- *
124
- * @category Vector Buckets
125
- * @param vectorBucketName - Name of the parent vector bucket
126
- * @param indexName - Name of the index to retrieve
127
- * @returns Promise with index metadata or error
128
- *
129
- * @throws {StorageVectorsApiError} With code:
130
- * - `S3VectorNotFoundException` if index or bucket doesn't exist (HTTP 404)
131
- * - `InternalError` for server errors (HTTP 500)
132
- *
133
- * @example
134
- * ```typescript
135
- * const { data, error } = await client.getIndex('embeddings-prod', 'documents-openai-small')
136
- * if (data) {
137
- * console.log('Index dimension:', data.index.dimension)
138
- * console.log('Distance metric:', data.index.distanceMetric)
139
- * }
140
- * ```
141
- */
38
+ /** Retrieves metadata for a specific vector index */
142
39
  getIndex(vectorBucketName: string, indexName: string): Promise<ApiResponse<{
143
40
  index: VectorIndex;
144
41
  }>>;
145
- /**
146
- *
147
- * @alpha
148
- *
149
- * Lists vector indexes within a bucket with optional filtering and pagination
150
- * Supports prefix-based filtering and paginated results
151
- *
152
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
153
- *
154
- * @category Vector Buckets
155
- * @param options - Listing options
156
- * @param options.vectorBucketName - Name of the parent vector bucket
157
- * @param options.prefix - Filter indexes by name prefix
158
- * @param options.maxResults - Maximum results per page (default: 100)
159
- * @param options.nextToken - Pagination token from previous response
160
- * @returns Promise with list of indexes and pagination token
161
- *
162
- * @throws {StorageVectorsApiError} With code:
163
- * - `S3VectorNotFoundException` if bucket doesn't exist (HTTP 404)
164
- * - `InternalError` for server errors (HTTP 500)
165
- *
166
- * @example
167
- * ```typescript
168
- * // List all indexes in a bucket
169
- * const { data, error } = await client.listIndexes({
170
- * vectorBucketName: 'embeddings-prod',
171
- * prefix: 'documents-'
172
- * })
173
- * if (data) {
174
- * console.log('Found indexes:', data.indexes.map(i => i.indexName))
175
- * // Fetch next page if available
176
- * if (data.nextToken) {
177
- * const next = await client.listIndexes({
178
- * vectorBucketName: 'embeddings-prod',
179
- * nextToken: data.nextToken
180
- * })
181
- * }
182
- * }
183
- * ```
184
- */
42
+ /** Lists vector indexes within a bucket with optional filtering and pagination */
185
43
  listIndexes(options: ListIndexesOptions): Promise<ApiResponse<ListIndexesResponse>>;
186
- /**
187
- *
188
- * @alpha
189
- *
190
- * Deletes a vector index and all its data
191
- * This operation removes the index schema and all vectors stored in the index
192
- *
193
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
194
- *
195
- * @category Vector Buckets
196
- * @param vectorBucketName - Name of the parent vector bucket
197
- * @param indexName - Name of the index to delete
198
- * @returns Promise with empty response on success or error
199
- *
200
- * @throws {StorageVectorsApiError} With code:
201
- * - `S3VectorNotFoundException` if index or bucket doesn't exist (HTTP 404)
202
- * - `InternalError` for server errors (HTTP 500)
203
- *
204
- * @example
205
- * ```typescript
206
- * // Delete an index and all its vectors
207
- * const { error } = await client.deleteIndex('embeddings-prod', 'old-index')
208
- * if (!error) {
209
- * console.log('Index deleted successfully')
210
- * }
211
- * ```
212
- */
44
+ /** Deletes a vector index and all its data */
213
45
  deleteIndex(vectorBucketName: string, indexName: string): Promise<ApiResponse<undefined>>;
214
46
  }
215
47
  //# sourceMappingURL=VectorIndexApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VectorIndexApi.d.ts","sourceRoot":"","sources":["../../../../src/lib/vectors/VectorIndexApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAQ,MAAM,SAAS,CAAA;AAErC,OAAO,EACL,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,qBAAqB,EACtB,MAAM,SAAS,CAAA;AAEhB;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,QA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CAAC,CAAC;IAoB/C,kFAAkF;IAC5E,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAiBzF,8CAA8C;IACxC,WAAW,CAAC,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;CAmBhG"}
@@ -4,100 +4,24 @@ import { isStorageVectorsError } from './errors';
4
4
  import { post } from './fetch';
5
5
  import { resolveFetch } from './helpers';
6
6
  /**
7
- *
8
- * @alpha
9
- *
10
- * API class for managing Vector Indexes within Vector Buckets
11
- * Provides methods for creating, reading, listing, and deleting vector indexes
12
- *
13
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
7
+ * @hidden
8
+ * Base implementation for vector index operations.
9
+ * Use {@link VectorBucketScope} via `supabase.storage.vectors.from('bucket')` instead.
14
10
  */
15
11
  export default class VectorIndexApi {
16
- /**
17
- *
18
- * @alpha
19
- *
20
- * Creates an API client for managing vector indexes.
21
- *
22
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
23
- *
24
- * @category Vector Buckets
25
- * @param url - Base URL for the Storage Vectors API.
26
- * @param headers - Default headers sent with each request.
27
- * @param fetch - Optional custom `fetch` implementation for non-browser runtimes.
28
- *
29
- * @example
30
- * ```typescript
31
- * const client = new VectorIndexApi(url, headers)
32
- * ```
33
- */
12
+ /** Creates a new VectorIndexApi instance */
34
13
  constructor(url, headers = {}, fetch) {
35
14
  this.shouldThrowOnError = false;
36
15
  this.url = url.replace(/\/$/, '');
37
16
  this.headers = Object.assign(Object.assign({}, DEFAULT_HEADERS), headers);
38
17
  this.fetch = resolveFetch(fetch);
39
18
  }
40
- /**
41
- *
42
- * @alpha
43
- *
44
- * Enable throwing errors instead of returning them in the response
45
- * When enabled, failed operations will throw instead of returning { data: null, error }
46
- *
47
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
48
- *
49
- * @category Vector Buckets
50
- * @returns This instance for method chaining
51
- * @example
52
- * ```typescript
53
- * const client = new VectorIndexApi(url, headers)
54
- * client.throwOnError()
55
- * const { data } = await client.createIndex(options) // throws on error
56
- * ```
57
- */
19
+ /** Enable throwing errors instead of returning them in the response */
58
20
  throwOnError() {
59
21
  this.shouldThrowOnError = true;
60
22
  return this;
61
23
  }
62
- /**
63
- *
64
- * @alpha
65
- *
66
- * Creates a new vector index within a bucket
67
- * Defines the schema for vectors including dimensionality, distance metric, and metadata config
68
- *
69
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
70
- *
71
- * @category Vector Buckets
72
- * @param options - Index configuration
73
- * @param options.vectorBucketName - Name of the parent vector bucket
74
- * @param options.indexName - Unique name for the index within the bucket
75
- * @param options.dataType - Data type for vector components (currently only 'float32')
76
- * @param options.dimension - Dimensionality of vectors (e.g., 384, 768, 1536)
77
- * @param options.distanceMetric - Similarity metric ('cosine', 'euclidean', 'dotproduct')
78
- * @param options.metadataConfiguration - Optional config for non-filterable metadata keys
79
- * @returns Promise with empty response on success or error
80
- *
81
- * @throws {StorageVectorsApiError} With code:
82
- * - `S3VectorConflictException` if index already exists (HTTP 409)
83
- * - `S3VectorMaxIndexesExceeded` if quota exceeded (HTTP 400)
84
- * - `S3VectorNotFoundException` if bucket doesn't exist (HTTP 404)
85
- * - `InternalError` for server errors (HTTP 500)
86
- *
87
- * @example
88
- * ```typescript
89
- * const { data, error } = await client.createIndex({
90
- * vectorBucketName: 'embeddings-prod',
91
- * indexName: 'documents-openai-small',
92
- * dataType: 'float32',
93
- * dimension: 1536,
94
- * distanceMetric: 'cosine',
95
- * metadataConfiguration: {
96
- * nonFilterableMetadataKeys: ['raw_text', 'internal_id']
97
- * }
98
- * })
99
- * ```
100
- */
24
+ /** Creates a new vector index within a bucket */
101
25
  createIndex(options) {
102
26
  return __awaiter(this, void 0, void 0, function* () {
103
27
  try {
@@ -117,33 +41,7 @@ export default class VectorIndexApi {
117
41
  }
118
42
  });
119
43
  }
120
- /**
121
- *
122
- * @alpha
123
- *
124
- * Retrieves metadata for a specific vector index
125
- * Returns index configuration including dimension, distance metric, and metadata settings
126
- *
127
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
128
- *
129
- * @category Vector Buckets
130
- * @param vectorBucketName - Name of the parent vector bucket
131
- * @param indexName - Name of the index to retrieve
132
- * @returns Promise with index metadata or error
133
- *
134
- * @throws {StorageVectorsApiError} With code:
135
- * - `S3VectorNotFoundException` if index or bucket doesn't exist (HTTP 404)
136
- * - `InternalError` for server errors (HTTP 500)
137
- *
138
- * @example
139
- * ```typescript
140
- * const { data, error } = await client.getIndex('embeddings-prod', 'documents-openai-small')
141
- * if (data) {
142
- * console.log('Index dimension:', data.index.dimension)
143
- * console.log('Distance metric:', data.index.distanceMetric)
144
- * }
145
- * ```
146
- */
44
+ /** Retrieves metadata for a specific vector index */
147
45
  getIndex(vectorBucketName, indexName) {
148
46
  return __awaiter(this, void 0, void 0, function* () {
149
47
  try {
@@ -161,46 +59,7 @@ export default class VectorIndexApi {
161
59
  }
162
60
  });
163
61
  }
164
- /**
165
- *
166
- * @alpha
167
- *
168
- * Lists vector indexes within a bucket with optional filtering and pagination
169
- * Supports prefix-based filtering and paginated results
170
- *
171
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
172
- *
173
- * @category Vector Buckets
174
- * @param options - Listing options
175
- * @param options.vectorBucketName - Name of the parent vector bucket
176
- * @param options.prefix - Filter indexes by name prefix
177
- * @param options.maxResults - Maximum results per page (default: 100)
178
- * @param options.nextToken - Pagination token from previous response
179
- * @returns Promise with list of indexes and pagination token
180
- *
181
- * @throws {StorageVectorsApiError} With code:
182
- * - `S3VectorNotFoundException` if bucket doesn't exist (HTTP 404)
183
- * - `InternalError` for server errors (HTTP 500)
184
- *
185
- * @example
186
- * ```typescript
187
- * // List all indexes in a bucket
188
- * const { data, error } = await client.listIndexes({
189
- * vectorBucketName: 'embeddings-prod',
190
- * prefix: 'documents-'
191
- * })
192
- * if (data) {
193
- * console.log('Found indexes:', data.indexes.map(i => i.indexName))
194
- * // Fetch next page if available
195
- * if (data.nextToken) {
196
- * const next = await client.listIndexes({
197
- * vectorBucketName: 'embeddings-prod',
198
- * nextToken: data.nextToken
199
- * })
200
- * }
201
- * }
202
- * ```
203
- */
62
+ /** Lists vector indexes within a bucket with optional filtering and pagination */
204
63
  listIndexes(options) {
205
64
  return __awaiter(this, void 0, void 0, function* () {
206
65
  try {
@@ -220,33 +79,7 @@ export default class VectorIndexApi {
220
79
  }
221
80
  });
222
81
  }
223
- /**
224
- *
225
- * @alpha
226
- *
227
- * Deletes a vector index and all its data
228
- * This operation removes the index schema and all vectors stored in the index
229
- *
230
- * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
231
- *
232
- * @category Vector Buckets
233
- * @param vectorBucketName - Name of the parent vector bucket
234
- * @param indexName - Name of the index to delete
235
- * @returns Promise with empty response on success or error
236
- *
237
- * @throws {StorageVectorsApiError} With code:
238
- * - `S3VectorNotFoundException` if index or bucket doesn't exist (HTTP 404)
239
- * - `InternalError` for server errors (HTTP 500)
240
- *
241
- * @example
242
- * ```typescript
243
- * // Delete an index and all its vectors
244
- * const { error } = await client.deleteIndex('embeddings-prod', 'old-index')
245
- * if (!error) {
246
- * console.log('Index deleted successfully')
247
- * }
248
- * ```
249
- */
82
+ /** Deletes a vector index and all its data */
250
83
  deleteIndex(vectorBucketName, indexName) {
251
84
  return __awaiter(this, void 0, void 0, function* () {
252
85
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"VectorIndexApi.js","sourceRoot":"","sources":["../../../../src/lib/vectors/VectorIndexApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAS,IAAI,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AA4BxC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KAAK,EAAE,CAAC;gBACf,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;oBAC5B,MAAM,KAAK,CAAA;gBACb,CAAC;gBACD,IAAI,qBAAqB,CAAC,KAAK,CAAC,EAAE,CAAC;oBACjC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA;gBAC9B,CAAC;gBACD,MAAM,KAAK,CAAA;YACb,CAAC;QACH,CAAC;KAAA;CACF"}
@@ -1,2 +1,2 @@
1
- export declare const version = "2.84.0";
1
+ export declare const version = "2.84.1-canary.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,WAAW,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,oBAAoB,CAAA"}
@@ -4,5 +4,5 @@
4
4
  // - Debugging and support (identifying which version is running)
5
5
  // - Telemetry and logging (version reporting in errors/analytics)
6
6
  // - Ensuring build artifacts match the published package version
7
- export const version = '2.84.0';
7
+ export const version = '2.84.1-canary.0';
8
8
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAA"}
@@ -68,7 +68,11 @@ export default class StorageAnalyticsClient {
68
68
  * ```json
69
69
  * {
70
70
  * "data": {
71
- * "name": "analytics-data"
71
+ * "name": "analytics-data",
72
+ * "type": "ANALYTICS",
73
+ * "format": "iceberg",
74
+ * "created_at": "2024-05-22T22:26:05.100Z",
75
+ * "updated_at": "2024-05-22T22:26:05.100Z"
72
76
  * },
73
77
  * "error": null
74
78
  * }
@@ -116,9 +120,9 @@ export default class StorageAnalyticsClient {
116
120
  * {
117
121
  * "data": [
118
122
  * {
119
- * "id": "analytics-data",
120
123
  * "name": "analytics-data",
121
124
  * "type": "ANALYTICS",
125
+ * "format": "iceberg",
122
126
  * "created_at": "2024-05-22T22:26:05.100Z",
123
127
  * "updated_at": "2024-05-22T22:26:05.100Z"
124
128
  * }
@@ -1 +1 @@
1
- {"version":3,"file":"StorageAnalyticsClient.d.ts","sourceRoot":"","sources":["../../../src/packages/StorageAnalyticsClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAqB,MAAM,cAAc,CAAA;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAsB;IACzC,SAAS,CAAC,GAAG,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;IAC5C,SAAS,CAAC,KAAK,EAAE,KAAK,CAAA;IACtB,SAAS,CAAC,kBAAkB,UAAQ;IAEpC;;;;;;;;;;;;;;;;OAgBG;gBACS,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAO,EAAE,KAAK,CAAC,EAAE,KAAK;IAM/E;;;;;;;;;;OAUG;IACI,YAAY,IAAI,IAAI;IAK3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CACrC;QACE,IAAI,EAAE,cAAc,CAAA;QACpB,KAAK,EAAE,IAAI,CAAA;KACZ,GACD;QACE,IAAI,EAAE,IAAI,CAAA;QACV,KAAK,EAAE,YAAY,CAAA;KACpB,CACJ;IAgBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACG,WAAW,CAAC,OAAO,CAAC,EAAE;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,CAAA;QACxD,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;QAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,GAAG,OAAO,CACP;QACE,IAAI,EAAE,cAAc,EAAE,CAAA;QACtB,KAAK,EAAE,IAAI,CAAA;KACZ,GACD;QACE,IAAI,EAAE,IAAI,CAAA;QACV,KAAK,EAAE,YAAY,CAAA;KACpB,CACJ;IA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACG,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAC3C;QACE,IAAI,EAAE;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAA;QACzB,KAAK,EAAE,IAAI,CAAA;KACZ,GACD;QACE,IAAI,EAAE,IAAI,CAAA;QACV,KAAK,EAAE,YAAY,CAAA;KACpB,CACJ;CAoBF"}
1
+ {"version":3,"file":"StorageAnalyticsClient.d.ts","sourceRoot":"","sources":["../../../src/packages/StorageAnalyticsClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAqB,MAAM,cAAc,CAAA;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc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;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACG,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAC3C;QACE,IAAI,EAAE;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAA;QACzB,KAAK,EAAE,IAAI,CAAA;KACZ,GACD;QACE,IAAI,EAAE,IAAI,CAAA;QACV,KAAK,EAAE,YAAY,CAAA;KACpB,CACJ;CAoBF"}
@@ -70,7 +70,11 @@ export default class StorageAnalyticsClient {
70
70
  * ```json
71
71
  * {
72
72
  * "data": {
73
- * "name": "analytics-data"
73
+ * "name": "analytics-data",
74
+ * "type": "ANALYTICS",
75
+ * "format": "iceberg",
76
+ * "created_at": "2024-05-22T22:26:05.100Z",
77
+ * "updated_at": "2024-05-22T22:26:05.100Z"
74
78
  * },
75
79
  * "error": null
76
80
  * }
@@ -128,9 +132,9 @@ export default class StorageAnalyticsClient {
128
132
  * {
129
133
  * "data": [
130
134
  * {
131
- * "id": "analytics-data",
132
135
  * "name": "analytics-data",
133
136
  * "type": "ANALYTICS",
137
+ * "format": "iceberg",
134
138
  * "created_at": "2024-05-22T22:26:05.100Z",
135
139
  * "updated_at": "2024-05-22T22:26:05.100Z"
136
140
  * }
@@ -1 +1 @@
1
- {"version":3,"file":"StorageAnalyticsClient.js","sourceRoot":"","sources":["../../../src/packages/StorageAnalyticsClient.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAgB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAS,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAsB;IAMzC;;;;;;;;;;;;;;;;OAgBG;IACH,YAAY,GAAW,EAAE,UAAqC,EAAE,EAAE,KAAa;QAnBrE,uBA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