Skip to content

Commit

Permalink
Merge pull request #19 from kuldar-daniel/fix/sd-jwt-public-access-co…
Browse files Browse the repository at this point in the history
…ntrol

Public access control: expose internal SDJWT properties resolves #17
  • Loading branch information
dtsiflit authored May 13, 2024
2 parents dfeddc0 + 2617b1e commit b2ec81b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/Issuer/SDJWT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct SDJWT {

// MARK: - Properties

var jwt: JWT
var disclosures: [Disclosure]
var kbJwt: JWT?
public internal(set) var jwt: JWT
public internal(set) var disclosures: [Disclosure]
public internal(set) var kbJwt: JWT?

// MARK: - Lifecycle

Expand Down Expand Up @@ -69,9 +69,9 @@ public struct SignedSDJWT {

// MARK: - Properties

let jwt: JWS
var disclosures: [Disclosure]
var kbJwt: JWS?
public let jwt: JWS
public internal(set) var disclosures: [Disclosure]
public internal(set) var kbJwt: JWS?

var delineatedCompactSerialisation: String {
let separator = "~"
Expand Down

0 comments on commit b2ec81b

Please sign in to comment.