1.5.0 • Published 9 months ago

@markwhen/view-client v1.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Markwhen view client

Usage

import { useLpc } from "@markwhen/view-client"

const { postRequest } = useLpc({
  markwhenState(ms) {
    // When there is some state change from the editor
    console.log(ms)
  }
  appState(newState) {
    // When the app state changes (dark mode, hovering event, selected event, etc)
    console.log(newState)
  }
})

Changelog

1.4.4

  • Bump deps

1.4.3

  • Bump parser
  • Add close function to close sockets and/or remove event listeners

1.4.2

  • VS code support

1.4.1

  • Error if nothing to post to

1.4.0

  • Separate state into appState and markwhenState instead of sending both at the same time

1.3.0

  • Bump parser (0.9.1)
  • Support for imports

1.2.1

  • Bump parser (0.8.1)
  • Add colorMap to appState

1.1.1

  • Use initially set state even if we have a socket connection

1.1.0

  • Add websocket support
1.5.0

9 months ago

1.5.0-beta.0

9 months ago

1.5.0-beta.1

9 months ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.1.2

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago