hairpin.bend fails
raw source on the hub · import bend-kit-hairpin@0.6.0.0/hairpin.bend as Hairpin
Hairpin: an HTTP client with a base URL, default headers, a pool, cookies, mTLS, redirects, and proven retries. Source: https://github.com/paymog/bend-kit/tree/main/hairpin
7 imports
import Base import bend-kit-http@0.33.0.0/http.bend as Http import bend-kit-time@0.2.0.0/time.bend as Time import bend-kit-url@0.4.1.0/url.bend as Url import bend-kit-json@0.6.0.0/json.bend as Json import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes import bend-kit-retry@0.1.0.0/retry.bend as Retry
The reader could not load this file (at 0x579a2e74e2404c33b1f6717868c087e4/admission.bend:40). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Lost)
- observed : 'Lost'
Location:
39 | Full{lease: Lease}
40>| Lost{}
| ^^^^
41 |