Skip to content

Commit

Permalink
Finalize prerelease (livepeer#204)
Browse files Browse the repository at this point in the history
* Add React Core Package (livepeer#141)

* docs: update nextra dependency

* feat: added crypto package and work on signed playback

* fix: update deps

* fix: types

* fix: move to using rainbowkit

* feat: removed dependencies and used webcrypto for jwt signing

* chore: add initial expo dev example app

* chore: added react native bare dev

* fix: further work towards rn examples

* Added z-index to the default variant of the player (livepeer#132)

* Add nodejs example (livepeer#131)

* feat: added import script for nodejs example

* fix: small fixes and added comments

* fix: added handling of paths in dstorage

* fix: moved ipfs-playback to dstorage and added redirect

* fix: added output json and fix docs links

* fix: fix docs on contributing

* chore(deps): bump pnpm/action-setup from 2.2.2 to 2.2.4 (livepeer#125)

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](pnpm/action-setup@v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* Added changeset for z-index change (livepeer#135)

* fix: added HEAD request to check for valid URLs

* Add access control docs (livepeer#93)

* docs: update nextra dependency

* feat: added crypto package and work on signed playback

* fix: update deps

* fix: types

* fix: move to using rainbowkit

* feat: removed dependencies and used webcrypto for jwt signing

* feat: added further access control

* fix: added b64 decoding for private key

* fix: final fixes for access control

* fix: fixed packages

* docs: clean up svelte example

* chore: fix up issue templates

* docs: removed extra brackets from useCreateAsset example (livepeer#136)

Co-authored-by: Chase Adams <[email protected]>

* update docs (livepeer#138)

* update docs

* Update docs/pages/examples/react/dstorage-playback.en-US.mdx

Co-authored-by: Chase Adams <[email protected]>

Co-authored-by: Chase Adams <[email protected]>

* chore: version packages (livepeer#134)

* chore: version packages

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* Add support for multiple files at once using useCreateAsset  (livepeer#102)

* feat: added multi-video upload to useCreateAsset hook

* fix: updated changeset description

* fix: solved the Asset.tsx in example component error

* feat: added multiple file upload at the core package

* fix: fixed the build error in next example directory

* fix: refactor types

* fix: updated the changeset and types

* docs: updated the types in useCreateAsset page

* fix: fixed the merge conflicts

* docs: updated the types in the documentation.

* refactor: removed styles and console.log's

* refactor: replaced promise.all with promise.allSettled

* docs: updated the types in the docs

* refactor: updated the upload progress object

* fix: reverted the types

- refactor: updated the return in Promise.allSettled

* fix: fixed the typed lint issue

* refactor: remove the uploadsize from tus

* fix: fix types

* refactor: removed meta from the tus upload

* fix: refactored types

* docs: added new types to the docs

Co-authored-by: Chase Adams <[email protected]>

* Rework types to support multiple createAsset as const (livepeer#140)

* feat: added multi-video upload to useCreateAsset hook

* fix: updated changeset description

* fix: solved the Asset.tsx in example component error

* feat: added multiple file upload at the core package

* fix: fixed the build error in next example directory

* fix: refactor types

* fix: updated the changeset and types

* docs: updated the types in useCreateAsset page

* fix: fixed the merge conflicts

* docs: updated the types in the documentation.

* refactor: removed styles and console.log's

* refactor: replaced promise.all with promise.allSettled

* docs: updated the types in the docs

* refactor: updated the upload progress object

* fix: reverted the types

- refactor: updated the return in Promise.allSettled

* fix: fixed the typed lint issue

* refactor: remove the uploadsize from tus

* fix: fix types

* refactor: removed meta from the tus upload

* fix: refactored types

* docs: added new types to the docs

* fix: rework types to support const assertions for typing

* test: fix tests

Co-authored-by: Suhail Kakar <[email protected]>

* fix: merge cleanup

* test: fix tests

* fix: update nodejs example

* refactor: added core-react package and moved web logic out of react

* chore: changesets

* Revert "chore: changesets"

This reverts commit 498cfca.

* chore: changeset

* ci: add release on next branch

* chore: add pre

* fix: fix prerendering

* style: lint

* fix: added core js to react

* test: fix tests

* test: fix

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: clacla <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Suhail Kakar <[email protected]>
Co-authored-by: pglowacky <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* test: fix tests

* Add Expo & Bare Dev Projects (livepeer#152)

* feat: added initial react native package

* feat: further work on monorepo

* chore: added react native example projects

* chore: small fixes

* fix: fixed types

* chore: move to local package

* test: testing removing node linker

* ci: attempt to fix ci

* fix: fix builds

* test: fix tests and remove rn tests due to lack of vite support :(

* test: attempt to fix tests

* ci: fix react 17 test

* test: fix tests to sort imports

* ci: remove dep review on next branch

* [WIP] Add RN Controls (livepeer#157)

* feat: added sketch of buttons with stitches native

* fix: fixed multiple uploads (livepeer#154)

* chore: version packages (livepeer#156)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: added all remaining controls and broadcast package

* fix: reverted file fingerprint (livepeer#158)

* chore: version packages (livepeer#159)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* refactor: refactored to add usePlayButton, ... hooks to core

* refactor: reworked theme to have shared types

* refactor: further cleanup

* fix: further refactoring

* fix: further refactoring

* fix: final fixes for build

* fix: final fixes from testing android/ios w/ expo/rn bare

* fix: fixed metrics to work in RN

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: fixed to use w3slink

* Add docs to RN (livepeer#168)

* fix: fixes for theming and added poster functionality

* docs: updated docs for react native

* fix: added back ethers dep

* fix: fix build

* fix: added memo to Player

* chore: changesets

* chore: update deps

* chore: version packages (next) (livepeer#142)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* Remove default api key (livepeer#172)

* feat: remove default api key

* docs: added sunset date

* test: fix tests

* test: fix tests

* chore: version packages (next) (livepeer#173)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: add forwardRef

* fix: changed to use custom ref prop

* fix: added docs and moved ref to custom prop

* fix: fixed types

* chore: version packages (next) (livepeer#177)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* fix: publish core react

* fix: publish core react

* chore: version packages (next) (livepeer#178)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: update

* fix: added core react

* chore: version packages (next) (livepeer#179)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: move to use callback refs

* chore: version packages (next) (livepeer#180)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Refactor core web (livepeer#182)

* refactor: refactored web out of core and into parent module

* fix: add further and changeset

* fix: remove ethers

* test: fix tests

* test: fix and add more tests

* chore: update deps and fix tests

* chore: change changeset to major for new core

* docs: fix install command

* chore: version packages (next) (livepeer#183)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* docs: fix docs for nextra 2

* fix: slider bug (livepeer#184)

* chore: version packages (next) (livepeer#185)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* docs: fix docs based on feedback

* chore: add monitoring

* Add further theme tokens (livepeer#187)

* chore: added sentry

* feat: added further customization to sliders

* fix: remove console log

* chore: version packages (next) (livepeer#188)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: fix regression (livepeer#189)

* chore: version packages (next)

* ci: bump

* chore: version packages (next) (livepeer#190)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* fix: fix fallback

* chore: add changeset

* chore: version packages (next) (livepeer#191)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* fix: fixed src autoplayback

* chore: version packages (next) (livepeer#192)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: added showUploadingIndicator (livepeer#193)

* docs: added docs for showUploadingIndicator

* chore: version packages (next) (livepeer#194)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* docs: fixed line highlighting

* Add loading color (livepeer#195)

* feat: added loading color

* ci: bump

* fix: fixed missing theme config

* chore: version packages (next) (livepeer#196)

* chore: version packages (next)

* ci: bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chase Adams <[email protected]>

* fix: changed default to contain (livepeer#197)

* chore: version packages (next) (livepeer#198)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: added native file uri typing (livepeer#201)

* Redirect to New Docs (livepeer#202)

* docs: added redirect for docs to new domain

* fix: fixed to redirect all to developing

* fix: fix redirect

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: clacla <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Suhail Kakar <[email protected]>
Co-authored-by: pglowacky <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
7 people authored Dec 16, 2022
1 parent 9ae9aee commit 9ce1fa4
Show file tree
Hide file tree
Showing 543 changed files with 21,698 additions and 30,067 deletions.
7 changes: 7 additions & 0 deletions .changeset/beige-beds-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/react': patch
'@livepeer/react-native': patch
'@livepeer/core-react': patch
---

**Chore:** updated `@livepeer/core-react` package.
5 changes: 5 additions & 0 deletions .changeset/blue-laws-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@livepeer/core-react': patch
---

**Fix:** publish `@livepeer/core-react` package.
6 changes: 6 additions & 0 deletions .changeset/brave-cooks-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Fix:** added `mediaElementRef` to Player for compatibility with external libraries.
9 changes: 9 additions & 0 deletions .changeset/chilled-fishes-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@livepeer/core': major
'@livepeer/core-react': minor
'@livepeer/react': minor
'@livepeer/react-native': minor
'livepeer': minor
---

**Refactor:** moved the web logic out of `livepeer` into `@livepeer/core` to prevent polyfills from conflicting with React Native.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
},
"ignore": ["docs", "example-*"]
"ignore": ["docs", "example-*", "expo-broadcast"]
}
7 changes: 7 additions & 0 deletions .changeset/dry-avocados-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/core-react': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Fix:** fixed dStorage fallback to only use IPFS when `playbackId` does not exist.
9 changes: 9 additions & 0 deletions .changeset/early-poets-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@livepeer/core': minor
'@livepeer/core-react': minor
'livepeer': minor
'@livepeer/react': minor
'@livepeer/react-native': minor
---

**Breaking:** removed the peer dependency on `ethers` and `typechain` in favor of exporting const ABIs which can be used with tools like [abitype](https://github.com/wagmi-dev/abitype).
7 changes: 7 additions & 0 deletions .changeset/eight-bats-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/core-react': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Fix:** changed the default `objectFit` for the Player to be `contain` instead of `cover`.
7 changes: 7 additions & 0 deletions .changeset/eighty-rats-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/core-react': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Fix:** fixed IPFS auto-playback with `src`.
9 changes: 9 additions & 0 deletions .changeset/gold-chefs-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@livepeer/core': patch
'@livepeer/core-react': patch
'livepeer': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Feature:** added `loading` color override to ThemeConfig.
5 changes: 5 additions & 0 deletions .changeset/gold-suns-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livepeer': minor
---

**Refactor:** moved browser-specific controls/styling/hls into a `/browser/` subpackage to clarify use.
9 changes: 9 additions & 0 deletions .changeset/many-planets-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@livepeer/core': patch
'@livepeer/core-react': patch
'livepeer': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Feature:** added further theming overrides to progress and volume sliders.
7 changes: 7 additions & 0 deletions .changeset/old-geckos-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/core-react': minor
'@livepeer/react': minor
'@livepeer/react-native': minor
---

**Refactor:** added `@livepeer/core-react` package which includes all cross-environment hooks, utilities, and types. These are exported as `usePlayer`, `useControlsContainer`, etc.
40 changes: 40 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"docs": "0.0.1",
"example-dev-expo": "0.0.1",
"example-dev-next": "0.0.1",
"example-dev-react-native": "0.0.1",
"example-next": "0.0.1",
"example-nodejs": "0.0.1",
"example-svelte": "0.0.1",
"livepeer": "1.4.3",
"@livepeer/core-react": "0.0.1",
"@livepeer/core": "0.0.1",
"expo-broadcast": "0.0.1-next.0",
"@livepeer/react": "1.5.6",
"@livepeer/react-native": "0.0.1"
},
"changesets": [
"beige-beds-travel",
"blue-laws-know",
"brave-cooks-hide",
"chilled-fishes-carry",
"dry-avocados-turn",
"early-poets-switch",
"eight-bats-relate",
"eighty-rats-poke",
"gold-chefs-hunt",
"gold-suns-knock",
"many-planets-ring",
"old-geckos-dance",
"quiet-clocks-help",
"red-garlics-kneel",
"smooth-humans-cry",
"stale-toys-clap",
"tough-gifts-lay",
"warm-cameras-cover",
"wild-rockets-vanish"
]
}
7 changes: 7 additions & 0 deletions .changeset/quiet-clocks-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'livepeer': major
'@livepeer/core-react': major
'@livepeer/react': major
---

**Breaking:** removed the default API key in the SDK for Studio with sunset plan of Jan 6th, 2023, to discourage spam use.
7 changes: 7 additions & 0 deletions .changeset/red-garlics-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/react-native': major
---

**Feature:** Added `@livepeer/react-native` package with all hooks from `@livepeer/core-react`, and `Player` based on `expo-av` and controls on `react-native-svg`.

This also includes metrics reporting for the Player and theming across the components.
9 changes: 9 additions & 0 deletions .changeset/six-spoons-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@livepeer/core': patch
'@livepeer/core-react': patch
'livepeer': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Feature**: added native file URI uploading for React Native, default volume config for the Player, and fixed the slider thumb to not extend past the left boundary.
6 changes: 6 additions & 0 deletions .changeset/smooth-humans-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'livepeer': patch
'@livepeer/react': patch
---

**Chore:** updated dependencies to latest versions.
5 changes: 5 additions & 0 deletions .changeset/stale-toys-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@livepeer/react': patch
---

**Fix:** fixed bug with resize window breaking the progress slider in the Player.
7 changes: 7 additions & 0 deletions .changeset/tough-gifts-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/core-react': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Feature:** added `showUploadingIndicator` for displaying the uploading text when `autoUrlUpload` is enabled, and renamed`shouldShowLoadingSpinner`to`showLoadingSpinner`.
8 changes: 8 additions & 0 deletions .changeset/warm-cameras-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@livepeer/core-react': patch
'livepeer': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Fix:** fixed regression with IPFS auto-playback and mime type checking in browser.
7 changes: 7 additions & 0 deletions .changeset/wild-rockets-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@livepeer/core-react': patch
'@livepeer/react': patch
'@livepeer/react-native': patch
---

**Fix:** fixed core-react to use callback refs to ensure that the consuming code gets the updated ref on mount.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
STUDIO_API_KEY=
106 changes: 0 additions & 106 deletions .eslintrc

This file was deleted.

Loading

0 comments on commit 9ce1fa4

Please sign in to comment.