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 w3up-client at /packages/w3up-client #653

Merged
merged 212 commits into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
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 Aug 12, 2022
b8daacd
fix: Add markdown generation package as dev dep.
ice-breaker-tg Aug 12, 2022
3f74607
fix: allow multiple validation attempts, cleanup.
ice-breaker-tg Aug 19, 2022
98e31c7
chore: bump version.
ice-breaker-tg Aug 19, 2022
5efea8c
feat: integrate w3access dev
ice-breaker-tg Aug 19, 2022
a909ed3
chore: bump version.
ice-breaker-tg Aug 19, 2022
3983c75
fix: fix issue with null return from validation, cleanup.
ice-breaker-tg Aug 19, 2022
dc916ca
chore: bump version.
ice-breaker-tg Aug 19, 2022
139d009
feat: Show CID on successful upload.
ice-breaker-tg Aug 19, 2022
94b916f
chore: bump version.
ice-breaker-tg Aug 19, 2022
aea3319
fix: print car link on add for correct did (from result).
ice-breaker-tg Aug 26, 2022
1885f16
wip: add install & usage info to README
yusefnapora Sep 1, 2022
b760663
typos and such
yusefnapora Sep 1, 2022
81efcf1
add list and remove docs to readme
yusefnapora Sep 6, 2022
0ba434f
add upload method to readme & link to CAR docs
yusefnapora Sep 6, 2022
80af13b
fix swapped URL / DID in example
yusefnapora Sep 8, 2022
1c9e7a5
Merge pull request #1 from web3-storage/readme-update
yusefnapora Sep 8, 2022
3650ee8
fix missing `:` in createClient example
yusefnapora Sep 8, 2022
06bdd5a
Merge pull request #5 from web3-storage/yusefnapora-patch-1
yusefnapora Sep 8, 2022
1ff9b46
feat: first pass at adding types.
ice-breaker-tg Sep 9, 2022
43703e5
fix: Actually export/use defaults.
ice-breaker-tg Sep 9, 2022
38a5e77
fix: update api docs, change build to build api docs / types.
ice-breaker-tg Sep 9, 2022
5cc450e
fix: Fix issue with jsdoc merging two typedefs.
ice-breaker-tg Sep 9, 2022
24d6be0
feat: get types working, misc cleanup.
ice-breaker-tg Sep 12, 2022
8a9cd3d
feat: Clean up, remove capabilities and pull from w3/access
ice-breaker-tg Sep 13, 2022
c1c569f
chore: run prettier/etc
ice-breaker-tg Sep 14, 2022
a9f3315
Merge pull request #7 from web3-storage/add_ts_types
ice-breaker-tg Sep 14, 2022
557268f
Merge pull request #8 from web3-storage/add_linting
ice-breaker-tg Sep 14, 2022
b49b039
chore: Merge upstream.
ice-breaker-tg Sep 14, 2022
3b8fbcb
Merge remote-tracking branch 'origin/main' into feat/get_caps_from_pr…
ice-breaker-tg Sep 14, 2022
cc75bd1
chore: Bump version.
ice-breaker-tg Sep 14, 2022
dc87b4e
Merge pull request #10 from web3-storage/feat/get_caps_from_protocol_…
the-simian Sep 14, 2022
3f945d5
fix: Fix issue with dir import, update lock.
ice-breaker-tg Sep 14, 2022
fe2d23a
Merge pull request #11 from web3-storage/feat/get_caps_from_protocol_…
ice-breaker-tg Sep 14, 2022
e618a34
fix: For now, keep built types in repo.
ice-breaker-tg Sep 14, 2022
cb23a70
chore: bump version.
ice-breaker-tg Sep 14, 2022
b59275e
Merge pull request #12 from web3-storage/fix/keep_types_in_repo
ice-breaker-tg Sep 14, 2022
6e40896
fix: Ensure fetch for checking email uses CORs
ice-breaker-tg Sep 14, 2022
b3a8b9f
Merge pull request #13 from web3-storage/fix/ensure_fetch_uses_cors
ice-breaker-tg Sep 14, 2022
f8b9cf5
fix: hotfix issue with patches not being included in install.
ice-breaker-tg Sep 15, 2022
b660570
fix: hotfix issue with patches not being included in install.
ice-breaker-tg Sep 15, 2022
623fafa
feat: Add tests, more tidying.
ice-breaker-tg Sep 15, 2022
3fda87b
fix: include tests in prettier check.
ice-breaker-tg Sep 15, 2022
d24755b
working on automatic semantic releases
dashcraft Sep 8, 2022
062738a
added tests and pull request commands
dashcraft Sep 15, 2022
aae1085
Updated semantic release files
dashcraft Sep 15, 2022
4f554cf
updated package json
dashcraft Sep 15, 2022
752858e
rename package
dashcraft Sep 15, 2022
332b2e4
Merge pull request #14 from web3-storage/feat/199-semantic-releases
ice-breaker-tg Sep 15, 2022
cbe9039
chore: merge main.
ice-breaker-tg Sep 15, 2022
1f4ab37
fix: Add public publish config to allow CI to publish.
ice-breaker-tg Sep 15, 2022
7550829
Merge remote-tracking branch 'origin/main' into feat/ci_scripts_tidying
ice-breaker-tg Sep 15, 2022
8b9c689
feat: Add tests to ci.
ice-breaker-tg Sep 15, 2022
e11234e
Merge pull request #15 from web3-storage/feat/ci_scripts_tidying
ice-breaker-tg Sep 15, 2022
ea39e2c
feat: Add a test on pr action.
ice-breaker-tg Sep 15, 2022
32a910c
Merge pull request #16 from web3-storage/feat/ci_scripts_tidying
ice-breaker-tg Sep 15, 2022
ec47ae7
chore: update api and types.
ice-breaker-tg Sep 15, 2022
4cc35e8
fix: Fix pr workflow/action.
ice-breaker-tg Sep 15, 2022
afd6bf0
fix: fix issue with tests.
ice-breaker-tg Sep 15, 2022
f6435b2
fix: Run tests on merge with main again.
ice-breaker-tg Sep 15, 2022
5a970b2
fix: Fix yaml in ci.
ice-breaker-tg Sep 15, 2022
072ce89
Merge pull request #17 from web3-storage/fix/get_tests_working_on_prs
ice-breaker-tg Sep 15, 2022
90470dc
feat: Add current service DID/URLs as defaults.
ice-breaker-tg Sep 16, 2022
7ad1c12
Merge pull request #18 from web3-storage/feat/default_auth_settings
ice-breaker-tg Sep 16, 2022
ba64808
feat: Add simple git hooks, move prettier config to file.
ice-breaker-tg Sep 16, 2022
9fd7414
feat: Add build to commit hook, add lint-staged to dev-deps
ice-breaker-tg Sep 16, 2022
30b4b3f
refactor: Actually run build on pre-commit.
ice-breaker-tg Sep 16, 2022
1ae053d
chore: cleanup, make lint-staged only run on given files.
ice-breaker-tg Sep 16, 2022
78160b2
refactor: setup hooks to add built artifacts where needed.
ice-breaker-tg Sep 16, 2022
852e2ec
Merge pull request #22 from web3-storage/simple_commit_hooks
ice-breaker-tg Sep 16, 2022
e52347b
chore: bump version.
ice-breaker-tg Sep 16, 2022
47ea0e2
Update README.md
ice-breaker-tg Sep 16, 2022
f14f3b2
refactor: move types to dist only.
ice-breaker-tg Sep 23, 2022
64945b9
feat: Upgrade ucanto, fix types.
ice-breaker-tg Sep 23, 2022
dda6896
feat: Work on delegation, clean up transport/etc.
ice-breaker-tg Sep 27, 2022
fd58c6b
feat: Finalize import/export of delegation, self delegation, handling…
ice-breaker-tg Sep 27, 2022
e98d54a
fix: Remove @ucanto/authority replace with principal.
ice-breaker-tg Sep 27, 2022
6692a59
feat: Add expiration option to delegation creation, misc cleanup.
ice-breaker-tg Sep 28, 2022
c533928
docs: Better docs on new identity return.
ice-breaker-tg Sep 28, 2022
3df72d4
docs: Update docs on delegation options.
ice-breaker-tg Sep 28, 2022
b46cc1b
test: Fix some tests, add more around account/agent/delegation.
ice-breaker-tg Sep 28, 2022
71c1ee1
feat: Make delegation used passed expiration, more tests.
ice-breaker-tg Sep 28, 2022
107939c
fix: Don't completely move previous secret, to prevent any backwards …
ice-breaker-tg Sep 28, 2022
0ab26c4
feat: Setup next release branch for testing.
ice-breaker-tg Sep 28, 2022
a980695
Merge pull request #24 from web3-storage/delegation
ice-breaker-tg Sep 28, 2022
4f1ff03
chore: bump version, remove console logs.
ice-breaker-tg Sep 28, 2022
f2e6da2
tests: add more tests around delegated caps.
ice-breaker-tg Sep 29, 2022
97c2429
Merge pull request #26 from web3-storage/more_test_coverage
ice-breaker-tg Sep 29, 2022
a092c0d
feat: Upgrade to accesss 2.x
ice-breaker-tg Sep 30, 2022
40c80b1
refactor: Fix some tests, cleanup, rename to clarify connect
ice-breaker-tg Sep 30, 2022
a0b90af
Merge pull request #28 from web3-storage/new_access_package
ice-breaker-tg Sep 30, 2022
16b97f0
fix: Fix issue with somehow having 2 versions of validator package.
ice-breaker-tg Sep 30, 2022
4693f0b
Merge pull request #29 from web3-storage/new_access_package
ice-breaker-tg Sep 30, 2022
7faa3a4
docs: import module (#30)
vasco-santos Oct 4, 2022
3f3c230
docs: import correct naming
vasco-santos Oct 4, 2022
bbc6434
docs: import correct naming
vasco-santos Oct 4, 2022
dec10f2
feat: Get base for upload/* capabilities in place.
ice-breaker-tg Oct 12, 2022
833665c
feat: Make client actually use defaults when not set in constructor o…
ice-breaker-tg Oct 12, 2022
3e8d180
feat: Move most of import/export settings into client, add tests.
ice-breaker-tg Oct 13, 2022
9defb82
Merge pull request #38 from web3-storage/actually_use_defaults
ice-breaker-tg Oct 13, 2022
a5d29f5
feat: Make client able to take many 'shapes' of settings and work as …
ice-breaker-tg Oct 14, 2022
7407281
chore: Merge in main.
ice-breaker-tg Oct 14, 2022
33ece33
Merge pull request #39 from web3-storage/move_settings_management_int…
ice-breaker-tg Oct 14, 2022
b2680b6
chore: update API.md
ice-breaker-tg Oct 14, 2022
eac2241
chore: Fix typing on create client.
ice-breaker-tg Oct 14, 2022
39c7956
chore: merge in main.
ice-breaker-tg Oct 18, 2022
4053448
fix: fix location of types output.
ice-breaker-tg Oct 19, 2022
adb7253
fix: Clean up delegation to delegate * caps.
ice-breaker-tg Oct 19, 2022
2bcd212
fix: Fix some misc issues, and cleanup.
ice-breaker-tg Oct 24, 2022
d2d1957
chore: bump version
ice-breaker-tg Oct 26, 2022
f403b6e
Merge pull request #37 from web3-storage/new_access_capabilities
ice-breaker-tg Oct 26, 2022
1faf445
fix: Include types in npm output.
ice-breaker-tg Oct 26, 2022
c3efe5f
fix: Fix action.
ice-breaker-tg Oct 26, 2022
f21b726
fix: Satisfy typechecker.
ice-breaker-tg Oct 26, 2022
27ca9dc
fix: settings export/import
hugomrdias Oct 27, 2022
69ccddd
chore: fix tests
hugomrdias Oct 27, 2022
4704406
fix: delegation chain export / import
Gozala Oct 28, 2022
36ac057
fix: delegation chain export / import
hugomrdias Oct 28, 2022
c175ebd
fix: delegation import
Gozala Oct 28, 2022
032f592
fix: regression from delegation -> account rename
Gozala Oct 28, 2022
9387f3f
fix: delegation chain imports
Gozala Oct 28, 2022
4eb7e97
feat: new exports
hugomrdias Oct 28, 2022
abc2078
fix: skip tests
hugomrdias Oct 28, 2022
b46b12a
fix: remove jsdoc api
hugomrdias Oct 28, 2022
d383f59
feat: Remove settings, move delegation bits to client
ice-breaker-tg Nov 3, 2022
126d9cb
fix: Fix issue with TSC version.
ice-breaker-tg Nov 3, 2022
c474d2a
Merge pull request #45 from web3-storage/chore/delegation-settings-cl…
ice-breaker-tg Nov 3, 2022
6909328
Added standard js and fixed the type/linting errors associated
dashcraft Nov 10, 2022
50ee5cc
update: readme including private data warning
dchoi27 Nov 10, 2022
c743431
update: add link to examples repo
dchoi27 Nov 10, 2022
c641be9
chore: Misc cleanup.
ice-breaker-tg Nov 11, 2022
27121ce
Merge pull request #53 from web3-storage/dchoi27-patch-1
ice-breaker-tg Nov 11, 2022
d41715b
Merge pull request #52 from web3-storage/chore/standard-js
ice-breaker-tg Nov 11, 2022
7bd91d5
feat!: consume upload and access client (#58)
Dec 14, 2022
cb8ca69
docs: the yarn people know already
Dec 14, 2022
6a4d351
chore: add Space, Capability, and Delegation to API docs
yusefnapora Dec 14, 2022
455a261
chore: update ToC
yusefnapora Dec 14, 2022
3d00586
fix: release please package name
Dec 14, 2022
6807f5d
fix: remove pnpm reference from deploy-docs workflow
yusefnapora Dec 14, 2022
f10882a
Merge pull request #67 from web3-storage/fix/typedoc-workflow
yusefnapora Dec 14, 2022
3ba5b7f
chore(main): release 4.0.0 (#66)
github-actions[bot] Dec 14, 2022
67a5d4c
fix: prod access service DID
Dec 14, 2022
2c89606
chore(main): release 4.0.1 (#68)
github-actions[bot] Dec 14, 2022
26dd80e
Merge pull request #65 from web3-storage/docs/add-missing-types
yusefnapora Dec 14, 2022
83f9e4b
chore: add migration notes to changelog
yusefnapora Dec 15, 2022
be4662f
Merge pull request #69 from web3-storage/fix-changelog
yusefnapora Dec 15, 2022
ba1b71c
update: README with beta terms of service
dchoi27 Dec 15, 2022
4b29771
update: language
dchoi27 Dec 15, 2022
d26664c
Merge pull request #70 from web3-storage/dchoi27-patch-1
dchoi27 Dec 15, 2022
030f47e
chore: run test on push to main
Jan 3, 2023
dcdba61
docs: fix badge URL
Jan 3, 2023
f3b3ec4
docs: fix badge style
Jan 3, 2023
8b31255
feat: add CAR upload method (#72)
Jan 11, 2023
8ac4a5e
chore(main): release 4.1.0 (#73)
github-actions[bot] Jan 11, 2023
44dabbd
chore: add config to generate markdown API docs
yusefnapora Jan 24, 2023
d23ae6d
chore: fix missing / in img tag
yusefnapora Jan 24, 2023
11b1e9f
chore: lint
yusefnapora Jan 24, 2023
72a49d9
Merge pull request #75 from web3-storage/docs/generate-docusaurus-mar…
yusefnapora Jan 27, 2023
f4da59e
feat: update to latest dependencies
travis Feb 13, 2023
d4b84c7
Merge pull request #77 from web3-storage/update-capabilities
travis Feb 15, 2023
1c6954e
chore(main): release 4.2.0
github-actions[bot] Feb 15, 2023
e2ce544
Merge pull request #78 from web3-storage/release-please--branches--ma…
travis Feb 15, 2023
52c648a
Fix: typos
omahs Jan 27, 2023
2c80812
docs: add w3up logo
Mar 10, 2023
46f40f0
docs: adjust logo width
Mar 10, 2023
187228a
fix: warnings about uploads being public/permanent
dchoi27 Mar 16, 2023
8bb4174
wip: add AccessClient and hook it up
travis Mar 10, 2023
c9555d9
feat: add authorize to client, register no longer needs email
travis Mar 15, 2023
ee1cf3a
feat: expose connection id did and add email back to registerSpace
travis Mar 15, 2023
1659786
feat: use new claimDelegations "use case"
travis Mar 17, 2023
4b7d80e
update from @bengo's changes to the agent API
travis Mar 17, 2023
2a06047
update package-lock
travis Mar 17, 2023
cd257d0
api updates
travis Mar 17, 2023
224f818
fix: pass registerSpace default provider inferred from connection
travis Mar 17, 2023
05881fc
fix: use released packages to green the build
travis Mar 20, 2023
6aa7c47
fix: update package-lock
travis Mar 20, 2023
5ae7f1e
fix: back to 100% test coverage
travis Mar 21, 2023
81adb59
Update src/client.js
travis Mar 21, 2023
d241c55
better description of authorize method
travis Mar 21, 2023
7b8c859
fix: keep casting defaultProvider()
travis Mar 21, 2023
0e8a207
chore: lint
travis Mar 21, 2023
b09f2bb
chore(main): release 4.3.0
github-actions[bot] Mar 21, 2023
a6673e9
feat: add HAMT sharded directories support (#87)
Mar 23, 2023
35f3964
feat!: updated access client dep (#89)
Mar 23, 2023
cc3955f
chore(main): release 5.0.0 (#88)
github-actions[bot] Mar 23, 2023
0d0a038
feat: updated README instructions for MVP (#85)
dchoi27 Mar 24, 2023
d9baa13
docs: document setting provider in `registerSpace` (#91)
travis Mar 24, 2023
7777ff6
docs: provider is set in options object
Mar 24, 2023
299c2a4
chore(main): release 5.1.0 (#94)
github-actions[bot] Mar 24, 2023
9753243
fix: redundant README info
dchoi27 Mar 24, 2023
b6a697d
moved w3up-client files to /packages/w3up-client/
gobengo Mar 27, 2023
9b475ff
Merge branch 'branch-w3up-client' into 648-w3up-client-nosubtree
gobengo Mar 27, 2023
f9b8e65
w3up-client github workflows are reusable via workflow_call. monorepo…
gobengo Mar 24, 2023
9197e31
add packages/w3up-client to release-please-config
gobengo Mar 24, 2023
9b7a669
add packages/w3up-client 5.1.0 to release-please-manifest so release-…
gobengo Mar 27, 2023
2f8ae22
incorporate w3up-client into monorepo workflows (e.g. release.yml, ty…
gobengo Mar 27, 2023
585957f
w3up-client uses workspace dependencies
gobengo Mar 27, 2023
d60400c
wip
gobengo Mar 27, 2023
064c3c5
v8-to-istanbul 9.1.0 allows w3up-client c8 ignore comment reasons
gobengo Mar 27, 2023
8b87fcc
w3up-client tsconfig.json adds project references, one each for three…
gobengo Mar 27, 2023
aa7e2d5
upload-client has c8 as devDep to fix ci
gobengo Mar 27, 2023
d267512
w3up-client prepare doesnt use npm to call build, fix ci
gobengo Mar 27, 2023
12d1a82
pnpm install to regen lockfile
gobengo Mar 27, 2023
332c27d
/.github/workflows/w3up-client.yml installs w3up-client dependencies …
gobengo Mar 27, 2023
b5d7c68
fix w3up-client.yml invocation of actions/test
gobengo Mar 27, 2023
a3bb79a
workflows/w3up-client has default runs directory of /packages/w3up-cl…
gobengo Mar 27, 2023
2dd65fd
w3up-client test action takes w3up-client-dir param
gobengo Mar 27, 2023
a5d6287
re-add w3up-client prepare script
gobengo Mar 27, 2023
bd662d4
Merge branch 'main' into 648-w3up-client-nosubtree
gobengo Mar 27, 2023
f775f3d
w3up-client gh workflow doesn't need explicit 'build' due to prepare …
gobengo Mar 27, 2023
06622a6
Merge branch 'main' into 648-w3up-client-nosubtree
gobengo Mar 28, 2023
e6ba0a3
Merge branch 'main' into 648-w3up-client-nosubtree
gobengo Mar 28, 2023
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
3 changes: 2 additions & 1 deletion .github/release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"packages/access-api": {},
"packages/capabilities": {},
"packages/upload-api": {},
"packages/upload-client": {}
"packages/upload-client": {},
"packages/w3up-client": {}
}
}
3 changes: 2 additions & 1 deletion .github/release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"packages/access-api": "5.2.1",
"packages/capabilities": "4.0.1",
"packages/upload-api": "2.0.0",
"packages/upload-client": "8.1.0"
"packages/upload-client": "8.1.0",
"packages/w3up-client": "5.1.0"
}
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
contains(fromJson(needs.release.outputs.paths_released), 'packages/access-client') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/capabilities') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-client') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-api')
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-api') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/w3up-client')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/w3up-client.yml
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/
2 changes: 1 addition & 1 deletion packages/access-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@web3-storage/access": "workspace:^",
"@web3-storage/capabilities": "workspace:^",
"@web3-storage/worker-utils": "0.4.3-dev",
"dotenv": "^16.0.3",
Copy link
Contributor Author

@gobengo gobengo Mar 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dotenv is required by the build script, so moving this from devDep to dep fixed gh workflows

"kysely": "^0.23.4",
"kysely-d1": "^0.3.0",
"multiformats": "^11.0.2",
Expand All @@ -53,7 +54,6 @@
"@ucanto/client": "^5.1.0",
"better-sqlite3": "8.0.1",
"buffer": "^6.0.3",
"dotenv": "^16.0.3",
"esbuild": "^0.17.2",
"git-rev-sync": "^3.0.2",
"hd-scripts": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@ucanto/server": "^6.1.0",
"assert": "^2.0.0",
"blockstore-core": "^3.0.0",
"c8": "^7.12.0",
"c8": "^7.13.0",
"hd-scripts": "^4.0.0",
"hundreds": "^0.0.9",
"ipfs-unixfs-exporter": "^10.0.0",
Expand Down
18 changes: 18 additions & 0 deletions packages/w3up-client/.github/actions/test/action.yml
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 }}
5 changes: 5 additions & 0 deletions packages/w3up-client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
coverage
docs
docs-generated
97 changes: 97 additions & 0 deletions packages/w3up-client/CHANGELOG.md
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))
Loading