getting rxjs errors when referencing latest rxjs
<p>I am using this tutorial <a href="https://egghead.io/lessons/rxjs-creating-an-observable" rel="noreferrer">https://egghead.io/lessons/rxjs-creating-an-observable</a> which is referencing 2.5.2 rxjs version. </p>

<p>I am referencing the latest <code>rx.umd.js</code> from <code>rxjs@5.0.0-beta.6"</code> npm package <code>&lt;script src="node_modules/rxjs/bundles/rx.umd.js"&gt;&lt;/script&gt;</code>
And here is the code I am trying to run:</p>

<pre><code>console.clear();

var source = Rx.Observable.create(function(observer){
    setTimeout(function() {
        console.log('timeout hit');
        observer.onNext(42);
        observer.onCompleted();
    }, 1000);

    console.log('started');
});

var sub = source.subscribe(function(x) {
    console.log('next ' + x);
}, function(err) {
    console.error(err);
}, function() {
    console.info('done');
});

setTimeout(function() {
    sub.dispose()
}, 500);
</code></pre>

<p>Here is a console output I am getting.</p>

<pre><code>Console was cleared
script.js:10 started
script.js:22 Uncaught TypeError: sub.dispose is not a function
script.js:5 timeout hit
script.js:6 Uncaught TypeError: observer.onNext is not a function
</code></pre>

<p>plunker: <a href="https://plnkr.co/edit/w1ZJL64b8rnA92PVuEDF?p=catalogue" rel="noreferrer">https://plnkr.co/edit/w1ZJL64b8rnA92PVuEDF?p=catalogue</a></p>

<p>Is rxjs 5 api is much different from rxjs 2.5 and <code>observer.onNext(42);</code> and <code>sub.dispose()</code> is not longer supported?</p>