diff --git a/JSONWebToken.podspec b/JSONWebToken.podspec index 9dce369..2bf5306 100644 --- a/JSONWebToken.podspec +++ b/JSONWebToken.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'JSONWebToken' - spec.version = '2.1.0' + spec.version = '2.1.1' spec.summary = 'Swift library for JSON Web Tokens (JWT).' spec.homepage = 'https://github.com/kylef/JSONWebToken.swift' spec.license = { :type => 'BSD', :file => 'LICENSE' } diff --git a/Sources/ClaimSet.swift b/Sources/ClaimSet.swift index 2be08ca..7626498 100644 --- a/Sources/ClaimSet.swift +++ b/Sources/ClaimSet.swift @@ -1,3 +1,5 @@ +import Foundation + public struct ClaimSet { var claims: [String: Any] diff --git a/Sources/Encode.swift b/Sources/Encode.swift index 04f4109..6ac88c1 100644 --- a/Sources/Encode.swift +++ b/Sources/Encode.swift @@ -1,3 +1,6 @@ +import Foundation +import CryptoSwift + /*** Encode a set of claims - parameter claims: The set of claims - parameter algorithm: The algorithm to sign the payload with