0.5.10 • Published 7 months ago
@actyx/sdk v0.5.10
A open-source Typescript/Javascript SDK for interacting the Actyx APIs:
- Emit, query, and subscribe to events that get distributed via Actyx
 - Get Actyx diagnostics
 - Scoped to your custom app id
 
This SDK is the basis for the more frequently used Actyx Pond framework.
Example usage
import { Actyx, Tags } from '@actyx/sdk'
(async () => {
    // Connect to the local Actyx process
    const actyx = await Actyx.of({
        appId: 'com.example.app',
        displayName: 'Example App',
        version: '1.0.0'
    })
    // Get latest event stream offsets
    const offsets = await actyx.offsets()
    console.log(offsets)
    // Emit events
    await actyx.emit([
        {
            tags: ['tag-1', 'tag-2'],
            event: {
                foo: 'bar'
            }
        }
    ])
    // Subscribe to events
    await actyx.subscribe({
        query: Tags('tag-1').and('tag-2')
    }, event => {
        console.log(event)
    })
})()0.5.10
7 months ago
0.5.8
2 years ago
0.5.9
2 years ago
0.5.7
3 years ago
0.5.6
3 years ago
0.5.5
3 years ago
0.5.4
3 years ago
0.5.3
3 years ago
0.5.2
4 years ago
0.5.0
4 years ago
0.5.1
4 years ago
0.4.0-rc8
4 years ago
0.4.0-rc7
4 years ago
0.4.0-rc6
4 years ago
0.4.0-rc5
4 years ago
0.4.0-rc4
4 years ago
0.4.0-rc3
4 years ago
0.4.0-rc2
4 years ago
0.4.1
4 years ago
0.4.0-rc1
4 years ago
0.4.0
4 years ago
0.4.2
4 years ago
0.3.3
4 years ago
0.3.3-rc1
4 years ago
0.3.2
4 years ago
0.3.0
4 years ago
0.3.1
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago