Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add cause as a param to deregister #1618

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
0f797ed
chore: package renames
alanshaw Nov 1, 2024
ac49094
revert: renames for web3.storage capabilities
alanshaw Nov 1, 2024
ffcd9c7
feat: wip router
alanshaw Nov 1, 2024
9b16598
feat: progress on blob/add handler
alanshaw Nov 1, 2024
c747f49
refactor: tweak selection method name
alanshaw Nov 1, 2024
6b0d72d
fix: upload API test fixes
alanshaw Nov 4, 2024
b179910
fix: tests
alanshaw Nov 4, 2024
d89a2a1
chor: appease formatter
alanshaw Nov 4, 2024
6a4d1f3
chore: lockfile update
alanshaw Nov 4, 2024
b035b6d
chore: fix ci
alanshaw Nov 4, 2024
0e77fde
fix: warnings
alanshaw Nov 4, 2024
edfd929
docs: redo rename undo
alanshaw Nov 4, 2024
689904e
fix: reset bucket after use
alanshaw Nov 4, 2024
ae0508c
refactor: storage node service
alanshaw Nov 4, 2024
c810735
feat: router (#11)
alanshaw Nov 5, 2024
d59ec88
feat: remove store protocol
alanshaw Nov 5, 2024
e60c74d
chore: remove unused dependency
alanshaw Nov 5, 2024
cad14ad
chore: attw
alanshaw Nov 5, 2024
f4f5f5a
chore: formatter
alanshaw Nov 5, 2024
0028049
feat: remove store protocol (#13)
alanshaw Nov 5, 2024
2f7ab28
chore(main): release did-mailto 1.0.0 (#7)
github-actions[bot] Nov 5, 2024
1c0902d
chore(main): release capabilities 1.0.0 (#16)
github-actions[bot] Nov 5, 2024
cdf6737
fix: bootstrap sha
alanshaw Nov 5, 2024
e089f6d
chore(main): release did-mailto 1.0.0 (#23)
github-actions[bot] Nov 5, 2024
defe3bc
chore(main): release capabilities 1.0.0 (#27)
github-actions[bot] Nov 5, 2024
ac3c18f
chore(main): release upload-client 1.0.0 (#25)
github-actions[bot] Nov 5, 2024
5c10938
chore(main): release client 1.0.0 (#26)
github-actions[bot] Nov 5, 2024
f3763a1
chore(main): release upload-api 1.0.0 (#24)
github-actions[bot] Nov 5, 2024
6fc4311
fix: record upload add cause (#28)
alanshaw Nov 5, 2024
4c094ed
chore(main): release upload-api 1.0.1 (#29)
github-actions[bot] Nov 5, 2024
b10046b
fix: re-export all blob types (#30)
alanshaw Nov 5, 2024
2ebf4dc
chore(main): release upload-api 1.0.2 (#32)
github-actions[bot] Nov 5, 2024
726ca23
fix: export blob errors (#33)
alanshaw Nov 5, 2024
9151bf8
chore(main): release upload-api 1.0.3 (#34)
github-actions[bot] Nov 5, 2024
cb473c5
fix: invocation config does not extend ucan options
alanshaw Nov 6, 2024
4704ebb
chore(main): release upload-api 1.0.4 (#35)
github-actions[bot] Nov 6, 2024
2a2eb0c
feat: export test external service implementations
alanshaw Nov 7, 2024
1f8973f
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 7, 2024
3726338
chore(main): release upload-api 1.1.0 (#36)
github-actions[bot] Nov 7, 2024
8c10e95
fix: export Subscription type
alanshaw Nov 7, 2024
26c3b92
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 7, 2024
7ab84ab
chore(main): release upload-api 1.1.1 (#37)
github-actions[bot] Nov 7, 2024
9deef57
fix: ensure idempotent
alanshaw Nov 8, 2024
87f31a1
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 8, 2024
4d263c7
chore(main): release upload-api 1.1.2 (#38)
github-actions[bot] Nov 8, 2024
6eba88d
fix: encode space DID as bytes in blob caveats (#41)
alanshaw Nov 12, 2024
112720e
feat: add CLI (#39)
alanshaw Nov 12, 2024
3f3452a
chore(main): release capabilities 1.0.1 (#42)
github-actions[bot] Nov 12, 2024
36d631d
Update release-please-config.json
alanshaw Nov 12, 2024
64f2b2f
chore(main): release capabilities 1.1.1 (#49)
github-actions[bot] Nov 12, 2024
fe6038c
fix: trigger release
alanshaw Nov 12, 2024
5418605
chore(main): release upload-api 1.1.3 (#50)
github-actions[bot] Nov 12, 2024
3fc3fc2
fix: trigger release
alanshaw Nov 12, 2024
da48011
chore(main): release cli 1.0.0 (#51)
github-actions[bot] Nov 12, 2024
9d3659e
fix: consume response body
alanshaw Nov 12, 2024
b7ec852
chore(main): release upload-client 1.0.1 (#52)
github-actions[bot] Nov 12, 2024
2e452c0
fix: use configured receipts endpoint
alanshaw Nov 12, 2024
dd67088
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 12, 2024
aaa1098
docs: add logo
alanshaw Nov 12, 2024
695322a
docs: badgers
alanshaw Nov 12, 2024
f740119
chore: format
alanshaw Nov 12, 2024
28a1d9a
chore(main): release client 1.0.1 (#55)
github-actions[bot] Nov 12, 2024
7ce123b
feat: add script for creating delegations (#40)
alanshaw Nov 13, 2024
f0f9a56
fix: trigger release
alanshaw Nov 13, 2024
8a1aea5
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 13, 2024
2e58280
chore(main): release cli 1.0.1 (#54)
github-actions[bot] Nov 13, 2024
5506c11
fix: jsdoc
alanshaw Nov 13, 2024
39d4a1b
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 13, 2024
40ebc05
chore: prettier
alanshaw Nov 20, 2024
11e34b4
fix: thanks prettier
alanshaw Nov 20, 2024
5936999
docs: receipts URL
alanshaw Nov 21, 2024
cc09933
fix: Fix type references
Peeja Nov 26, 2024
10e6c7d
fix: Fix type references (#57)
Peeja Nov 27, 2024
f4ad873
chore(main): release client 1.0.2
github-actions[bot] Nov 27, 2024
eaa5572
chore(main): release client 1.0.2 (#58)
Peeja Nov 27, 2024
7185046
fix: compatibility with legacy w3up client (#59)
alanshaw Nov 27, 2024
8de8c08
chore(main): release upload-api 1.1.4 (#61)
github-actions[bot] Nov 27, 2024
733ff7a
fix: try remove bootstrap sha
alanshaw Nov 27, 2024
139afff
chore: trigger release
alanshaw Nov 27, 2024
b6f9c46
chore(main): release upload-api 1.1.5 (#68)
github-actions[bot] Nov 27, 2024
577f525
fix: upgrade release please
alanshaw Nov 27, 2024
986f011
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 27, 2024
f4e2d26
fix: more config fix
alanshaw Nov 27, 2024
1e10042
chore: trigger release
alanshaw Nov 27, 2024
e0818a1
chore(main): release upload-api 1.1.6 (#76)
github-actions[bot] Nov 27, 2024
8f86297
chore: trigger release
alanshaw Nov 27, 2024
3234132
chore(main): release upload-api 1.1.7 (#77)
github-actions[bot] Nov 27, 2024
949b84a
fix: overflow slices (#1595)
alanshaw Nov 29, 2024
b0ccad7
chore(main): release client 1.0.3
github-actions[bot] Nov 29, 2024
7c336f2
chore(main): release client 1.0.3 (#79)
Peeja Nov 29, 2024
affd40f
Revert "chore(main): release client 1.0.3"
Peeja Nov 29, 2024
2f354c4
chore: Revert "chore(main): release client 1.0.3" (#84)
Peeja Nov 29, 2024
17ff92b
chore(main): release client 1.0.3
github-actions[bot] Nov 29, 2024
0ea3a80
chore(main): release client 1.0.3 (#85)
Peeja Nov 29, 2024
d341dfa
fix: update release please config
BravoNatalie Dec 2, 2024
2c33127
fix: update release please config (#86)
Peeja Dec 2, 2024
cbdd49f
chore(main): release client 1.0.4
github-actions[bot] Dec 2, 2024
16e35b5
chore(main): release client 1.0.4 (#87)
Peeja Dec 2, 2024
4ec13fa
build: Empty commit to get Release Please to run
Peeja Dec 2, 2024
d9a0652
build: Empty commit to get Release Please to run (#88)
Peeja Dec 2, 2024
05444ef
chore: Trigger release
Peeja Dec 2, 2024
36be4bf
chore: Trigger release (#94)
Peeja Dec 2, 2024
cc92859
chore(main): release client 1.0.5
github-actions[bot] Dec 2, 2024
6a6d2e5
chore(main): release client 1.0.5 (#95)
Peeja Dec 2, 2024
af0183c
chore(main): release filecoin-api 1.0.0
github-actions[bot] Dec 2, 2024
4e2de50
chore(main): release filecoin-api 1.0.0 (#93)
Peeja Dec 2, 2024
633d93b
chore(main): release filecoin-client 1.0.0
github-actions[bot] Dec 2, 2024
cb784be
chore(main): release filecoin-client 1.0.0 (#91)
Peeja Dec 2, 2024
7836dc4
fix: retry when PUT request fails (#1601)
alanshaw Dec 5, 2024
98ab50c
fix(egress/record): rename capability (#1572)
fforbeck Nov 5, 2024
1870202
fix(egressRecord): Remove unnecessary multiplication for ts conversio…
fforbeck Nov 22, 2024
df8b9a2
fix(egress/record): rename capability (#1572) (#97)
fforbeck Dec 12, 2024
79ac1ab
fix(egress/record): Remove unnecessary multiplication for ts conversi…
fforbeck Dec 12, 2024
c1cabb8
chore(main): release client 1.0.6
github-actions[bot] Dec 12, 2024
aafd1fc
chore(main): release capabilities 1.1.2
github-actions[bot] Dec 12, 2024
3b7dc50
chore(main): release upload-api 1.1.8
github-actions[bot] Dec 12, 2024
92716cf
chore(main): release capabilities 1.1.2 (#101)
fforbeck Dec 12, 2024
ed80fd4
Merge branch 'main' into release-please--branches--main--components--…
fforbeck Dec 12, 2024
8e203eb
chore(main): release upload-api 1.1.8 (#102)
fforbeck Dec 12, 2024
aec53e7
chore(main): release upload-api 1.1.8
github-actions[bot] Dec 12, 2024
5587b50
chore(main): release client 1.0.6 (#100)
fforbeck Dec 12, 2024
27cb383
chore(main): release client 1.0.6
github-actions[bot] Dec 12, 2024
e71494a
chore(main): release upload-api 1.1.8 (#103)
fforbeck Dec 12, 2024
07f27a2
chore(main): release client 1.0.6 (#104)
fforbeck Dec 12, 2024
6cbb202
feat: content serve authorization (#1590) + set default gateway (#99)
fforbeck Dec 19, 2024
671a411
chore(capabilities): top level filecoin cap (#105)
fforbeck Dec 19, 2024
f093beb
chore(main): release capabilities 1.2.0 (#110)
github-actions[bot] Dec 19, 2024
9217628
chore(main): release blob-index 1.0.0 (#89)
github-actions[bot] Dec 19, 2024
5eda88d
chore(main): release did-mailto 1.0.1 (#111)
github-actions[bot] Dec 19, 2024
46c5236
chore(main): release filecoin-api 1.1.0 (#109)
github-actions[bot] Dec 19, 2024
658824e
chore(main): release filecoin-client 1.0.1 (#107)
github-actions[bot] Dec 19, 2024
9baa4ca
chore(main): release access 1.0.0 (#90)
github-actions[bot] Dec 19, 2024
8377c4c
chore(main): release upload-api 1.2.0 (#106)
github-actions[bot] Dec 19, 2024
5e93eff
chore(main): release upload-client 1.0.2 (#92)
github-actions[bot] Dec 19, 2024
dcb1006
chore(main): release client 1.1.0 (#108)
github-actions[bot] Dec 19, 2024
8f2ab87
chore(main): release cli 1.1.0 (#112)
github-actions[bot] Dec 19, 2024
5eec331
fix(w3up-client): create space options (#113)
fforbeck Dec 19, 2024
54cc5a6
chore(main): release client 1.1.1 (#114)
github-actions[bot] Dec 19, 2024
3719670
fix(w3up-client): authorize agent to use space (#115)
fforbeck Dec 20, 2024
3ad8fc0
chore(main): release client 1.1.2 (#116)
github-actions[bot] Dec 20, 2024
1390106
feat: add legacy handlers (#117)
alanshaw Jan 15, 2025
d86e52c
chore: sync with w3up repo (#119)
fforbeck Jan 16, 2025
c857d9a
chore(main): release upload-client 1.0.3 (#121)
github-actions[bot] Jan 20, 2025
ed1c969
chore(main): release upload-api 1.3.0 (#118)
github-actions[bot] Jan 20, 2025
2974043
chore(main): release client 1.1.3 (#122)
github-actions[bot] Jan 20, 2025
157f93c
fix: clarify license
alanshaw Jan 20, 2025
6d54400
chore(main): release upload-api 1.3.1 (#123)
github-actions[bot] Jan 20, 2025
e743572
chore: upgrade dependencies (#124)
alanshaw Jan 22, 2025
63d62dc
chore(main): release capabilities 1.2.1 (#128)
github-actions[bot] Jan 22, 2025
ebc590e
chore(main): release blob-index 1.0.1 (#127)
github-actions[bot] Jan 22, 2025
8d9824f
chore(main): release access 1.0.1 (#130)
github-actions[bot] Jan 22, 2025
b2bd02e
chore(main): release upload-client 1.0.4 (#131)
github-actions[bot] Jan 22, 2025
fc0b2f6
chore(main): release client 1.1.4 (#129)
github-actions[bot] Jan 22, 2025
04e6116
chore(main): release filecoin-client 1.0.2 (#125)
github-actions[bot] Jan 22, 2025
87d45ae
chore(main): release filecoin-api 1.1.1 (#133)
github-actions[bot] Jan 22, 2025
ee013a4
chore(main): release cli 1.1.1 (#126)
github-actions[bot] Jan 22, 2025
73949cc
chore(main): release upload-api 1.3.2 (#132)
github-actions[bot] Jan 22, 2025
a36b06f
chore: update uint8arrays dependency
alanshaw Jan 22, 2025
a1e09c2
fix: type error
alanshaw Jan 22, 2025
7fe1724
chore(main): release access 1.0.2 (#134)
github-actions[bot] Jan 22, 2025
5dc3db2
refactor(blob-registry): pass cause as a parameter to deregister
BravoNatalie Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .attw.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"ignoreRules": ["cjs-resolves-to-esm"]
"ignoreRules": ["cjs-resolves-to-esm"],
"excludeEntrypoints": ["browser.min.js"]
}
4 changes: 3 additions & 1 deletion .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"release-type": "node",
"include-component-in-tag": true,
"separate-pull-requests": true,
"bootstrap-sha": "c918ffc59eafa01fbc63d5df11ba621cc1888c64",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Fixes", "hidden": false },
Expand All @@ -9,6 +10,7 @@
"packages": {
"packages/access-client": {},
"packages/blob-index": {},
"packages/cli": {},
"packages/filecoin-api": {},
"packages/filecoin-client": {},
"packages/capabilities": {},
Expand Down
19 changes: 10 additions & 9 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"packages/access-client": "20.1.0",
"packages/blob-index": "1.0.4",
"packages/filecoin-api": "7.3.2",
"packages/filecoin-client": "3.3.4",
"packages/capabilities": "17.4.0",
"packages/upload-api": "18.1.0",
"packages/upload-client": "17.1.0",
"packages/w3up-client": "16.4.0",
"packages/did-mailto": "2.0.2"
"packages/access-client": "1.0.2",
"packages/blob-index": "1.0.1",
"packages/cli": "1.1.1",
"packages/filecoin-api": "1.1.1",
"packages/filecoin-client": "1.0.2",
"packages/capabilities": "1.2.1",
"packages/upload-api": "1.3.2",
"packages/upload-client": "1.0.4",
"packages/w3up-client": "1.1.4",
"packages/did-mailto": "1.0.1"
}
8 changes: 4 additions & 4 deletions .github/workflows/access-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/access run lint
- run: pnpm -r --filter @web3-storage/access run test
- run: pnpm -r --filter @web3-storage/access exec depcheck
- run: pnpm --filter '@web3-storage/access' attw
- run: pnpm -r --filter @storacha/access run lint
- run: pnpm -r --filter @storacha/access run test
- run: pnpm -r --filter @storacha/access exec depcheck
- run: pnpm --filter '@storacha/access' attw
6 changes: 3 additions & 3 deletions .github/workflows/blob-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- run: pnpm --filter '@web3-storage/blob-index...' install
- run: pnpm --filter '@web3-storage/blob-index' lint
- run: pnpm --filter '@web3-storage/blob-index' test
- run: pnpm --filter '@storacha/blob-index...' install
- run: pnpm --filter '@storacha/blob-index' lint
- run: pnpm --filter '@storacha/blob-index' test
6 changes: 3 additions & 3 deletions .github/workflows/capabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/capabilities run lint
- run: pnpm -r --filter @web3-storage/capabilities run test
- run: pnpm -r --filter @web3-storage/capabilities exec depcheck
- run: pnpm -r --filter @storacha/capabilities run lint
- run: pnpm -r --filter @storacha/capabilities run test
- run: pnpm -r --filter @storacha/capabilities exec depcheck
43 changes: 43 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: cli
on:
push:
branches:
- main
paths:
- 'packages/cli/**'
- 'packages/eslint-config-w3up/**'
- '.github/workflows/cli.yml'
- 'pnpm-lock.yaml'
pull_request:
paths:
- 'packages/cli/**'
- 'packages/eslint-config-w3up/**'
- '.github/workflows/cli.yml'
- 'pnpm-lock.yaml'
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- 18
- 20
defaults:
run:
working-directory: ./packages/cli
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: pnpm/action-setup@v4
- name: Setup
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @storacha/cli run lint
- run: pnpm -r --filter @storacha/cli run check
- run: pnpm -r --filter @storacha/cli run test
6 changes: 3 additions & 3 deletions .github/workflows/did-mailto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- run: pnpm --filter '@web3-storage/did-mailto...' install
- run: pnpm --filter '@web3-storage/did-mailto' lint
- run: pnpm --filter '@web3-storage/did-mailto' test
- run: pnpm --filter '@storacha/did-mailto...' install
- run: pnpm --filter '@storacha/did-mailto' lint
- run: pnpm --filter '@storacha/did-mailto' test
4 changes: 2 additions & 2 deletions .github/workflows/filecoin-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
pnpm run --if-present build

- name: Lint
run: pnpm -r --filter @web3-storage/filecoin-api run lint
run: pnpm -r --filter @storacha/filecoin-api run lint
- name: Test
run: pnpm -r --filter @web3-storage/filecoin-api run test
run: pnpm -r --filter @storacha/filecoin-api run test
6 changes: 3 additions & 3 deletions .github/workflows/filecoin-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/filecoin-client run lint
- run: pnpm -r --filter @web3-storage/filecoin-client run test
- run: pnpm -r --filter @web3-storage/filecoin-client run attw
- run: pnpm -r --filter @storacha/filecoin-client run lint
- run: pnpm -r --filter @storacha/filecoin-client run test
- run: pnpm -r --filter @storacha/filecoin-client run attw
12 changes: 6 additions & 6 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/access build
- run: pnpm -r --filter @web3-storage/access run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- run: pnpm -r --filter @storacha/access build
- run: pnpm -r --filter @storacha/access run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(access): Bump access sdk pre release version'
- run: pnpm -r --filter @web3-storage/access publish --tag next --access public
- run: pnpm -r --filter @storacha/access publish --tag next --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
deploy-upload-client:
Expand All @@ -57,11 +57,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/upload-client build
- run: pnpm -r --filter @web3-storage/upload-client run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- run: pnpm -r --filter @storacha/upload-client build
- run: pnpm -r --filter @storacha/upload-client run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(client): Bump client pre release version'
- run: pnpm -r --filter @web3-storage/upload-client publish --tag next --access public
- run: pnpm -r --filter @storacha/upload-client publish --tag next --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@ jobs:
outputs:
paths_released: ${{ steps.release.outputs.paths_released }}
steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: release
with:
command: manifest
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
default-branch: main
release-type: node
npm:
needs: release
if: |
contains(fromJson(needs.release.outputs.paths_released), 'packages/access-client') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/blob-index') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/capabilities') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/cli') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/did-mailto') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-client') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-api') ||
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
pnpm run --if-present build

- name: Test
run: pnpm -r --filter @web3-storage/upload-api run test
run: pnpm -r --filter @storacha/upload-api run test

- name: Dependency check
run: pnpm -r --filter @web3-storage/upload-api exec depcheck
run: pnpm -r --filter @storacha/upload-api exec depcheck
6 changes: 3 additions & 3 deletions .github/workflows/upload-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/upload-client run lint
- run: pnpm -r --filter @web3-storage/upload-client run test
- run: pnpm -r --filter @web3-storage/upload-client exec depcheck
- run: pnpm -r --filter @storacha/upload-client run lint
- run: pnpm -r --filter @storacha/upload-client run test
- run: pnpm -r --filter @storacha/upload-client exec depcheck
6 changes: 3 additions & 3 deletions .github/workflows/w3up-client.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: w3up-client
name: client
on:
push:
branches:
Expand Down Expand Up @@ -37,8 +37,8 @@ jobs:
node-version: ${{ matrix.node_version }}
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- run: pnpm --filter '@web3-storage/w3up-client...' install
- run: pnpm --filter '@web3-storage/w3up-client' attw
- run: pnpm --filter '@storacha/client...' install
- run: pnpm --filter '@storacha/client' attw
- uses: ./packages/w3up-client/.github/actions/test
with:
w3up-client-dir: ./packages/w3up-client/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ docs
.env
.next
out
*.min.js

# debug
npm-debug.log*
Expand Down
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

Join in. All welcome! web3.storage is open-source. The code is dual-licensed under [MIT + Apache 2.0](license.md)
Join in. All welcome! storacha.network is open-source. The code is dual-licensed under [MIT + Apache 2.0](license.md)

This project uses node v18 and `pnpm`. It's a monorepo that use [pnpm workspaces](https://pnpm.io/workspaces) to handle resolving dependencies between the local `packages/*` folders.

Expand All @@ -13,8 +13,6 @@ We use `pnpm` in this project and commit the `pnpm-lock.yaml` file.
```bash
# install all dependencies in the mono-repo
pnpm install
# setup git hooks
npx simple-git-hooks
# setup environment variables
cp .env.tpl .env
```
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# `w3up`
# Upload Service

This repo implements the web3.storage UCAN protocol [specifications](https://github.com/storacha/specs).
This repo implements the storacha.network UCAN protocol [specifications](https://github.com/storacha/specs).

It's the core of the web3.storage server and client implementations.
It's the core of the storacha.network server and client implementations.

## Usage

Store your files with web3.storage and retrieve them via their unique Content ID. Our tools make it simple to hash your content locally, so you can verify the service only ever stores the exact bytes you asked us to. Pick the method of using web3.storage that works for you!
Store your files with storacha.network and retrieve them via their unique Content ID. Our tools make it simple to hash your content locally, so you can verify the service only ever stores the exact bytes you asked us to. Pick the method of using storacha.network that works for you!

### Website

Visit https://console.web3.storage and upload right from the website.
Visit https://console.storacha.network and upload right from the website.

Under the hood it uses the web3.storage client that we publish to npm to chunk and hash your files to calculate the root IPFS CID **in your browser** before sending them to https://up.web3.storage.
Under the hood it uses the storacha.network client that we publish to npm to chunk and hash your files to calculate the root IPFS CID **in your browser** before sending them to https://up.storacha.network.

Once uploaded you can fetch your data from any IPFS gateway via [`https://w3s.link/ipfs/<root cid>`](https://w3s.link/ipfs/bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy)

### Command Line

Install [`@web3-storage/w3cli`](https://github.com/storacha/w3cli#readme) globally, authorize it to act on your behalf, create a space and upload your files. It calculates the root CID for your files locally before sending them to web3.storage.
Install [`@web3-storage/w3cli`](https://github.com/storacha/w3cli#readme) globally, authorize it to act on your behalf, create a space and upload your files. It calculates the root CID for your files locally before sending them to storacha.network.

**shell**
```shell
Expand All @@ -38,14 +38,14 @@ Run `w3 --help` or have a look at https://github.com/storacha/w3cli to find out

### JS Client

Add the [`@web3-storage/w3up-client`](https://www.npmjs.com/package/@web3-storage/w3up-client) module into your project with `npm i @web3-storage/w3up-client` and upload a single file with [`client.uploadFile`](https://github.com/storacha/w3up/blob/main/packages/w3up-client/README.md#uploadfile) or many with [`client.uploadDirectory`](https://github.com/storacha/w3up/blob/main/packages/w3up-client/README.md#uploaddirectory).
Add the [`@storacha/client`](https://www.npmjs.com/package/@storacha/client) module into your project with `npm i @storacha/client` and upload a single file with [`client.uploadFile`](https://github.com/storacha/upload-service/blob/main/packages/w3up-client/README.md#uploadfile) or many with [`client.uploadDirectory`](https://github.com/storacha/upload-service/blob/main/packages/w3up-client/README.md#uploaddirectory).

If you've already got a space you can upload like this:

**node.js**
```js
import { filesFromPaths } from 'files-from-path'
import * as Client from '@web3-storage/w3up-client'
import * as Client from '@storacha/client'

const [,,yourEmail, pathToAdd] = process.argv

Expand All @@ -61,13 +61,13 @@ console.log(`IPFS CID: ${cid}`)
console.log(`Gateway URL: https://w3s.link/ipfs/${cid}`)
```

See https://web3.storage/docs/w3up-client for a guide to using the js client for the first time.
See https://docs.storacha.network/w3up-client for a guide to using the js client for the first time.

For an interactive command line adventure into the using w3up check out `learnyouw3up` here https://github.com/storacha/learnyouw3up

### GitHub Action

The Action [`add-to-web3`](https://github.com/marketplace/actions/add-to-web3) wraps [`w3cli`](https://github.com/storacha/w3cli) to let you add files to web3.storage from your GitHub Workflows.
The Action [`add-to-web3`](https://github.com/marketplace/actions/add-to-web3) wraps [`w3cli`](https://github.com/storacha/w3cli) to let you add files to storacha.network from your GitHub Workflows.

**github-workflow.yaml**
```yaml
Expand All @@ -90,9 +90,9 @@ To generate a `secret_key` and delegate permissions to it as a `proof` to use in

## Contributing

All welcome! web3.storage is open-source. See the [contributing guide](./CONTRIBUTING.md)
All welcome! storacha.network is open-source. See the [contributing guide](./CONTRIBUTING.md)

This project uses node v18 and `pnpm`. It's a monorepo that uses [pnpm workspaces](https://pnpm.io/workspaces) to handle resolving dependencies between the local [`packages`](https://github.com/storacha/w3up/tree/main/packages)
This project uses node v18 and `pnpm`. It's a monorepo that uses [pnpm workspaces](https://pnpm.io/workspaces) to handle resolving dependencies between the local [`packages`](https://github.com/storacha/upload-service/tree/main/packages)

## License

Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// to generate docusaurus-compatible markdown from typedoc output.

const config = {
title: 'Web3.Storage Documentation',
title: 'Storacha Documentation',
tagline: 'The simple file storage service for IPFS and Filecoin',
url: 'https://docs.web3.storage',
url: 'https://docs.storacha.network',
baseUrl: '/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
Expand Down
Loading