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

@api-ts/response

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-ts/response - npm Package Compare versions

Comparing version 0.1.2-beta.2 to 0.1.2

11

dist/src/index.js
"use strict";
// HTTP | GRPC | Response
// ----------------------------|--------------------|---------------------------
// 400 (bad request) | INVALID_ARGUMENT | Response.invalidRequest
// 401 (unauthorized) | UNAUTHENTICATED | Response.unauthenticated
// 403 (forbidden) | PERMISSION_DENIED | Response.permissionDenied
// 404 (not found) | NOT_FOUND | Response.notFound
// 405 (method not allowed) | NOT_FOUND | Response.notFound
// 429 (rate-limit) | RESOURCE_EXHAUSTED | Response.rateLimitExceeded
// 500 (internal server error) | INTERNAL | Response.internalError
// 503 (service unavailable) | UNAVAILABLE | Response.serviceUnavailable
Object.defineProperty(exports, "__esModule", { value: true });

@@ -25,3 +15,2 @@ exports.Response = void 0;

};
// release the package
//# sourceMappingURL=index.js.map

6

package.json
{
"name": "@api-ts/response",
"version": "0.1.2-beta.2",
"version": "0.1.2",
"description": "Types for representing responses",

@@ -16,6 +16,8 @@ "author": "Patrick McLaughlin <patrickmclaughlin@bitgo.com>",

"build": "tsc --build --incremental --verbose .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"clean": "rm -rf -- dist"
},
"devDependencies": {
"typescript": "4.5.5"
"typescript": "4.7.4"
},

@@ -22,0 +24,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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