@apigames/sdk-core 22.1.0-dev.2 → 22.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -1
- package/README.md +11 -6
- package/lib/index.js +5 -1
- package/package.json +38 -28
- package/publishCodeCoverage.sh +7 -0
package/LICENSE
CHANGED
|
@@ -1 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 API Games Limited
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
API Games SDK Core Package
|
|
2
|
-
|
|
1
|
+
# API Games SDK Core Package
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
[](https://www.codacy.com/gh/apigames-public/sdk-core/dashboard?utm_source=github.com&utm_medium=referral&utm_content=apigames-public/sdk-core&utm_campaign=Badge_Grade)
|
|
5
|
+
[](https://www.codacy.com/gh/apigames-public/sdk-core/dashboard?utm_source=github.com&utm_medium=referral&utm_content=apigames-public/sdk-core&utm_campaign=Badge_Coverage)
|
|
6
|
+

|
|
7
|
+

|
|
3
8
|
|
|
4
9
|
This package includes the core capabilites required by SDKs built to access the API Games Platform.
|
|
5
10
|
|
|
6
|
-
|
|
11
|
+
## Download & Installation
|
|
7
12
|
|
|
8
13
|
```shell
|
|
9
14
|
$ npm i @apigames/sdk-core
|
|
10
15
|
```
|
|
11
16
|
|
|
12
|
-
|
|
17
|
+
## Authors or Acknowledgments
|
|
13
18
|
|
|
14
19
|
* API Games Limited
|
|
15
20
|
|
|
16
|
-
|
|
21
|
+
## License
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
This project is licensed under the MIT License
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apigames/sdk-core",
|
|
3
|
-
"author":
|
|
3
|
+
"author": {
|
|
4
|
+
"name" : "API Games Limited",
|
|
5
|
+
"email" : "hello@api.games",
|
|
6
|
+
"url" : "https://api.games"
|
|
7
|
+
},
|
|
8
|
+
"contributors": [
|
|
9
|
+
{
|
|
10
|
+
"name" : "Erich Kuba",
|
|
11
|
+
"email" : "erich.kuba@api.games"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
4
14
|
"description": "API Games SDK Core",
|
|
5
|
-
"license": "
|
|
6
|
-
"version": "22.1.
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"version": "22.1.1",
|
|
7
17
|
"main": "lib/index.js",
|
|
8
18
|
"types": "lib/index.d.ts",
|
|
9
19
|
"scripts": {
|
|
10
|
-
"win:build": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --coverage",
|
|
11
|
-
"unx:build": "rm -rf lib && tsc && jest && jest --coverage",
|
|
12
|
-
"win:publish": "(if exist lib rmdir /s /q lib) && tsc && jest && jest && npm publish",
|
|
13
|
-
"unx:publish": "rm -rf lib && tsc && jest && jest && npm publish",
|
|
14
|
-
"win:publish-beta": "(if exist lib rmdir /s /q lib) && tsc && jest && jest && npm publish --tag beta",
|
|
15
|
-
"unx:publish-beta": "rm -rf lib && tsc && jest && jest && npm publish --tag beta",
|
|
16
|
-
"win:publish-dev": "(if exist lib rmdir /s /q lib) && tsc && jest && jest && npm publish --tag dev",
|
|
17
|
-
"unx:publish-dev": "rm -rf lib && tsc && jest && jest && npm publish --tag dev",
|
|
20
|
+
"win:build": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js --coverage",
|
|
21
|
+
"unx:build": "rm -rf lib && tsc && jest && jest --config build.jest.config.js --coverage",
|
|
22
|
+
"win:publish": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish",
|
|
23
|
+
"unx:publish": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish",
|
|
24
|
+
"win:publish-beta": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish --tag beta",
|
|
25
|
+
"unx:publish-beta": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish --tag beta",
|
|
26
|
+
"win:publish-dev": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish --tag dev",
|
|
27
|
+
"unx:publish-dev": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish --tag dev",
|
|
18
28
|
"win:upgrade-latest": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target latest && npm install",
|
|
19
29
|
"unx:upgrade-latest": "rm -rf node_modules && rm -f package-lock.json && ncu -u --target latest && npm install",
|
|
20
30
|
"win:upgrade-minor": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target minor && npm install",
|
|
@@ -23,34 +33,34 @@
|
|
|
23
33
|
"test:watch": "jest --watch"
|
|
24
34
|
},
|
|
25
35
|
"dependencies": {
|
|
26
|
-
"@apigames/json": "22.1.
|
|
27
|
-
"@apigames/rest-client": "22.1.
|
|
36
|
+
"@apigames/json": "22.1.1",
|
|
37
|
+
"@apigames/rest-client": "22.1.1",
|
|
28
38
|
"object-hash": "2.2.0"
|
|
29
39
|
},
|
|
30
40
|
"devDependencies": {
|
|
31
|
-
"date-and-time": "^2.0
|
|
41
|
+
"date-and-time": "^2.3.0",
|
|
32
42
|
"@types/date-and-time": "^0.13.0",
|
|
33
|
-
"@types/jest": "
|
|
34
|
-
"@types/node": "14.18.
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "
|
|
36
|
-
"@typescript-eslint/parser": "
|
|
37
|
-
"eslint": "
|
|
38
|
-
"eslint-config-airbnb": "
|
|
39
|
-
"eslint-plugin-import": "2.25.
|
|
43
|
+
"@types/jest": "27.4.1",
|
|
44
|
+
"@types/node": "14.18.12",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "5.15.0",
|
|
46
|
+
"@typescript-eslint/parser": "5.15.0",
|
|
47
|
+
"eslint": "8.11.0",
|
|
48
|
+
"eslint-config-airbnb": "19.0.4",
|
|
49
|
+
"eslint-plugin-import": "2.25.4",
|
|
40
50
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
41
|
-
"eslint-plugin-react": "7.
|
|
51
|
+
"eslint-plugin-react": "7.29.4",
|
|
42
52
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
43
|
-
"jest": "27.
|
|
44
|
-
"ts-jest": "27.
|
|
45
|
-
"typescript": "4.
|
|
53
|
+
"jest": "27.5.1",
|
|
54
|
+
"ts-jest": "27.1.3",
|
|
55
|
+
"typescript": "4.6.2"
|
|
46
56
|
},
|
|
47
57
|
"eslintConfig": {},
|
|
48
58
|
"repository": {
|
|
49
59
|
"type": "git",
|
|
50
|
-
"url": "git+https://github.com/apigames-
|
|
60
|
+
"url": "git+https://github.com/apigames-public/sdk-core.git"
|
|
51
61
|
},
|
|
52
62
|
"bugs": {
|
|
53
|
-
"url": "https://github.com/apigames-
|
|
63
|
+
"url": "https://github.com/apigames-public/sdk-core/issues"
|
|
54
64
|
},
|
|
55
|
-
"homepage": "https://github.com/apigames-
|
|
65
|
+
"homepage": "https://github.com/apigames-public/sdk-core#readme"
|
|
56
66
|
}
|