Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Releases: fusionjs/fusion-rpc-redux

v0.3.2

28 Nov 22:54
Compare
Choose a tag to compare

Changelog

  • Don't throw when result has an error key (#13)

v0.3.1

10 Nov 19:30
Compare
Choose a tag to compare

Changelog

No pull requests in this release

v0.3.0

10 Nov 01:27
Compare
Choose a tag to compare

Changelog

Highlighted Changes

  • Update API to be consistent with new version of fusion-plugin-rpc (#9)

Other Changes

  • Use Buildkite and Docker for CI (#7)

Migration Guide

Pass in rpc with request key

const handler = createRPCHandler({
  store, // required
- rpc: {someMethod() {}, otherMethod() {}},
+ rpc: {request(method, args) => {}},
  rpcId, // required
  actions: { // optional
    start: () => ({type: '', payload: ''})
    success: () => ({type: '', payload: ''})
    failure: () => ({type: '', payload: ''})
  },
  mapStateToParams: (state) => {}, // optional
  transformParams: (params) => {} // optional
});

v0.2.0

07 Nov 21:55
d76bba7
Compare
Choose a tag to compare

Changelog

Highlighted Changes

  • Update reactors interface (#4)

Other Changes

  • Add initial implementation files (#2)

Migration Guide

Import renamed from createRPCReactor to createRPCReactors

-import {createRPCReactor} from 'fusion-rpc-redux'
+import {createRPCReactors} from 'fusion-rpc-redux'

Return reactors directly from createRPCReactors

-const {reactors, rpcId} = createRPCReactor('foo', {...})
+const reactors = createRPCReactors('foo', {...);