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

@master-chief/alpaca

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@master-chief/alpaca - npm Package Compare versions

Comparing version 6.3.5 to 6.3.6

2

@types/client.d.ts

@@ -1,2 +0,2 @@

import { Account, Order, Position, Asset, Watchlist, Calendar, Clock, AccountConfigurations, PortfolioHistory, Activity, DefaultCredentials, OAuthCredentials, OrderCancelation, PageOfTrades, PageOfQuotes, PageOfBars, Bar_v1, LastQuote_v1, LastTrade_v1, Snapshot } from './entities';
import { Account, Order, Position, Asset, Watchlist, Calendar, Clock, AccountConfigurations, PortfolioHistory, Activity, DefaultCredentials, OAuthCredentials, OrderCancelation, PageOfTrades, PageOfQuotes, PageOfBars, Bar_v1, LastQuote_v1, LastTrade_v1, Snapshot } from './entities.js';
import { GetOrder, GetOrders, PlaceOrder, ReplaceOrder, CancelOrder, GetPosition, ClosePosition, GetAsset, GetAssets, GetWatchList, CreateWatchList, UpdateWatchList, AddToWatchList, RemoveFromWatchList, DeleteWatchList, GetCalendar, UpdateAccountConfigurations, GetAccountActivities, GetPortfolioHistory, GetBars, GetBars_v1, GetTrades, GetQuotes, GetLastTrade_v1, GetLastQuote_v1, GetSnapshot, GetSnapshots } from './params.js';

@@ -3,0 +3,0 @@ export declare class AlpacaClient {

@@ -1,5 +0,5 @@

export { AlpacaClient } from './client';
export { AlpacaStream } from './stream';
import { AlpacaClient } from './client';
import { AlpacaStream } from './stream';
export { AlpacaClient } from './client.js';
export { AlpacaStream } from './stream.js';
import { AlpacaClient } from './client.js';
import { AlpacaStream } from './stream.js';
declare const _default: {

@@ -6,0 +6,0 @@ AlpacaClient: typeof AlpacaClient;

@@ -1,2 +0,2 @@

import { OrderSide, OrderType, OrderTimeInForce } from './entities';
import { OrderSide, OrderType, OrderTimeInForce } from './entities.js';
export interface AddToWatchList {

@@ -3,0 +3,0 @@ uuid: string;

@@ -1,2 +0,2 @@

import { Account, RawAccount, RawOrder, Order, RawPosition, Position, RawTradeActivity, TradeActivity, RawNonTradeActivity, NonTradeActivity, RawActivity, Activity, RawClock, Clock, RawOrderCancelation, OrderCancelation, PageOfTrades, RawPageOfTrades, PageOfQuotes, RawPageOfQuotes, RawPageOfBars, PageOfBars, Snapshot, RawSnapshot } from './entities';
import { Account, RawAccount, RawOrder, Order, RawPosition, Position, RawTradeActivity, TradeActivity, RawNonTradeActivity, NonTradeActivity, RawActivity, Activity, RawClock, Clock, RawOrderCancelation, OrderCancelation, PageOfTrades, RawPageOfTrades, PageOfQuotes, RawPageOfQuotes, RawPageOfBars, PageOfBars, Snapshot, RawSnapshot } from './entities.js';
declare function account(rawAccount: RawAccount): Account;

@@ -3,0 +3,0 @@ declare function clock(rawClock: RawClock): Clock;

/// <reference types="ws" />
import WebSocket from 'isomorphic-ws';
import EventEmitter from 'eventemitter3';
import { Bar, Channel, DataSource, DefaultCredentials, Quote, Trade, TradeUpdate, Message } from './entities';
import { Bar, Channel, DataSource, DefaultCredentials, Quote, Trade, TradeUpdate, Message } from './entities.js';
export declare interface Events {

@@ -6,0 +6,0 @@ open: (stream: AlpacaStream) => void;

/*!
* alpaca@6.3.4
* alpaca@6.3.6
* released under the permissive ISC license

@@ -4,0 +4,0 @@ */

import Bottleneck from 'bottleneck';
import qs from 'qs';
import isofetch from 'isomorphic-unfetch';
import urls from './urls';
import parse from './parse';
import urls from './urls.js';
import parse from './parse.js';
const unifetch = typeof fetch !== 'undefined' ? fetch : isofetch;

@@ -7,0 +7,0 @@ export class AlpacaClient {

@@ -1,5 +0,5 @@

export { AlpacaClient } from './client';
export { AlpacaStream } from './stream';
import { AlpacaClient } from './client';
import { AlpacaStream } from './stream';
export { AlpacaClient } from './client.js';
export { AlpacaStream } from './stream.js';
import { AlpacaClient } from './client.js';
import { AlpacaStream } from './stream.js';
export default {

@@ -6,0 +6,0 @@ AlpacaClient: AlpacaClient,

import WebSocket from 'isomorphic-ws';
import EventEmitter from 'eventemitter3';
import isBlob from 'is-blob';
import urls from './urls';
import urls from './urls.js';
export class AlpacaStream extends EventEmitter {

@@ -6,0 +6,0 @@ params;

{
"name": "@master-chief/alpaca",
"version": "6.3.5",
"version": "6.3.6",
"description": "A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.",

@@ -13,4 +13,3 @@ "author": "117",

"samwilkins333",
"anback",
"jdgriffith"
"anback"
],

@@ -17,0 +16,0 @@ "license": "ISC",

@@ -6,4 +6,4 @@ import Bottleneck from 'bottleneck'

import urls from './urls'
import parse from './parse'
import urls from './urls.js'
import parse from './parse.js'

@@ -36,3 +36,3 @@ import {

Snapshot,
} from './entities'
} from './entities.js'

@@ -39,0 +39,0 @@ import {

@@ -1,6 +0,6 @@

export { AlpacaClient } from './client'
export { AlpacaStream } from './stream'
export { AlpacaClient } from './client.js'
export { AlpacaStream } from './stream.js'
import { AlpacaClient } from './client'
import { AlpacaStream } from './stream'
import { AlpacaClient } from './client.js'
import { AlpacaStream } from './stream.js'

@@ -7,0 +7,0 @@ export default {

@@ -1,2 +0,2 @@

import { OrderSide, OrderType, OrderTimeInForce } from './entities'
import { OrderSide, OrderType, OrderTimeInForce } from './entities.js'

@@ -3,0 +3,0 @@ export interface AddToWatchList {

@@ -34,3 +34,3 @@ import {

RawSnapshot,
} from './entities'
} from './entities.js'

@@ -37,0 +37,0 @@ function account(rawAccount: RawAccount): Account {

import WebSocket from 'isomorphic-ws'
import EventEmitter from 'eventemitter3'
import isBlob from 'is-blob'
import urls from './urls'
import urls from './urls.js'

@@ -15,3 +15,3 @@ import {

Message,
} from './entities'
} from './entities.js'

@@ -18,0 +18,0 @@ export declare interface Events {

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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