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

rpcapi

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpcapi - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

index.d.ts

3

package.json
{
"name": "rpcapi",
"version": "1.0.2",
"version": "1.0.3",
"description": "Provides a struture for hosting RPC style APIs, supports both http and websocket access out of the box",

@@ -11,2 +11,3 @@ "repository": {

"scripts": {
"prepublishOnly": "tsc -d",
"pretest": "tsc",

@@ -13,0 +14,0 @@ "test": "ava **/src/**/*.test.js **/src/**/*.itest.js",

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

return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return __generator(this, function (_b) {
t.is(a, 123);

@@ -142,0 +142,0 @@ return [2 /*return*/, new Promise(function (resolve) {

@@ -102,7 +102,7 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4 /*yield*/, delay(1000)];
case 1:
_a.sent();
_b.sent();
return [2 /*return*/, {

@@ -109,0 +109,0 @@ value: a + b

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