• Javokhir's avatar
    feat: add typed MyID JS API over codegen turbo module spec · 567d3cbb
    Javokhir authored
    Public surface is a promise-based start({config, iosAppearance}) mirroring the
    MyID Flutter plugin's wire format, with string-union enums, platform-scoped
    JSDoc and a MyIdError carrying the SDK result code.
    
    The codegen spec stays deliberately untyped for enums because codegen cannot
    express string unions; narrowing lives in the public layer only. Keys that are
    undefined are stripped before crossing the bridge so the SDK's own defaults
    survive rather than being overwritten with empty values.
    567d3cbb
myid-error.ts 1.27 KB