Comparing version 1.0.0 to 1.1.0-beta.0
{ | ||
"name": "caip", | ||
"description": "CAIP standard utils", | ||
"version": "1.0.0", | ||
"version": "1.1.0-beta.0", | ||
"author": "Pedro Gomes <github.com/pedrouid>", | ||
@@ -21,7 +21,13 @@ "license": "MIT", | ||
], | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"browser": "dist/esm/index.js", | ||
"types": "dist/cjs/index.d.ts", | ||
"unpkg": "dist/umd/index.min.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"browser": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"unpkg": "dist/index.umd.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
} | ||
}, | ||
"homepage": "https://github.com/pedrouid/caip-js", | ||
@@ -38,5 +44,4 @@ "repository": { | ||
"clean": "rm -rf dist", | ||
"build:cjs": "./node_modules/.bin/tsc -p tsconfig.cjs.json", | ||
"build:umd": "webpack", | ||
"build": "yarn clean && yarn build:cjs && yarn build:umd", | ||
"build:microbundle": "./node_modules/.bin/microbundle --compress=false", | ||
"build": "yarn clean && yarn build:microbundle", | ||
"test": "tsdx test ./test", | ||
@@ -50,7 +55,6 @@ "lint": "tsdx lint src test", | ||
"husky": "4.2.1", | ||
"microbundle": "^0.14.2", | ||
"tsdx": "0.12.3", | ||
"tslib": "1.10.0", | ||
"typescript": "3.7.5", | ||
"webpack": "4.41.6", | ||
"webpack-cli": "3.3.11" | ||
"typescript": "3.7.5" | ||
}, | ||
@@ -57,0 +61,0 @@ "husky": { |
@@ -126,3 +126,3 @@ # caip [![npm version](https://badge.fury.io/js/caip.svg)](https://badge.fury.io/js/caip) | ||
chainId: "eip155:1", | ||
address: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
assetName: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
tokenId: "1", | ||
@@ -172,3 +172,3 @@ }); | ||
chainId: "eip155:1", | ||
address: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
assetName: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
tokenId: "1", | ||
@@ -204,3 +204,3 @@ }); | ||
chainId: "eip155:1", | ||
address: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
assetName: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
}); | ||
@@ -225,3 +225,3 @@ | ||
AssetType.parse("eip155:1/erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb/1"); | ||
AssetType.parse("eip155:1/erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb"); | ||
// { | ||
@@ -247,5 +247,5 @@ // chainId: { namespace: "eip155", reference: "1" }, | ||
chainId: "eip155:1", | ||
address: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
assetName: "erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb", | ||
}); | ||
// "eip155:1/erc721:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb" | ||
``` |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
7
1040
98868
27
1
1