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

Create README.md #31

Merged
merged 5 commits into from
Aug 24, 2023
Merged

Create README.md #31

merged 5 commits into from
Aug 24, 2023

Conversation

samsiegart
Copy link
Contributor

No description provided.

@samsiegart samsiegart requested review from turadg and dckc August 17, 2023 00:29
Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

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

This documentation is great.

I wonder if it should be in the `rpc' package, which doesn't have a README right now. All the examples do use rpc. And that way it will appear on NPM https://www.npmjs.com/package/@agoric/rpc

Maybe root has "UI KIt" and "Setup" and pointers to each package README which have the snippets.

That other README could be part of the PR publishing rpc 0.5.0. So this PR can stay as is until that's in main

README.md Outdated

*package.json:*
```
"@agoric/rpc": "^0.4.1-dev-7cf64bb.0"
Copy link
Member

Choose a reason for hiding this comment

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

let's not point to dev versions in the repo README. until we publish 0.5.0 we can tell partners to use this dev version.

The readme can have yarn add @agoric/rpc. Or leave it out since it's pretty obvious.

README.md Outdated
Comment on lines 54 to 59
*package.json:*
```
"@agoric/notifier": "^0.6.2",
"@agoric/rpc": "^0.4.1-dev-7cf64bb.0",
"@agoric/web-components": "0.10.1-dev-7cf64bb.0"
```
Copy link
Member

Choose a reason for hiding this comment

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

ditto, most readers of the README shouldn't need these version numbers.

for simplicity we could just hold off on merging this PR until we've published these versions as full releases.

AgoricChainStoragePathKind as Kind
} from '@agoric/rpc';

const watcher = makeAgoricChainStorageWatcher(rpc, chainName);
Copy link
Member

Choose a reason for hiding this comment

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

I'm used to passing network access (fetch) in explicitly. I don't expect to change that here, but it's worth indexing under Agoric/agoric-sdk#2160

@samsiegart samsiegart force-pushed the samsiegart-patch-1 branch 3 times, most recently from c49d291 to cb711ad Compare August 21, 2023 23:50
@samsiegart samsiegart requested a review from turadg August 21, 2023 23:51
@samsiegart
Copy link
Contributor Author

@turadg I removed the dev npm versions and added some smaller snippets under the packages themselves. PTAL

@samsiegart samsiegart enabled auto-merge (rebase) August 24, 2023 22:23
@samsiegart samsiegart merged commit f8674ce into main Aug 24, 2023
1 check passed
@samsiegart samsiegart deleted the samsiegart-patch-1 branch August 24, 2023 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants