Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libp2p/js-libp2p-webrtc-star
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2233c8b8d0812b66513e4fe30c2b4707b314d2bf
Choose a base ref
...
head repository: libp2p/js-libp2p-webrtc-star
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 590c5fc36a62631a0b0d102b56d60c091906c31c
Choose a head ref

Commits on Mar 19, 2018

  1. Updating CI files (#125)

    This commit updates all CI scripts to the latest version
    victorb authored and daviddias committed Mar 19, 2018
    Copy the full SHA
    6f261c0 View commit details

Commits on Apr 5, 2018

  1. feat: add class-is module

    fsdiogo authored and daviddias committed Apr 5, 2018
    Copy the full SHA
    27f5865 View commit details

Commits on Apr 6, 2018

  1. chore: update deps

    daviddias committed Apr 6, 2018
    Copy the full SHA
    040aac4 View commit details
  2. chore: fix inert dep

    daviddias committed Apr 6, 2018
    Copy the full SHA
    c67d94a View commit details
  3. chore: update deps

    daviddias committed Apr 6, 2018
    Copy the full SHA
    195241c View commit details
  4. chore: update contributors

    daviddias committed Apr 6, 2018
    Copy the full SHA
    90c0bd0 View commit details
  5. Copy the full SHA
    f10759c View commit details

Commits on May 12, 2018

  1. Copy the full SHA
    59cb672 View commit details
  2. chore: update contributors

    daviddias committed May 12, 2018
    Copy the full SHA
    2250451 View commit details
  3. Copy the full SHA
    361c480 View commit details

Commits on Jun 1, 2018

  1. Copy the full SHA
    8d76dd0 View commit details
  2. fix: race condition using pump

    ya7ya authored and daviddias committed Jun 1, 2018
    Copy the full SHA
    2e430c1 View commit details
  3. Copy the full SHA
    a20c944 View commit details
  4. chore: update README.md

    ya7ya authored and daviddias committed Jun 1, 2018
    Copy the full SHA
    c7521e6 View commit details
  5. chore: update aegir

    daviddias committed Jun 1, 2018
    Copy the full SHA
    9efe3c6 View commit details
  6. chore: fix deps

    daviddias committed Jun 1, 2018
    Copy the full SHA
    49210b4 View commit details
  7. Copy the full SHA
    53aa534 View commit details
  8. chore: update contributors

    daviddias committed Jun 1, 2018
    Copy the full SHA
    ec0ca48 View commit details
  9. Copy the full SHA
    d69a078 View commit details

Commits on Jun 7, 2018

  1. Revert "chore: release version v0.15.2"

    This reverts commit d69a078.
    ya7ya authored and Jacob Heun committed Jun 7, 2018
    Copy the full SHA
    e6094a7 View commit details
  2. Revert "chore: update contributors"

    This reverts commit ec0ca48.
    ya7ya authored and Jacob Heun committed Jun 7, 2018
    Copy the full SHA
    57103ca View commit details
  3. Revert "chore: update README.md"

    This reverts commit c7521e6.
    ya7ya authored and Jacob Heun committed Jun 7, 2018
    Copy the full SHA
    54cf9d2 View commit details
  4. Revert "chore: clean up, adding blockStreamSize option"

    This reverts commit a20c944.
    ya7ya authored and Jacob Heun committed Jun 7, 2018
    Copy the full SHA
    f9293d3 View commit details
  5. Revert "fix: race condition using pump"

    This reverts commit 2e430c1.
    ya7ya authored and Jacob Heun committed Jun 7, 2018
    Copy the full SHA
    eb41dbf View commit details
  6. Revert "feat: using block-stream to control webRTC transport"

    This reverts commit 8d76dd0.
    ya7ya authored and Jacob Heun committed Jun 7, 2018
    3
    Copy the full SHA
    6db6f36 View commit details

Commits on Jun 19, 2018

  1. chore: upgrade deps

    mkg20001 authored and daviddias committed Jun 19, 2018
    Copy the full SHA
    6c85130 View commit details
  2. feat: add tag

    mkg20001 authored and daviddias committed Jun 19, 2018
    Copy the full SHA
    03983f2 View commit details
  3. chore: update contributors

    daviddias committed Jun 19, 2018
    Copy the full SHA
    362c4e5 View commit details
  4. Copy the full SHA
    93488fc View commit details
  5. chore: update contributors

    daviddias committed Jun 19, 2018
    Copy the full SHA
    15c39d3 View commit details
  6. Copy the full SHA
    8d5d8d2 View commit details

Commits on Jun 26, 2018

  1. Copy the full SHA
    400b38b View commit details

Commits on Jul 4, 2018

  1. docs: fix wrong module name in usage

    0xall authored and vasco-santos committed Jul 4, 2018
    Copy the full SHA
    8fa68ef View commit details

Commits on Aug 27, 2018

  1. chore: update wrtc

    jacobheun committed Aug 27, 2018
    Copy the full SHA
    7e3ddf1 View commit details
  2. chore: update contributors

    jacobheun committed Aug 27, 2018
    Copy the full SHA
    f4165c4 View commit details
  3. Copy the full SHA
    85943d3 View commit details

Commits on Sep 17, 2018

  1. Copy the full SHA
    b65d509 View commit details
  2. chore: update contributors

    jacobheun committed Sep 17, 2018
    Copy the full SHA
    b3da591 View commit details
  3. Copy the full SHA
    85784db View commit details

Commits on Nov 25, 2018

  1. Copy the full SHA
    5746089 View commit details

Commits on Nov 26, 2018

  1. Copy the full SHA
    87eb120 View commit details
  2. Copy the full SHA
    b848620 View commit details

Commits on Dec 14, 2018

  1. Copy the full SHA
    e12089b View commit details

Commits on Jan 3, 2019

  1. Revert "feat: only send new peers, not the whole peer list" (#164)

    This reverts commit e12089b.
    dryajov authored and vasco-santos committed Jan 3, 2019
    Copy the full SHA
    b3f644e View commit details

Commits on Jan 4, 2019

  1. chore: update dependencies (#166)

    * chore: update dependencies
    
    * test: skip electon-webrtc as its currently unreliable
    vasco-santos authored Jan 4, 2019
    Copy the full SHA
    87bb612 View commit details
  2. Copy the full SHA
    0383758 View commit details
  3. Copy the full SHA
    cbcab9b View commit details

Commits on Jan 10, 2019

  1. fix: reduce bundle size (#165)

    hugomrdias authored and vasco-santos committed Jan 10, 2019
    Copy the full SHA
    cb96de8 View commit details
  2. Copy the full SHA
    a76f7bc View commit details
  3. Copy the full SHA
    2d0847c View commit details
40 changes: 26 additions & 14 deletions .aegir.js
Original file line number Diff line number Diff line change
@@ -2,33 +2,45 @@

const sigServer = require('./src/sig-server')
let firstRun = true
let sigS
let sigServers = []

function boot (done) {
const options = {
async function boot () {
const options1 = {
port: 15555,
host: '127.0.0.1',
metrics: firstRun
}

const options2 = {
port: 15556,
host: '127.0.0.1',
metrics: false
}

const options3 = {
port: 15557,
host: '127.0.0.1',
metrics: false
}

if (firstRun) { firstRun = false }

sigServer.start(options, (err, server) => {
if (err) { throw err }
sigServers.push(await sigServer.start(options1))
sigServers.push(await sigServer.start(options2))
sigServers.push(await sigServer.start(options3))

sigS = server
console.log('signalling on:', server.info.uri)
done()
})
console.log('signalling on:')
sigServers.forEach((sig) => console.log(sig.info.uri))
}

function stop (done) {
sigS.stop(done)
async function stop () {
await Promise.all(sigServers.map(s => s.stop()))
}

/** @type {import('aegir').PartialOptions} */
module.exports = {
hooks: {
pre: boot,
post: stop
test: {
before: boot,
after: stop
}
}
49 changes: 49 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npx aegir lint
- run: npx aegir dep-check -- -i wrtc -i electron-webrtc
- run: npx aegir build --no-types
test-node:
needs: check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [14, 16]
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install @mapbox/node-pre-gyp -g
- run: npm install
- run: npm run test:node -- --cov --bail
- uses: codecov/codecov-action@v1
test-chrome:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm run test:browser -- --bail
test-firefox:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm run test:browser -- --browser firefox --bail
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -41,3 +41,4 @@ test/test-data/go-ipfs-repo/LOG.old

# while testing npm5
package-lock.json
yarn.lock
28 changes: 0 additions & 28 deletions .npmignore

This file was deleted.

32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

Loading