jazz-tools 0.13.21 → 0.13.23

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > jazz-tools@0.13.21 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.13.23 build /home/runner/_work/jazz/jazz/packages/jazz-tools
3
3
  > tsup && pnpm types
4
4
 
5
5
  CLI Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
@@ -11,12 +11,12 @@
11
11
  ESM Build start
12
12
  ESM dist/index.js 1.48 KB
13
13
  ESM dist/testing.js 6.27 KB
14
- ESM dist/chunk-S4BCSDTJ.js 122.84 KB
14
+ ESM dist/chunk-K7VKB2XQ.js 122.91 KB
15
15
  ESM dist/index.js.map 258.00 B
16
16
  ESM dist/testing.js.map 12.38 KB
17
- ESM dist/chunk-S4BCSDTJ.js.map 281.38 KB
18
- ESM ⚡️ Build success in 40ms
17
+ ESM dist/chunk-K7VKB2XQ.js.map 281.53 KB
18
+ ESM ⚡️ Build success in 47ms
19
19
 
20
- > jazz-tools@0.13.21 types /home/runner/_work/jazz/jazz/packages/jazz-tools
20
+ > jazz-tools@0.13.23 types /home/runner/_work/jazz/jazz/packages/jazz-tools
21
21
  > tsc --outDir dist
22
22
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.13.23
4
+
5
+ ### Patch Changes
6
+
7
+ - 02a240c: Add getMetadata to fileStream to easily get file metadata
8
+ - Updated dependencies [6b781cf]
9
+ - cojson@0.13.23
10
+
3
11
  ## 0.13.21
4
12
 
5
13
  ### Patch Changes
@@ -2676,6 +2676,9 @@ var FileStream = class extends CoValueBase {
2676
2676
  static create(options) {
2677
2677
  return new this(parseCoValueCreateOptions(options));
2678
2678
  }
2679
+ getMetadata() {
2680
+ return this._raw.getBinaryStreamInfo();
2681
+ }
2679
2682
  getChunks(options) {
2680
2683
  return this._raw.getBinaryChunks(options?.allowUnfinished);
2681
2684
  }
@@ -4271,4 +4274,4 @@ export {
4271
4274
  consumeInviteLink
4272
4275
  };
4273
4276
  /* istanbul ignore file -- @preserve */
4274
- //# sourceMappingURL=chunk-S4BCSDTJ.js.map
4277
+ //# sourceMappingURL=chunk-K7VKB2XQ.js.map