New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@badrap/libapp

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@badrap/libapp - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

dist/api/index.d.ts

@@ -9,4 +9,12 @@ import * as v from "@badrap/valita";

export type Installation<State extends Record<string, unknown>> = {
id: string;
removed: boolean;
state: State;
owner?: {
type: "team";
name: string;
} | {
type: "user";
email: string;
};
};

@@ -13,0 +21,0 @@ export type Asset = Readonly<{

@@ -111,4 +111,8 @@ "use strict";

responseType: v.object({
id: v.string(),
removed: v.boolean(),
state: this.stateType,
owner: v
.union(v.object({ type: v.literal("team"), name: v.string() }), v.object({ type: v.literal("user"), email: v.string() }))
.optional(),
}),

@@ -124,4 +128,8 @@ });

responseType: v.object({
id: v.string(),
removed: v.boolean(),
state: this.stateType,
owner: v
.union(v.object({ type: v.literal("team"), name: v.string() }), v.object({ type: v.literal("user"), email: v.string() }))
.optional(),
}),

@@ -128,0 +136,0 @@ });

2

package.json
{
"name": "@badrap/libapp",
"version": "0.3.0",
"version": "0.3.1",
"description": "TypeScript helpers for creating Badrap apps",

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

@@ -15,4 +15,6 @@ import * as v from "@badrap/valita";

export type Installation<State extends Record<string, unknown>> = {
id: string;
removed: boolean;
state: State;
owner?: { type: "team"; name: string } | { type: "user"; email: string };
};

@@ -148,4 +150,11 @@

responseType: v.object({
id: v.string(),
removed: v.boolean(),
state: this.stateType,
owner: v
.union(
v.object({ type: v.literal("team"), name: v.string() }),
v.object({ type: v.literal("user"), email: v.string() }),
)
.optional(),
}),

@@ -172,4 +181,11 @@ });

responseType: v.object({
id: v.string(),
removed: v.boolean(),
state: this.stateType,
owner: v
.union(
v.object({ type: v.literal("team"), name: v.string() }),
v.object({ type: v.literal("user"), email: v.string() }),
)
.optional(),
}),

@@ -176,0 +192,0 @@ });

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