@vibe-lark/larkpal 0.1.20 → 0.1.21

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 (2) hide show
  1. package/dist/main.mjs +9 -0
  2. package/package.json +1 -1
package/dist/main.mjs CHANGED
@@ -8374,6 +8374,15 @@ var StreamingCardController = class StreamingCardController {
8374
8374
  this.cardKit.cardKitCardId = null;
8375
8375
  return;
8376
8376
  }
8377
+ if (apiCode === 300317 && this.cardKit.cardKitCardId) {
8378
+ const oldSeq = this.cardKit.cardKitSequence;
8379
+ this.cardKit.cardKitSequence += 100;
8380
+ log$13.warn("flushCardUpdate: sequence conflict (300317), jumping sequence", {
8381
+ oldSeq,
8382
+ newSeq: this.cardKit.cardKitSequence
8383
+ });
8384
+ return;
8385
+ }
8377
8386
  const apiDetail = extractApiDetail(err);
8378
8387
  log$13.error("card stream update failed", {
8379
8388
  apiCode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-lark/larkpal",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "LarkPal - Lark/Feishu bot service",
5
5
  "type": "module",
6
6
  "main": "./dist/main.mjs",