Skip to content

Commit

Permalink
chore: version packages (#39)
Browse files Browse the repository at this point in the history
* chore: version packages

* chore: fix to minor bump for now

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <c@cadams.io>
  • Loading branch information
3 people authored Sep 9, 2022
1 parent 6635d96 commit 6417def
Show file tree
Hide file tree
Showing 10 changed files with 3,939 additions and 8,207 deletions.
47 changes: 0 additions & 47 deletions .changeset/kind-jars-sip.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body:
attributes:
label: Package Version
description: What version of livepeer.js are you using?
placeholder: 1.0.0
placeholder: 0.4.0
validations:
required: true

Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
},
"dependencies": {
"@livepeer/design-system": "^1.0.3",
"@livepeer/react": "^0.3.0",
"@livepeer/react": "^0.4.0",
"@reach/skip-nav": "^0.17.0",
"ethers": "^5.7.0",
"hls.js": "^1.2.1",
"livepeer": "^0.3.0",
"livepeer": "^0.4.0",
"next": "^12.2.5",
"next-themes": "^0.2.0",
"nextra": "2.0.0-beta.17",
Expand Down
4 changes: 2 additions & 2 deletions examples/_dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"lint": "next lint"
},
"dependencies": {
"@livepeer/react": "^0.3.0",
"@livepeer/react": "^0.4.0",
"connectkit": "^0.0.2",
"ethers": "^5.7.0",
"livepeer": "^0.3.0",
"livepeer": "^0.4.0",
"next": "^12.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"lint": "next lint"
},
"dependencies": {
"@livepeer/react": "^0.3.0",
"@livepeer/react": "^0.4.0",
"ethers": "^5.7.0",
"livepeer": "^0.3.0",
"livepeer": "^0.4.0",
"next": "^12.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
47 changes: 47 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# livepeer

## 0.4.0

### Minor Changes

- [#27](https://github.com/livepeer/livepeer.js/pull/27) [`6635d96`](https://github.com/livepeer/livepeer.js/commit/6635d964912654a4056bace416bc315ef5f18e2d) Thanks [@victorges](https://github.com/victorges)! - **Fix:** Improve LivepeerProvider types

Types are now all documented and extensive for the current version of the Studio
API which is the base for the LivepeerProvider interface.

Storage API has also changed slightly, to allow storing an asset in multiple
different storages in the future. Right now it still only supports IPFS, but the
interface is now compatible with adding more storages in the future.

**Feature:** Multistream

The LivepeerProvider now supports the multistream feature. To use it simply add
a `multistream` field with the desired configuration when creating or updating a
`Stream` object.

```typescript
const { mutate: createStream } = useCreateStream();
createStream({
name,
multistream: {
targets: [
{
url: 'rtmp://ingest.example.com/rtmp/myStreamKey',
},
],
},
});
```

**Feature:** Upload progress

Track and show upload progress when creating assets through the `uploadProgress` field in the `useCreateAsset` hook.

```typescript
function App() {
const createAsset = useCreateAsset();
return (
<Button onClick={() => createAsset.mutate({ name, file })}>Create</Button>
<Text>Upload progress: {100 * createAsset?.uploadProgress ?? 0}%</Text>
);
}
```

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "livepeer",
"description": "Livepeer's vanilla JS library.",
"license": "MIT",
"version": "0.3.0",
"version": "0.4.0",
"repository": {
"type": "git",
"url": "https://github.com/livepeer/livepeer.js.git",
Expand Down
52 changes: 52 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# @livepeer/react

## 0.4.0

### Minor Changes

- [#27](https://github.com/livepeer/livepeer.js/pull/27) [`6635d96`](https://github.com/livepeer/livepeer.js/commit/6635d964912654a4056bace416bc315ef5f18e2d) Thanks [@victorges](https://github.com/victorges)! - **Fix:** Improve LivepeerProvider types

Types are now all documented and extensive for the current version of the Studio
API which is the base for the LivepeerProvider interface.

Storage API has also changed slightly, to allow storing an asset in multiple
different storages in the future. Right now it still only supports IPFS, but the
interface is now compatible with adding more storages in the future.

**Feature:** Multistream

The LivepeerProvider now supports the multistream feature. To use it simply add
a `multistream` field with the desired configuration when creating or updating a
`Stream` object.

```typescript
const { mutate: createStream } = useCreateStream();
createStream({
name,
multistream: {
targets: [
{
url: 'rtmp://ingest.example.com/rtmp/myStreamKey',
},
],
},
});
```

**Feature:** Upload progress

Track and show upload progress when creating assets through the `uploadProgress` field in the `useCreateAsset` hook.

```typescript
function App() {
const createAsset = useCreateAsset();
return (
<Button onClick={() => createAsset.mutate({ name, file })}>Create</Button>
<Text>Upload progress: {100 * createAsset?.uploadProgress ?? 0}%</Text>
);
}
```

### Patch Changes

- Updated dependencies [[`6635d96`](https://github.com/livepeer/livepeer.js/commit/6635d964912654a4056bace416bc315ef5f18e2d)]:
- livepeer@0.4.0

## 0.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@livepeer/react",
"description": "React components & hooks for apps built with Livepeer.",
"license": "MIT",
"version": "0.3.0",
"version": "0.4.0",
"repository": {
"type": "git",
"url": "https://github.com/livepeer/livepeer.js.git",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"peerDependencies": {
"ethers": ">=5.5.1",
"livepeer": "^0.3.0",
"livepeer": "^0.4.0",
"react": ">=17.0.0",
"wagmi": ">=0.6.2"
},
Expand All @@ -47,7 +47,7 @@
"@types/react-dom": "^18.0.6",
"@types/use-sync-external-store": "^0.0.3",
"ethers": "^5.7.0",
"livepeer": "^0.3.0",
"livepeer": "^0.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"wagmi": "^0.6.4"
Expand Down
Loading

1 comment on commit 6417def

@vercel
Copy link

@vercel vercel bot commented on 6417def Sep 9, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.