fix: check for blob/accept receipts before blob/add is concluded #1354
upload-api.yml
on: pull_request
Typecheck
28s
Test
28s
Annotations
6 errors and 8 warnings
Typecheck
Argument of type '{ ucan: { conclude: Client.ServiceMethod<Client.Capability<"ucan/conclude", `did:${string}:${string}` & `did:${string}` & Client.Phantom<{ protocol: "did:"; }>, Pick<{ receipt: Client.Link<unknown, number, number, 0 | 1>; }, "receipt">>, Timestamp & { ...; }, UCANConcludeFailure>; }; blob: { ...; }; }' is not assignable to parameter of type 'Partial<{ ucan: Partial<{ conclude: ServiceMethod<{ can: "ucan/conclude"; with: `did:${string}:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }> & `${string}:${string}`; nb: Pick<{ receipt: Link<unknown, number, number, 0 | 1>; }, "receipt"> & Partial<...>; }, Timestamp, UCANConcludeFailure>; }>; ... 4 m...'.
|
Typecheck
Argument of type '{ ucan: { conclude: Client.ServiceMethod<Client.Capability<"ucan/conclude", `did:${string}:${string}` & `did:${string}` & Client.Phantom<{ protocol: "did:"; }>, Pick<{ receipt: Client.Link<unknown, number, number, 0 | 1>; }, "receipt">>, Timestamp & { ...; }, UCANConcludeFailure>; }; blob: { ...; }; }' is not assignable to parameter of type 'Partial<{ ucan: Partial<{ conclude: ServiceMethod<{ can: "ucan/conclude"; with: `did:${string}:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }> & `${string}:${string}`; nb: Pick<{ receipt: Link<unknown, number, number, 0 | 1>; }, "receipt"> & Partial<...>; }, Timestamp, UCANConcludeFailure>; }>; ... 4 m...'.
|
Typecheck
Process completed with exit code 1.
|
Test
Argument of type '{ ucan: { conclude: Client.ServiceMethod<Client.Capability<"ucan/conclude", `did:${string}:${string}` & `did:${string}` & Client.Phantom<{ protocol: "did:"; }>, Pick<{ receipt: Client.Link<unknown, number, number, 0 | 1>; }, "receipt">>, Timestamp & { ...; }, UCANConcludeFailure>; }; blob: { ...; }; }' is not assignable to parameter of type 'Partial<{ ucan: Partial<{ conclude: ServiceMethod<{ can: "ucan/conclude"; with: `did:${string}:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }> & `${string}:${string}`; nb: Pick<{ receipt: Link<unknown, number, number, 0 | 1>; }, "receipt"> & Partial<...>; }, Timestamp, UCANConcludeFailure>; }>; ... 4 m...'.
|
Test
Argument of type '{ ucan: { conclude: Client.ServiceMethod<Client.Capability<"ucan/conclude", `did:${string}:${string}` & `did:${string}` & Client.Phantom<{ protocol: "did:"; }>, Pick<{ receipt: Client.Link<unknown, number, number, 0 | 1>; }, "receipt">>, Timestamp & { ...; }, UCANConcludeFailure>; }; blob: { ...; }; }' is not assignable to parameter of type 'Partial<{ ucan: Partial<{ conclude: ServiceMethod<{ can: "ucan/conclude"; with: `did:${string}:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }> & `${string}:${string}`; nb: Pick<{ receipt: Link<unknown, number, number, 0 | 1>; }, "receipt"> & Partial<...>; }, Timestamp, UCANConcludeFailure>; }>; ... 4 m...'.
|
Test
Process completed with exit code 1.
|
Typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Typecheck
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Typecheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Typecheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|