@napuketto/loader 0.3.0 → 0.4.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/dist/host/self-host.cjs +9 -1
- package/package.json +1 -1
package/dist/host/self-host.cjs
CHANGED
|
@@ -1691,10 +1691,17 @@ 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,
|
|
1698
1705
|
self: services.self,
|
|
1699
1706
|
groupCache,
|
|
1700
1707
|
qqVersion: env.NAPUTO_QQ_VERSION || "unknown",
|
|
@@ -1891,7 +1898,8 @@ async function createKernelServices(kernel, ctx, loginResult, logCfg) {
|
|
|
1891
1898
|
webApi: new kernel.WebApi({ getCookies: (domain) => ticketApi.getCookies(domain, loginResult.uin) }),
|
|
1892
1899
|
self: {
|
|
1893
1900
|
uin: loginResult.uin,
|
|
1894
|
-
nickname: loginResult.nick ?? ""
|
|
1901
|
+
nickname: loginResult.nick ?? "",
|
|
1902
|
+
uid: loginResult.uid
|
|
1895
1903
|
},
|
|
1896
1904
|
calibLogger: calibLogger ?? NOOP_LOGGER,
|
|
1897
1905
|
receiveFilter,
|