Skip to content

Commit

Permalink
[kamino-sdk] - deprecate - moved to @kamino-finance/kliquidity-sdk /
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotkennedy committed Jul 31, 2024
1 parent 1e6bfee commit dc9d61a
Show file tree
Hide file tree
Showing 400 changed files with 582 additions and 75,637 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ Hubble common NPM packages.
| `@hubbleprotocol/hubble-sdk` | Hubble Protocol client SDK | [README](./packages/hubble-sdk/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/hubble-sdk)](https://www.npmjs.com/package/@hubbleprotocol/hubble-sdk) |
| `@hubbleprotocol/hubble-db` | Hubble Protocol database schema | [README](./packages/hubble-db/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/hubble-db)](https://www.npmjs.com/package/@hubbleprotocol/hubble-db) |
| `@hubbleprotocol/scope-sdk` | Scope Oracle SDK | [README](./packages/scope-sdk/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/scope-sdk)](https://www.npmjs.com/package/@hubbleprotocol/scope-sdk) |
| `@hubbleprotocol/kamino-sdk` | Kamino SDK | [README](./packages/kamino-sdk/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/kamino-sdk)](https://www.npmjs.com/package/@hubbleprotocol/kamino-sdk) |

### Deprecated Packages
| Package | Description | Comments | Version |
|---------------------------------|------------------------------------|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| `@hubbleprotocol/kamino-sdk` | Kamino SDK | Moved to: `@kamino-finance/kliquidity-sdk` https://github.com/Kamino-Finance/kliquidity-sdk | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/kamino-sdk)](https://www.npmjs.com/package/@hubbleprotocol/kamino-sdk) |


## Deployment
Expand All @@ -31,10 +35,10 @@ Pull requests are welcome. For major changes, please open an issue first to disc
- `git clone git@github.com:hubbleprotocol/hubble-common.git`
- `cd hubble-common/`
- `npm install`
- `cd packages/kamino-sdk/`
- `cd packages/scope-sdk/`
- `npm install`
- `cd ../../`
- `npx ts-mocha packages/kamino-sdk/tests/calculateAmounts.test.ts`
- `npx ts-mocha packages/scope-sdk/tests/sdk.test.ts`
- Put in your RPC (see below)

## Create a free mainnet RPC:
Expand Down
3,328 changes: 375 additions & 2,953 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"clean": "npx lerna clean -y && rm -rf node_modules",
"publish": "npx lerna publish",
"test": "npx ts-mocha 'packages/hubble-sdk/tests/sdk.test.ts'",
"integration-test": "npm run airdrop-test-admin && npx ts-mocha packages/kamino-sdk/tests/kamino.test.ts packages/scope-sdk/tests/sdk.test.ts",
"integration-test": "npm run airdrop-test-admin && npx ts-mocha packages/scope-sdk/tests/sdk.test.ts",
"format": "prettier --write '{**/*,*}.{js,ts,jsx,tsx}'",
"format:check": "prettier --check '{**/*,*}.{js,ts,jsx,tsx}'",
"start-with-test-validator": "npm run dump-kamino-programs && start-server-and-test 'npm run start-validator' http://localhost:8899/health 'npm run integration-test'",
Expand Down
117 changes: 24 additions & 93 deletions packages/hubble-config/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/hubble-db/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hubble-idl/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

173 changes: 173 additions & 0 deletions packages/hubble-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/kamino-sdk/.npmignore

This file was deleted.

Loading

0 comments on commit dc9d61a

Please sign in to comment.