Skip to content

Commit

Permalink
Merge pull request #62 from windingtree/beta
Browse files Browse the repository at this point in the history
New release
  • Loading branch information
kostysh authored Oct 25, 2023
2 parents 756eefe + aff7154 commit 4795961
Show file tree
Hide file tree
Showing 82 changed files with 2,108 additions and 1,116 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.PAT }}
- name: Publish to npm
run: pnpm lerna publish from-package
run: |
if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
pnpm lerna publish from-package --dist-tag latest
elif [[ "${{ github.ref }}" == "refs/heads/beta" ]]; then
pnpm lerna publish from-package --dist-tag beta
fi
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ temp
coverage
typedoc
typechain

db/*
#ide
.idea
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
[![@windingtree/sdk](https://img.shields.io/npm/v/@windingtree/sdk)](https://www.npmjs.com/package/@windingtree/sdk)
[![Beta Release](https://github.com/windingtree/sdk/actions/workflows/release.yml/badge.svg?branch=beta)](https://github.com/windingtree/sdk/actions/workflows/release.yml)
[![Beta Release](https://github.com/windingtree/sdk/actions/workflows/release.yml/badge.svg?branch=master)](https://github.com/windingtree/sdk/actions/workflows/release.yml)

# @windingtree/sdk

The WindingTree market protocol SDK

> To find the documentation of the SDK please follow the [https://windingtree.github.io/sdk](https://windingtree.github.io/sdk)
## Packages

| Package | Description | Version |
|---|---|---|
| @windingtree/contracts | Smart contracts and utilities | [![@windingtree/contracts](https://img.shields.io/npm/v/@windingtree/contracts)](https://www.npmjs.com/package/@windingtree/contracts) |
| @windingtree/sdk-server | The protocol coordination server | [![@windingtree/sdk-server](https://img.shields.io/npm/v/@windingtree/sdk-server)](https://www.npmjs.com/package/@windingtree/sdk-server) |
| @windingtree/sdk-node | The protocol node | [![@windingtree/sdk-node](https://img.shields.io/npm/v/@windingtree/sdk-node)](https://www.npmjs.com/package/@windingtree/sdk-node) |
| @windingtree/sdk-node-api | The protocol node management API | [![@windingtree/sdk-node-api](https://img.shields.io/npm/v/@windingtree/sdk-node-api)](https://www.npmjs.com/package/@windingtree/sdk-node-api) |
| @windingtree/sdk-client | The protocol client | [![@windingtree/sdk-client](https://img.shields.io/npm/v/@windingtree/sdk-client)](https://www.npmjs.com/package/@windingtree/sdk-client) |
| @windingtree/sdk-react | React components and utilities | [![@windingtree/sdk-react](https://img.shields.io/npm/v/@windingtree/sdk-react)](https://www.npmjs.com/package/@windingtree/sdk-react) |
| @windingtree/sdk-constants | Constants | [![@windingtree/sdk-constants](https://img.shields.io/npm/v/@windingtree/sdk-constants)](https://www.npmjs.com/package/@windingtree/sdk-constants) |
| @windingtree/sdk-types | The SDK shared Typescript types | [![@windingtree/sdk-types](https://img.shields.io/npm/v/@windingtree/sdk-types)](https://www.npmjs.com/package/@windingtree/sdk-types) |
| @windingtree/sdk-utils | Shared utilities | [![@windingtree/sdk-utils](https://img.shields.io/npm/v/@windingtree/sdk-utils)](https://www.npmjs.com/package/@windingtree/sdk-utils) |
| @windingtree/sdk-test-utils | Test utilities | [![@windingtree/sdk-test-utils](https://img.shields.io/npm/v/@windingtree/sdk-test-utils)](https://www.npmjs.com/package/@windingtree/sdk-test-utils) |
| @windingtree/sdk-pubsub | The protocol pubsub service | [![@windingtree/sdk-pubsub](https://img.shields.io/npm/v/@windingtree/sdk-pubsub)](https://www.npmjs.com/package/@windingtree/sdk-pubsub) |
| @windingtree/sdk-contracts-manager | Smart contracts connection and management | [![@windingtree/sdk-contracts-manager](https://img.shields.io/npm/v/@windingtree/sdk-contracts-manager)](https://www.npmjs.com/package/@windingtree/sdk-contracts-manager) |
| @windingtree/sdk-messages | The protocol messages utilities | [![@windingtree/sdk-messages](https://img.shields.io/npm/v/@windingtree/sdk-messages)](https://www.npmjs.com/package/@windingtree/sdk-messages) |
| @windingtree/sdk-queue | Jobs queue | [![@windingtree/sdk-queue](https://img.shields.io/npm/v/@windingtree/sdk-queue)](https://www.npmjs.com/package/@windingtree/sdk-queue) |
| @windingtree/sdk-storage | Cross-platform storage layer | [![@windingtree/sdk-storage](https://img.shields.io/npm/v/@windingtree/sdk-storage)](https://www.npmjs.com/package/@windingtree/sdk-storage) |
| @windingtree/sdk-db | Databases tools | [![@windingtree/sdk-db](https://img.shields.io/npm/v/@windingtree/sdk-db)](https://www.npmjs.com/package/@windingtree/sdk-db) |
| @windingtree/sdk-logger | Logging utility | [![@windingtree/sdk-logger](https://img.shields.io/npm/v/@windingtree/sdk-logger)](https://www.npmjs.com/package/@windingtree/sdk-logger) |
## Setup

> This repository uses [`pnpm` package manager](https://pnpm.io/installation).
Expand Down
2 changes: 1 addition & 1 deletion examples/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"viem": "^1.3.0",
"@libp2p/interfaces": "^3.3.2",
"@libp2p/interface": "^0.1.3",
"luxon": "^3.3.0"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 4795961

Please sign in to comment.