Skip to content

Commit

Permalink
Merge pull request #32 from mysteriumnetwork/1843-mit-license
Browse files Browse the repository at this point in the history
Relicense to MIT
  • Loading branch information
tadaskay authored Mar 17, 2020
2 parents bcf78f7 + 5b6ab5b commit 381de48
Show file tree
Hide file tree
Showing 83 changed files with 351 additions and 1,133 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 BlockDev AG

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.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,3 @@ You may also check out Tequilapi [REST API documentation](http://tequilapi.myste
## Contributing

* Run CI build: `yarn ci`

## Authors
* **Andrej Novikov** - [shroomist](https://github.com/shroomist)
* **Donatas Kučinskas** - [donce](https://github.com/donce)
* **Ignas Bernotas** - [ignasbernotas](https://github.com/ignasbernotas)
* **Valdas Petrulis** - [Waldz](https://github.com/Waldz)
* **Miroslav Popugajev** - [mipo47](https://github.com/mipo47)
* **Paulius Mozuras** - [interro](https://github.com/interro)
29 changes: 12 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
{
"name": "mysterium-vpn-js",
"version": "1.0.16",
"version": "1.1.0",
"description": "Javascript SDK for Mysterium node",
"keywords": ["mysterium", "vpn", "dvpn", "sdk"],
"repository": {
"type": "git",
"url": "https://github.com/mysteriumnetwork/mysterium-vpn-js.git"
},
"author": {
"name": "Mysterium Network",
"email": "[email protected]",
"url": "https://mysterium.network"
},
"license": "MIT",
"private": false,
"engines": {
"node": ">=10"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
Expand All @@ -20,22 +31,6 @@
"tsc-check": "yarn tsc --noEmit",
"ci": "yarn tsc-check && yarn lint && yarn test && yarn copyright && yarn build"
},
"author": {
"name": "Mysterium Network",
"email": "[email protected]",
"url": "https://mysterium.network"
},
"keywords": [
"mysterium",
"vpn",
"dvpn",
"sdk"
],
"license": "GPL-3.0",
"private": false,
"engines": {
"node": ">=10"
},
"devDependencies": {
"@types/filesize": "^5.0.0",
"@types/jest": "^24.0.22",
Expand Down
18 changes: 4 additions & 14 deletions src/access-policy/access-policy.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2019 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { parseAccessPolicyList, parseAccessPolicy } from './access-policy'
Expand Down
18 changes: 4 additions & 14 deletions src/access-policy/access-policy.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2019 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { validate, validateMultiple } from '../fmt/validation'
Expand Down
18 changes: 4 additions & 14 deletions src/config/config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2019 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export interface Config {
Expand Down
18 changes: 4 additions & 14 deletions src/connection/count.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2019 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ConnectionCount, parseConnectionCount } from './count'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/count.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2018 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { validateMultiple } from '../fmt/validation'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/ip.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ConnectionIp, parseConnectionIp } from './ip'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/ip.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export interface ConnectionIp {
Expand Down
18 changes: 4 additions & 14 deletions src/connection/request.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export interface ConnectionRequest {
Expand Down
18 changes: 4 additions & 14 deletions src/connection/session.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2018 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { validateMultiple } from '../fmt/validation'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/statistics.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { parseConnectionStatistics } from './statistics'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/statistics.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { validateMultiple } from '../fmt/validation'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/status.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ConnectionStatus, parseConnectionStatusResponse } from './status'
Expand Down
18 changes: 4 additions & 14 deletions src/connection/status.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
/*
* Copyright (C) 2017 The "mysteriumnetwork/mysterium-vpn-js" Authors.
/**
* Copyright (c) 2020 BlockDev AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { validate } from '../fmt/validation'
Expand Down
Loading

0 comments on commit 381de48

Please sign in to comment.