@celljs/ta-team 4.22.0 → 4.24.0

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/host/index.mjs CHANGED
@@ -1355,6 +1355,7 @@ var RELAY_PROOF = "ta-relay ready";
1355
1355
  var RELAY_HUB_MAX_VALUE = 96 * 1024;
1356
1356
  var RELAY_HUB_MAX_STATE = 3 * 1024 * 1024;
1357
1357
  var RELAY_PICTURE_MAX_CHARS = 16 * 1024;
1358
+ var RELAY_HUB_LOG_CHARS = 4 * 1024 * 1024;
1358
1359
 
1359
1360
  // ../ta-relay/esm/common/relay-pairing.js
1360
1361
  var RelayPairingUtil;
@@ -2416,6 +2417,11 @@ var TaImageNote;
2416
2417
  var TaImageSize;
2417
2418
  (function(TaImageSize2) {
2418
2419
  const JPEG_BYTES = 256 * 1024;
2420
+ function type(bytes) {
2421
+ const at = (offset, ...values) => values.every((value, index) => bytes[offset + index] === value);
2422
+ return at(0, 255, 216, 255) ? "image/jpeg" : at(0, 137, 80, 78, 71) ? "image/png" : at(0, 71, 73, 70, 56) ? "image/gif" : at(0, 82, 73, 70, 70) && at(8, 87, 69, 66, 80) ? "image/webp" : undefined;
2423
+ }
2424
+ TaImageSize2.type = type;
2419
2425
  function of(base64) {
2420
2426
  var _a, _b, _c;
2421
2427
  let bytes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celljs/ta-team",
3
- "version": "4.22.0",
3
+ "version": "4.24.0",
4
4
  "description": "A pi package for Ta: people let into your Ta by a link, each with a role (admin, collaborator, viewer, guest, or one of your own), what they may do checked by the Ta service for every call and every tool, asking for more and the answers, and a record",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -27,9 +27,9 @@
27
27
  "watch": "tsc -b -w --preserveWatchOutput"
28
28
  },
29
29
  "devDependencies": {
30
- "@celljs/ta-protocol": "4.22.0",
31
- "@celljs/ta-relay": "4.22.0",
32
- "@celljs/ta-web": "4.22.0",
30
+ "@celljs/ta-protocol": "4.24.0",
31
+ "@celljs/ta-relay": "4.24.0",
32
+ "@celljs/ta-web": "4.24.0",
33
33
  "@types/react": "^19.3.0"
34
34
  },
35
35
  "publishConfig": {
package/web/index.js CHANGED
@@ -1906,6 +1906,7 @@ var RELAY_PROOF = "ta-relay ready";
1906
1906
  var RELAY_HUB_MAX_VALUE = 96 * 1024;
1907
1907
  var RELAY_HUB_MAX_STATE = 3 * 1024 * 1024;
1908
1908
  var RELAY_PICTURE_MAX_CHARS = 16 * 1024;
1909
+ var RELAY_HUB_LOG_CHARS = 4 * 1024 * 1024;
1909
1910
 
1910
1911
  // ../ta-relay/esm/common/relay-pairing.js
1911
1912
  var RelayPairingUtil;