Skip to content

Commit

Permalink
fix(core): revert to web3-storage/w3up-client (storacha#660)
Browse files Browse the repository at this point in the history
### Changes
- Revert to `web3-storage/w3up-client` in `core` package.
- Update code references.
  • Loading branch information
fforbeck authored Jan 8, 2025
1 parent ba377ce commit 0a948c4
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 135 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@ucanto/transport": "^9.1.1",
"@web3-storage/access": "^20.0.1",
"@web3-storage/did-mailto": "^2.1.0",
"@storacha/client": "^1.1.2"
"@web3-storage/w3up-client": "17.1.2"
},
"eslintConfig": {
"extends": [
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import type { AgentDataExport } from '@web3-storage/access/types'
import type { ServiceConfig } from './service.js'

import { StoreIndexedDB } from '@web3-storage/access/stores/store-indexeddb'
import { Client, create as createStorachaClient } from '@storacha/client'
import { Account } from '@storacha/client/account'
import { Space } from '@storacha/client/space'
import { Client, create as createStorachaClient } from '@web3-storage/w3up-client'
import { Account } from '@web3-storage/w3up-client/account'
import { Space } from '@web3-storage/w3up-client/space'
import { createServiceConf } from './service.js'
import { Driver } from '@web3-storage/access/drivers/types'

export * from '@storacha/client/types'
export * from '@web3-storage/w3up-client/types'
export { Client, Account, Space, ServiceConfig }
export type Store = Driver<AgentDataExport>

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ServiceConf, Service } from '@storacha/client/types'
import type { ServiceConf, Service } from '@web3-storage/w3up-client/types'
import { connect } from '@ucanto/client'
import { CAR, HTTP } from '@ucanto/transport'
import type {
Expand Down
1 change: 1 addition & 0 deletions packages/react/.force-a-release
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
force another release
force another release
force another release
Loading

0 comments on commit 0a948c4

Please sign in to comment.