@juzi/wechaty-puppet-service 1.0.118 → 1.0.119
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/cjs/src/client/puppet-service.d.ts +1 -2
- package/dist/cjs/src/client/puppet-service.d.ts.map +1 -1
- package/dist/cjs/src/client/puppet-service.js.map +1 -1
- package/dist/cjs/src/package-json.js +3 -3
- package/dist/esm/src/client/puppet-service.d.ts +1 -2
- package/dist/esm/src/client/puppet-service.d.ts.map +1 -1
- package/dist/esm/src/client/puppet-service.js.map +1 -1
- package/dist/esm/src/package-json.js +3 -3
- package/package.json +3 -3
- package/src/client/puppet-service.ts +1 -2
- package/src/package-json.ts +3 -3
|
@@ -56,7 +56,6 @@ import { PayloadStore } from './payload-store.js'
|
|
|
56
56
|
import { OptionalBooleanUnwrapper, OptionalBooleanWrapper, callRecordPbToPayload, channelPayloadToPb, channelPbToPayload, chatHistoryPbToPayload, contactPbToPayload, postPayloadToPb, roomMemberPbToPayload, urlLinkPbToPayload, channelCardPayloadToPb, channelCardPbToPayload, miniProgramPayloadToPb, urlLinkPayloadToPb, locationPayloadToPb } from '../utils/pb-payload-helper.js'
|
|
57
57
|
import { puppetCallMediaTypeToGrpc, grpcCallTypeToPuppetMedia } from '../utils/call-media-mapping.js'
|
|
58
58
|
import type { MessageBroadcastTargets } from '@juzi/wechaty-puppet/dist/esm/src/schemas/message.js'
|
|
59
|
-
import type { VoiceTextPayload } from '@juzi/wechaty-puppet/dist/esm/src/schemas/voice.js'
|
|
60
59
|
import { timeoutPromise } from 'gerror'
|
|
61
60
|
import { BooleanIndicator } from 'state-switch'
|
|
62
61
|
import type { Contact } from '@juzi/wechaty-puppet/types'
|
|
@@ -1550,7 +1549,7 @@ class PuppetService extends PUPPET.Puppet {
|
|
|
1550
1549
|
throw new Error(`failed to get voice filebox for message ${id}`)
|
|
1551
1550
|
}
|
|
1552
1551
|
|
|
1553
|
-
override async messageVoiceText (id: string): Promise<
|
|
1552
|
+
override async messageVoiceText (id: string): Promise<PUPPET.payloads.VoiceText> {
|
|
1554
1553
|
log.verbose('PuppetService', 'messageVoiceText(%s)', id)
|
|
1555
1554
|
|
|
1556
1555
|
const request = new grpcPuppet.MessageVoiceTextRequest()
|
package/src/package-json.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { PackageJson } from 'type-fest'
|
|
5
5
|
export const packageJson: PackageJson = {
|
|
6
6
|
"name": "@juzi/wechaty-puppet-service",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.119",
|
|
8
8
|
"description": "Puppet Service for Wechaty",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"exports": {
|
|
@@ -55,7 +55,7 @@ export const packageJson: PackageJson = {
|
|
|
55
55
|
"@chatie/eslint-config": "^1.0.4",
|
|
56
56
|
"@chatie/semver": "^0.4.7",
|
|
57
57
|
"@chatie/tsconfig": "^4.6.3",
|
|
58
|
-
"@juzi/wechaty-puppet": "^1.0.
|
|
58
|
+
"@juzi/wechaty-puppet": "^1.0.143",
|
|
59
59
|
"@juzi/wechaty-puppet-mock": "^1.0.1",
|
|
60
60
|
"@swc/core": "1.3.39",
|
|
61
61
|
"@types/google-protobuf": "^3.15.5",
|
|
@@ -74,7 +74,7 @@ export const packageJson: PackageJson = {
|
|
|
74
74
|
"why-is-node-running": "^2.2.1"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@juzi/wechaty-puppet": "^1.0.
|
|
77
|
+
"@juzi/wechaty-puppet": "^1.0.143"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@juzi/wechaty-grpc": "^1.0.104",
|