@celljs/ta-nearby 4.15.2 → 4.17.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.
@@ -3,6 +3,7 @@ import { readFile, stat } from "node:fs/promises";
3
3
  import { extname, resolve } from "node:path";
4
4
 
5
5
  // ../ta-protocol/esm/common/ta-extension-host.js
6
+ var TA_WEBHOOK_MAX_BYTES = 256 * 1024;
6
7
  var TA_HOST_EVENT = "ta:host";
7
8
  var TaHostUtil;
8
9
  (function(TaHostUtil2) {
@@ -309,6 +310,14 @@ var NearbyTexts;
309
310
  "ja-JP": "このネットワークから 10 分間に間違ったコードが多すぎます。後でもう一度試してください。"
310
311
  });
311
312
  }
313
+ if (reason === "taken") {
314
+ return TaLanguageUtil.say({
315
+ "zh-CN": "刚生成的在场码已被占用,请再生成一个。",
316
+ "zh-TW": "剛生成的在場碼已被佔用,請再生成一個。",
317
+ "en-US": "The new code is taken already: make another one.",
318
+ "ja-JP": "新しいコードはすでに使われています。もう一度生成してください。"
319
+ });
320
+ }
312
321
  if (reason === "full") {
313
322
  return TaLanguageUtil.say({
314
323
  "zh-CN": "这个在场码里的人已满。",