Repository navigation
v4.2.0
Minor release, no API changes for callers.
go get github.com/Hyper-Solutions/hyper-sdk-go/v4@v4.2.0
New
- Kasada
GenerateDV: builds thex-kpsdk-dvheader the Kasada iOS SDK (x-kpsdk-vi-2.x) sends, from the iOS version, the model identifier (utsname.machine, e.g.iPhone13,2), the app's bundle id and its version. The bundle id and version are the same valuesGenerateUserAgenttakes, so one set of inputs gives a matching user-agent and dv. Local, no API call. KasadaPayloadInput.Dv: pass the samex-kpsdk-dvvalue you send to the site, and the payload is generated on a real iPhone with that model's screen and iOS version. Optional and iOS app flow only; left out of the request when empty.
userAgent := kasada.GenerateUserAgent("18.0.1", "com.example.app", "9.15.0")
dv := kasada.GenerateDV("18.0.1", "iPhone13,2", "com.example.app", "9.15.0")Docs: https://docs.hypersolutions.co/k4sada/mobile-user-agent