Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clockworklabs/spacetimedb-typescript-sdk

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clockworklabs/spacetimedb-typescript-sdk - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

dist/spacetimedb.d.ts

@@ -84,2 +84,3 @@ /// <reference types="node" />

off(eventName: string, callback: (...args: any[]) => void): void;
onConnect(callback: (...args: any[]) => void): void;
}

5

dist/spacetimedb.js

@@ -192,3 +192,2 @@ import { EventEmitter } from "events";

this.ws.onmessage = (message) => {
console.log(message);
const data = JSON.parse(message.data);

@@ -256,3 +255,2 @@ if (data) {

if (element.tableName) {
console.log("Subscribe", element.tableName);
this.ws.send(JSON.stringify({ "subscribe": { "query_strings": [element.tableName] } }));

@@ -276,2 +274,5 @@ }

}
onConnect(callback) {
this.on("connected", callback);
}
}

@@ -278,0 +279,0 @@ window.__SPACETIMEDB__ = {

{
"name": "@clockworklabs/spacetimedb-typescript-sdk",
"version": "0.1.0",
"version": "0.1.1",
"description": "A client for use in the EnglishAuction",

@@ -5,0 +5,0 @@ "author": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc