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

degiro-api

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

degiro-api - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

4

dist/types/AccountConfigType.d.ts
export declare type AccountConfigType = {
data: {
betaLandingPath: string;
cashSolutionsUrl: string;
cashSolutionsUrl?: string;
clientId: number;
companiesServiceUrl: string;
dictionaryUrl: string;
firstLoginWizardUrl: string;
firstLoginWizardUrl?: string;
i18nUrl: string;

@@ -10,0 +10,0 @@ landingPath: string;

{
"name": "degiro-api",
"version": "0.6.3",
"version": "0.6.4",
"public": true,

@@ -5,0 +5,0 @@ "description": "Unofficial DeGiro API for Javascript. Buy and sell in the stock market. See your portfolio and much more",

@@ -19,3 +19,3 @@ # DeGiro Trading Broker API

Don't use in production build, this project is under development. In the next few weeks we're going to have the first stable release version.
Be careful, DeGiro could block your account if they catch you using automation scripts

@@ -128,3 +128,3 @@ ## Table of content

or
$ npm run test
$ npm run doc
```

@@ -131,0 +131,0 @@

export type AccountConfigType = {
data: {
betaLandingPath: string,
cashSolutionsUrl: string,
cashSolutionsUrl?: string,
clientId: number,
companiesServiceUrl: string,
dictionaryUrl: string,
firstLoginWizardUrl: string,
firstLoginWizardUrl?: string,
i18nUrl: string,

@@ -10,0 +10,0 @@ landingPath: string,

@@ -35,3 +35,3 @@ // Importamos código ha probar

expect(data).to.have.property('paymentServiceUrl')
// expect(data).to.have.property('cashSolutionsUrl')
// expect(data).to.have.property('cashSolutionsUrl') This property is no longer present
expect(data).to.have.property('productSearchUrl')

@@ -58,3 +58,3 @@ expect(data).to.have.property('dictionaryUrl')

expect(data.paymentServiceUrl).to.be.a('string')
// expect(data.cashSolutionsUrl).to.be.a('string')
// expect(data.cashSolutionsUrl).to.be.a('string') This property is no longer present
expect(data.productSearchUrl).to.be.a('string')

@@ -61,0 +61,0 @@ expect(data.dictionaryUrl).to.be.a('string')

@@ -83,3 +83,3 @@ // Importamos código ha probar

}
})
}).timeout(10000)

@@ -96,3 +96,3 @@ it('should return false after log out', async () =>{

}
})
}).timeout(10000)

@@ -99,0 +99,0 @@ it('should return false when jsessionid is not valid yet and isLogin with secure = false response true yet (secure nice-to-have case)', async () => {

@@ -59,3 +59,3 @@ // Importamos código ha probar

}
})
}).timeout(10000)

@@ -108,5 +108,5 @@ it('should return Apple Inc ($AAPL) stock', async () => {

}
})
}).timeout(10000)
it('should return more than 5 items searching \'ibex\'', async () => {
it('should return more that 5 items when search "a"', async () => {
try {

@@ -116,4 +116,4 @@ const degiro = new DeGiro()

// Search text "ibex"
const products: SearchProductResultType[] = await degiro.searchProduct({ text: 'ibex', limit: 10 })
// Search text "A"
const products: SearchProductResultType[] = await degiro.searchProduct({ text: 'a', limit: 10 })

@@ -120,0 +120,0 @@ // Check if result is an array with one result

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