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

@lifeomic/bitrise

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lifeomic/bitrise - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

44

index.d.ts
import { AxiosInstance } from 'axios';
export interface Client {
declare interface AppOptions {
readonly slug: string;
}
declare interface Client {
app(options: AppOptions): App;
}
declare interface App {
readonly app: { slug: string };

@@ -15,3 +23,3 @@

export interface AbortOptions {
declare interface AbortOptions {
readonly reason?: string;

@@ -22,3 +30,3 @@ readonly withSuccess?: boolean;

export interface FollowOptions {
declare interface FollowOptions {
readonly heartbeat?: number;

@@ -28,3 +36,3 @@ readonly interval?: number;

export interface AbortResponse {
declare interface AbortResponse {
readonly status?: string;

@@ -34,6 +42,6 @@ readonly message?: string;

export interface BuildDescription {
declare interface BuildDescription {
readonly abort_reason: string;
readonly branch: string;
readonly build_number: integer;
readonly build_number: number;
readonly commit_hash: string;

@@ -46,3 +54,3 @@ readonly commit_message: string;

readonly original_build_params: string;
readonly pull_request_id: integer;
readonly pull_request_id: number;
readonly pull_request_target_branch: string;

@@ -54,3 +62,3 @@ readonly pull_request_view_url: string;

readonly started_on_worker_at: string;
readonly status: integer;
readonly status: number;
readonly status_text: string;

@@ -63,6 +71,4 @@ readonly tag: string;

export interface Build {
abort(
options?: Pick<AbortOptions, Exclude<AbortOptions, 'reason'>>
): Promise<void>;
declare interface Build {
abort(options?: Omit<AbortOptions, 'reason'>): Promise<void>;
abort(options?: AbortOptions): Promise<AbortResponse>;

@@ -77,3 +83,3 @@

export interface CommitPathsFilter {
declare interface CommitPathsFilter {
readonly added?: string[];

@@ -84,3 +90,3 @@ readonly modified?: string[];

export type BuildTargetStrategy =
declare type BuildTargetStrategy =
| { branch: string }

@@ -91,3 +97,3 @@ | { commitHash: string }

export interface BaseBuildOptions {
declare interface BaseBuildOptions {
readonly branch?: string;

@@ -111,8 +117,10 @@ readonly commitHash?: string;

export type BuildOptions = BaseBuildOptions & BuildTargetStrategy;
declare type BuildOptions = BaseBuildOptions & BuildTargetStrategy;
export interface ClientConfiguration {
declare interface ClientConfiguration {
readonly token: string;
}
export default function createClient(config: ClientConfiguration): Client;
declare function createClient(config: ClientConfiguration): Client;
export = createClient;
{
"name": "@lifeomic/bitrise",
"version": "0.5.0",
"version": "0.5.1",
"description": "Bitrise API client",

@@ -5,0 +5,0 @@ "main": "src/client.js",

@@ -6,3 +6,3 @@ const app = require('./app');

module.exports = ({ token }) => {
const createClient = ({ token }) => {
assert(token, 'An access token is required');

@@ -21,1 +21,3 @@

};
module.exports = createClient;
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