@openclaw/whatsapp 2026.9.4 → 2026.9.5
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/assets/activity.svg +40 -0
- package/assets/icon.png +0 -0
- package/dist/{accounts-CiKHiuEe.js → .setup/accounts-D_NGDjCx.mjs} +2 -2
- package/dist/{action-runtime-CRZLhN3f.js → .setup/action-runtime-DZZFamfl.mjs} +3 -3
- package/dist/{active-listener-BEjWsCNM.js → .setup/active-listener-CDjoX9QR.mjs} +2 -2
- package/dist/{agent-tools-login-B-2qZPzc.js → .setup/agent-tools-login-B6MAs75N.mjs} +2 -2
- package/dist/{approval-handler.runtime-DGJEaoqh.js → .setup/approval-handler.runtime-C0hzmMSj.mjs} +12 -12
- package/dist/{approval-reactions-DSFH6Mtx.js → .setup/approval-reactions-BnXw-UZI.mjs} +13 -13
- package/dist/{auth-store-ZWaclAbd.js → .setup/auth-store-Dh8a3cba.mjs} +5 -5
- package/dist/{channel-CzEIEZqG.js → .setup/channel-CSclZYjU.mjs} +20 -29
- package/dist/{channel-react-action-CHeJSG9F.js → .setup/channel-react-action-1iBiEnq7.mjs} +5 -5
- package/dist/.setup/channel.runtime-ddGY37w8.mjs +16 -0
- package/dist/.setup/channel.setup-CqUl8COe.mjs +5 -0
- package/dist/{connection-controller-DNp6U1NN.js → .setup/connection-controller-C60mU7j7.mjs} +5 -5
- package/dist/{connection-controller-runtime-context-DG0tuYuw.js → .setup/connection-controller-runtime-context-hgLJoRc8.mjs} +1 -1
- package/dist/{directory-config-CoWFw1zn.js → .setup/directory-config-BHPoBklt.mjs} +8 -8
- package/dist/{group-session-key-BmVDSPr1.js → .setup/group-session-key-D22hYMdE.mjs} +5 -5
- package/dist/.setup/legacy-session-surface-api-B2szjq4r.mjs +2 -0
- package/dist/{login-6j2iP9nR.js → .setup/login-2dmd1TfE.mjs} +5 -5
- package/dist/{login-qr-DRFgI6k1.js → .setup/login-qr-CgKtO_ef.mjs} +6 -6
- package/dist/{monitor-DaIAK4fT.js → .setup/monitor-BblvzLpX.mjs} +68 -65
- package/dist/.setup/normalize-DdsROMMa.mjs +2 -0
- package/dist/{normalize-target-CugRyONv.js → .setup/normalize-target-BGra1ZnM.mjs} +8 -30
- package/dist/{question-reactions-bbe0Qnjn.js → .setup/question-reactions-D3Zq9Gbn.mjs} +2 -2
- package/dist/{resolve-outbound-target-1GqbT1uX.js → .setup/resolve-outbound-target-C2eUvsTc.mjs} +1 -1
- package/dist/{send-BDDGPxav.js → .setup/send-C6jDmcL9.mjs} +7 -7
- package/dist/{send-api-C_Zn4Ij-.js → .setup/send-api-B4DOt2RJ.mjs} +7 -7
- package/dist/{session.runtime-Nsqaehbd.js → .setup/session.runtime-DcJuO42v.mjs} +1 -1
- package/dist/{setup-finalize-CZ6fHFFU.js → .setup/setup-finalize-BYEgU0hb.mjs} +6 -6
- package/dist/.setup/setup-plugin-api-CXfU-7vN.mjs +3 -0
- package/dist/{setup-surface-CnK_PPiA.js → .setup/setup-surface-Cd3wN5HD.mjs} +4 -4
- package/dist/{shared-CLKLJLgY.js → .setup/shared-C9OEtKgc.mjs} +47 -50
- package/dist/{socket-close-B3X9uerq.js → .setup/socket-close-CCVSFufF.mjs} +4 -4
- package/dist/{text-runtime-DyfmcATV.js → .setup/text-runtime-CHl0iPYe.mjs} +1 -1
- package/dist/action-runtime-api.js +1 -1
- package/dist/action-runtime.runtime.js +1 -1
- package/dist/agent-tools-api.js +4 -4
- package/dist/api.js +15 -15
- package/dist/auth-presence.js +1 -1
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/contract-api.js +5 -5
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +2 -2
- package/dist/legacy-session-surface-api.js +1 -1
- package/dist/light-runtime-api.js +4 -4
- package/dist/login-qr-runtime.js +1 -1
- package/dist/runtime-api.js +13 -13
- package/dist/runtime-setter-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/setup-entry.js +3 -2
- package/dist/setup-plugin-api.js +1 -1
- package/node_modules/audio-decode/node_modules/@thi.ng/bitstream/README.md +1 -1
- package/node_modules/audio-decode/node_modules/@thi.ng/bitstream/package.json +5 -5
- package/node_modules/audio-decode/node_modules/@thi.ng/errors/README.md +1 -1
- package/node_modules/audio-decode/node_modules/@thi.ng/errors/package.json +5 -5
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/flac/dist/flac-decoder.min.js +1 -1
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/flac/dist/flac-decoder.min.js.map +1 -1
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/flac/package.json +1 -1
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/flac/src/FLACDecoder.js +6 -6
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/flac/src/FLACDecoderWebWorker.js +2 -2
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/dist/opus-ml-decoder.min.js +11603 -11540
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/dist/opus-ml-decoder.min.js.map +1 -1
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/package.json +1 -1
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/src/EmscriptenWasm.js +0 -0
- package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/types.d.ts +1 -5
- package/node_modules/audio-decode/node_modules/audio-type/audio-type.js +156 -2
- package/node_modules/audio-decode/node_modules/audio-type/package.json +23 -2
- package/node_modules/audio-decode/node_modules/audio-type/readme.md +40 -2
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/README.md +1 -1
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.min.js +3 -3
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.min.js.map +1 -1
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.opus-ml.min.js +0 -0
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.opus-ml.min.js.map +1 -1
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/package.json +8 -8
- package/node_modules/audio-decode/node_modules/ogg-opus-decoder/src/OggOpusDecoder.js +1 -1
- package/node_modules/audio-decode/node_modules/opus-decoder/README.md +1 -1
- package/node_modules/audio-decode/node_modules/opus-decoder/dist/opus-decoder.min.js +3 -3
- package/node_modules/audio-decode/node_modules/opus-decoder/dist/opus-decoder.min.js.map +1 -1
- package/node_modules/audio-decode/node_modules/opus-decoder/package.json +1 -1
- package/node_modules/audio-decode/node_modules/opus-decoder/types.d.ts +1 -5
- package/node_modules/baileys/node_modules/protobufjs/README.md +24 -17
- package/node_modules/baileys/node_modules/protobufjs/dist/light/protobuf.js +124 -14
- package/node_modules/baileys/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/baileys/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/baileys/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/baileys/node_modules/protobufjs/dist/minimal/protobuf.js +63 -9
- package/node_modules/baileys/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/baileys/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/baileys/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/baileys/node_modules/protobufjs/dist/protobuf.js +133 -18
- package/node_modules/baileys/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/baileys/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/baileys/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/baileys/node_modules/protobufjs/ext/descriptor.generated.d.ts +7 -0
- package/node_modules/baileys/node_modules/protobufjs/ext/descriptor.js +24 -0
- package/node_modules/baileys/node_modules/protobufjs/ext/protojson.js +14 -4
- package/node_modules/baileys/node_modules/protobufjs/ext/textformat.js +8 -4
- package/node_modules/baileys/node_modules/protobufjs/google/protobuf/descriptor.json +20 -1
- package/node_modules/baileys/node_modules/protobufjs/google/protobuf/descriptor.proto +14 -1
- package/node_modules/baileys/node_modules/protobufjs/index.d.ts +12 -0
- package/node_modules/baileys/node_modules/protobufjs/package.json +1 -1
- package/node_modules/baileys/node_modules/protobufjs/src/decoder.js +31 -2
- package/node_modules/baileys/node_modules/protobufjs/src/enum.js +10 -0
- package/node_modules/baileys/node_modules/protobufjs/src/object.js +5 -2
- package/node_modules/baileys/node_modules/protobufjs/src/parse.js +9 -4
- package/node_modules/baileys/node_modules/protobufjs/src/reader.js +61 -7
- package/node_modules/baileys/node_modules/protobufjs/src/type.js +10 -0
- package/node_modules/baileys/node_modules/protobufjs/src/wrappers.js +5 -1
- package/node_modules/typebox/build/compile/validator.d.mts +1 -1
- package/node_modules/typebox/build/compile/validator.mjs +1 -1
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +7 -5
- package/node_modules/typebox/build/format/iri.mjs +5 -1
- package/node_modules/typebox/build/guard/emit.mjs +2 -4
- package/node_modules/typebox/build/guard/guard.mjs +6 -18
- package/node_modules/typebox/build/guard/string.mjs +16 -24
- package/node_modules/typebox/build/schema/build.mjs +2 -2
- package/node_modules/typebox/build/schema/check.mjs +1 -1
- package/node_modules/typebox/build/schema/compile.d.mts +3 -2
- package/node_modules/typebox/build/schema/compile.mjs +8 -8
- package/node_modules/typebox/build/schema/engine/_context.d.mts +6 -7
- package/node_modules/typebox/build/schema/engine/_context.mjs +23 -15
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +2 -2
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +3 -3
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +5 -5
- package/node_modules/typebox/build/schema/engine/_refine.mjs +4 -7
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +34 -16
- package/node_modules/typebox/build/schema/engine/_stack.mjs +148 -104
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +8 -8
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +26 -18
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/allOf.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +5 -10
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/boolean.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/const.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/const.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/contains.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/contains.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +3 -6
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +11 -7
- package/node_modules/typebox/build/schema/engine/enum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/enum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/format.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/format.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/if.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/if.mjs +7 -15
- package/node_modules/typebox/build/schema/engine/items.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/items.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maximum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minContains.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +5 -5
- package/node_modules/typebox/build/schema/engine/minItems.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minLength.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minimum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/not.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/not.mjs +4 -8
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +6 -11
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -7
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/properties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/properties.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +4 -10
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +11 -7
- package/node_modules/typebox/build/schema/engine/ref.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/ref.mjs +19 -15
- package/node_modules/typebox/build/schema/engine/required.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/required.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/schema.d.mts +7 -7
- package/node_modules/typebox/build/schema/engine/schema.mjs +137 -133
- package/node_modules/typebox/build/schema/engine/type.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/type.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +5 -9
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +5 -9
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +2 -6
- package/node_modules/typebox/build/schema/errors.d.mts +2 -2
- package/node_modules/typebox/build/schema/errors.mjs +8 -14
- package/node_modules/typebox/build/schema/intern/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
- package/node_modules/typebox/build/schema/intern/intern.d.mts +11 -0
- package/node_modules/typebox/build/schema/intern/intern.mjs +293 -0
- package/node_modules/typebox/build/schema/meta/draft_2019_09.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_2019_09.mjs +288 -0
- package/node_modules/typebox/build/schema/meta/draft_2020_12.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_2020_12.mjs +300 -0
- package/node_modules/typebox/build/schema/meta/draft_3.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_3.mjs +143 -0
- package/node_modules/typebox/build/schema/meta/draft_4.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_4.mjs +149 -0
- package/node_modules/typebox/build/schema/meta/draft_6.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_6.mjs +155 -0
- package/node_modules/typebox/build/schema/meta/draft_7.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_7.mjs +172 -0
- package/node_modules/typebox/build/schema/meta/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/index.mjs +2 -0
- package/node_modules/typebox/build/schema/meta/meta.d.mts +9 -0
- package/node_modules/typebox/build/schema/meta/meta.mjs +15 -0
- package/node_modules/typebox/build/schema/meta/schema.d.mts +6 -0
- package/node_modules/typebox/build/schema/meta/schema.mjs +1 -0
- package/node_modules/typebox/build/schema/parse.d.mts +1 -0
- package/node_modules/typebox/build/schema/parse.mjs +10 -5
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +8 -3
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +268 -139
- package/node_modules/typebox/build/schema/schema.d.mts +2 -0
- package/node_modules/typebox/build/schema/schema.mjs +2 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +2 -12
- package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +59 -89
- package/openclaw.plugin.json +11 -2
- package/package.json +7 -5
- package/dist/channel.runtime-BFiZ9WhU.js +0 -55
- package/dist/channel.setup-gIWoRLzt.js +0 -14
- package/dist/normalize-C7Hkc_vE.js +0 -2
- /package/dist/{account-ids-CB5SOWjc.js → .setup/account-ids-CB5SOWjc.mjs} +0 -0
- /package/dist/{audio-preflight.runtime-C_glQhZY.js → .setup/audio-preflight.runtime-C_glQhZY.mjs} +0 -0
- /package/dist/{command-policy-BIOSHySD.js → .setup/command-policy-BIOSHySD.mjs} +0 -0
- /package/dist/{config-schema-BYA6e_Ii.js → .setup/config-schema-BYA6e_Ii.mjs} +0 -0
- /package/dist/{constants-C7m81BNe.js → .setup/constants-C7m81BNe.mjs} +0 -0
- /package/dist/{creds-files-Drg3usj1.js → .setup/creds-files-Drg3usj1.mjs} +0 -0
- /package/dist/{doctor-BPb-SjdE.js → .setup/doctor-BPb-SjdE.mjs} +0 -0
- /package/dist/{group-config-path-BGyzT9Lg.js → .setup/group-config-path-BGyzT9Lg.mjs} +0 -0
- /package/dist/{group-session-contract-DDnZSsJ1.js → .setup/group-session-contract-DDnZSsJ1.mjs} +0 -0
- /package/dist/{reply-resolver.runtime-Ded8D58Y.js → .setup/reply-resolver.runtime-Ded8D58Y.mjs} +0 -0
- /package/dist/{rolldown-runtime-D7D4PA-g.js → .setup/rolldown-runtime-D7D4PA-g.mjs} +0 -0
- /package/dist/{runtime-BLlToOi6.js → .setup/runtime-BLlToOi6.mjs} +0 -0
- /package/dist/{runtime-group-policy-DeSRFXEV.js → .setup/runtime-group-policy-DeSRFXEV.mjs} +0 -0
- /package/dist/{security-contract-nAzD945y.js → .setup/security-contract-nAzD945y.mjs} +0 -0
- /package/dist/{session-contract-DMTm6Q_L.js → .setup/session-contract-DMTm6Q_L.mjs} +0 -0
- /package/dist/{session-errors-JuazczrA.js → .setup/session-errors-JuazczrA.mjs} +0 -0
- /package/dist/{targets-runtime-RBjx3pg_.js → .setup/targets-runtime-RBjx3pg_.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v8.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v8.8.0 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled thu, 27 aug 2026 00:01:05 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -446,7 +446,17 @@ function decoder(mtype) {
|
|
|
446
446
|
("if(q===undefined)q=0")
|
|
447
447
|
("if(q>Reader.recursionLimit)")
|
|
448
448
|
("throw Error(\"max depth exceeded\")")
|
|
449
|
-
("var c
|
|
449
|
+
("var c,m" + (hasMapField ? ",k,v" : needsValueVar ? ",v" : ""))
|
|
450
|
+
("if(l===undefined)")
|
|
451
|
+
("c=r.len")
|
|
452
|
+
("else{")
|
|
453
|
+
("c=r.pos+l")
|
|
454
|
+
("if(c>r.len)")
|
|
455
|
+
("throw RangeError(\"index out of range\")")
|
|
456
|
+
("l=r.len")
|
|
457
|
+
("r.len=c")
|
|
458
|
+
("}")
|
|
459
|
+
("m=g||new C")
|
|
450
460
|
("while(r.pos<c){")
|
|
451
461
|
("var s=r.pos")
|
|
452
462
|
("var t=r.tag()")
|
|
@@ -473,7 +483,10 @@ function decoder(mtype) {
|
|
|
473
483
|
("if(%s===util.emptyObject)", ref)
|
|
474
484
|
("%s={}", ref);
|
|
475
485
|
gen
|
|
476
|
-
("var c2=r.uint32()+r.pos")
|
|
486
|
+
("var c2=r.uint32()+r.pos")
|
|
487
|
+
("if(c2>r.len)")
|
|
488
|
+
("throw RangeError(\"index out of range\")")
|
|
489
|
+
("r.len=c2");
|
|
477
490
|
|
|
478
491
|
if (types.defaults[field.keyType] !== undefined) gen
|
|
479
492
|
("k=%j", types.defaults[field.keyType]);
|
|
@@ -511,6 +524,10 @@ function decoder(mtype) {
|
|
|
511
524
|
("}")
|
|
512
525
|
("r.skipType(u,q,t2)")
|
|
513
526
|
("}");
|
|
527
|
+
gen
|
|
528
|
+
("if(r.pos!==c2)")
|
|
529
|
+
("throw RangeError(\"index out of range\")")
|
|
530
|
+
("r.len=c");
|
|
514
531
|
|
|
515
532
|
if (closed) { gen
|
|
516
533
|
("if(types[%i].valuesById[v]===undefined){", i);
|
|
@@ -544,6 +561,9 @@ function decoder(mtype) {
|
|
|
544
561
|
if (closed) {
|
|
545
562
|
gen
|
|
546
563
|
("var c2=r.uint32()+r.pos")
|
|
564
|
+
("if(c2>r.len)")
|
|
565
|
+
("throw RangeError(\"index out of range\")")
|
|
566
|
+
("r.len=c2")
|
|
547
567
|
("while(r.pos<c2){")
|
|
548
568
|
("s=r.pos")
|
|
549
569
|
("v=r.%s()", type)
|
|
@@ -554,6 +574,10 @@ function decoder(mtype) {
|
|
|
554
574
|
("}else");
|
|
555
575
|
genPreserveUnknown(gen, "util.rawField(" + field.id + ",0,r.raw(s,r.pos))")
|
|
556
576
|
("}");
|
|
577
|
+
gen
|
|
578
|
+
("if(r.pos!==c2)")
|
|
579
|
+
("throw RangeError(\"index out of range\")")
|
|
580
|
+
("r.len=c");
|
|
557
581
|
} else gen
|
|
558
582
|
("if(!(%s&&%s.length))", ref, ref)
|
|
559
583
|
("%s=[]", ref)
|
|
@@ -662,6 +686,11 @@ function decoder(mtype) {
|
|
|
662
686
|
("r.skipType(%s,q,t)", i ? "u" : "t&7");
|
|
663
687
|
genPreserveUnknown(gen, "r.raw(s,r.pos)")
|
|
664
688
|
("}")
|
|
689
|
+
("if(l!==undefined){")
|
|
690
|
+
("if(r.pos!==c)")
|
|
691
|
+
("throw RangeError(\"index out of range\")")
|
|
692
|
+
("r.len=l")
|
|
693
|
+
("}")
|
|
665
694
|
("if(z!==undefined)")
|
|
666
695
|
("throw Error(\"missing end group\")");
|
|
667
696
|
|
|
@@ -882,6 +911,12 @@ function Enum(name, values, options, comment, comments, valuesOptions) {
|
|
|
882
911
|
*/
|
|
883
912
|
this.reserved = undefined; // toJSON
|
|
884
913
|
|
|
914
|
+
/**
|
|
915
|
+
* Declared symbol visibility, if any.
|
|
916
|
+
* @type {"local"|"export"|undefined}
|
|
917
|
+
*/
|
|
918
|
+
this.visibility = undefined; // toJSON
|
|
919
|
+
|
|
885
920
|
// Note that values inherit valuesById on their prototype which makes them a TypeScript-
|
|
886
921
|
// compatible enum. This is used by pbts to write actual enum definitions that work for
|
|
887
922
|
// static and reflection code alike instead of emitting generic object definitions.
|
|
@@ -918,6 +953,7 @@ Enum.prototype._resolveFeatures = function _resolveFeatures(edition) {
|
|
|
918
953
|
* @property {Object.<string,*>} [options] Enum options
|
|
919
954
|
* @property {Object.<string,Object.<string,*>>} [valuesOptions] Enum value options
|
|
920
955
|
* @property {Array.<number[]|string>} [reserved] Reserved ranges
|
|
956
|
+
* @property {"local"|"export"} [visibility] Declared symbol visibility
|
|
921
957
|
* @property {string|null} [comment] Enum comment
|
|
922
958
|
* @property {Object.<string,string|null>} [comments] Value comments
|
|
923
959
|
*/
|
|
@@ -932,6 +968,8 @@ Enum.prototype._resolveFeatures = function _resolveFeatures(edition) {
|
|
|
932
968
|
Enum.fromJSON = function fromJSON(name, json) {
|
|
933
969
|
var enm = new Enum(name, json.values, json.options, json.comment, json.comments, json.valuesOptions);
|
|
934
970
|
enm.reserved = json.reserved;
|
|
971
|
+
if (json.visibility)
|
|
972
|
+
enm.visibility = json.visibility;
|
|
935
973
|
if (json.edition)
|
|
936
974
|
enm._edition = json.edition;
|
|
937
975
|
enm._defaultEdition = "proto3"; // For backwards-compatibility.
|
|
@@ -951,6 +989,7 @@ Enum.prototype.toJSON = function toJSON(toJSONOptions) {
|
|
|
951
989
|
"valuesOptions" , this.valuesOptions,
|
|
952
990
|
"values" , this.values,
|
|
953
991
|
"reserved" , this.reserved && this.reserved.length ? this.reserved : undefined,
|
|
992
|
+
"visibility" , this.visibility,
|
|
954
993
|
"comment" , keepComments ? this.comment : undefined,
|
|
955
994
|
"comments" , keepComments ? this.comments : undefined
|
|
956
995
|
]);
|
|
@@ -2761,10 +2800,11 @@ var Root; // cyclic
|
|
|
2761
2800
|
|
|
2762
2801
|
/* eslint-disable no-warning-comments */
|
|
2763
2802
|
// TODO: Replace with embedded proto.
|
|
2764
|
-
var editions2024Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE2024", default_symbol_visibility: "EXPORT_TOP_LEVEL" };
|
|
2765
|
-
var editions2023Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
|
|
2766
2803
|
var proto2Defaults = {enum_type: "CLOSED", field_presence: "EXPLICIT", json_format: "LEGACY_BEST_EFFORT", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "EXPANDED", utf8_validation: "NONE", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
|
|
2767
2804
|
var proto3Defaults = {enum_type: "OPEN", field_presence: "IMPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
|
|
2805
|
+
var editions2023Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
|
|
2806
|
+
var editions2024Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE2024", default_symbol_visibility: "EXPORT_TOP_LEVEL" };
|
|
2807
|
+
var editions2026Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE2026", default_symbol_visibility: "STRICT", enforce_proto_limits: "PROTO_LIMITS2026" };
|
|
2768
2808
|
|
|
2769
2809
|
/**
|
|
2770
2810
|
* Constructs a new reflection object instance.
|
|
@@ -2978,6 +3018,8 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
|
|
|
2978
3018
|
defaults = Object.assign({}, editions2023Defaults);
|
|
2979
3019
|
} else if (edition === "2024") {
|
|
2980
3020
|
defaults = Object.assign({}, editions2024Defaults);
|
|
3021
|
+
} else if (edition === "2026") {
|
|
3022
|
+
defaults = Object.assign({}, editions2026Defaults);
|
|
2981
3023
|
} else {
|
|
2982
3024
|
throw new Error("Unknown edition: " + edition);
|
|
2983
3025
|
}
|
|
@@ -3474,12 +3516,32 @@ Reader.prototype.raw = function read_raw(start, end) {
|
|
|
3474
3516
|
return this.buf.subarray(start, end);
|
|
3475
3517
|
};
|
|
3476
3518
|
|
|
3519
|
+
function readVarint32NearEnd(reader) {
|
|
3520
|
+
// Safely read up to four bytes of a varint32 near the reader limit
|
|
3521
|
+
var value = 0;
|
|
3522
|
+
for (var i = 0; i < 4; ++i) {
|
|
3523
|
+
if (reader.pos >= reader.len)
|
|
3524
|
+
throw indexOutOfRange(reader);
|
|
3525
|
+
var b = reader.buf[reader.pos++];
|
|
3526
|
+
value = (value | (b & 127) << i * 7) >>> 0;
|
|
3527
|
+
if (b < 128)
|
|
3528
|
+
return value;
|
|
3529
|
+
}
|
|
3530
|
+
throw indexOutOfRange(reader);
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3477
3533
|
/**
|
|
3478
3534
|
* Reads a varint as an unsigned 32 bit value.
|
|
3479
3535
|
* @function
|
|
3480
3536
|
* @returns {number} Value read
|
|
3481
3537
|
*/
|
|
3482
3538
|
Reader.prototype.uint32 = function read_uint32() {
|
|
3539
|
+
if (this.len - this.pos < 5) {
|
|
3540
|
+
if (this.pos >= this.len)
|
|
3541
|
+
throw indexOutOfRange(this);
|
|
3542
|
+
if (this.buf[this.pos] >= 128)
|
|
3543
|
+
return readVarint32NearEnd(this);
|
|
3544
|
+
}
|
|
3483
3545
|
var buf = this.buf,
|
|
3484
3546
|
pos = this.pos,
|
|
3485
3547
|
value = (buf[pos] & 127) >>> 0;
|
|
@@ -3530,6 +3592,12 @@ Reader.prototype.uint32 = function read_uint32() {
|
|
|
3530
3592
|
* @returns {number} Tag read
|
|
3531
3593
|
*/
|
|
3532
3594
|
Reader.prototype.tag = function read_tag() {
|
|
3595
|
+
if (this.len - this.pos < 5) {
|
|
3596
|
+
if (this.pos >= this.len)
|
|
3597
|
+
throw indexOutOfRange(this);
|
|
3598
|
+
if (this.buf[this.pos] >= 128)
|
|
3599
|
+
return readVarint32NearEnd(this);
|
|
3600
|
+
}
|
|
3533
3601
|
var buf = this.buf,
|
|
3534
3602
|
pos = this.pos,
|
|
3535
3603
|
value = (buf[pos] & 127) >>> 0;
|
|
@@ -3775,7 +3843,9 @@ Reader.prototype.double = function read_double() {
|
|
|
3775
3843
|
*/
|
|
3776
3844
|
Reader.prototype.uint32s = function read_uint32s(array) {
|
|
3777
3845
|
if (array === undefined) array = [];
|
|
3778
|
-
var end = this.uint32() + this.pos, buf = this.buf, pos = this.pos, value;
|
|
3846
|
+
var end = this.uint32() + this.pos, len = this.len, buf = this.buf, pos = this.pos, value;
|
|
3847
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
3848
|
+
this.len = end;
|
|
3779
3849
|
while (pos < end) {
|
|
3780
3850
|
value = buf[pos++];
|
|
3781
3851
|
if (value < 128)
|
|
@@ -3787,6 +3857,8 @@ Reader.prototype.uint32s = function read_uint32s(array) {
|
|
|
3787
3857
|
}
|
|
3788
3858
|
}
|
|
3789
3859
|
this.pos = pos;
|
|
3860
|
+
if (pos !== end) throw RangeError("index out of range");
|
|
3861
|
+
this.len = len;
|
|
3790
3862
|
return array;
|
|
3791
3863
|
};
|
|
3792
3864
|
|
|
@@ -3797,7 +3869,9 @@ Reader.prototype.uint32s = function read_uint32s(array) {
|
|
|
3797
3869
|
*/
|
|
3798
3870
|
Reader.prototype.int32s = function read_int32s(array) {
|
|
3799
3871
|
if (array === undefined) array = [];
|
|
3800
|
-
var end = this.uint32() + this.pos, buf = this.buf, pos = this.pos, value;
|
|
3872
|
+
var end = this.uint32() + this.pos, len = this.len, buf = this.buf, pos = this.pos, value;
|
|
3873
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
3874
|
+
this.len = end;
|
|
3801
3875
|
while (pos < end) {
|
|
3802
3876
|
value = buf[pos++];
|
|
3803
3877
|
if (value < 128)
|
|
@@ -3809,6 +3883,8 @@ Reader.prototype.int32s = function read_int32s(array) {
|
|
|
3809
3883
|
}
|
|
3810
3884
|
}
|
|
3811
3885
|
this.pos = pos;
|
|
3886
|
+
if (pos !== end) throw RangeError("index out of range");
|
|
3887
|
+
this.len = len;
|
|
3812
3888
|
return array;
|
|
3813
3889
|
};
|
|
3814
3890
|
|
|
@@ -3819,9 +3895,13 @@ Reader.prototype.int32s = function read_int32s(array) {
|
|
|
3819
3895
|
*/
|
|
3820
3896
|
Reader.prototype.sint32s = function read_sint32s(array) {
|
|
3821
3897
|
if (array === undefined) array = [];
|
|
3822
|
-
var end = this.uint32() + this.pos;
|
|
3898
|
+
var end = this.uint32() + this.pos, len = this.len;
|
|
3899
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
3900
|
+
this.len = end;
|
|
3823
3901
|
while (this.pos < end)
|
|
3824
3902
|
array.push(this.sint32());
|
|
3903
|
+
if (this.pos !== end) throw RangeError("index out of range");
|
|
3904
|
+
this.len = len;
|
|
3825
3905
|
return array;
|
|
3826
3906
|
};
|
|
3827
3907
|
|
|
@@ -3832,7 +3912,9 @@ Reader.prototype.sint32s = function read_sint32s(array) {
|
|
|
3832
3912
|
*/
|
|
3833
3913
|
Reader.prototype.bools = function read_bools(array) {
|
|
3834
3914
|
if (array === undefined) array = [];
|
|
3835
|
-
var end = this.uint32() + this.pos, buf = this.buf, pos = this.pos, value;
|
|
3915
|
+
var end = this.uint32() + this.pos, len = this.len, buf = this.buf, pos = this.pos, value;
|
|
3916
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
3917
|
+
this.len = end;
|
|
3836
3918
|
while (pos < end) {
|
|
3837
3919
|
value = buf[pos++];
|
|
3838
3920
|
if (value < 128)
|
|
@@ -3844,6 +3926,8 @@ Reader.prototype.bools = function read_bools(array) {
|
|
|
3844
3926
|
}
|
|
3845
3927
|
}
|
|
3846
3928
|
this.pos = pos;
|
|
3929
|
+
if (pos !== end) throw RangeError("index out of range");
|
|
3930
|
+
this.len = len;
|
|
3847
3931
|
return array;
|
|
3848
3932
|
};
|
|
3849
3933
|
|
|
@@ -3962,9 +4046,13 @@ Reader.prototype.doubles = function read_doubles(array) {
|
|
|
3962
4046
|
*/
|
|
3963
4047
|
Reader.prototype.uint64s = function read_uint64s(array) {
|
|
3964
4048
|
if (array === undefined) array = [];
|
|
3965
|
-
var end = this.uint32() + this.pos;
|
|
4049
|
+
var end = this.uint32() + this.pos, len = this.len;
|
|
4050
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
4051
|
+
this.len = end;
|
|
3966
4052
|
while (this.pos < end)
|
|
3967
4053
|
array.push(this.uint64());
|
|
4054
|
+
if (this.pos !== end) throw RangeError("index out of range");
|
|
4055
|
+
this.len = len;
|
|
3968
4056
|
return array;
|
|
3969
4057
|
};
|
|
3970
4058
|
|
|
@@ -3975,9 +4063,13 @@ Reader.prototype.uint64s = function read_uint64s(array) {
|
|
|
3975
4063
|
*/
|
|
3976
4064
|
Reader.prototype.int64s = function read_int64s(array) {
|
|
3977
4065
|
if (array === undefined) array = [];
|
|
3978
|
-
var end = this.uint32() + this.pos;
|
|
4066
|
+
var end = this.uint32() + this.pos, len = this.len;
|
|
4067
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
4068
|
+
this.len = end;
|
|
3979
4069
|
while (this.pos < end)
|
|
3980
4070
|
array.push(this.int64());
|
|
4071
|
+
if (this.pos !== end) throw RangeError("index out of range");
|
|
4072
|
+
this.len = len;
|
|
3981
4073
|
return array;
|
|
3982
4074
|
};
|
|
3983
4075
|
|
|
@@ -3988,9 +4080,13 @@ Reader.prototype.int64s = function read_int64s(array) {
|
|
|
3988
4080
|
*/
|
|
3989
4081
|
Reader.prototype.sint64s = function read_sint64s(array) {
|
|
3990
4082
|
if (array === undefined) array = [];
|
|
3991
|
-
var end = this.uint32() + this.pos;
|
|
4083
|
+
var end = this.uint32() + this.pos, len = this.len;
|
|
4084
|
+
if (end > len) throw indexOutOfRange(this, end - this.pos);
|
|
4085
|
+
this.len = end;
|
|
3992
4086
|
while (this.pos < end)
|
|
3993
4087
|
array.push(this.sint64());
|
|
4088
|
+
if (this.pos !== end) throw RangeError("index out of range");
|
|
4089
|
+
this.len = len;
|
|
3994
4090
|
return array;
|
|
3995
4091
|
};
|
|
3996
4092
|
|
|
@@ -5195,6 +5291,12 @@ function Type(name, options) {
|
|
|
5195
5291
|
*/
|
|
5196
5292
|
this.group = undefined; // toJSON
|
|
5197
5293
|
|
|
5294
|
+
/**
|
|
5295
|
+
* Declared symbol visibility, if any.
|
|
5296
|
+
* @type {"local"|"export"|undefined}
|
|
5297
|
+
*/
|
|
5298
|
+
this.visibility = undefined; // toJSON
|
|
5299
|
+
|
|
5198
5300
|
/**
|
|
5199
5301
|
* Cached fields by id.
|
|
5200
5302
|
* @type {Object.<number,Field>|null}
|
|
@@ -5379,6 +5481,7 @@ function clearCache(type) {
|
|
|
5379
5481
|
* @property {number[][]} [extensions] Extension ranges
|
|
5380
5482
|
* @property {Array.<number[]|string>} [reserved] Reserved ranges
|
|
5381
5483
|
* @property {boolean} [group=false] Whether a legacy group or not
|
|
5484
|
+
* @property {"local"|"export"} [visibility] Declared symbol visibility
|
|
5382
5485
|
* @property {string|null} [comment] Message type comment
|
|
5383
5486
|
*/
|
|
5384
5487
|
|
|
@@ -5429,6 +5532,8 @@ Type.fromJSON = function fromJSON(name, json, depth) {
|
|
|
5429
5532
|
type.reserved = json.reserved;
|
|
5430
5533
|
if (json.group)
|
|
5431
5534
|
type.group = true;
|
|
5535
|
+
if (json.visibility)
|
|
5536
|
+
type.visibility = json.visibility;
|
|
5432
5537
|
if (json.comment)
|
|
5433
5538
|
type.comment = json.comment;
|
|
5434
5539
|
if (json.edition)
|
|
@@ -5453,6 +5558,7 @@ Type.prototype.toJSON = function toJSON(toJSONOptions) {
|
|
|
5453
5558
|
"extensions" , this.extensions && this.extensions.length ? this.extensions : undefined,
|
|
5454
5559
|
"reserved" , this.reserved && this.reserved.length ? this.reserved : undefined,
|
|
5455
5560
|
"group" , this.group || undefined,
|
|
5561
|
+
"visibility" , this.visibility,
|
|
5456
5562
|
"nested" , inherited && inherited.nested || undefined,
|
|
5457
5563
|
"comment" , keepComments ? this.comment : undefined
|
|
5458
5564
|
]);
|
|
@@ -8416,6 +8522,10 @@ var Message = require(10),
|
|
|
8416
8522
|
wrappers[".google.protobuf.Any"] = {
|
|
8417
8523
|
|
|
8418
8524
|
fromObject: function(object, depth) {
|
|
8525
|
+
if (depth === undefined)
|
|
8526
|
+
depth = 0;
|
|
8527
|
+
if (depth > util.recursionLimit)
|
|
8528
|
+
throw Error("max depth exceeded");
|
|
8419
8529
|
|
|
8420
8530
|
// unwrap value type if mapped
|
|
8421
8531
|
if (object && object["@type"]) {
|
|
@@ -8433,7 +8543,7 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
8433
8543
|
}
|
|
8434
8544
|
return this.create({
|
|
8435
8545
|
type_url: type_url,
|
|
8436
|
-
value: type.encode(type.fromObject(object, depth
|
|
8546
|
+
value: type.encode(type.fromObject(object, depth + 1)).finish()
|
|
8437
8547
|
});
|
|
8438
8548
|
}
|
|
8439
8549
|
}
|