oauth2.bend fails
raw source on the hub · import bend-kit-oauth2@0.2.0.0/oauth2.bend as Oauth2
OAuth 2.0 client credentials, refresh, and authorization code with PKCE over Hairpin. Source: https://github.com/paymog/bend-kit/tree/main/oauth2
9 imports
import Base import bend-kit-crypto@0.1.1.0/crypto.bend as Crypto import bend-kit-hairpin@0.2.1.0/hairpin.bend as Hairpin import bend-kit-http@0.23.0.1/http.bend as Http import bend-kit-time@0.1.0.0/time.bend as Time import 0x1f2d80f53f971b16c6de6a65cb1918ae/url.bend as Url import 0x584fc27920487ceab242392391418d7f/json.bend as Json import 0xcfc8be7b076f41f95c8e118383892d55/encoding.bend as Enc import 0x49814d83de8f70993a43e1002be29ecd/bytes.bend as Bytes
The reader could not load this file (at 0x75e7d19d0e4887c8e9651d356bafc276/http2.bend:335). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
334 | type Reply is Type:
335>| Ready{client: Client, writes: List<&1, Bytes.Bytes>, events: List<&1, ClientEvent>}
| ^^^^^
336 | Failed{error: Error}