0.0.6 • Published 2 years ago

@exbyte.io/exbyte-publisher v0.0.6

Weekly downloads
57
License
ISC
Repository
-
Last release
2 years ago

Please note: key/secret for publishing is found on the UpstreamApi object, not on the Property. Properties can have many UpstreamApis.

const baseHttp = "https://localhost:5000";
const publisher = new ExbytePublisher({
  property_id: property.id,
  public_key: upstream_api_public_key,
  secret_key: upstream_api_secret_key,
  base_url: baseHttp,
});

publisher.publish(
  "topic",
  {
    event: "event_name",
    payload: "payload",
  },
  {},
  []
);
0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago