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

Update faucet API to support batching, and separate into it's own export #12808

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

Jordan-Mysten
Copy link
Contributor

Description

This is a replacement for #12668, updating all of the faucet APIs to a new export so that it can be used on it's own. The provider and signer methods are now marked as deprecated, and will be removed in a subsequent release.

Test Plan

How did you test the new or updated feature?


If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

@Jordan-Mysten Jordan-Mysten requested review from a team as code owners June 30, 2023 23:00
@Jordan-Mysten Jordan-Mysten requested review from Jibz-Mysten and plam-ml and removed request for a team June 30, 2023 23:00
@vercel
Copy link

vercel bot commented Jun 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:01pm
explorer-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:01pm
multisig-toolkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:01pm
sui-kiosk ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:01pm
sui-wallet-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:01pm
wallet-adapter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:01pm

@@ -42,6 +42,11 @@
"source": "./src/keypairs/secp256r1/index.ts",
"import": "./dist/esm/keypairs/secp256r1/index.js",
"require": "./dist/cjs/keypairs/secp256r1/index.js"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Noting to myself that this is how you add a new package

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This isn’t a package it’s just a way to more granularly import out of the package. It’s an approach we’re trying to take to minimize the required size of the SDK.

sdk/typescript/src/faucet/index.ts Outdated Show resolved Hide resolved
sdk/typescript/faucet/package.json Show resolved Hide resolved
@Jordan-Mysten Jordan-Mysten force-pushed the jordan--faucet-api-update branch from 310a310 to 10ecd37 Compare July 3, 2023 17:59
@vercel vercel bot temporarily deployed to Preview – explorer-storybook July 3, 2023 18:00 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-adapter July 3, 2023 18:00 Inactive
@hayes-mysten hayes-mysten merged commit 0011484 into main Jul 6, 2023
@hayes-mysten hayes-mysten deleted the jordan--faucet-api-update branch July 6, 2023 17:06
ebmifa pushed a commit that referenced this pull request Jul 12, 2023
…ort (#12808)

## Description 

This is a replacement for #12668, updating all of the faucet APIs to a
new export so that it can be used on it's own. The provider and signer
methods are now marked as deprecated, and will be removed in a
subsequent release.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
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.

6 participants