@n4tzz/n4lyx 2.7.9 → 2.7.11
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/WAProto/GenerateStatics.sh +3 -14
- package/WAProto/WAProto.proto +3890 -2232
- package/WAProto/index.js +140376 -100940
- package/WAProto/p.html +1 -1
- package/lib/Defaults/index.js +2 -2
- package/lib/Socket/groups.js +0 -55
- package/lib/Socket/messages-recv.js +1 -1
- package/lib/Socket/messages-send.js +0 -15
- package/lib/Store/make-in-memory-store.js +1 -1
- package/lib/Utils/event-buffer.js +2 -2
- package/lib/Utils/generics.js +12 -12
- package/lib/Utils/index.js +1 -1
- package/lib/Utils/messages.js +0 -22
- package/lib/Utils/use-multi-file-auth-state.js +1 -1
- package/lib/Utils/{n4lyx-event-stream.js → wileys-event-stream.js} +1 -1
- package/package.json +1 -1
- package/WAProto/index.d.ts +0 -45073
- /package/{README.md → README.MD} +0 -0
- /package/lib/Defaults/{n4lyx-version.json → wileys-version.json} +0 -0
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Regenerates index.js and index.d.ts from WAProto.proto
|
|
1
|
+
yarn pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto;
|
|
2
|
+
yarn pbts -o ./WAProto/index.d.ts ./WAProto/index.js;
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
yarn pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto
|
|
8
|
-
yarn pbts -o ./WAProto/index.d.ts ./WAProto/index.js
|
|
9
|
-
|
|
10
|
-
echo "Done. WAProto/index.js and WAProto/index.d.ts regenerated."
|
|
11
|
-
|
|
12
|
-
# Alternative (if using protoc):
|
|
13
|
-
# protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto \
|
|
14
|
-
# --ts_proto_opt=env=node,useOptionals=true,forceLong=long \
|
|
15
|
-
# --ts_proto_out=. ./WAProto/WAProto.proto
|
|
4
|
+
#protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=env=node,useOptionals=true,forceLong=long --ts_proto_out=. ./src/Binary/WAMessage.proto;
|