Skip to content

Commit

Permalink
refactor!: rename w3name to just w3
Browse files Browse the repository at this point in the history
  • Loading branch information
tabcat committed Sep 4, 2023
1 parent 69ed5c0 commit bb74965
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"types": "./dist/src/advertisers/dht.d.ts",
"import": "./dist/src/advertisers/dht.js"
},
"./namers/w3name": {
"types": "./dist/src/namers/w3name.d.ts",
"import": "./dist/src/namers/w3name.js"
"./namers/w3": {
"types": "./dist/src/namers/w3.d.ts",
"import": "./dist/src/namers/w3.js"
}
},
"scripts": {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/namers/w3.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import { MemoryDatastore } from 'datastore-core'
import W3NameService from 'w3name/service'
import { w3Namer, revisionState } from '../../src/namers/w3name.js'
import { w3Namer, revisionState } from '../../src/namers/w3.js'
import { createCID } from '../utils/create-cid.js'
// import { createRateLimiter } from '../utils/create-rate-limitter.js'
import { spec } from './namer.js'
Expand Down

0 comments on commit bb74965

Please sign in to comment.