-
Notifications
You must be signed in to change notification settings - Fork 22
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 w3up-client at /packages/w3up-client #653
Merged
Merged
Changes from all commits
Commits
Show all changes
212 commits
Select commit
Hold shift + click to select a range
a07463a
feat: First pass at client lib for w3up.
ice-breaker-tg b8daacd
fix: Add markdown generation package as dev dep.
ice-breaker-tg 3f74607
fix: allow multiple validation attempts, cleanup.
ice-breaker-tg 98e31c7
chore: bump version.
ice-breaker-tg 5efea8c
feat: integrate w3access dev
ice-breaker-tg a909ed3
chore: bump version.
ice-breaker-tg 3983c75
fix: fix issue with null return from validation, cleanup.
ice-breaker-tg dc916ca
chore: bump version.
ice-breaker-tg 139d009
feat: Show CID on successful upload.
ice-breaker-tg 94b916f
chore: bump version.
ice-breaker-tg aea3319
fix: print car link on add for correct did (from result).
ice-breaker-tg 1885f16
wip: add install & usage info to README
yusefnapora b760663
typos and such
yusefnapora 81efcf1
add list and remove docs to readme
yusefnapora 0ba434f
add upload method to readme & link to CAR docs
yusefnapora 80af13b
fix swapped URL / DID in example
yusefnapora 1c9e7a5
Merge pull request #1 from web3-storage/readme-update
yusefnapora 3650ee8
fix missing `:` in createClient example
yusefnapora 06bdd5a
Merge pull request #5 from web3-storage/yusefnapora-patch-1
yusefnapora 1ff9b46
feat: first pass at adding types.
ice-breaker-tg 43703e5
fix: Actually export/use defaults.
ice-breaker-tg 38a5e77
fix: update api docs, change build to build api docs / types.
ice-breaker-tg 5cc450e
fix: Fix issue with jsdoc merging two typedefs.
ice-breaker-tg 24d6be0
feat: get types working, misc cleanup.
ice-breaker-tg 8a9cd3d
feat: Clean up, remove capabilities and pull from w3/access
ice-breaker-tg c1c569f
chore: run prettier/etc
ice-breaker-tg a9f3315
Merge pull request #7 from web3-storage/add_ts_types
ice-breaker-tg 557268f
Merge pull request #8 from web3-storage/add_linting
ice-breaker-tg b49b039
chore: Merge upstream.
ice-breaker-tg 3b8fbcb
Merge remote-tracking branch 'origin/main' into feat/get_caps_from_pr…
ice-breaker-tg cc75bd1
chore: Bump version.
ice-breaker-tg dc87b4e
Merge pull request #10 from web3-storage/feat/get_caps_from_protocol_…
the-simian 3f945d5
fix: Fix issue with dir import, update lock.
ice-breaker-tg fe2d23a
Merge pull request #11 from web3-storage/feat/get_caps_from_protocol_…
ice-breaker-tg e618a34
fix: For now, keep built types in repo.
ice-breaker-tg cb23a70
chore: bump version.
ice-breaker-tg b59275e
Merge pull request #12 from web3-storage/fix/keep_types_in_repo
ice-breaker-tg 6e40896
fix: Ensure fetch for checking email uses CORs
ice-breaker-tg b3a8b9f
Merge pull request #13 from web3-storage/fix/ensure_fetch_uses_cors
ice-breaker-tg f8b9cf5
fix: hotfix issue with patches not being included in install.
ice-breaker-tg b660570
fix: hotfix issue with patches not being included in install.
ice-breaker-tg 623fafa
feat: Add tests, more tidying.
ice-breaker-tg 3fda87b
fix: include tests in prettier check.
ice-breaker-tg d24755b
working on automatic semantic releases
dashcraft 062738a
added tests and pull request commands
dashcraft aae1085
Updated semantic release files
dashcraft 4f554cf
updated package json
dashcraft 752858e
rename package
dashcraft 332b2e4
Merge pull request #14 from web3-storage/feat/199-semantic-releases
ice-breaker-tg cbe9039
chore: merge main.
ice-breaker-tg 1f4ab37
fix: Add public publish config to allow CI to publish.
ice-breaker-tg 7550829
Merge remote-tracking branch 'origin/main' into feat/ci_scripts_tidying
ice-breaker-tg 8b9c689
feat: Add tests to ci.
ice-breaker-tg e11234e
Merge pull request #15 from web3-storage/feat/ci_scripts_tidying
ice-breaker-tg ea39e2c
feat: Add a test on pr action.
ice-breaker-tg 32a910c
Merge pull request #16 from web3-storage/feat/ci_scripts_tidying
ice-breaker-tg ec47ae7
chore: update api and types.
ice-breaker-tg 4cc35e8
fix: Fix pr workflow/action.
ice-breaker-tg afd6bf0
fix: fix issue with tests.
ice-breaker-tg f6435b2
fix: Run tests on merge with main again.
ice-breaker-tg 5a970b2
fix: Fix yaml in ci.
ice-breaker-tg 072ce89
Merge pull request #17 from web3-storage/fix/get_tests_working_on_prs
ice-breaker-tg 90470dc
feat: Add current service DID/URLs as defaults.
ice-breaker-tg 7ad1c12
Merge pull request #18 from web3-storage/feat/default_auth_settings
ice-breaker-tg ba64808
feat: Add simple git hooks, move prettier config to file.
ice-breaker-tg 9fd7414
feat: Add build to commit hook, add lint-staged to dev-deps
ice-breaker-tg 30b4b3f
refactor: Actually run build on pre-commit.
ice-breaker-tg 1ae053d
chore: cleanup, make lint-staged only run on given files.
ice-breaker-tg 78160b2
refactor: setup hooks to add built artifacts where needed.
ice-breaker-tg 852e2ec
Merge pull request #22 from web3-storage/simple_commit_hooks
ice-breaker-tg e52347b
chore: bump version.
ice-breaker-tg 47ea0e2
Update README.md
ice-breaker-tg f14f3b2
refactor: move types to dist only.
ice-breaker-tg 64945b9
feat: Upgrade ucanto, fix types.
ice-breaker-tg dda6896
feat: Work on delegation, clean up transport/etc.
ice-breaker-tg fd58c6b
feat: Finalize import/export of delegation, self delegation, handling…
ice-breaker-tg e98d54a
fix: Remove @ucanto/authority replace with principal.
ice-breaker-tg 6692a59
feat: Add expiration option to delegation creation, misc cleanup.
ice-breaker-tg c533928
docs: Better docs on new identity return.
ice-breaker-tg 3df72d4
docs: Update docs on delegation options.
ice-breaker-tg b46cc1b
test: Fix some tests, add more around account/agent/delegation.
ice-breaker-tg 71c1ee1
feat: Make delegation used passed expiration, more tests.
ice-breaker-tg 107939c
fix: Don't completely move previous secret, to prevent any backwards …
ice-breaker-tg 0ab26c4
feat: Setup next release branch for testing.
ice-breaker-tg a980695
Merge pull request #24 from web3-storage/delegation
ice-breaker-tg 4f1ff03
chore: bump version, remove console logs.
ice-breaker-tg f2e6da2
tests: add more tests around delegated caps.
ice-breaker-tg 97c2429
Merge pull request #26 from web3-storage/more_test_coverage
ice-breaker-tg a092c0d
feat: Upgrade to accesss 2.x
ice-breaker-tg 40c80b1
refactor: Fix some tests, cleanup, rename to clarify connect
ice-breaker-tg a0b90af
Merge pull request #28 from web3-storage/new_access_package
ice-breaker-tg 16b97f0
fix: Fix issue with somehow having 2 versions of validator package.
ice-breaker-tg 4693f0b
Merge pull request #29 from web3-storage/new_access_package
ice-breaker-tg 7faa3a4
docs: import module (#30)
vasco-santos 3f3c230
docs: import correct naming
vasco-santos bbc6434
docs: import correct naming
vasco-santos dec10f2
feat: Get base for upload/* capabilities in place.
ice-breaker-tg 833665c
feat: Make client actually use defaults when not set in constructor o…
ice-breaker-tg 3e8d180
feat: Move most of import/export settings into client, add tests.
ice-breaker-tg 9defb82
Merge pull request #38 from web3-storage/actually_use_defaults
ice-breaker-tg a5d29f5
feat: Make client able to take many 'shapes' of settings and work as …
ice-breaker-tg 7407281
chore: Merge in main.
ice-breaker-tg 33ece33
Merge pull request #39 from web3-storage/move_settings_management_int…
ice-breaker-tg b2680b6
chore: update API.md
ice-breaker-tg eac2241
chore: Fix typing on create client.
ice-breaker-tg 39c7956
chore: merge in main.
ice-breaker-tg 4053448
fix: fix location of types output.
ice-breaker-tg adb7253
fix: Clean up delegation to delegate * caps.
ice-breaker-tg 2bcd212
fix: Fix some misc issues, and cleanup.
ice-breaker-tg d2d1957
chore: bump version
ice-breaker-tg f403b6e
Merge pull request #37 from web3-storage/new_access_capabilities
ice-breaker-tg 1faf445
fix: Include types in npm output.
ice-breaker-tg c3efe5f
fix: Fix action.
ice-breaker-tg f21b726
fix: Satisfy typechecker.
ice-breaker-tg 27ca9dc
fix: settings export/import
hugomrdias 69ccddd
chore: fix tests
hugomrdias 4704406
fix: delegation chain export / import
Gozala 36ac057
fix: delegation chain export / import
hugomrdias c175ebd
fix: delegation import
Gozala 032f592
fix: regression from delegation -> account rename
Gozala 9387f3f
fix: delegation chain imports
Gozala 4eb7e97
feat: new exports
hugomrdias abc2078
fix: skip tests
hugomrdias b46b12a
fix: remove jsdoc api
hugomrdias d383f59
feat: Remove settings, move delegation bits to client
ice-breaker-tg 126d9cb
fix: Fix issue with TSC version.
ice-breaker-tg c474d2a
Merge pull request #45 from web3-storage/chore/delegation-settings-cl…
ice-breaker-tg 6909328
Added standard js and fixed the type/linting errors associated
dashcraft 50ee5cc
update: readme including private data warning
dchoi27 c743431
update: add link to examples repo
dchoi27 c641be9
chore: Misc cleanup.
ice-breaker-tg 27121ce
Merge pull request #53 from web3-storage/dchoi27-patch-1
ice-breaker-tg d41715b
Merge pull request #52 from web3-storage/chore/standard-js
ice-breaker-tg 7bd91d5
feat!: consume upload and access client (#58)
cb8ca69
docs: the yarn people know already
6a4d351
chore: add Space, Capability, and Delegation to API docs
yusefnapora 455a261
chore: update ToC
yusefnapora 3d00586
fix: release please package name
6807f5d
fix: remove pnpm reference from deploy-docs workflow
yusefnapora f10882a
Merge pull request #67 from web3-storage/fix/typedoc-workflow
yusefnapora 3ba5b7f
chore(main): release 4.0.0 (#66)
github-actions[bot] 67a5d4c
fix: prod access service DID
2c89606
chore(main): release 4.0.1 (#68)
github-actions[bot] 26dd80e
Merge pull request #65 from web3-storage/docs/add-missing-types
yusefnapora 83f9e4b
chore: add migration notes to changelog
yusefnapora be4662f
Merge pull request #69 from web3-storage/fix-changelog
yusefnapora ba1b71c
update: README with beta terms of service
dchoi27 4b29771
update: language
dchoi27 d26664c
Merge pull request #70 from web3-storage/dchoi27-patch-1
dchoi27 030f47e
chore: run test on push to main
dcdba61
docs: fix badge URL
f3b3ec4
docs: fix badge style
8b31255
feat: add CAR upload method (#72)
8ac4a5e
chore(main): release 4.1.0 (#73)
github-actions[bot] 44dabbd
chore: add config to generate markdown API docs
yusefnapora d23ae6d
chore: fix missing / in img tag
yusefnapora 11b1e9f
chore: lint
yusefnapora 72a49d9
Merge pull request #75 from web3-storage/docs/generate-docusaurus-mar…
yusefnapora f4da59e
feat: update to latest dependencies
travis d4b84c7
Merge pull request #77 from web3-storage/update-capabilities
travis 1c6954e
chore(main): release 4.2.0
github-actions[bot] e2ce544
Merge pull request #78 from web3-storage/release-please--branches--ma…
travis 52c648a
Fix: typos
omahs 2c80812
docs: add w3up logo
46f40f0
docs: adjust logo width
187228a
fix: warnings about uploads being public/permanent
dchoi27 8bb4174
wip: add AccessClient and hook it up
travis c9555d9
feat: add authorize to client, register no longer needs email
travis ee1cf3a
feat: expose connection id did and add email back to registerSpace
travis 1659786
feat: use new claimDelegations "use case"
travis 4b7d80e
update from @bengo's changes to the agent API
travis 2a06047
update package-lock
travis cd257d0
api updates
travis 224f818
fix: pass registerSpace default provider inferred from connection
travis 05881fc
fix: use released packages to green the build
travis 6aa7c47
fix: update package-lock
travis 5ae7f1e
fix: back to 100% test coverage
travis 81adb59
Update src/client.js
travis d241c55
better description of authorize method
travis 7b8c859
fix: keep casting defaultProvider()
travis 0e8a207
chore: lint
travis b09f2bb
chore(main): release 4.3.0
github-actions[bot] a6673e9
feat: add HAMT sharded directories support (#87)
35f3964
feat!: updated access client dep (#89)
cc3955f
chore(main): release 5.0.0 (#88)
github-actions[bot] 0d0a038
feat: updated README instructions for MVP (#85)
dchoi27 d9baa13
docs: document setting provider in `registerSpace` (#91)
travis 7777ff6
docs: provider is set in options object
299c2a4
chore(main): release 5.1.0 (#94)
github-actions[bot] 9753243
fix: redundant README info
dchoi27 b6a697d
moved w3up-client files to /packages/w3up-client/
gobengo 9b475ff
Merge branch 'branch-w3up-client' into 648-w3up-client-nosubtree
gobengo f9b8e65
w3up-client github workflows are reusable via workflow_call. monorepo…
gobengo 9197e31
add packages/w3up-client to release-please-config
gobengo 9b7a669
add packages/w3up-client 5.1.0 to release-please-manifest so release-…
gobengo 2f8ae22
incorporate w3up-client into monorepo workflows (e.g. release.yml, ty…
gobengo 585957f
w3up-client uses workspace dependencies
gobengo d60400c
wip
gobengo 064c3c5
v8-to-istanbul 9.1.0 allows w3up-client c8 ignore comment reasons
gobengo 8b87fcc
w3up-client tsconfig.json adds project references, one each for three…
gobengo aa7e2d5
upload-client has c8 as devDep to fix ci
gobengo d267512
w3up-client prepare doesnt use npm to call build, fix ci
gobengo 12d1a82
pnpm install to regen lockfile
gobengo 332c27d
/.github/workflows/w3up-client.yml installs w3up-client dependencies …
gobengo b5d7c68
fix w3up-client.yml invocation of actions/test
gobengo a3bb79a
workflows/w3up-client has default runs directory of /packages/w3up-cl…
gobengo 2dd65fd
w3up-client test action takes w3up-client-dir param
gobengo a5d6287
re-add w3up-client prepare script
gobengo bd662d4
Merge branch 'main' into 648-w3up-client-nosubtree
gobengo f775f3d
w3up-client gh workflow doesn't need explicit 'build' due to prepare …
gobengo 06622a6
Merge branch 'main' into 648-w3up-client-nosubtree
gobengo e6ba0a3
Merge branch 'main' into 648-w3up-client-nosubtree
gobengo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: w3up-client | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'packages/w3up-client/**' | ||
- '.github/workflows/w3up-client.yml' | ||
- 'pnpm-lock.yaml' | ||
pull_request: | ||
paths: | ||
- 'packages/w3up-client/**' | ||
- '.github/workflows/w3up-client.yml' | ||
- 'pnpm-lock.yaml' | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/w3up-client | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: Setup | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
cache: 'pnpm' | ||
- run: pnpm --filter '@web3-storage/w3up-client...' install | ||
- uses: ./packages/w3up-client/.github/actions/test | ||
with: | ||
w3up-client-dir: ./packages/w3up-client/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Test | ||
description: 'test' | ||
|
||
# install npm dependencies (e.g. via `npm` or monorepo `pnpm`) before invoking this action to run tests | ||
|
||
inputs: | ||
w3up-client-dir: | ||
description: 'path to directory of w3up-client package' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run: npm run lint | ||
shell: bash | ||
working-directory: ${{ inputs.w3up-client-dir }} | ||
- run: npm test | ||
shell: bash | ||
working-directory: ${{ inputs.w3up-client-dir }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
dist | ||
coverage | ||
docs | ||
docs-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Changelog | ||
|
||
## [5.1.0](https://github.com/web3-storage/w3up-client/compare/v5.0.0...v5.1.0) (2023-03-24) | ||
|
||
|
||
### Features | ||
|
||
* updated README instructions for MVP ([#85](https://github.com/web3-storage/w3up-client/issues/85)) ([0d0a038](https://github.com/web3-storage/w3up-client/commit/0d0a0389f0b6b29c843d5b28c3ea2d840d38120f)) | ||
|
||
## [5.0.0](https://github.com/web3-storage/w3up-client/compare/v4.3.0...v5.0.0) (2023-03-23) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* updated access client dep ([#89](https://github.com/web3-storage/w3up-client/issues/89)) | ||
|
||
### Features | ||
|
||
* add HAMT sharded directories support ([#87](https://github.com/web3-storage/w3up-client/issues/87)) ([a6673e9](https://github.com/web3-storage/w3up-client/commit/a6673e98f51dc1dc93e5e40ea752a5c10e46c159)) | ||
* updated access client dep ([#89](https://github.com/web3-storage/w3up-client/issues/89)) ([35f3964](https://github.com/web3-storage/w3up-client/commit/35f39640a62eaf9a2e6a81632e32cf1851d640b4)) | ||
|
||
## [4.3.0](https://github.com/web3-storage/w3up-client/compare/v4.2.0...v4.3.0) (2023-03-21) | ||
|
||
|
||
### Features | ||
|
||
* add authorize to client, register no longer needs email ([c9555d9](https://github.com/web3-storage/w3up-client/commit/c9555d92edb1ded9c7db81efcdd2c83331b52106)) | ||
* expose connection id did and add email back to registerSpace ([ee1cf3a](https://github.com/web3-storage/w3up-client/commit/ee1cf3a30a79a98c21f2e897d6a26e443b41390f)) | ||
* use new claimDelegations "use case" ([1659786](https://github.com/web3-storage/w3up-client/commit/1659786fd79da6292d3605c1ca09b80d94ac83ca)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* back to 100% test coverage ([5ae7f1e](https://github.com/web3-storage/w3up-client/commit/5ae7f1e1d19f7eb95b13ed3bc491fc99e51296d0)) | ||
* keep casting defaultProvider() ([7b8c859](https://github.com/web3-storage/w3up-client/commit/7b8c8594abd1665b0c0061ab2eef233d6a0b6cdf)) | ||
* pass registerSpace default provider inferred from connection ([224f818](https://github.com/web3-storage/w3up-client/commit/224f818f45b3fa4778a659c4f95124c92534c354)) | ||
* typos ([52c648a](https://github.com/web3-storage/w3up-client/commit/52c648a525466e1d6e0619ed4ab663164a9b6a9d)) | ||
* typos ([52c648a](https://github.com/web3-storage/w3up-client/commit/52c648a525466e1d6e0619ed4ab663164a9b6a9d)) | ||
* update package-lock ([6aa7c47](https://github.com/web3-storage/w3up-client/commit/6aa7c4785ae2bc49039c326e02d1fd042460b83d)) | ||
* use released packages to green the build ([05881fc](https://github.com/web3-storage/w3up-client/commit/05881fce652a1bc964937bec9c0cdd20aa2204b2)) | ||
* warnings about uploads being public/permanent ([187228a](https://github.com/web3-storage/w3up-client/commit/187228a828ff357f3d1083738673c6a502f2aff9)) | ||
|
||
## [4.2.0](https://github.com/web3-storage/w3up-client/compare/v4.1.0...v4.2.0) (2023-02-15) | ||
|
||
|
||
### Features | ||
|
||
* update to latest dependencies ([f4da59e](https://github.com/web3-storage/w3up-client/commit/f4da59ec10d8f7e96857998d34672d8848652445)) | ||
|
||
## [4.1.0](https://github.com/web3-storage/w3up-client/compare/v4.0.1...v4.1.0) (2023-01-11) | ||
|
||
|
||
### Features | ||
|
||
* add CAR upload method ([#72](https://github.com/web3-storage/w3up-client/issues/72)) ([8b31255](https://github.com/web3-storage/w3up-client/commit/8b31255521e6fd875fe043b9c09b347759ebf315)) | ||
|
||
## [4.0.1](https://github.com/web3-storage/w3up-client/compare/v4.0.0...v4.0.1) (2022-12-14) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* prod access service DID ([67a5d4c](https://github.com/web3-storage/w3up-client/commit/67a5d4c77eb054f5e0075137e77daed3337f35d2)) | ||
|
||
## [4.0.0](https://github.com/web3-storage/w3up-client/compare/v3.2.0...v4.0.0) (2022-12-14) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* The client has been re-written as a wrapper around [access-client](https://www.npmjs.com/package/@web3-storage/access) and [upload-client](https://www.npmjs.com/package/@web3-storage/upload-client) and the API has changed. | ||
|
||
Migration notes: | ||
|
||
* `client.account()` has been removed, use `client.currentSpace()` | ||
* `client.exportDelegation()` has been removed, use `client.createDelegation()` and then call `export()` on the returned value and encode the returned blocks as a CAR file using the [`@ipld/car`](https://www.npmjs.com/package/@ipld/car) library. | ||
* `client.identity()` has been removed, use `client.agent()` + `client.currentSpace()` + `client.delegations()` | ||
* `client.importDelegation()` has been removed, use `client.addProof()` (for general delegations to your agent) or `client.addSpace()` (to add a proof and _also_ add the space to your list of spaces). | ||
* `client.insights()` has been removed - this was never working | ||
* `client.invoke()` has been removed | ||
* `client.list()` has been removed, use `client.capability.upload.list()` | ||
* `client.makeDelegation()` has been renamed and signature has changed, use `client.createDelegation()` | ||
* `client.register()` has been removed, use `client.registerSpace()` | ||
* `client.remove()` has been removed, use `client.capability.store.remove()` | ||
* `client.removeUpload()` has been removed, use `client.capability.upload.remove()` | ||
* `client.stat()` has been removed, use `client.capability.store.list()` | ||
* `client.upload()` has been removed, use `client.capability.store.add()` | ||
* `client.uploadAdd()` has been removed, use `client.capability.upload.add()` | ||
* `client.whoami()` has been removed, use `client.capability.space.info()` | ||
|
||
### Features | ||
|
||
* consume upload and access client ([#58](https://github.com/web3-storage/w3up-client/issues/58)) ([7bd91d5](https://github.com/web3-storage/w3up-client/commit/7bd91d59da2b961a4227d9c062e74169e645a0bc)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* release please package name ([3d00586](https://github.com/web3-storage/w3up-client/commit/3d0058658d4a0e819b2da49c7cea3d084b8bba1b)) | ||
* remove pnpm reference from deploy-docs workflow ([6807f5d](https://github.com/web3-storage/w3up-client/commit/6807f5d91366e24ffe28d3177540549efbf808ca)) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dotenv
is required by thebuild
script, so moving this from devDep to dep fixed gh workflows