jazz-tools 0.13.21 → 0.13.25
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +15 -0
- package/dist/{chunk-S4BCSDTJ.js → chunk-Z6IXFGH3.js} +5 -2
- package/dist/chunk-Z6IXFGH3.js.map +1 -0
- package/dist/coValues/coFeed.d.ts +1 -0
- package/dist/coValues/coFeed.d.ts.map +1 -1
- package/dist/coValues/coPlainText.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/dist/tests/load.test.d.ts +2 -0
- package/dist/tests/load.test.d.ts.map +1 -0
- package/package.json +2 -2
- package/src/coValues/coFeed.ts +4 -0
- package/src/coValues/coPlainText.ts +1 -1
- package/src/tests/load.test.ts +116 -0
- package/dist/chunk-S4BCSDTJ.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> jazz-tools@0.13.
|
2
|
+
> jazz-tools@0.13.25 build /home/runner/_work/jazz/jazz/packages/jazz-tools
|
3
3
|
> tsup && pnpm types
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
|
@@ -11,12 +11,12 @@
|
|
11
11
|
[34mESM[39m Build start
|
12
12
|
[32mESM[39m [1mdist/index.js [22m[32m1.48 KB[39m
|
13
13
|
[32mESM[39m [1mdist/testing.js [22m[32m6.27 KB[39m
|
14
|
-
[32mESM[39m [1mdist/chunk-
|
14
|
+
[32mESM[39m [1mdist/chunk-Z6IXFGH3.js [22m[32m122.91 KB[39m
|
15
15
|
[32mESM[39m [1mdist/index.js.map [22m[32m258.00 B[39m
|
16
16
|
[32mESM[39m [1mdist/testing.js.map [22m[32m12.38 KB[39m
|
17
|
-
[32mESM[39m [1mdist/chunk-
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
17
|
+
[32mESM[39m [1mdist/chunk-Z6IXFGH3.js.map [22m[32m281.53 KB[39m
|
18
|
+
[32mESM[39m ⚡️ Build success in 50ms
|
19
19
|
|
20
|
-
> jazz-tools@0.13.
|
20
|
+
> jazz-tools@0.13.25 types /home/runner/_work/jazz/jazz/packages/jazz-tools
|
21
21
|
> tsc --outDir dist
|
22
22
|
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# jazz-tools
|
2
2
|
|
3
|
+
## 0.13.25
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [a846e07]
|
8
|
+
- cojson@0.13.25
|
9
|
+
|
10
|
+
## 0.13.23
|
11
|
+
|
12
|
+
### Patch Changes
|
13
|
+
|
14
|
+
- 02a240c: Add getMetadata to fileStream to easily get file metadata
|
15
|
+
- Updated dependencies [6b781cf]
|
16
|
+
- cojson@0.13.23
|
17
|
+
|
3
18
|
## 0.13.21
|
4
19
|
|
5
20
|
### 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
|
}
|
@@ -3505,7 +3508,7 @@ var CoPlainText = class extends String {
|
|
3505
3508
|
*
|
3506
3509
|
* The 'hint' parameter indicates the preferred type of conversion:
|
3507
3510
|
* - 'string': prefer string conversion
|
3508
|
-
* - 'number': prefer number conversion (
|
3511
|
+
* - 'number': prefer number conversion (attempt to parse the text as a number)
|
3509
3512
|
* - 'default': usually treat as string
|
3510
3513
|
*/
|
3511
3514
|
[Symbol.toPrimitive](hint) {
|
@@ -4271,4 +4274,4 @@ export {
|
|
4271
4274
|
consumeInviteLink
|
4272
4275
|
};
|
4273
4276
|
/* istanbul ignore file -- @preserve */
|
4274
|
-
//# sourceMappingURL=chunk-
|
4277
|
+
//# sourceMappingURL=chunk-Z6IXFGH3.js.map
|