@kmamal/sdl 0.9.6-0 → 0.10.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/README.md +79 -90
- package/package.json +4 -3
- package/scripts/util/common.js +2 -0
- package/src/javascript/audio/audio-instance.js +1 -1
- package/src/javascript/audio/index.js +1 -0
- package/src/javascript/clipboard/index.js +6 -1
- package/src/javascript/controller/controller-instance.js +12 -9
- package/src/javascript/controller/index.js +5 -2
- package/src/javascript/enums.js +0 -8
- package/src/javascript/events/events-via-poll.js +3 -3
- package/src/javascript/events/index.js +57 -55
- package/src/javascript/globals.js +1 -1
- package/src/javascript/joystick/device.js +0 -3
- package/src/javascript/joystick/index.js +5 -2
- package/src/javascript/joystick/joystick-instance.js +23 -13
- package/src/javascript/keyboard/index.js +7 -3
- package/src/javascript/keyboard/key-mapping.js +2 -2
- package/src/javascript/mouse/index.js +2 -2
- package/src/javascript/power/index.js +1 -6
- package/src/javascript/sensor/sensor-instance.js +1 -1
- package/src/javascript/video/index.js +5 -6
- package/src/javascript/video/window.js +1 -1
- package/src/native/audio.cpp +10 -2
- package/src/native/controller.cpp +9 -1
- package/src/native/controller.h +5 -0
- package/src/native/enums.cpp +3 -141
- package/src/native/enums.h +0 -55
- package/src/native/events.cpp +115 -63
- package/src/native/events.h +55 -0
- package/src/native/global.cpp +184 -13
- package/src/native/joystick.cpp +20 -10
- package/src/native/joystick.h +7 -0
- package/src/native/keyboard.cpp +5 -3
- package/src/native/power.cpp +6 -1
- package/src/native/power.h +5 -0
- package/src/native/sensor.cpp +9 -2
- package/src/native/sensor.h +6 -0
- package/src/native/video.cpp +6 -1
- package/src/native/video.h +4 -0
- package/src/native/window.cpp +24 -97
- package/src/native/window.h +1 -0
- package/src/types/index.d.ts +84 -45
- package/scripts/install-deps-mac.sh +0 -2
- package/scripts/install-deps-raspbian.sh +0 -5
- package/scripts/install-deps-ubuntu.sh +0 -5
- package/scripts/release-rpi-qemu.sh +0 -116
- package/scripts/release.mjs +0 -13
- package/scripts/upload-release.mjs +0 -86
package/src/types/index.d.ts
CHANGED
|
@@ -142,13 +142,13 @@ export namespace Events {
|
|
|
142
142
|
|
|
143
143
|
export interface AxisMotion extends JoystickEvent {
|
|
144
144
|
readonly type: 'axisMotion'
|
|
145
|
-
readonly axis: number
|
|
145
|
+
readonly axis: number
|
|
146
146
|
readonly value: number
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
export interface BallMotion extends JoystickEvent {
|
|
150
150
|
readonly type: 'ballMotion'
|
|
151
|
-
readonly ball: number
|
|
151
|
+
readonly ball: number
|
|
152
152
|
readonly x: number
|
|
153
153
|
readonly y: number
|
|
154
154
|
}
|
|
@@ -162,7 +162,7 @@ export namespace Events {
|
|
|
162
162
|
|
|
163
163
|
export interface HatMotion extends JoystickEvent {
|
|
164
164
|
readonly type: 'hatMotion'
|
|
165
|
-
readonly hat: number
|
|
165
|
+
readonly hat: number
|
|
166
166
|
readonly value: Sdl.Joystick.HatPosition
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -197,12 +197,12 @@ export namespace Events {
|
|
|
197
197
|
|
|
198
198
|
export interface AxisMotion extends ControllerEvent {
|
|
199
199
|
readonly type: 'axisMotion'
|
|
200
|
-
readonly axis:
|
|
200
|
+
readonly axis: Sdl.Controller.Axis
|
|
201
201
|
readonly value: number
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
interface ButtonEvent extends ControllerEvent {
|
|
205
|
-
readonly button:
|
|
205
|
+
readonly button: Sdl.Controller.Button
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
export interface ButtonDown extends ButtonEvent { readonly type: 'buttonDown' }
|
|
@@ -824,6 +824,17 @@ export namespace Sdl {
|
|
|
824
824
|
y: number
|
|
825
825
|
}
|
|
826
826
|
|
|
827
|
+
export type JoystickType
|
|
828
|
+
= 'gamecontroller'
|
|
829
|
+
| 'wheel'
|
|
830
|
+
| 'arcadestick'
|
|
831
|
+
| 'flightstick'
|
|
832
|
+
| 'dancepad'
|
|
833
|
+
| 'guitar'
|
|
834
|
+
| 'drumkit'
|
|
835
|
+
| 'arcadepad'
|
|
836
|
+
| 'throttle'
|
|
837
|
+
|
|
827
838
|
export type HatPosition
|
|
828
839
|
= 'centered'
|
|
829
840
|
| 'up'
|
|
@@ -845,14 +856,14 @@ export namespace Sdl {
|
|
|
845
856
|
|
|
846
857
|
export interface Device {
|
|
847
858
|
readonly id: number
|
|
848
|
-
readonly type:
|
|
859
|
+
readonly type: JoystickType
|
|
849
860
|
readonly name: string
|
|
850
861
|
readonly path: string
|
|
851
862
|
readonly guid: string
|
|
852
|
-
readonly vendor: number
|
|
853
|
-
readonly product: number
|
|
854
|
-
readonly version: number
|
|
855
|
-
readonly player: number
|
|
863
|
+
readonly vendor: number | null
|
|
864
|
+
readonly product: number | null
|
|
865
|
+
readonly version: number | null
|
|
866
|
+
readonly player: number | null
|
|
856
867
|
}
|
|
857
868
|
|
|
858
869
|
export class JoystickInstance {
|
|
@@ -873,7 +884,7 @@ export namespace Sdl {
|
|
|
873
884
|
readonly hats: HatPosition[]
|
|
874
885
|
readonly buttons: boolean[]
|
|
875
886
|
|
|
876
|
-
readonly power: PowerLevel
|
|
887
|
+
readonly power: PowerLevel | null
|
|
877
888
|
|
|
878
889
|
setPlayer (index: number): void
|
|
879
890
|
resetPlayer (): void
|
|
@@ -919,6 +930,35 @@ export namespace Sdl {
|
|
|
919
930
|
readonly mapping: string
|
|
920
931
|
}
|
|
921
932
|
|
|
933
|
+
export type Axis
|
|
934
|
+
= 'leftStickX'
|
|
935
|
+
| 'leftStickY'
|
|
936
|
+
| 'rightStickX'
|
|
937
|
+
| 'rightStickY'
|
|
938
|
+
| 'leftTrigger'
|
|
939
|
+
| 'rightTrigger'
|
|
940
|
+
|
|
941
|
+
export type Button
|
|
942
|
+
= 'dpadLeft'
|
|
943
|
+
| 'dpadRight'
|
|
944
|
+
| 'dpadUp'
|
|
945
|
+
| 'dpadDown'
|
|
946
|
+
| 'a'
|
|
947
|
+
| 'b'
|
|
948
|
+
| 'x'
|
|
949
|
+
| 'y'
|
|
950
|
+
| 'guide'
|
|
951
|
+
| 'back'
|
|
952
|
+
| 'start'
|
|
953
|
+
| 'leftStick'
|
|
954
|
+
| 'rightStick'
|
|
955
|
+
| 'leftShoulder'
|
|
956
|
+
| 'rightShoulder'
|
|
957
|
+
| 'paddle1'
|
|
958
|
+
| 'paddle2'
|
|
959
|
+
| 'paddle3'
|
|
960
|
+
| 'paddle4'
|
|
961
|
+
|
|
922
962
|
export class ControllerInstance {
|
|
923
963
|
on (event: 'axisMotion', listener: (event: Events.Controller.AxisMotion) => void): this
|
|
924
964
|
on (event: 'buttonDown', listener: (event: Events.Controller.ButtonDown) => void): this
|
|
@@ -932,34 +972,34 @@ export namespace Sdl {
|
|
|
932
972
|
readonly serialNumber: string
|
|
933
973
|
|
|
934
974
|
readonly axes: {
|
|
935
|
-
readonly leftStickX: number
|
|
936
|
-
readonly leftStickY: number
|
|
937
|
-
readonly rightStickX: number
|
|
938
|
-
readonly rightStickY: number
|
|
939
|
-
readonly leftTrigger: number
|
|
940
|
-
readonly rightTrigger: number
|
|
975
|
+
readonly leftStickX: number
|
|
976
|
+
readonly leftStickY: number
|
|
977
|
+
readonly rightStickX: number
|
|
978
|
+
readonly rightStickY: number
|
|
979
|
+
readonly leftTrigger: number
|
|
980
|
+
readonly rightTrigger: number
|
|
941
981
|
}
|
|
942
982
|
|
|
943
983
|
readonly buttons: {
|
|
944
|
-
readonly dpadLeft: boolean
|
|
945
|
-
readonly dpadRight: boolean
|
|
946
|
-
readonly dpadUp: boolean
|
|
947
|
-
readonly dpadDown: boolean
|
|
948
|
-
readonly a: boolean
|
|
949
|
-
readonly b: boolean
|
|
950
|
-
readonly x: boolean
|
|
951
|
-
readonly y: boolean
|
|
952
|
-
readonly guide: boolean
|
|
953
|
-
readonly back: boolean
|
|
954
|
-
readonly start: boolean
|
|
955
|
-
readonly leftStick: boolean
|
|
956
|
-
readonly rightStick: boolean
|
|
957
|
-
readonly leftShoulder: boolean
|
|
958
|
-
readonly rightShoulder: boolean
|
|
959
|
-
readonly paddle1: boolean
|
|
960
|
-
readonly paddle2: boolean
|
|
961
|
-
readonly paddle3: boolean
|
|
962
|
-
readonly paddle4: boolean
|
|
984
|
+
readonly dpadLeft: boolean
|
|
985
|
+
readonly dpadRight: boolean
|
|
986
|
+
readonly dpadUp: boolean
|
|
987
|
+
readonly dpadDown: boolean
|
|
988
|
+
readonly a: boolean
|
|
989
|
+
readonly b: boolean
|
|
990
|
+
readonly x: boolean
|
|
991
|
+
readonly y: boolean
|
|
992
|
+
readonly guide: boolean
|
|
993
|
+
readonly back: boolean
|
|
994
|
+
readonly start: boolean
|
|
995
|
+
readonly leftStick: boolean
|
|
996
|
+
readonly rightStick: boolean
|
|
997
|
+
readonly leftShoulder: boolean
|
|
998
|
+
readonly rightShoulder: boolean
|
|
999
|
+
readonly paddle1: boolean
|
|
1000
|
+
readonly paddle2: boolean
|
|
1001
|
+
readonly paddle3: boolean
|
|
1002
|
+
readonly paddle4: boolean
|
|
963
1003
|
}
|
|
964
1004
|
|
|
965
1005
|
readonly power: Joystick.PowerLevel
|
|
@@ -1010,15 +1050,15 @@ export namespace Sdl {
|
|
|
1010
1050
|
export interface Device {
|
|
1011
1051
|
readonly id: number
|
|
1012
1052
|
readonly name: string
|
|
1013
|
-
readonly type: Type
|
|
1053
|
+
readonly type: Type | null
|
|
1014
1054
|
readonly side: Side | null
|
|
1015
1055
|
}
|
|
1016
1056
|
|
|
1017
1057
|
export interface Data {
|
|
1018
|
-
timestamp: number | null
|
|
1019
|
-
x: number
|
|
1020
|
-
y: number
|
|
1021
|
-
z: number
|
|
1058
|
+
readonly timestamp: number | null
|
|
1059
|
+
readonly x: number
|
|
1060
|
+
readonly y: number
|
|
1061
|
+
readonly z: number
|
|
1022
1062
|
}
|
|
1023
1063
|
|
|
1024
1064
|
export class SensorInstance {
|
|
@@ -1035,7 +1075,7 @@ export namespace Sdl {
|
|
|
1035
1075
|
}
|
|
1036
1076
|
|
|
1037
1077
|
interface Module {
|
|
1038
|
-
STANDARD_GRAVITY: 9.80665
|
|
1078
|
+
readonly STANDARD_GRAVITY: 9.80665
|
|
1039
1079
|
|
|
1040
1080
|
readonly devices: Device[]
|
|
1041
1081
|
|
|
@@ -1158,14 +1198,13 @@ export namespace Sdl {
|
|
|
1158
1198
|
export namespace Power {
|
|
1159
1199
|
|
|
1160
1200
|
export type PowerState
|
|
1161
|
-
= '
|
|
1162
|
-
| 'noBattery'
|
|
1201
|
+
= 'noBattery'
|
|
1163
1202
|
| 'battery'
|
|
1164
1203
|
| 'charging'
|
|
1165
1204
|
| 'charged'
|
|
1166
1205
|
|
|
1167
1206
|
export interface PowerInfo {
|
|
1168
|
-
state: PowerState
|
|
1207
|
+
state: PowerState | null
|
|
1169
1208
|
seconds: number | null
|
|
1170
1209
|
percent: number | null
|
|
1171
1210
|
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
set -eEu -o pipefail
|
|
4
|
-
set -x
|
|
5
|
-
|
|
6
|
-
OS="raspios_lite_arm64"
|
|
7
|
-
DATE="2023-05-03"
|
|
8
|
-
IMAGE="$DATE-raspios-bullseye-arm64-lite.img"
|
|
9
|
-
MOUNT="/mnt/raspbian"
|
|
10
|
-
|
|
11
|
-
DIR="/tmp/node-sdl-rpi-qemu"
|
|
12
|
-
rm -rf "$DIR" || true
|
|
13
|
-
mkdir -p "$DIR"
|
|
14
|
-
cd "$DIR"
|
|
15
|
-
echo "Working in $DIR"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
sudo apt-get update
|
|
19
|
-
sudo apt-get install -y xz-utils qemu-system-arm expect
|
|
20
|
-
|
|
21
|
-
CACHED="/home/$USER/Desktop/$IMAGE.xz"
|
|
22
|
-
if test -f "$CACHED"; then
|
|
23
|
-
cp "$CACHED" .
|
|
24
|
-
else
|
|
25
|
-
wget --progress=dot:giga "https://downloads.raspberrypi.org/$OS/images/$OS-$DATE/$IMAGE.xz"
|
|
26
|
-
fi
|
|
27
|
-
unxz "$IMAGE.xz"
|
|
28
|
-
|
|
29
|
-
qemu-img resize "$IMAGE" 4G
|
|
30
|
-
|
|
31
|
-
expect -f - <<- EOF
|
|
32
|
-
set timeout -1
|
|
33
|
-
# exp_internal 1
|
|
34
|
-
|
|
35
|
-
spawn fdisk {$IMAGE}
|
|
36
|
-
|
|
37
|
-
expect -exact {Command (m for help): }
|
|
38
|
-
send -- [string cat {d} "\r"]
|
|
39
|
-
|
|
40
|
-
expect -exact {Partition number (1,2, default 2): }
|
|
41
|
-
send -- [string cat {} "\r"]
|
|
42
|
-
|
|
43
|
-
expect -exact {Command (m for help): }
|
|
44
|
-
send -- [string cat {n} "\r"]
|
|
45
|
-
|
|
46
|
-
expect -exact {Select (default p): }
|
|
47
|
-
send -- [string cat {} "\r"]
|
|
48
|
-
|
|
49
|
-
expect -exact {Partition number (2-4, default 2): }
|
|
50
|
-
send -- [string cat {} "\r"]
|
|
51
|
-
|
|
52
|
-
expect -exact {First sector (2048-8388607, default 2048): }
|
|
53
|
-
send -- [string cat {532480} "\r"]
|
|
54
|
-
|
|
55
|
-
expect -exact {(532480-8388607, default 8388607): }
|
|
56
|
-
send -- [string cat {} "\r"]
|
|
57
|
-
|
|
58
|
-
expect -exact {Do you want to remove the signature?}
|
|
59
|
-
send -- [string cat {N} "\r"]
|
|
60
|
-
|
|
61
|
-
expect -exact {Command (m for help): }
|
|
62
|
-
send -- [string cat {w} "\r"]
|
|
63
|
-
|
|
64
|
-
expect eof
|
|
65
|
-
EOF
|
|
66
|
-
|
|
67
|
-
LOOP="$(sudo losetup -f)"
|
|
68
|
-
sudo losetup -P "$LOOP" "$IMAGE"
|
|
69
|
-
sudo e2fsck -fa "${LOOP}p2" || true
|
|
70
|
-
sudo resize2fs "${LOOP}p2"
|
|
71
|
-
sudo losetup -d "${LOOP}"
|
|
72
|
-
|
|
73
|
-
sudo mkdir -p "$MOUNT"
|
|
74
|
-
sudo mount -o loop,offset=4194304 "$IMAGE" "$MOUNT"
|
|
75
|
-
|
|
76
|
-
printf 'pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0' | sudo tee "$MOUNT/userconf" > /dev/null
|
|
77
|
-
|
|
78
|
-
expect -f - <<- EOF
|
|
79
|
-
set timeout -1
|
|
80
|
-
# exp_internal 1
|
|
81
|
-
|
|
82
|
-
spawn qemu-system-aarch64 \
|
|
83
|
-
-machine raspi3b \
|
|
84
|
-
-cpu cortex-a72 \
|
|
85
|
-
-dtb "$MOUNT/bcm2710-rpi-3-b-plus.dtb" \
|
|
86
|
-
-m 1G -smp 4 -nographic -monitor none -serial stdio \
|
|
87
|
-
-kernel "$MOUNT/kernel8.img" \
|
|
88
|
-
-sd "$IMAGE" \
|
|
89
|
-
-netdev user,id=net0 \
|
|
90
|
-
-device usb-net,netdev=net0 \
|
|
91
|
-
-append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootdelay=1"
|
|
92
|
-
|
|
93
|
-
expect -exact {raspberrypi login: }
|
|
94
|
-
send -- [string cat {pi} "\r"]
|
|
95
|
-
|
|
96
|
-
expect -exact {Password: }
|
|
97
|
-
sleep 5
|
|
98
|
-
send -- [string cat {raspberry} "\r"]
|
|
99
|
-
|
|
100
|
-
expect -exact {pi@raspberrypi}
|
|
101
|
-
send -- [string cat {curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - && sudo apt-get install -y nodejs} "\r"]
|
|
102
|
-
|
|
103
|
-
expect -exact {pi@raspberrypi}
|
|
104
|
-
send -- [string cat {wget --progress=dot https://github.com/kmamal/node-sdl/archive/refs/heads/master.tar.gz && tar xvf master.tar.gz && cd node-sdl-master} "\r"]
|
|
105
|
-
|
|
106
|
-
expect -exact {pi@raspberrypi}
|
|
107
|
-
send -- [string cat {./scripts/install-deps-raspbian.sh && GITHUB_TOKEN="$GITHUB_TOKEN" npm run release} "\r"]
|
|
108
|
-
|
|
109
|
-
expect -exact {pi@raspberrypi}
|
|
110
|
-
send -- [string cat {sudo shutdown -h now} "\r"]
|
|
111
|
-
|
|
112
|
-
expect eof
|
|
113
|
-
EOF
|
|
114
|
-
|
|
115
|
-
# debug
|
|
116
|
-
# sudo mount -o loop,offset=272629760 "$IMAGE" "$MOUNT"
|
package/scripts/release.mjs
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import Fs from 'node:fs'
|
|
2
|
-
import Path from 'node:path'
|
|
3
|
-
import C from './util/common.js'
|
|
4
|
-
import { fetch } from './util/fetch.js'
|
|
5
|
-
import Tar from 'tar'
|
|
6
|
-
|
|
7
|
-
const commonHeaders = {
|
|
8
|
-
"Accept": 'application/vnd.github+json',
|
|
9
|
-
"Authorization": `Bearer ${process.env.GITHUB_TOKEN}`,
|
|
10
|
-
'User-Agent': `@kmamal/sdl@${C.version}`,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
let response
|
|
14
|
-
|
|
15
|
-
getRelease: {
|
|
16
|
-
console.log("get release", C.version)
|
|
17
|
-
|
|
18
|
-
try {
|
|
19
|
-
response = await fetch(
|
|
20
|
-
`https://api.github.com/repos/${C.owner}/${C.repo}/releases/tags/v${C.version}`,
|
|
21
|
-
{ headers: commonHeaders },
|
|
22
|
-
)
|
|
23
|
-
console.log("release exists", C.version)
|
|
24
|
-
break getRelease
|
|
25
|
-
} catch (error) {
|
|
26
|
-
console.log(error.message)
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
console.log("create release", C.version)
|
|
30
|
-
|
|
31
|
-
response = await fetch(
|
|
32
|
-
`https://api.github.com/repos/${C.owner}/${C.repo}/releases`,
|
|
33
|
-
{
|
|
34
|
-
method: 'POST',
|
|
35
|
-
headers: commonHeaders,
|
|
36
|
-
body: JSON.stringify({
|
|
37
|
-
tag_name: `v${C.version}`, // eslint-disable-line camelcase
|
|
38
|
-
name: `v${C.version}`,
|
|
39
|
-
}),
|
|
40
|
-
},
|
|
41
|
-
)
|
|
42
|
-
}
|
|
43
|
-
const releaseId = (await response.json()).id
|
|
44
|
-
|
|
45
|
-
console.log("create archive", C.assetName)
|
|
46
|
-
await Fs.promises.rm(C.dir.publish, { recursive: true }).catch(() => {})
|
|
47
|
-
await Fs.promises.mkdir(C.dir.publish, { recursive: true })
|
|
48
|
-
const assetPath = Path.join(C.dir.publish, C.assetName)
|
|
49
|
-
|
|
50
|
-
process.chdir(C.dir.dist)
|
|
51
|
-
await Tar.create(
|
|
52
|
-
{ gzip: true, file: assetPath },
|
|
53
|
-
await Fs.promises.readdir('.'),
|
|
54
|
-
)
|
|
55
|
-
const buffer = await Fs.promises.readFile(assetPath)
|
|
56
|
-
|
|
57
|
-
response = await fetch(
|
|
58
|
-
`https://api.github.com/repos/${C.owner}/${C.repo}/releases/${releaseId}/assets`,
|
|
59
|
-
{ headers: commonHeaders },
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
const list = await response.json()
|
|
63
|
-
const asset = list.find((x) => x.name === C.assetName)
|
|
64
|
-
if (asset) {
|
|
65
|
-
console.log("delete asset", C.assetName)
|
|
66
|
-
await fetch(
|
|
67
|
-
`https://api.github.com/repos/${C.owner}/${C.repo}/releases/assets/${asset.id}`,
|
|
68
|
-
{
|
|
69
|
-
method: 'DELETE',
|
|
70
|
-
headers: commonHeaders,
|
|
71
|
-
},
|
|
72
|
-
)
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
console.log("upload", C.assetName)
|
|
76
|
-
await fetch(
|
|
77
|
-
`https://uploads.github.com/repos/${C.owner}/${C.repo}/releases/${releaseId}/assets?name=${C.assetName}`,
|
|
78
|
-
{
|
|
79
|
-
method: 'POST',
|
|
80
|
-
headers: {
|
|
81
|
-
...commonHeaders,
|
|
82
|
-
'Content-Type': 'application/gzip',
|
|
83
|
-
},
|
|
84
|
-
body: buffer,
|
|
85
|
-
},
|
|
86
|
-
)
|