@d-mok/quasar-app-extension-quasar-axe 4.1.38 → 4.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "4.1.38",
3
+ "version": "4.1.39",
4
4
  "description": "A Quasar App Extension",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -18,7 +18,6 @@
18
18
  "handsontable": "^15.3.0",
19
19
  "jszip": "^3.10.1",
20
20
  "lodash": "^4.17.23",
21
- "openai": "^6.32.0",
22
21
  "sapphire-js": "^2.1.53",
23
22
  "sortablejs": "^1.15.7",
24
23
  "valibot": "^1.2.0",
@@ -34,10 +34,19 @@ export class SupabaseBucket extends Map<string, string> {
34
34
  private async getUrls(
35
35
  paths: string[],
36
36
  ): Promise<{ path: string | null; signedUrl: string }[]> {
37
- const data = await supabase.storage
38
- .from(this.bucketName)
39
- .createSignedUrls(paths, 60 * 60 * 24)
40
- .then(handleError)
37
+ const data: { path: string | null; signedUrl: string }[] = []
38
+ for (const ch of paths.chunk(500)) {
39
+ const res = await supabase.storage
40
+ .from(this.bucketName)
41
+ .createSignedUrls(ch, 60 * 60 * 24)
42
+ .then(handleError)
43
+ data.push(
44
+ ...res.map($ => ({
45
+ path: $.path,
46
+ signedUrl: $.signedUrl ?? '',
47
+ })),
48
+ )
49
+ }
41
50
  return data
42
51
  }
43
52