Skip to content

Commit

Permalink
feat: adds Netherlands marketplace
Browse files Browse the repository at this point in the history
Closes #88
  • Loading branch information
moltar committed Jan 30, 2020
1 parent 0a18ea6 commit cd73d40
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/marketplaces/NL.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { AmazonMarketplace } from '../amazon-marketplace'
import { DE } from './DE'

export const NL = new AmazonMarketplace({
countryCode: 'NL',
currency: 'EUR',
id: 'A1805IZSGTT6HS',
name: 'Netherlands',
uri: 'https://www.amazon.nl',
webServiceUri: DE.webServiceUri,
})
6 changes: 6 additions & 0 deletions src/marketplaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { IN } from './IN'
import { IT } from './IT'
import { JP } from './JP'
import { MX } from './MX'
import { NL } from './NL'
import { SG } from './SG'
import { TR } from './TR'
import { US } from './US'
Expand Down Expand Up @@ -81,6 +82,11 @@ export const amazonMarketplaces = {
*/
MX,

/**
* Netherlands
*/
NL,

/**
* Singapore
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ describe('index', () => {

it('should also provide a list of marketplaces', () => {
expect(Array.isArray(amazonMarketplacesList)).toBeTruthy()
expect(amazonMarketplacesList.length).toBe(16)
expect(amazonMarketplacesList.length).toBe(17)
})
})

0 comments on commit cd73d40

Please sign in to comment.