@drawmotive/textgraph 0.2.2-alpha.1 → 0.2.2-alpha.3

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 (45) hide show
  1. package/README.md +18 -5
  2. package/docs/api-v1.md +21 -4
  3. package/docs/releases.md +8 -8
  4. package/generated/wasm/DrawMotive.TextGraph.Bridge.wasm +0 -0
  5. package/generated/wasm/ExCSS.wasm +0 -0
  6. package/generated/wasm/Graphics.Core.wasm +0 -0
  7. package/generated/wasm/Grpc.Core.Api.wasm +0 -0
  8. package/generated/wasm/HarfBuzzSharp.wasm +0 -0
  9. package/generated/wasm/MagicOnion.Abstractions.wasm +0 -0
  10. package/generated/wasm/MagicOnion.Serialization.MessagePack.wasm +0 -0
  11. package/generated/wasm/MagicOnion.Shared.wasm +0 -0
  12. package/generated/wasm/Markdig.wasm +0 -0
  13. package/generated/wasm/Math.Core.wasm +0 -0
  14. package/generated/wasm/MessagePack.Annotations.wasm +0 -0
  15. package/generated/wasm/MessagePack.wasm +0 -0
  16. package/generated/wasm/Polly.Core.wasm +0 -0
  17. package/generated/wasm/Polly.wasm +0 -0
  18. package/generated/wasm/RBush.wasm +0 -0
  19. package/generated/wasm/SkiaSharp.HarfBuzz.wasm +0 -0
  20. package/generated/wasm/SkiaSharp.wasm +0 -0
  21. package/generated/wasm/System.Collections.NonGeneric.wasm +0 -0
  22. package/generated/wasm/System.ComponentModel.TypeConverter.wasm +0 -0
  23. package/generated/wasm/System.Console.wasm +0 -0
  24. package/generated/wasm/System.Net.Http.wasm +0 -0
  25. package/generated/wasm/System.Net.Primitives.wasm +0 -0
  26. package/generated/wasm/System.ObjectModel.wasm +0 -0
  27. package/generated/wasm/System.Private.CoreLib.wasm +0 -0
  28. package/generated/wasm/System.Private.Uri.wasm +0 -0
  29. package/generated/wasm/System.Private.Xml.Linq.wasm +0 -0
  30. package/generated/wasm/System.Private.Xml.wasm +0 -0
  31. package/generated/wasm/System.Xml.Linq.wasm +0 -0
  32. package/generated/wasm/System.Xml.XDocument.wasm +0 -0
  33. package/generated/wasm/dotnet.boot.js +47 -27
  34. package/generated/wasm/dotnet.native.js +18 -2
  35. package/generated/wasm/dotnet.native.wasm +0 -0
  36. package/generated/wasm-manifest.js +67 -42
  37. package/generated/wasm-manifest.json +67 -42
  38. package/package.json +1 -1
  39. package/schemas/render-svg.schema.json +65 -0
  40. package/schemas/wasm-manifest.schema.json +1 -1
  41. package/src/index.d.ts +15 -0
  42. package/src/index.js +24 -17
  43. package/src/runtime/dotnet.js +6 -4
  44. package/src/runtime/manifest.js +7 -1
  45. package/src/runtime/rendering.js +49 -7
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  "schemaVersion": 1,
3
3
  "packageName": "@drawmotive/textgraph",
4
- "packageVersion": "0.2.2-alpha.1",
4
+ "packageVersion": "0.2.2-alpha.3",
5
5
  "abiVersion": "1.0.0",
6
6
  "protocolVersion": 1,
7
7
  "runtimeModule": "wasm/dotnet.js",
@@ -27,7 +27,7 @@ export default {
27
27
  },
28
28
  "targetFramework": "net10.0",
29
29
  "privateSource": {
30
- "commit": "166386683b3b90a4917eb4cfc1a04361b30f1710",
30
+ "commit": "ee444cb0e43081011079193af05a9707c77739fa",
31
31
  "project": "DrawMotive.TextGraph.Bridge"
32
32
  },
33
33
  "entryAssembly": "wasm/DrawMotive.TextGraph.Bridge.wasm",
@@ -38,6 +38,7 @@ export default {
38
38
  "textgraph-parser-link",
39
39
  "textgraph-validate-v1",
40
40
  "textgraph-render-v1",
41
+ "textgraph-render-svg-v1",
41
42
  "textgraph-fonts-v1"
42
43
  ],
43
44
  "assets": [
@@ -50,14 +51,14 @@ export default {
50
51
  {
51
52
  "path": "wasm/DrawMotive.TextGraph.Bridge.wasm",
52
53
  "mediaType": "application/wasm",
53
- "bytes": 85781,
54
- "sha256": "d00d42806b016bbac8a1d5f8a522e546529be1c92a6e6f1f6669650c26af506b"
54
+ "bytes": 87317,
55
+ "sha256": "a2364698ab2a1fa49f2765fc2a07729bd2cec4c0d71a866e50d71d8f9f592f67"
55
56
  },
56
57
  {
57
58
  "path": "wasm/ExCSS.wasm",
58
59
  "mediaType": "application/wasm",
59
- "bytes": 270101,
60
- "sha256": "f06ab9b06af96d87b5ece2cd2cdb5599efbcd3770196e8246d57e78b7fcab557"
60
+ "bytes": 289557,
61
+ "sha256": "7354d17ae4ca035d9f1af9fd76abe8b4d289c532e186ee50b22c18b7e6699982"
61
62
  },
62
63
  {
63
64
  "path": "wasm/FuzzyBubbles-LICENSE.txt",
@@ -74,50 +75,50 @@ export default {
74
75
  {
75
76
  "path": "wasm/Graphics.Core.wasm",
76
77
  "mediaType": "application/wasm",
77
- "bytes": 3848985,
78
- "sha256": "89211ab82639ab5a0078d6da5768dcccd6d8637dd1aa8fa6ccfcf9dad0c6e0c4"
78
+ "bytes": 3976473,
79
+ "sha256": "a5445e3d5772dce757295c41386c68cf0c69814b8da7e8036d14782b4c8e8c82"
79
80
  },
80
81
  {
81
82
  "path": "wasm/Grpc.Core.Api.wasm",
82
83
  "mediaType": "application/wasm",
83
84
  "bytes": 7957,
84
- "sha256": "2d9352a938abdd224242e68412ebddde6a05561446b4fef5564355c332b6068d"
85
+ "sha256": "700b023d385701ac6485a6e580b570cffa445bc6a5d494d5b39e7670e20f0cb6"
85
86
  },
86
87
  {
87
88
  "path": "wasm/HarfBuzzSharp.wasm",
88
89
  "mediaType": "application/wasm",
89
90
  "bytes": 30485,
90
- "sha256": "24cca90d7f23451fc375be3ac0858020561b37128482c8ef3f5b497eaa7b4555"
91
+ "sha256": "d2b9c8dcc6c55fe4f65ec43e58f4b719a99af3d753cd60f4894195241c134577"
91
92
  },
92
93
  {
93
94
  "path": "wasm/MagicOnion.Abstractions.wasm",
94
95
  "mediaType": "application/wasm",
95
96
  "bytes": 29973,
96
- "sha256": "ab965b4f5a26e3f4958f113f827de474674c8bfca826c1ed545ca079308d2262"
97
+ "sha256": "05b5023f95e1afa39865c39db2f58f096106c0cce4ccf9c890d7c10d9606a1c9"
97
98
  },
98
99
  {
99
100
  "path": "wasm/MagicOnion.Serialization.MessagePack.wasm",
100
101
  "mediaType": "application/wasm",
101
102
  "bytes": 7445,
102
- "sha256": "63ff304287c851439d62be1e89255c9d757eb387bf5c457553c953a91bf55606"
103
+ "sha256": "5adf4177dea421de3a06ac8c29f7fccb9eef4024e646ec2d578cc7721abdafcf"
103
104
  },
104
105
  {
105
106
  "path": "wasm/MagicOnion.Shared.wasm",
106
107
  "mediaType": "application/wasm",
107
108
  "bytes": 7957,
108
- "sha256": "248275a87c1621c84287e054e9c7b5d9aa8ea1efade89a31d38788d083b2b0cd"
109
+ "sha256": "892cd914758fc1012e606f075e6c8695f88ede648095d4a53316ac523dcd3daa"
109
110
  },
110
111
  {
111
112
  "path": "wasm/Markdig.wasm",
112
113
  "mediaType": "application/wasm",
113
- "bytes": 492821,
114
- "sha256": "56cf8ee33d7d1aa2b0ded6d6dac3c37464b4fbf57a63b66aa989e28a48c1879f"
114
+ "bytes": 501525,
115
+ "sha256": "e8eecc5e6637f174b7fa36816e1ad0595448669e52cb30e343a1f6f031b0f2ea"
115
116
  },
116
117
  {
117
118
  "path": "wasm/Math.Core.wasm",
118
119
  "mediaType": "application/wasm",
119
120
  "bytes": 3241241,
120
- "sha256": "4d28df061bdf1def78c1e105d156af4b6397ab5c4743e0b136f5f08358373c65"
121
+ "sha256": "ac0c117fdea47e1bf35fcedb4e7ca99bdba46d150ed3820bb8db12cdbad109d6"
121
122
  },
122
123
  {
123
124
  "path": "wasm/MemoryPack.Core.wasm",
@@ -129,13 +130,13 @@ export default {
129
130
  "path": "wasm/MessagePack.Annotations.wasm",
130
131
  "mediaType": "application/wasm",
131
132
  "bytes": 18197,
132
- "sha256": "5fa4ff07684b7ec713455f11fae74fd62b1843741e768a864d84687b32d62cd4"
133
+ "sha256": "63c95aacf7bb902be49398c55401368ebc8d87595ed65bcd178d9dda1b721a96"
133
134
  },
134
135
  {
135
136
  "path": "wasm/MessagePack.wasm",
136
137
  "mediaType": "application/wasm",
137
138
  "bytes": 382229,
138
- "sha256": "938e5aedec6c70f25aa145b5171d66198f4173a45b4464c8ac07cd1358294120"
139
+ "sha256": "80e0efde4960a87125a8455e3548c32195ac8aa269c6b0d4b4ff856b1c14cc2d"
139
140
  },
140
141
  {
141
142
  "path": "wasm/Microsoft.AspNetCore.Components.Web.wasm",
@@ -213,13 +214,13 @@ export default {
213
214
  "path": "wasm/Polly.Core.wasm",
214
215
  "mediaType": "application/wasm",
215
216
  "bytes": 62741,
216
- "sha256": "3a2f1949b4c7b8e65ee7330a21d90a2382b12a98b5826ddd2bd99c3a0f6a4865"
217
+ "sha256": "962f999356db478d3a163ca06d1e2f1c5c54601320e983119b785490e630bb3a"
217
218
  },
218
219
  {
219
220
  "path": "wasm/Polly.wasm",
220
221
  "mediaType": "application/wasm",
221
222
  "bytes": 275733,
222
- "sha256": "7925d8f81d1447ba39bead70d3e318414f3895746c2918a3d613ffd9bb15f3a2"
223
+ "sha256": "35c57b82eb621870837dfd3aff00ecb9dfb6d1697ac4e1073616a55ace027481"
223
224
  },
224
225
  {
225
226
  "path": "wasm/R3.BlazorWebAssembly.wasm",
@@ -237,19 +238,19 @@ export default {
237
238
  "path": "wasm/RBush.wasm",
238
239
  "mediaType": "application/wasm",
239
240
  "bytes": 24341,
240
- "sha256": "2fb8f1292af3d8c4546ff14d46ca960da9a1e5e2feb4a7c865a24055255d4067"
241
+ "sha256": "11a0ea636256c3b15bd02509e8a7331efbaab6f24aa50de1dcd011e9b0e4821c"
241
242
  },
242
243
  {
243
244
  "path": "wasm/SkiaSharp.HarfBuzz.wasm",
244
245
  "mediaType": "application/wasm",
245
246
  "bytes": 14613,
246
- "sha256": "73bda1dcc2f9304d3976a13883aca9613f26c81ccd6fb02204947c108c7613b2"
247
+ "sha256": "8a2addae5691a3e23d32a971e09aa30a5c5883d21b6d339a047c7a932c8b227e"
247
248
  },
248
249
  {
249
250
  "path": "wasm/SkiaSharp.wasm",
250
251
  "mediaType": "application/wasm",
251
252
  "bytes": 97557,
252
- "sha256": "00b1c706c40f5e395ddd43499f2bac5d0b84996dd5c51300496aa7ca6ff61818"
253
+ "sha256": "329784f35a4aef78ac831e0154488f1258eb63fc14ca86171aae7ec5b1c0318b"
253
254
  },
254
255
  {
255
256
  "path": "wasm/Stateless.wasm",
@@ -272,8 +273,8 @@ export default {
272
273
  {
273
274
  "path": "wasm/System.Collections.NonGeneric.wasm",
274
275
  "mediaType": "application/wasm",
275
- "bytes": 5397,
276
- "sha256": "ae2b971f88a17e86cb3886ae82f01a28fe93e3f47a7f26362aa9234c884472b9"
276
+ "bytes": 8469,
277
+ "sha256": "65284d5515120117e161edb5025bc12aca02090abe00aff279f098c70a2a2e74"
277
278
  },
278
279
  {
279
280
  "path": "wasm/System.Collections.Specialized.wasm",
@@ -302,8 +303,8 @@ export default {
302
303
  {
303
304
  "path": "wasm/System.ComponentModel.TypeConverter.wasm",
304
305
  "mediaType": "application/wasm",
305
- "bytes": 103701,
306
- "sha256": "5fb96180203eb86865e869d5b919ecc437a01ccc1fa1343d12e82bfdae49ac59"
306
+ "bytes": 108309,
307
+ "sha256": "99645bd981c5648d1674f68487a9f1f94e5631468c97a80af450fbd4a87a5297"
307
308
  },
308
309
  {
309
310
  "path": "wasm/System.ComponentModel.wasm",
@@ -315,7 +316,7 @@ export default {
315
316
  "path": "wasm/System.Console.wasm",
316
317
  "mediaType": "application/wasm",
317
318
  "bytes": 15125,
318
- "sha256": "9c7363041f54c658ce25bbd72d063925a1f286401a65c3f08261076a99a88fa9"
319
+ "sha256": "0402a653e9545a0c61b64999f2389e099796a3cd115b1199b36a2867a8aa67fa"
319
320
  },
320
321
  {
321
322
  "path": "wasm/System.Diagnostics.StackTrace.wasm",
@@ -368,14 +369,14 @@ export default {
368
369
  {
369
370
  "path": "wasm/System.Net.Http.wasm",
370
371
  "mediaType": "application/wasm",
371
- "bytes": 135957,
372
- "sha256": "35ba6c164d8f5f825ec49cdfc9725e73021f005e6587424ee0cef8bed0ba3991"
372
+ "bytes": 142101,
373
+ "sha256": "5532cb0efd02b9f2fdd07667ef30cf5afd36aee4e0f06f66f92c1c2720f58b74"
373
374
  },
374
375
  {
375
376
  "path": "wasm/System.Net.Primitives.wasm",
376
377
  "mediaType": "application/wasm",
377
378
  "bytes": 7445,
378
- "sha256": "3ed89e38037dfea73f9fd5cf8f11242c64f200deca08dfbb7a30dfcc6bfd2bb0"
379
+ "sha256": "7929262d69d9dd1912c104c7eddba715733053e04ce02df9afd76f773012bd49"
379
380
  },
380
381
  {
381
382
  "path": "wasm/System.Numerics.Vectors.wasm",
@@ -387,19 +388,31 @@ export default {
387
388
  "path": "wasm/System.ObjectModel.wasm",
388
389
  "mediaType": "application/wasm",
389
390
  "bytes": 16661,
390
- "sha256": "914d9dd053c0602076336b88a809de24fb23c9486103423e2fa0e99ef6eab973"
391
+ "sha256": "646cd447d337c46fa576831726510c161ca41ccd57334ee9c1c3522a79948230"
391
392
  },
392
393
  {
393
394
  "path": "wasm/System.Private.CoreLib.wasm",
394
395
  "mediaType": "application/wasm",
395
- "bytes": 2146585,
396
- "sha256": "a0ec42e139073b4ff3bb58db7be1b5e9e31b43c90102f9a364b5034ee7c938fa"
396
+ "bytes": 2177817,
397
+ "sha256": "47758f3aed055b59ebd25e11e4852d82c87d2b82ea23c9c6e04d4fdaa686674e"
397
398
  },
398
399
  {
399
400
  "path": "wasm/System.Private.Uri.wasm",
400
401
  "mediaType": "application/wasm",
401
- "bytes": 67349,
402
- "sha256": "bfa170614f25759ae28a52a1f865d834c4f8440a9e49d1745a709f0ac8a0547e"
402
+ "bytes": 68373,
403
+ "sha256": "eea588aaee51076c8ab8831816190301d64f4c2f131df0564105c53a362ec946"
404
+ },
405
+ {
406
+ "path": "wasm/System.Private.Xml.Linq.wasm",
407
+ "mediaType": "application/wasm",
408
+ "bytes": 37653,
409
+ "sha256": "61474b4a57e1e264dea6baf0c90214c6c125ac96d87ef6d45a991e724289fef4"
410
+ },
411
+ {
412
+ "path": "wasm/System.Private.Xml.wasm",
413
+ "mediaType": "application/wasm",
414
+ "bytes": 549141,
415
+ "sha256": "36f2b30a7216ee98c21cc719db2357e1de46163bc05b7585453225df4a59b217"
403
416
  },
404
417
  {
405
418
  "path": "wasm/System.Reflection.Emit.ILGeneration.wasm",
@@ -515,6 +528,18 @@ export default {
515
528
  "bytes": 12053,
516
529
  "sha256": "df703fe777721d1805cb50d032a67264a73a267ef01a2543e9eeb29b175cbb44"
517
530
  },
531
+ {
532
+ "path": "wasm/System.Xml.Linq.wasm",
533
+ "mediaType": "application/wasm",
534
+ "bytes": 4373,
535
+ "sha256": "7b9b71b657b457f8e567ee656b11defa4da8db17b01e1eba015a43ae3f325e57"
536
+ },
537
+ {
538
+ "path": "wasm/System.Xml.XDocument.wasm",
539
+ "mediaType": "application/wasm",
540
+ "bytes": 4885,
541
+ "sha256": "673f1c7e7bf2397b49ac18f910a1712a81d69ae3a0a3fbce2b057d128719d0c8"
542
+ },
518
543
  {
519
544
  "path": "wasm/System.wasm",
520
545
  "mediaType": "application/wasm",
@@ -530,8 +555,8 @@ export default {
530
555
  {
531
556
  "path": "wasm/dotnet.boot.js",
532
557
  "mediaType": "text/javascript",
533
- "bytes": 17295,
534
- "sha256": "22d62d4a65edf72e60959e52d9bf8b741d99683175de94ae6fe70e767c4c4e4e"
558
+ "bytes": 18023,
559
+ "sha256": "602df46f9fade2e2e27feb927e01d3de387ca11810703efe58e7f0942ec42520"
535
560
  },
536
561
  {
537
562
  "path": "wasm/dotnet.js",
@@ -542,14 +567,14 @@ export default {
542
567
  {
543
568
  "path": "wasm/dotnet.native.js",
544
569
  "mediaType": "text/javascript",
545
- "bytes": 248268,
546
- "sha256": "bca7e71c9e0c78fc4e7ebeca840786f7386c6feade4ce8b7b5771d718a2edaeb"
570
+ "bytes": 248699,
571
+ "sha256": "ba22ea6d795060eff2cc5c2ac5439701e6ed30a8c98311a09ebab447d769fb13"
547
572
  },
548
573
  {
549
574
  "path": "wasm/dotnet.native.wasm",
550
575
  "mediaType": "application/wasm",
551
- "bytes": 6198386,
552
- "sha256": "4cc5c1785339ab05d05fccfef3cc7d5a4ab15d04ca1e7fcb828830afe19d1be4"
576
+ "bytes": 6199000,
577
+ "sha256": "dc3be76318555466549e78635510239ebfb245ce11530ded1f99ad592b383829"
553
578
  },
554
579
  {
555
580
  "path": "wasm/dotnet.runtime.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "packageName": "@drawmotive/textgraph",
4
- "packageVersion": "0.2.2-alpha.1",
4
+ "packageVersion": "0.2.2-alpha.3",
5
5
  "abiVersion": "1.0.0",
6
6
  "protocolVersion": 1,
7
7
  "runtimeModule": "wasm/dotnet.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "targetFramework": "net10.0",
29
29
  "privateSource": {
30
- "commit": "166386683b3b90a4917eb4cfc1a04361b30f1710",
30
+ "commit": "ee444cb0e43081011079193af05a9707c77739fa",
31
31
  "project": "DrawMotive.TextGraph.Bridge"
32
32
  },
33
33
  "entryAssembly": "wasm/DrawMotive.TextGraph.Bridge.wasm",
@@ -38,6 +38,7 @@
38
38
  "textgraph-parser-link",
39
39
  "textgraph-validate-v1",
40
40
  "textgraph-render-v1",
41
+ "textgraph-render-svg-v1",
41
42
  "textgraph-fonts-v1"
42
43
  ],
43
44
  "assets": [
@@ -50,14 +51,14 @@
50
51
  {
51
52
  "path": "wasm/DrawMotive.TextGraph.Bridge.wasm",
52
53
  "mediaType": "application/wasm",
53
- "bytes": 85781,
54
- "sha256": "d00d42806b016bbac8a1d5f8a522e546529be1c92a6e6f1f6669650c26af506b"
54
+ "bytes": 87317,
55
+ "sha256": "a2364698ab2a1fa49f2765fc2a07729bd2cec4c0d71a866e50d71d8f9f592f67"
55
56
  },
56
57
  {
57
58
  "path": "wasm/ExCSS.wasm",
58
59
  "mediaType": "application/wasm",
59
- "bytes": 270101,
60
- "sha256": "f06ab9b06af96d87b5ece2cd2cdb5599efbcd3770196e8246d57e78b7fcab557"
60
+ "bytes": 289557,
61
+ "sha256": "7354d17ae4ca035d9f1af9fd76abe8b4d289c532e186ee50b22c18b7e6699982"
61
62
  },
62
63
  {
63
64
  "path": "wasm/FuzzyBubbles-LICENSE.txt",
@@ -74,50 +75,50 @@
74
75
  {
75
76
  "path": "wasm/Graphics.Core.wasm",
76
77
  "mediaType": "application/wasm",
77
- "bytes": 3848985,
78
- "sha256": "89211ab82639ab5a0078d6da5768dcccd6d8637dd1aa8fa6ccfcf9dad0c6e0c4"
78
+ "bytes": 3976473,
79
+ "sha256": "a5445e3d5772dce757295c41386c68cf0c69814b8da7e8036d14782b4c8e8c82"
79
80
  },
80
81
  {
81
82
  "path": "wasm/Grpc.Core.Api.wasm",
82
83
  "mediaType": "application/wasm",
83
84
  "bytes": 7957,
84
- "sha256": "2d9352a938abdd224242e68412ebddde6a05561446b4fef5564355c332b6068d"
85
+ "sha256": "700b023d385701ac6485a6e580b570cffa445bc6a5d494d5b39e7670e20f0cb6"
85
86
  },
86
87
  {
87
88
  "path": "wasm/HarfBuzzSharp.wasm",
88
89
  "mediaType": "application/wasm",
89
90
  "bytes": 30485,
90
- "sha256": "24cca90d7f23451fc375be3ac0858020561b37128482c8ef3f5b497eaa7b4555"
91
+ "sha256": "d2b9c8dcc6c55fe4f65ec43e58f4b719a99af3d753cd60f4894195241c134577"
91
92
  },
92
93
  {
93
94
  "path": "wasm/MagicOnion.Abstractions.wasm",
94
95
  "mediaType": "application/wasm",
95
96
  "bytes": 29973,
96
- "sha256": "ab965b4f5a26e3f4958f113f827de474674c8bfca826c1ed545ca079308d2262"
97
+ "sha256": "05b5023f95e1afa39865c39db2f58f096106c0cce4ccf9c890d7c10d9606a1c9"
97
98
  },
98
99
  {
99
100
  "path": "wasm/MagicOnion.Serialization.MessagePack.wasm",
100
101
  "mediaType": "application/wasm",
101
102
  "bytes": 7445,
102
- "sha256": "63ff304287c851439d62be1e89255c9d757eb387bf5c457553c953a91bf55606"
103
+ "sha256": "5adf4177dea421de3a06ac8c29f7fccb9eef4024e646ec2d578cc7721abdafcf"
103
104
  },
104
105
  {
105
106
  "path": "wasm/MagicOnion.Shared.wasm",
106
107
  "mediaType": "application/wasm",
107
108
  "bytes": 7957,
108
- "sha256": "248275a87c1621c84287e054e9c7b5d9aa8ea1efade89a31d38788d083b2b0cd"
109
+ "sha256": "892cd914758fc1012e606f075e6c8695f88ede648095d4a53316ac523dcd3daa"
109
110
  },
110
111
  {
111
112
  "path": "wasm/Markdig.wasm",
112
113
  "mediaType": "application/wasm",
113
- "bytes": 492821,
114
- "sha256": "56cf8ee33d7d1aa2b0ded6d6dac3c37464b4fbf57a63b66aa989e28a48c1879f"
114
+ "bytes": 501525,
115
+ "sha256": "e8eecc5e6637f174b7fa36816e1ad0595448669e52cb30e343a1f6f031b0f2ea"
115
116
  },
116
117
  {
117
118
  "path": "wasm/Math.Core.wasm",
118
119
  "mediaType": "application/wasm",
119
120
  "bytes": 3241241,
120
- "sha256": "4d28df061bdf1def78c1e105d156af4b6397ab5c4743e0b136f5f08358373c65"
121
+ "sha256": "ac0c117fdea47e1bf35fcedb4e7ca99bdba46d150ed3820bb8db12cdbad109d6"
121
122
  },
122
123
  {
123
124
  "path": "wasm/MemoryPack.Core.wasm",
@@ -129,13 +130,13 @@
129
130
  "path": "wasm/MessagePack.Annotations.wasm",
130
131
  "mediaType": "application/wasm",
131
132
  "bytes": 18197,
132
- "sha256": "5fa4ff07684b7ec713455f11fae74fd62b1843741e768a864d84687b32d62cd4"
133
+ "sha256": "63c95aacf7bb902be49398c55401368ebc8d87595ed65bcd178d9dda1b721a96"
133
134
  },
134
135
  {
135
136
  "path": "wasm/MessagePack.wasm",
136
137
  "mediaType": "application/wasm",
137
138
  "bytes": 382229,
138
- "sha256": "938e5aedec6c70f25aa145b5171d66198f4173a45b4464c8ac07cd1358294120"
139
+ "sha256": "80e0efde4960a87125a8455e3548c32195ac8aa269c6b0d4b4ff856b1c14cc2d"
139
140
  },
140
141
  {
141
142
  "path": "wasm/Microsoft.AspNetCore.Components.Web.wasm",
@@ -213,13 +214,13 @@
213
214
  "path": "wasm/Polly.Core.wasm",
214
215
  "mediaType": "application/wasm",
215
216
  "bytes": 62741,
216
- "sha256": "3a2f1949b4c7b8e65ee7330a21d90a2382b12a98b5826ddd2bd99c3a0f6a4865"
217
+ "sha256": "962f999356db478d3a163ca06d1e2f1c5c54601320e983119b785490e630bb3a"
217
218
  },
218
219
  {
219
220
  "path": "wasm/Polly.wasm",
220
221
  "mediaType": "application/wasm",
221
222
  "bytes": 275733,
222
- "sha256": "7925d8f81d1447ba39bead70d3e318414f3895746c2918a3d613ffd9bb15f3a2"
223
+ "sha256": "35c57b82eb621870837dfd3aff00ecb9dfb6d1697ac4e1073616a55ace027481"
223
224
  },
224
225
  {
225
226
  "path": "wasm/R3.BlazorWebAssembly.wasm",
@@ -237,19 +238,19 @@
237
238
  "path": "wasm/RBush.wasm",
238
239
  "mediaType": "application/wasm",
239
240
  "bytes": 24341,
240
- "sha256": "2fb8f1292af3d8c4546ff14d46ca960da9a1e5e2feb4a7c865a24055255d4067"
241
+ "sha256": "11a0ea636256c3b15bd02509e8a7331efbaab6f24aa50de1dcd011e9b0e4821c"
241
242
  },
242
243
  {
243
244
  "path": "wasm/SkiaSharp.HarfBuzz.wasm",
244
245
  "mediaType": "application/wasm",
245
246
  "bytes": 14613,
246
- "sha256": "73bda1dcc2f9304d3976a13883aca9613f26c81ccd6fb02204947c108c7613b2"
247
+ "sha256": "8a2addae5691a3e23d32a971e09aa30a5c5883d21b6d339a047c7a932c8b227e"
247
248
  },
248
249
  {
249
250
  "path": "wasm/SkiaSharp.wasm",
250
251
  "mediaType": "application/wasm",
251
252
  "bytes": 97557,
252
- "sha256": "00b1c706c40f5e395ddd43499f2bac5d0b84996dd5c51300496aa7ca6ff61818"
253
+ "sha256": "329784f35a4aef78ac831e0154488f1258eb63fc14ca86171aae7ec5b1c0318b"
253
254
  },
254
255
  {
255
256
  "path": "wasm/Stateless.wasm",
@@ -272,8 +273,8 @@
272
273
  {
273
274
  "path": "wasm/System.Collections.NonGeneric.wasm",
274
275
  "mediaType": "application/wasm",
275
- "bytes": 5397,
276
- "sha256": "ae2b971f88a17e86cb3886ae82f01a28fe93e3f47a7f26362aa9234c884472b9"
276
+ "bytes": 8469,
277
+ "sha256": "65284d5515120117e161edb5025bc12aca02090abe00aff279f098c70a2a2e74"
277
278
  },
278
279
  {
279
280
  "path": "wasm/System.Collections.Specialized.wasm",
@@ -302,8 +303,8 @@
302
303
  {
303
304
  "path": "wasm/System.ComponentModel.TypeConverter.wasm",
304
305
  "mediaType": "application/wasm",
305
- "bytes": 103701,
306
- "sha256": "5fb96180203eb86865e869d5b919ecc437a01ccc1fa1343d12e82bfdae49ac59"
306
+ "bytes": 108309,
307
+ "sha256": "99645bd981c5648d1674f68487a9f1f94e5631468c97a80af450fbd4a87a5297"
307
308
  },
308
309
  {
309
310
  "path": "wasm/System.ComponentModel.wasm",
@@ -315,7 +316,7 @@
315
316
  "path": "wasm/System.Console.wasm",
316
317
  "mediaType": "application/wasm",
317
318
  "bytes": 15125,
318
- "sha256": "9c7363041f54c658ce25bbd72d063925a1f286401a65c3f08261076a99a88fa9"
319
+ "sha256": "0402a653e9545a0c61b64999f2389e099796a3cd115b1199b36a2867a8aa67fa"
319
320
  },
320
321
  {
321
322
  "path": "wasm/System.Diagnostics.StackTrace.wasm",
@@ -368,14 +369,14 @@
368
369
  {
369
370
  "path": "wasm/System.Net.Http.wasm",
370
371
  "mediaType": "application/wasm",
371
- "bytes": 135957,
372
- "sha256": "35ba6c164d8f5f825ec49cdfc9725e73021f005e6587424ee0cef8bed0ba3991"
372
+ "bytes": 142101,
373
+ "sha256": "5532cb0efd02b9f2fdd07667ef30cf5afd36aee4e0f06f66f92c1c2720f58b74"
373
374
  },
374
375
  {
375
376
  "path": "wasm/System.Net.Primitives.wasm",
376
377
  "mediaType": "application/wasm",
377
378
  "bytes": 7445,
378
- "sha256": "3ed89e38037dfea73f9fd5cf8f11242c64f200deca08dfbb7a30dfcc6bfd2bb0"
379
+ "sha256": "7929262d69d9dd1912c104c7eddba715733053e04ce02df9afd76f773012bd49"
379
380
  },
380
381
  {
381
382
  "path": "wasm/System.Numerics.Vectors.wasm",
@@ -387,19 +388,31 @@
387
388
  "path": "wasm/System.ObjectModel.wasm",
388
389
  "mediaType": "application/wasm",
389
390
  "bytes": 16661,
390
- "sha256": "914d9dd053c0602076336b88a809de24fb23c9486103423e2fa0e99ef6eab973"
391
+ "sha256": "646cd447d337c46fa576831726510c161ca41ccd57334ee9c1c3522a79948230"
391
392
  },
392
393
  {
393
394
  "path": "wasm/System.Private.CoreLib.wasm",
394
395
  "mediaType": "application/wasm",
395
- "bytes": 2146585,
396
- "sha256": "a0ec42e139073b4ff3bb58db7be1b5e9e31b43c90102f9a364b5034ee7c938fa"
396
+ "bytes": 2177817,
397
+ "sha256": "47758f3aed055b59ebd25e11e4852d82c87d2b82ea23c9c6e04d4fdaa686674e"
397
398
  },
398
399
  {
399
400
  "path": "wasm/System.Private.Uri.wasm",
400
401
  "mediaType": "application/wasm",
401
- "bytes": 67349,
402
- "sha256": "bfa170614f25759ae28a52a1f865d834c4f8440a9e49d1745a709f0ac8a0547e"
402
+ "bytes": 68373,
403
+ "sha256": "eea588aaee51076c8ab8831816190301d64f4c2f131df0564105c53a362ec946"
404
+ },
405
+ {
406
+ "path": "wasm/System.Private.Xml.Linq.wasm",
407
+ "mediaType": "application/wasm",
408
+ "bytes": 37653,
409
+ "sha256": "61474b4a57e1e264dea6baf0c90214c6c125ac96d87ef6d45a991e724289fef4"
410
+ },
411
+ {
412
+ "path": "wasm/System.Private.Xml.wasm",
413
+ "mediaType": "application/wasm",
414
+ "bytes": 549141,
415
+ "sha256": "36f2b30a7216ee98c21cc719db2357e1de46163bc05b7585453225df4a59b217"
403
416
  },
404
417
  {
405
418
  "path": "wasm/System.Reflection.Emit.ILGeneration.wasm",
@@ -515,6 +528,18 @@
515
528
  "bytes": 12053,
516
529
  "sha256": "df703fe777721d1805cb50d032a67264a73a267ef01a2543e9eeb29b175cbb44"
517
530
  },
531
+ {
532
+ "path": "wasm/System.Xml.Linq.wasm",
533
+ "mediaType": "application/wasm",
534
+ "bytes": 4373,
535
+ "sha256": "7b9b71b657b457f8e567ee656b11defa4da8db17b01e1eba015a43ae3f325e57"
536
+ },
537
+ {
538
+ "path": "wasm/System.Xml.XDocument.wasm",
539
+ "mediaType": "application/wasm",
540
+ "bytes": 4885,
541
+ "sha256": "673f1c7e7bf2397b49ac18f910a1712a81d69ae3a0a3fbce2b057d128719d0c8"
542
+ },
518
543
  {
519
544
  "path": "wasm/System.wasm",
520
545
  "mediaType": "application/wasm",
@@ -530,8 +555,8 @@
530
555
  {
531
556
  "path": "wasm/dotnet.boot.js",
532
557
  "mediaType": "text/javascript",
533
- "bytes": 17295,
534
- "sha256": "22d62d4a65edf72e60959e52d9bf8b741d99683175de94ae6fe70e767c4c4e4e"
558
+ "bytes": 18023,
559
+ "sha256": "602df46f9fade2e2e27feb927e01d3de387ca11810703efe58e7f0942ec42520"
535
560
  },
536
561
  {
537
562
  "path": "wasm/dotnet.js",
@@ -542,14 +567,14 @@
542
567
  {
543
568
  "path": "wasm/dotnet.native.js",
544
569
  "mediaType": "text/javascript",
545
- "bytes": 248268,
546
- "sha256": "bca7e71c9e0c78fc4e7ebeca840786f7386c6feade4ce8b7b5771d718a2edaeb"
570
+ "bytes": 248699,
571
+ "sha256": "ba22ea6d795060eff2cc5c2ac5439701e6ed30a8c98311a09ebab447d769fb13"
547
572
  },
548
573
  {
549
574
  "path": "wasm/dotnet.native.wasm",
550
575
  "mediaType": "application/wasm",
551
- "bytes": 6198386,
552
- "sha256": "4cc5c1785339ab05d05fccfef3cc7d5a4ab15d04ca1e7fcb828830afe19d1be4"
576
+ "bytes": 6199000,
577
+ "sha256": "dc3be76318555466549e78635510239ebfb245ce11530ded1f99ad592b383829"
553
578
  },
554
579
  {
555
580
  "path": "wasm/dotnet.runtime.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawmotive/textgraph",
3
- "version": "0.2.2-alpha.1",
3
+ "version": "0.2.2-alpha.3",
4
4
  "description": "Render TextGraph flowcharts and directed graphs as PNG images in Node.js, browsers, React, and Web Workers.",
5
5
  "keywords": [
6
6
  "textgraph",
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "protocolVersion": { "const": 1 },
6
+ "success": { "type": "boolean" },
7
+ "svg": { "type": "string", "minLength": 1 },
8
+ "displayWidth": { "type": "number", "exclusiveMinimum": 0 },
9
+ "displayHeight": { "type": "number", "exclusiveMinimum": 0 },
10
+ "diagnostics": {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "object",
14
+ "properties": {
15
+ "code": { "type": "string", "minLength": 1 },
16
+ "severity": { "enum": ["error", "warning"] },
17
+ "stage": { "enum": ["parse", "semantic", "layout", "render", "font"] },
18
+ "message": { "type": "string" },
19
+ "location": {
20
+ "type": "object",
21
+ "properties": {
22
+ "line": { "type": "integer", "minimum": 0 },
23
+ "column": { "type": "integer", "minimum": 0 }
24
+ },
25
+ "required": ["line", "column"],
26
+ "additionalProperties": true
27
+ }
28
+ },
29
+ "required": ["code", "severity", "stage", "message"],
30
+ "additionalProperties": true
31
+ }
32
+ }
33
+ },
34
+ "required": ["protocolVersion", "success", "diagnostics"],
35
+ "additionalProperties": true,
36
+ "allOf": [{
37
+ "if": { "properties": { "success": { "const": true } } },
38
+ "then": {
39
+ "required": ["svg", "displayWidth", "displayHeight"],
40
+ "properties": {
41
+ "svg": {}, "displayWidth": {}, "displayHeight": {},
42
+ "diagnostics": {
43
+ "type": "array",
44
+ "not": { "contains": { "type": "object", "properties": { "severity": { "const": "error" } } } }
45
+ }
46
+ }
47
+ },
48
+ "else": {
49
+ "not": { "anyOf": [
50
+ { "required": ["svg"], "properties": { "svg": {} } },
51
+ { "required": ["displayWidth"], "properties": { "displayWidth": {} } },
52
+ { "required": ["displayHeight"], "properties": { "displayHeight": {} } },
53
+ { "required": ["png"], "properties": { "png": {} } },
54
+ { "required": ["width"], "properties": { "width": {} } },
55
+ { "required": ["height"], "properties": { "height": {} } }
56
+ ] },
57
+ "properties": {
58
+ "diagnostics": {
59
+ "type": "array",
60
+ "contains": { "type": "object", "properties": { "severity": { "const": "error" } } }
61
+ }
62
+ }
63
+ }
64
+ }]
65
+ }