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

@interval/sdk

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interval/sdk - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

1

dist/classes/IntervalClient.d.ts

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

declareHost(httpHostId: string): Promise<void>;
ping(): Promise<boolean>;
/**

@@ -30,0 +31,0 @@ * This is used for testing and intentionally non-private.

4

dist/index.d.ts

@@ -7,2 +7,3 @@ import Routes from './classes/Routes';

import { DuplexRPCHandlers } from './classes/DuplexRPCClient';
import { NotConnectedError, TimeoutError } from './classes/ISocket';
import { SerializableRecord } from './ioSchema';

@@ -61,2 +62,3 @@ import type { ActionCtx, ActionLogFn, IO, IntervalActionHandler, IntervalActionStore, NotifyConfig, IntervalRouteDefinitions, IntervalPageStore, PageCtx, IntervalActionDefinition, IntervalErrorHandler } from './types';

listen(): Promise<void>;
ping(): Promise<boolean>;
/**

@@ -103,2 +105,2 @@ * Immediately terminate the connection to interval, terminating any actions currently in progress.

}
export { Interval, IOError, IntervalError, Action, Page, BasicLayout as Layout };
export { Interval, IOError, IntervalError, NotConnectedError, TimeoutError, Action, Page, BasicLayout as Layout, };

@@ -41,3 +41,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Layout = exports.Page = exports.Action = exports.IntervalError = exports.IOError = exports.Interval = exports.ctx = exports.io = exports.getSomeStore = exports.getPageStore = exports.getActionStore = void 0;
exports.Layout = exports.Page = exports.Action = exports.TimeoutError = exports.NotConnectedError = exports.IntervalError = exports.IOError = exports.Interval = exports.ctx = exports.io = exports.getSomeStore = exports.getPageStore = exports.getActionStore = void 0;
const cross_fetch_1 = __importDefault(require("cross-fetch"));

@@ -51,2 +51,5 @@ const Routes_1 = __importDefault(require("./classes/Routes"));

const internalRpcSchema_1 = require("./internalRpcSchema");
const ISocket_1 = require("./classes/ISocket");
Object.defineProperty(exports, "NotConnectedError", { enumerable: true, get: function () { return ISocket_1.NotConnectedError; } });
Object.defineProperty(exports, "TimeoutError", { enumerable: true, get: function () { return ISocket_1.TimeoutError; } });
const IntervalError_1 = __importDefault(require("./classes/IntervalError"));

@@ -179,2 +182,7 @@ exports.IntervalError = IntervalError_1.default;

}
async ping() {
if (!__classPrivateFieldGet(this, _Interval_client, "f"))
throw new ISocket_1.NotConnectedError();
return __classPrivateFieldGet(this, _Interval_client, "f").ping();
}
/**

@@ -181,0 +189,0 @@ * Immediately terminate the connection to interval, terminating any actions currently in progress.

{
"name": "@interval/sdk",
"version": "1.2.0",
"version": "1.3.0",
"description": "The frontendless framework for high growth companies. Interval automatically generates apps by inlining the UI in your backend code. It's a faster and more maintainable way to build internal tools, rapid prototypes, and more.",

@@ -5,0 +5,0 @@ "homepage": "https://interval.com",

Sorry, the diff of this file is too big to display

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