Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
139 changes: 69 additions & 70 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/types/src/index.d.ts",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/types/*",
"dist/types/src/*",
"dist/types/src/*/index"
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/types/*",
"dist/types/src/*",
"dist/types/src/*/index"
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
Expand All @@ -47,132 +47,131 @@
"test",
"tsconfig.json",
"dist",
"vendor",
"!**/*.tsbuildinfo",
"!test/ts-use/node_modules"
],
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"import": "./src/index.js"
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./bases/base10": {
"types": "./dist/types/src/bases/base10.d.ts",
"import": "./src/bases/base10.js"
"types": "./dist/src/bases/base10.d.ts",
"import": "./dist/src/bases/base10.js"
},
"./bases/base16": {
"types": "./dist/types/src/bases/base16.d.ts",
"import": "./src/bases/base16.js"
"types": "./dist/src/bases/base16.d.ts",
"import": "./dist/src/bases/base16.js"
},
"./bases/base2": {
"types": "./dist/types/src/bases/base2.d.ts",
"import": "./src/bases/base2.js"
"types": "./dist/src/bases/base2.d.ts",
"import": "./dist/src/bases/base2.js"
},
"./bases/base256emoji": {
"types": "./dist/types/src/bases/base256emoji.d.ts",
"import": "./src/bases/base256emoji.js"
"types": "./dist/src/bases/base256emoji.d.ts",
"import": "./dist/src/bases/base256emoji.js"
},
"./bases/base32": {
"types": "./dist/types/src/bases/base32.d.ts",
"import": "./src/bases/base32.js"
"types": "./dist/src/bases/base32.d.ts",
"import": "./dist/src/bases/base32.js"
},
"./bases/base36": {
"types": "./dist/types/src/bases/base36.d.ts",
"import": "./src/bases/base36.js"
"types": "./dist/src/bases/base36.d.ts",
"import": "./dist/src/bases/base36.js"
},
"./bases/base58": {
"types": "./dist/types/src/bases/base58.d.ts",
"import": "./src/bases/base58.js"
"types": "./dist/src/bases/base58.d.ts",
"import": "./dist/src/bases/base58.js"
},
"./bases/base64": {
"types": "./dist/types/src/bases/base64.d.ts",
"import": "./src/bases/base64.js"
"types": "./dist/src/bases/base64.d.ts",
"import": "./dist/src/bases/base64.js"
},
"./bases/base8": {
"types": "./dist/types/src/bases/base8.d.ts",
"import": "./src/bases/base8.js"
"types": "./dist/src/bases/base8.d.ts",
"import": "./dist/src/bases/base8.js"
},
"./bases/identity": {
"types": "./dist/types/src/bases/identity.d.ts",
"import": "./src/bases/identity.js"
"types": "./dist/src/bases/identity.d.ts",
"import": "./dist/src/bases/identity.js"
},
"./bases/interface": {
"types": "./dist/types/src/bases/interface.d.ts",
"import": "./src/bases/interface.js"
"types": "./dist/src/bases/interface.d.ts",
"import": "./dist/src/bases/interface.js"
},
"./basics": {
"types": "./dist/types/src/basics.d.ts",
"import": "./src/basics.js"
"types": "./dist/src/basics.d.ts",
"import": "./dist/src/basics.js"
},
"./block": {
"types": "./dist/types/src/block.d.ts",
"import": "./src/block.js"
"types": "./dist/src/block.d.ts",
"import": "./dist/src/block.js"
},
"./block/interface": {
"types": "./dist/types/src/block/interface.d.ts",
"import": "./src/block/interface.js"
"types": "./dist/src/block/interface.d.ts",
"import": "./dist/src/block/interface.js"
},
"./bytes": {
"types": "./dist/types/src/bytes.d.ts",
"import": "./src/bytes.js"
"types": "./dist/src/bytes.d.ts",
"import": "./dist/src/bytes.js"
},
"./cid": {
"types": "./dist/types/src/cid.d.ts",
"import": "./src/cid.js"
"types": "./dist/src/cid.d.ts",
"import": "./dist/src/cid.js"
},
"./codecs/interface": {
"types": "./dist/types/src/codecs/interface.d.ts",
"import": "./src/codecs/interface.js"
"types": "./dist/src/codecs/interface.d.ts",
"import": "./dist/src/codecs/interface.js"
},
"./codecs/json": {
"types": "./dist/types/src/codecs/json.d.ts",
"import": "./src/codecs/json.js"
"types": "./dist/src/codecs/json.d.ts",
"import": "./dist/src/codecs/json.js"
},
"./codecs/raw": {
"types": "./dist/types/src/codecs/raw.d.ts",
"import": "./src/codecs/raw.js"
"types": "./dist/src/codecs/raw.d.ts",
"import": "./dist/src/codecs/raw.js"
},
"./hashes/digest": {
"types": "./dist/types/src/hashes/digest.d.ts",
"import": "./src/hashes/digest.js"
"types": "./dist/src/hashes/digest.d.ts",
"import": "./dist/src/hashes/digest.js"
},
"./hashes/hasher": {
"types": "./dist/types/src/hashes/hasher.d.ts",
"import": "./src/hashes/hasher.js"
"types": "./dist/src/hashes/hasher.d.ts",
"import": "./dist/src/hashes/hasher.js"
},
"./hashes/identity": {
"types": "./dist/types/src/hashes/identity.d.ts",
"import": "./src/hashes/identity.js"
"types": "./dist/src/hashes/identity.d.ts",
"import": "./dist/src/hashes/identity.js"
},
"./hashes/interface": {
"types": "./dist/types/src/hashes/interface.d.ts",
"import": "./src/hashes/interface.js"
"types": "./dist/src/hashes/interface.d.ts",
"import": "./dist/src/hashes/interface.js"
},
"./hashes/sha2": {
"types": "./dist/types/src/hashes/sha2.d.ts",
"browser": "./src/hashes/sha2-browser.js",
"import": "./src/hashes/sha2.js"
"types": "./dist/src/hashes/sha2.d.ts",
"browser": "./dist/src/hashes/sha2-browser.js",
"import": "./dist/src/hashes/sha2.js"
},
"./interface": {
"types": "./dist/types/src/interface.d.ts",
"import": "./src/interface.js"
"types": "./dist/src/interface.d.ts",
"import": "./dist/src/interface.js"
},
"./link": {
"types": "./dist/types/src/link.d.ts",
"import": "./src/link.js"
"types": "./dist/src/link.d.ts",
"import": "./dist/src/link.js"
},
"./link/interface": {
"types": "./dist/types/src/interface.d.ts",
"import": "./src/interface.js"
"types": "./dist/src/interface.d.ts",
"import": "./dist/src/interface.js"
},
"./traversal": {
"types": "./dist/types/src/traversal.d.ts",
"import": "./src/traversal.js"
"types": "./dist/src/traversal.d.ts",
"import": "./dist/src/traversal.js"
}
},
"browser": {
"./hashes/sha2": "./src/hashes/sha2-browser.js",
"./src/hashes/sha2.js": "./src/hashes/sha2-browser.js"
"./hashes/sha2": "./dist/src/hashes/sha2-browser.js",
"./dist/src/hashes/sha2.js": "./dist/src/hashes/sha2-browser.js"
},
"eslintConfig": {
"extends": "ipfs",
Expand Down Expand Up @@ -284,7 +283,7 @@
"@stablelib/sha256": "^1.0.1",
"@stablelib/sha512": "^1.0.1",
"@types/node": "^18.0.0",
"aegir": "^37.7.5",
"aegir": "^38.1.8",
"buffer": "^6.0.3",
"cids": "^1.1.9"
},
Expand Down
Loading