Compare commits

...

2 Commits

Author SHA1 Message Date
e172465258 2.4.2 2021-07-11 17:48:56 +02:00
9940961e20 Downgraded to ES2015 to have better support browsers
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-07-11 17:48:42 +02:00
3 changed files with 5 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@tcgdex/sdk", "name": "@tcgdex/sdk",
"version": "2.4.1", "version": "2.4.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@tcgdex/sdk", "name": "@tcgdex/sdk",
"version": "2.4.1", "version": "2.4.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"isomorphic-unfetch": "^3.1.0", "isomorphic-unfetch": "^3.1.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@tcgdex/sdk", "name": "@tcgdex/sdk",
"version": "2.4.1", "version": "2.4.2",
"main": "./dist/cjs/tcgdex.node.js", "main": "./dist/cjs/tcgdex.node.js",
"types": "./dist/types/tcgdex.d.ts", "types": "./dist/types/tcgdex.d.ts",
"description": "Communicate with the Open Source TCGdex API in Javascript/Typescript using the SDK", "description": "Communicate with the Open Source TCGdex API in Javascript/Typescript using the SDK",

View File

@ -3,6 +3,8 @@
"include": ["./src/tcgdex.node.ts"], "include": ["./src/tcgdex.node.ts"],
"compilerOptions": { "compilerOptions": {
"target": "ES2015",
"declaration": true, "declaration": true,
"declarationDir": "./dist/types", "declarationDir": "./dist/types",