diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..978b4e8e --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +26 \ No newline at end of file diff --git a/mise.toml b/mise.toml index 716b1b5b..5c381671 100644 --- a/mise.toml +++ b/mise.toml @@ -1,2 +1,2 @@ [tools] -node = "22.18.0" +node = "26" diff --git a/packages/acs-client/src/acs/authz.ts b/packages/acs-client/src/acs/authz.ts index c8775cbd..2dc80fae 100644 --- a/packages/acs-client/src/acs/authz.ts +++ b/packages/acs-client/src/acs/authz.ts @@ -296,16 +296,15 @@ export class UnAuthZ implements IAuthZ { * General authorizer. Marshalls data and requests access to the Access Control Service (ACS). */ export class ACSAuthZ implements IAuthZ { - acs: AccessControlServiceClient; - ownershipDomain: OwnershipDomainServiceClient; /** * * @param acs Access Control Service definition (gRPC) + * @param ownershipDomain */ - constructor(acs: AccessControlServiceClient, ownernshipDomain: OwnershipDomainServiceClient) { - this.acs = acs; - this.ownershipDomain = ownernshipDomain; - } + constructor( + public readonly acs: AccessControlServiceClient, + public readonly ownershipDomain: OwnershipDomainServiceClient + ) {} /** * Perform request to access-control-srv @@ -525,7 +524,8 @@ export const initAuthZ = async (config?: any, logger?: Logger): Promise