Skip to content

feat: egress client - ucanto integration #286

feat: egress client - ucanto integration

feat: egress client - ucanto integration #286

Triggered via pull request November 12, 2024 19:44
Status Failure
Total duration 29s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L112
Argument of type '{ dataCid: CID<any, number, number, Version>; authToken: string; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L156
Argument of type '{ dataCid: CID<any, number, number, Version>; authToken: null; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L202
Argument of type '{ dataCid: CID<any, number, number, Version>; authToken: string; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L291
Argument of type '{ authToken: string; dataCid: CID<any, number, number, Version>; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L305
Argument of type '{ authToken: string; dataCid: CID<any, number, number, Version>; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L317
Argument of type '{ authToken: string; dataCid: CID<any, number, number, Version>; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L354
Argument of type '{ authToken: null; dataCid: CID<any, number, number, Version>; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L366
Argument of type '{ authToken: string; dataCid: CID<any, number, number, Version>; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L384
Argument of type '{ dataCid: CID<any, number, number, Version>; authToken: string; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test: test/unit/middleware/withAuthorizedSpace.spec.js#L428
Argument of type '{ dataCid: CID<any, number, number, Version>; authToken: string; locator: Locator; delegationsStorage: DelegationsStorage; gatewayIdentity: ed25519.Signer.Signer<...>; waitUntil: () => void; path: string; searchParams: URLSearchParams; }' is not assignable to parameter of type 'LocatorContext & IpfsUrlContext & AuthTokenContext & DelegationsStorageContext'.
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/