-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #697 from xmtp/rygine/dms
Add 1:1 messages, consent state, and more identity updates
- Loading branch information
Showing
17 changed files
with
785 additions
and
42 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@xmtp/node-sdk": patch | ||
--- | ||
|
||
Add 1:1 messages, consent state, and more identity updates |
2 changes: 1 addition & 1 deletion
2
.github/workflows/mls-client.yml → .github/workflows/node-sdk.yml
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: MLS Client | ||
name: Node SDK | ||
|
||
on: | ||
push: | ||
|
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 |
---|---|---|
@@ -1,4 +1,49 @@ | ||
# XMTP MLS Client | ||
# XMTP client SDK for Node | ||
|
||
> **Important** | ||
> This package is currently in **Alpha** status. Do not use in production as the API is not final and certain functionality may not work as intended. This package only works in Node. | ||
This package provides the XMTP client SDK for Node. | ||
|
||
To keep up with the latest SDK developments, see the [Issues tab](https://github.com/xmtp/xmtp-js/issues) in this repo. | ||
|
||
To learn more about XMTP and get answers to frequently asked questions, see the [XMTP documentation](https://xmtp.org/docs). | ||
|
||
> [!CAUTION] | ||
> This SDK is currently in alpha. The API is subject to change and it is not yet recommended for production use. | ||
## Requirements | ||
|
||
- Node.js 20+ | ||
|
||
## Install | ||
|
||
**NPM** | ||
|
||
```bash | ||
npm install @xmtp/node-sdk | ||
``` | ||
|
||
**PNPM** | ||
|
||
```bash | ||
pnpm install @xmtp/node-sdk | ||
``` | ||
|
||
**Yarn** | ||
|
||
```bash | ||
yarn add @xmtp/node-sdk | ||
``` | ||
|
||
## XMTP network environments | ||
|
||
XMTP provides `production`, `dev`, and `local` network environments to support the development phases of your project. To learn more about these environments, see our [official documentation](https://xmtp.org/docs/build/authentication#environments). | ||
|
||
## Developing | ||
|
||
Run `yarn dev` to build the SDK and watch for changes, which will trigger a rebuild. | ||
|
||
### Useful commands | ||
|
||
- `yarn build`: Builds the SDK | ||
- `yarn clean`: Removes `node_modules`, `dist`, and `.turbo` folders | ||
- `yarn test`: Runs all tests | ||
- `yarn typecheck`: Runs `tsc` |
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
Oops, something went wrong.