signing header + payload, improved tests #33
Annotations
10 errors and 1 warning
Build and test:
apps/armory/src/__test__/fixture/authorization-request.fixture.ts#L64
Type '{ id: string; orgId: string; status: "CREATED" | "CANCELED" | "FAILED" | "PROCESSING" | "APPROVING" | "PERMITTED" | "FORBIDDEN"; authentication: { sig: string; pubKey: string; alg?: any; }; ... 5 more ...; updatedAt: Date; }' is not assignable to type 'AuthorizationRequest'.
|
Build and test:
apps/armory/src/__test__/fixture/authorization-request.fixture.ts#L70
Type '{ sig: string; alg?: any; pubKey: string; id: string; createdAt: Date; }' is not assignable to type 'Approval'.
|
Build and test:
apps/armory/src/__test__/fixture/authorization-request.fixture.ts#L75
Type '{ sig: string; alg?: any; pubKey: string; id: string; createdAt: Date; }' is not assignable to type 'Signature'.
|
Build and test:
apps/armory/src/__test__/fixture/feed.fixture.ts#L21
Type '{ data: Data; source: string; sig: { sig: string; pubKey: string; alg?: any; } | null; }' is not assignable to type 'Feed<Data>'.
|
Build and test:
apps/armory/src/data-feed/core/service/historical-transfer-feed.service.ts#L1
Module '"@narval/policy-engine-shared"' has no exported member 'Alg'.
|
Build and test:
apps/armory/src/data-feed/core/service/historical-transfer-feed.service.ts#L1
Module '"@narval/policy-engine-shared"' has no exported member 'hashRequest'.
|
Build and test:
apps/armory/src/data-feed/core/service/price-feed.service.ts#L1
Module '"@narval/policy-engine-shared"' has no exported member 'Alg'.
|
Build and test:
apps/armory/src/data-feed/core/service/price-feed.service.ts#L1
Module '"@narval/policy-engine-shared"' has no exported member 'hashRequest'.
|
Build and test:
apps/armory/src/orchestration/core/service/cluster.service.ts#L1
Module '"@narval/policy-engine-shared"' has no exported member 'hashRequest'.
|
Build and test:
apps/armory/src/orchestration/persistence/decode/authorization-request.decode.ts#L32
Type '{ sig: string; pubKey: string; alg?: any; }' is not assignable to type 'Signature'.
|
Build and test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|