diff --git a/.travis.yml b/.travis.yml index c4a3864..405a494 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: node_js node_js: - - "node" +# Removed until v11 bug is resolve see #43 +# - "node" - "10" - "8" - "6" diff --git a/src/constants.ts b/src/constants.ts new file mode 100644 index 0000000..8f6a034 --- /dev/null +++ b/src/constants.ts @@ -0,0 +1,2 @@ +export const PAGE_KEY = 'page'; +export const CONTINUATION_KEY = 'continuation'; diff --git a/src/index.ts b/src/index.ts index 678b796..0a5a4f4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,8 @@ import {Sdk, SdkConfig} from './types'; import request from './request'; +export * from './constants'; + const DEFAULT_API_URL = 'https://www.eventbriteapi.com/v3'; const eventbrite = ({