@napuketto/loader 0.3.0 → 0.4.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.
@@ -1691,10 +1691,18 @@ async function assembleOb11AndSatori(kernel, services, loginResult) {
1691
1691
  config: milkyConfig,
1692
1692
  broadcaster,
1693
1693
  msgChannel: channel,
1694
+ groupChannel: services.groupChannel,
1695
+ buddyChannel: services.friendChannel,
1694
1696
  msgApi: services.msgApi,
1695
1697
  groupApi: services.groupApi,
1696
1698
  friendApi: services.friendApi,
1697
1699
  profileApi: services.profileApi,
1700
+ profileLikeApi: services.profileLikeApi,
1701
+ ticketApi: services.ticketApi,
1702
+ webApi: services.webApi,
1703
+ groupNotifyApi: services.groupNotifyApi,
1704
+ richMediaApi: services.richMediaApi,
1705
+ recentContactApi: services.recentContactApi,
1698
1706
  self: services.self,
1699
1707
  groupCache,
1700
1708
  qqVersion: env.NAPUTO_QQ_VERSION || "unknown",
@@ -1886,12 +1894,14 @@ async function createKernelServices(kernel, ctx, loginResult, logCfg) {
1886
1894
  groupNotifyApi,
1887
1895
  ticketApi,
1888
1896
  richMediaApi: new kernel.RichMediaApi(session),
1897
+ recentContactApi: new kernel.RecentContactApi(session),
1889
1898
  profileApi: new kernel.ProfileApi(session),
1890
1899
  profileLikeApi: new kernel.ProfileLikeApi(session),
1891
1900
  webApi: new kernel.WebApi({ getCookies: (domain) => ticketApi.getCookies(domain, loginResult.uin) }),
1892
1901
  self: {
1893
1902
  uin: loginResult.uin,
1894
- nickname: loginResult.nick ?? ""
1903
+ nickname: loginResult.nick ?? "",
1904
+ uid: loginResult.uid
1895
1905
  },
1896
1906
  calibLogger: calibLogger ?? NOOP_LOGGER,
1897
1907
  receiveFilter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napuketto/loader",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "NapukettoQQ 引导组件:自建宿主(标准 Node + stub QQNT.dll)dlopen wrapper.node 并启动 kernel,不拉起 QQ / 不注入",
5
5
  "type": "module",
6
6
  "files": [