diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..df8b021 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 PassiveLogic + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/Sources/GraphQLWS/Client.swift b/Sources/GraphQLWS/Client.swift index 45dec52..42a7fd8 100644 --- a/Sources/GraphQLWS/Client.swift +++ b/Sources/GraphQLWS/Client.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import GraphQL diff --git a/Sources/GraphQLWS/GraphQLWSError.swift b/Sources/GraphQLWS/GraphQLWSError.swift index 6d0a075..d54d883 100644 --- a/Sources/GraphQLWS/GraphQLWSError.swift +++ b/Sources/GraphQLWS/GraphQLWSError.swift @@ -1,4 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. import GraphQL struct GraphQLWSError: Error { diff --git a/Sources/GraphQLWS/JsonEncodable.swift b/Sources/GraphQLWS/JsonEncodable.swift index bee480d..81a3d52 100644 --- a/Sources/GraphQLWS/JsonEncodable.swift +++ b/Sources/GraphQLWS/JsonEncodable.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import GraphQL diff --git a/Sources/GraphQLWS/Messenger.swift b/Sources/GraphQLWS/Messenger.swift index db95857..9ccd33c 100644 --- a/Sources/GraphQLWS/Messenger.swift +++ b/Sources/GraphQLWS/Messenger.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import NIO diff --git a/Sources/GraphQLWS/Requests.swift b/Sources/GraphQLWS/Requests.swift index 7dd512d..b1533e7 100644 --- a/Sources/GraphQLWS/Requests.swift +++ b/Sources/GraphQLWS/Requests.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import GraphQL diff --git a/Sources/GraphQLWS/Responses.swift b/Sources/GraphQLWS/Responses.swift index 5efcc78..51bfe3b 100644 --- a/Sources/GraphQLWS/Responses.swift +++ b/Sources/GraphQLWS/Responses.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import GraphQL diff --git a/Sources/GraphQLWS/Server.swift b/Sources/GraphQLWS/Server.swift index fb9ea17..a8e9e44 100644 --- a/Sources/GraphQLWS/Server.swift +++ b/Sources/GraphQLWS/Server.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import GraphQL import GraphQLRxSwift diff --git a/Tests/GraphQLWSTests/GraphQLWSTests.swift b/Tests/GraphQLWSTests/GraphQLWSTests.swift index d160aec..c310278 100644 --- a/Tests/GraphQLWSTests/GraphQLWSTests.swift +++ b/Tests/GraphQLWSTests/GraphQLWSTests.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2021 PassiveLogic, Inc. - import Foundation import GraphQL diff --git a/Tests/GraphQLWSTests/Utils/TestAPI.swift b/Tests/GraphQLWSTests/Utils/TestAPI.swift index 27da160..4b7ea03 100644 --- a/Tests/GraphQLWSTests/Utils/TestAPI.swift +++ b/Tests/GraphQLWSTests/Utils/TestAPI.swift @@ -1,5 +1,3 @@ -// Copyright (c) 2022 PassiveLogic, Inc. - import Foundation import GraphQL import Graphiti