@directus/storage-driver-supabase 2.1.0 → 2.1.2

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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  // src/index.ts
2
+ import { DEFAULT_CHUNK_SIZE } from "@directus/constants";
2
3
  import { normalizePath } from "@directus/utils";
3
4
  import { StorageClient } from "@supabase/storage-js";
4
- import * as tus from "tus-js-client";
5
5
  import { join } from "node:path";
6
6
  import { Readable } from "node:stream";
7
+ import * as tus from "tus-js-client";
7
8
  import { fetch } from "undici";
8
- var DEFAULT_CHUNK_SIZE = 1e7;
9
9
  var DriverSupabase = class {
10
10
  config;
11
11
  client;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directus/storage-driver-supabase",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Supabase file storage abstraction for `@directus/storage`",
5
5
  "homepage": "https://directus.io",
6
6
  "repository": {
@@ -24,8 +24,9 @@
24
24
  "@supabase/storage-js": "2.7.1",
25
25
  "tus-js-client": "4.2.3",
26
26
  "undici": "6.20.0",
27
+ "@directus/constants": "12.0.1",
27
28
  "@directus/storage": "11.0.1",
28
- "@directus/utils": "12.0.3"
29
+ "@directus/utils": "12.0.5"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@ngneat/falso": "7.2.0",