Skip to content

Commit

Permalink
fixed dependencies to make it build
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan123 committed Nov 14, 2024
1 parent ca762ff commit a4fea65
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,30 @@ Then, you will need to open a terminal connected to the container and run the fo
```sh
curl http://localhost:33791/?code...
```
This will log you in and you can publish the package.
This will log you in and you can publish the package.

## TypeScript SDK Development

See the [TypeScript SDK README](./packages/defindex-sdk/README.md) for more information.

You can use the defindex-soroban container to develop the SDK.
```sh
bash run.sh --nb
```
Then, move to the folder `packages/defindex-sdk`.

### Publish TypeScript SDK
Inside the container, on the `defindex-sdk` folder, run:
```sh
# Login to npm
npm login

# Install dependencies
yarn install

# Build the package
yarn build

# Publish to npm
npm publish --access public
```
2 changes: 1 addition & 1 deletion packages/defindex-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "defindex-sdk",
"version": "0.1.1",
"version": "0.1.2",
"description": "TypeScript SDK for interacting with DeFindex Vaults on the Stellar Soroban network",
"type": "module",
"repository": {
Expand Down

0 comments on commit a4fea65

Please sign in to comment.