Socket
Socket
Sign inDemoInstall

caip

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0-beta.0

dist/account.d.ts

28

package.json
{
"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"
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc