Download Latest Version Subspace 2.0.0.zip (7.6 MB)
Email in envelope

Get an email when there's a new version of Subspace

Home / 1.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2020-01-27 1.4 kB
Subspace 1.2.0.tar.gz 2020-01-27 1.9 MB
Subspace 1.2.0.zip 2020-01-27 2.0 MB
Totals: 3 Items   3.9 MB 0

New Org

Subspace is now under the @embarklabs Org. Versions under @status-im Org have been deprecated.

:::bash
# Using npm
npm install --save @embarklabs/subspace

# Using yarn
yarn add @embarklabs/subspace

HttpProvider support

Previously Subspace only worked with WebSockets for event subscriptions, and polled for changes only if the callInterval option was specified, displaying a warning indicating that the use of providers other than WebSocketProvider was discouraged.

With this release, Subspace will identify if the provider supports subscriptions and use them automatically. If no subscriptions are available, it will assume the provider does not support them and poll the contract for new changes periodically.

Subscriptions can be disabled with the disableSubscriptions option.

:::Javascript
let subspace = new Subspace({disableSubscriptions: true})

GraphQL Example

An example DApp using GraphQL with Subspace can now be found at https://github.com/embark-framework/subspace/tree/master/examples/react-graphql-example1 .

Bug fixes

  • Fixed obtaining the from address when instantiating a Web3 Contract with Subspace tracking functionality
  • .track() is added only to event names as they're specified in the ABI. Tracking events by signature is not allowed
Source: README.md, updated 2020-01-27