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

feat: add static uploads API #148

Merged
merged 50 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
eb8201a
feat: add static uploads api
alanshaw Nov 9, 2022
1fdae9d
docs: rename var
alanshaw Nov 9, 2022
2f01071
fix: lockfile
alanshaw Nov 9, 2022
a81a446
fix: repo name
alanshaw Nov 9, 2022
591681a
fixL homepage
alanshaw Nov 9, 2022
97b59ae
refactor: accept signer and proof
alanshaw Nov 10, 2022
21edef8
fix: pass multiple proofs
alanshaw Nov 10, 2022
41d8efa
docs: add required capability proofs
alanshaw Nov 10, 2022
f51e26d
chore: IDK make it work in CI
alanshaw Nov 10, 2022
c3df0a9
fix: tests in Node.js 18
alanshaw Nov 10, 2022
aea4304
refactor: use object for invocation configuration
alanshaw Nov 10, 2022
d704175
fix: typo
alanshaw Nov 10, 2022
900f1ee
fix: link
alanshaw Nov 10, 2022
a5387d6
docs: add note about creating an account
alanshaw Nov 11, 2022
ea62bb6
refactor: use Upload namespace
alanshaw Nov 11, 2022
ef29b04
fix: exmaple
alanshaw Nov 11, 2022
10a0496
fix: type declarations paths
alanshaw Nov 12, 2022
e85f6e2
fix: return type
alanshaw Nov 12, 2022
90da73f
fix: use BlobLike instead of Blob
alanshaw Nov 12, 2022
dd7e50a
refactor: follow capability names
alanshaw Nov 14, 2022
d023aea
fix: remove unneeded import
alanshaw Nov 14, 2022
d96bc1b
feat: add list and remove functionality
alanshaw Nov 14, 2022
5c98ebd
feat: add tests and docs for store/upload list/remove
alanshaw Nov 14, 2022
b48a6d4
refactor: do not export abilities
alanshaw Nov 14, 2022
aef55e7
fix: tests
alanshaw Nov 14, 2022
46d1970
Update packages/upload-client/README.md
alanshaw Nov 15, 2022
405b4ec
Update packages/upload-client/README.md
alanshaw Nov 15, 2022
7929860
Update packages/upload-client/README.md
alanshaw Nov 15, 2022
fb10821
Update packages/upload-client/README.md
alanshaw Nov 15, 2022
673690c
Update packages/upload-client/README.md
alanshaw Nov 15, 2022
3decc9b
test: add hundreds and test coverage
alanshaw Nov 15, 2022
084bbd3
Merge branch 'feat/static-uploading-api' of github.com:web3-storage/w…
alanshaw Nov 15, 2022
b541b95
docs: move top level API to the top of the API listing
alanshaw Nov 15, 2022
69dc7ae
docs: more DRY
alanshaw Nov 15, 2022
39045e6
fix: send CAR size in bytes
alanshaw Nov 16, 2022
374b33f
refactor: use longer name for clarity
alanshaw Nov 16, 2022
5daf407
Update packages/upload-client/test/store.test.js
alanshaw Nov 16, 2022
6b21040
Update packages/upload-client/test/store.test.js
alanshaw Nov 16, 2022
56931c0
test: assert that service functions were called
alanshaw Nov 16, 2022
2b12dd3
Merge branch 'feat/static-uploading-api' of github.com:web3-storage/w…
alanshaw Nov 16, 2022
63673ff
Update packages/upload-client/test/utils.test.js
alanshaw Nov 16, 2022
e1339c3
Update packages/upload-client/test/index.test.js
alanshaw Nov 16, 2022
8b7998b
test: add test for specific matching and wildcard matching with audience
alanshaw Nov 16, 2022
a693fdd
Update packages/upload-client/src/utils.js
alanshaw Nov 16, 2022
7cde4be
test: more findCapability tests
alanshaw Nov 16, 2022
d50e1ff
fix: use default capacity
alanshaw Nov 16, 2022
3e0e07f
refactor: default shard size
alanshaw Nov 16, 2022
622c114
refactor: defaine an AnyLink type
alanshaw Nov 16, 2022
f887b23
Merge branch 'main' into feat/static-uploading-api
alanshaw Nov 16, 2022
7773276
fix: lockfile
alanshaw Nov 16, 2022
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Client
name: Upload Client
env:
CI: true
FORCE_COLOR: 1
Expand Down Expand Up @@ -28,5 +28,6 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/upload-client run build
- run: pnpm -r --filter @web3-storage/upload-client run lint
- run: pnpm -r --filter @web3-storage/upload-client run test
Loading