@ikenxuan/amagi 5.10.0 → 5.10.1

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.
@@ -4970,7 +4970,7 @@ let DynamicType = /* @__PURE__ */ function(DynamicType$1) {
4970
4970
 
4971
4971
  //#endregion
4972
4972
  //#region src/index.ts
4973
- const VERSION = "5.10.0";
4973
+ const VERSION = "5.10.1";
4974
4974
  /**
4975
4975
  * @deprecated 请使用 createAmagiClient 替代
4976
4976
  */
@@ -5444,20 +5444,6 @@ type Relation = {
5444
5444
  };
5445
5445
  //#endregion
5446
5446
  //#region src/types/ReturnDataType/Bilibili/DynamicInfo.d.ts
5447
- type AVItem$1 = DynamicTypeAV['data']['item'];
5448
- type DrawItem$1 = DynamicTypeDraw['data']['item'];
5449
- type WordItem$1 = DynamicTypeWord['data']['item'];
5450
- type LiveRcmdItem$1 = DynamicTypeLiveRcmd['data']['item'];
5451
- type ForwardItem$1 = DynamicTypeForwardUnion['data']['item'];
5452
- type ArticleItem$1 = DynamicTypeArticle['data']['item'];
5453
- type DynamicTypeItemMap$1 = {
5454
- [DynamicType.AV]: AVItem$1;
5455
- [DynamicType.DRAW]: DrawItem$1;
5456
- [DynamicType.WORD]: WordItem$1;
5457
- [DynamicType.LIVE_RCMD]: LiveRcmdItem$1;
5458
- [DynamicType.FORWARD]: ForwardItem$1;
5459
- [DynamicType.ARTICLE]: ArticleItem$1['data']['item'];
5460
- };
5461
5447
  declare enum DynamicType {
5462
5448
  AV = "DYNAMIC_TYPE_AV",
5463
5449
  DRAW = "DYNAMIC_TYPE_DRAW",
@@ -5466,9 +5452,17 @@ declare enum DynamicType {
5466
5452
  FORWARD = "DYNAMIC_TYPE_FORWARD",
5467
5453
  ARTICLE = "DYNAMIC_TYPE_ARTICLE",
5468
5454
  }
5455
+ type BiliDynamicInfoUnion = DynamicTypeAV | DynamicTypeDraw | DynamicTypeWord | DynamicTypeLiveRcmd | DynamicTypeForwardUnion | DynamicTypeArticle;
5456
+ type DynamicTypeItemMap$1 = {
5457
+ [DynamicType.AV]: DynamicTypeAV['data']['item'];
5458
+ [DynamicType.DRAW]: DynamicTypeDraw['data']['item'];
5459
+ [DynamicType.WORD]: DynamicTypeWord['data']['item'];
5460
+ [DynamicType.LIVE_RCMD]: DynamicTypeLiveRcmd['data']['item'];
5461
+ [DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
5462
+ [DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
5463
+ };
5469
5464
  type DataData$18<T$1 extends DynamicType> = {
5470
5465
  item: DynamicTypeItemMap$1[T$1];
5471
- [property: string]: any;
5472
5466
  };
5473
5467
  type BiliDynamicInfo<T$1 extends DynamicType> = {
5474
5468
  code: number;
@@ -5477,7 +5471,6 @@ type BiliDynamicInfo<T$1 extends DynamicType> = {
5477
5471
  ttl: number;
5478
5472
  [property: string]: any;
5479
5473
  };
5480
- type BiliDynamicInfoUnion = BiliDynamicInfo<DynamicType.AV> | BiliDynamicInfo<DynamicType.DRAW> | BiliDynamicInfo<DynamicType.WORD> | BiliDynamicInfo<DynamicType.LIVE_RCMD> | BiliDynamicInfo<DynamicType.FORWARD> | BiliDynamicInfo<DynamicType.ARTICLE>;
5481
5474
  //#endregion
5482
5475
  //#region src/types/ReturnDataType/Bilibili/LiveRoomDef.d.ts
5483
5476
  type BiliLiveRoomDef = {
@@ -5444,20 +5444,6 @@ type Relation = {
5444
5444
  };
5445
5445
  //#endregion
5446
5446
  //#region src/types/ReturnDataType/Bilibili/DynamicInfo.d.ts
5447
- type AVItem$1 = DynamicTypeAV['data']['item'];
5448
- type DrawItem$1 = DynamicTypeDraw['data']['item'];
5449
- type WordItem$1 = DynamicTypeWord['data']['item'];
5450
- type LiveRcmdItem$1 = DynamicTypeLiveRcmd['data']['item'];
5451
- type ForwardItem$1 = DynamicTypeForwardUnion['data']['item'];
5452
- type ArticleItem$1 = DynamicTypeArticle['data']['item'];
5453
- type DynamicTypeItemMap$1 = {
5454
- [DynamicType.AV]: AVItem$1;
5455
- [DynamicType.DRAW]: DrawItem$1;
5456
- [DynamicType.WORD]: WordItem$1;
5457
- [DynamicType.LIVE_RCMD]: LiveRcmdItem$1;
5458
- [DynamicType.FORWARD]: ForwardItem$1;
5459
- [DynamicType.ARTICLE]: ArticleItem$1['data']['item'];
5460
- };
5461
5447
  declare enum DynamicType {
5462
5448
  AV = "DYNAMIC_TYPE_AV",
5463
5449
  DRAW = "DYNAMIC_TYPE_DRAW",
@@ -5466,9 +5452,17 @@ declare enum DynamicType {
5466
5452
  FORWARD = "DYNAMIC_TYPE_FORWARD",
5467
5453
  ARTICLE = "DYNAMIC_TYPE_ARTICLE",
5468
5454
  }
5455
+ type BiliDynamicInfoUnion = DynamicTypeAV | DynamicTypeDraw | DynamicTypeWord | DynamicTypeLiveRcmd | DynamicTypeForwardUnion | DynamicTypeArticle;
5456
+ type DynamicTypeItemMap$1 = {
5457
+ [DynamicType.AV]: DynamicTypeAV['data']['item'];
5458
+ [DynamicType.DRAW]: DynamicTypeDraw['data']['item'];
5459
+ [DynamicType.WORD]: DynamicTypeWord['data']['item'];
5460
+ [DynamicType.LIVE_RCMD]: DynamicTypeLiveRcmd['data']['item'];
5461
+ [DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
5462
+ [DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
5463
+ };
5469
5464
  type DataData$18<T$1 extends DynamicType> = {
5470
5465
  item: DynamicTypeItemMap$1[T$1];
5471
- [property: string]: any;
5472
5466
  };
5473
5467
  type BiliDynamicInfo<T$1 extends DynamicType> = {
5474
5468
  code: number;
@@ -5477,7 +5471,6 @@ type BiliDynamicInfo<T$1 extends DynamicType> = {
5477
5471
  ttl: number;
5478
5472
  [property: string]: any;
5479
5473
  };
5480
- type BiliDynamicInfoUnion = BiliDynamicInfo<DynamicType.AV> | BiliDynamicInfo<DynamicType.DRAW> | BiliDynamicInfo<DynamicType.WORD> | BiliDynamicInfo<DynamicType.LIVE_RCMD> | BiliDynamicInfo<DynamicType.FORWARD> | BiliDynamicInfo<DynamicType.ARTICLE>;
5481
5474
  //#endregion
5482
5475
  //#region src/types/ReturnDataType/Bilibili/LiveRoomDef.d.ts
5483
5476
  type BiliLiveRoomDef = {
@@ -4960,7 +4960,7 @@ let DynamicType = /* @__PURE__ */ function(DynamicType$1) {
4960
4960
 
4961
4961
  //#endregion
4962
4962
  //#region src/index.ts
4963
- const VERSION = "5.10.0";
4963
+ const VERSION = "5.10.1";
4964
4964
  /**
4965
4965
  * @deprecated 请使用 createAmagiClient 替代
4966
4966
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikenxuan/amagi",
3
- "version": "5.10.0",
3
+ "version": "5.10.1",
4
4
  "description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
5
5
  "keywords": [
6
6
  "douyin",