Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
fix: exports and types (#21)
Browse files Browse the repository at this point in the history
Updates exports map and typesVersions field
  • Loading branch information
achingbrain authored Jan 5, 2022
1 parent bd0080c commit e721c5e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,37 @@
"leadMaintainer": "Vasco Santos <santos.vasco10@gmail.com>",
"type": "module",
"exports": {
"multiaddr/is-loopback": {
"./multiaddr/is-loopback": {
"import": "./dist/src/multiaddr/is-loopback.js",
"types": "./dist/src/multiaddr/is-loopback.d.ts"
},
"multiaddr/is-private": {
"./multiaddr/is-private": {
"import": "./dist/src/multiaddr/is-private.js",
"types": "./dist/src/multiaddr/is-private.d.ts"
},
"address-sort": {
"./address-sort": {
"import": "./dist/src/address-sort.js",
"types": "./dist/src/address-sort.d.ts"
},
"array-equals": {
"./array-equals": {
"import": "./dist/src/array-equals.js",
"types": "./dist/src/array-equals.d.ts"
},
"ip-port-to-multiaddr": {
"./ip-port-to-multiaddr": {
"import": "./dist/src/ip-port-to-multiaddr.js",
"types": "./dist/src/ip-port-to-multiaddr.d.ts"
},
"stream-to-ma-conn": {
"./stream-to-ma-conn": {
"import": "./dist/src/stream-to-ma-connr.js",
"types": "./dist/src/stream-to-ma-connr.d.ts"
}
},
"typesVersions": {
"*": {
"*": [
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"dist/src/*",
"dist/src/*/index"
Expand Down

0 comments on commit e721c5e

Please sign in to comment.