Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "zkt-sdk", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "zkToken | JS SDK", | ||
"main": "src/index.ts", | ||
"types": "index.d.ts", | ||
"main": "src/index.js", | ||
"exports": { | ||
".": { | ||
"types": { | ||
"default": "./src/index.ts" | ||
}, | ||
"browser": { | ||
"default": "./dist/web/bundle.js" | ||
}, | ||
"default": { | ||
"default": "./dist/node/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"scripts": { | ||
"test": "cp ./src/examples/index.html ./dist && webpack serve --mode production", | ||
"build": "webpack --mode production" | ||
"build-web": "webpack --mode production", | ||
"build-node": "tsc" | ||
}, | ||
@@ -11,0 +25,0 @@ "repository": { |
{ | ||
"compilerOptions": { | ||
"rootDirs": ["src"], | ||
"outDir": "dist", | ||
"outDir": "dist/node", | ||
"lib": ["es2020"], | ||
@@ -6,0 +6,0 @@ "target": "es2020", |
@@ -7,3 +7,3 @@ const path = require("path"); | ||
filename: "bundle.js", | ||
path: path.resolve(__dirname, "dist"), | ||
path: path.resolve(__dirname, "dist/web"), | ||
libraryTarget: "umd", | ||
@@ -26,3 +26,3 @@ }, | ||
devServer: { | ||
static: path.join(__dirname, "dist"), | ||
static: path.join(__dirname, "dist/web"), | ||
compress: true, | ||
@@ -29,0 +29,0 @@ port: 9000, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
762216
19
1131
1