Skip to content

Commit

Permalink
rm old #delegations code from bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo committed Nov 1, 2023
1 parent b63f49c commit 6f4866e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/access-client/src/agent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-continue */
/* eslint-disable max-depth */
import * as Client from '@ucanto/client'
// @ts-ignore
Expand Down Expand Up @@ -169,9 +168,8 @@ export class Agent {
* Query the delegations store for all the delegations matching the capabilities provided.
*
* @param {import('@ucanto/interface').Capability[]} [caps]
* @param {Ucanto.DID} [invocationAudience] - audience of invocation these proofs will be bundled with.
*/
#delegations(caps, invocationAudience) {
#delegations(caps) {
const _caps = new Set(caps)
/** @type {Array<{ delegation: Ucanto.Delegation, meta: import('./types.js').DelegationMeta }>} */
const values = []
Expand All @@ -190,7 +188,6 @@ export class Agent {
}
}
} else {
// no caps param is provided. Caller must want all delegations.
values.push(value)
}
}
Expand Down

0 comments on commit 6f4866e

Please sign in to comment.