Skip to content

Commit

Permalink
Merge pull request #1 from runk/sync-types
Browse files Browse the repository at this point in the history
feat: Add connection_type & is_residential_proxy
  • Loading branch information
Dmitry Shirokov authored Oct 5, 2020
2 parents 6941349 + e199b40 commit 643b6ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/reader/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ interface SubdivisionsRecord {
interface TraitsRecord {
readonly autonomous_system_number?: number;
readonly autonomous_system_organization?: string;
readonly connection_type?: string;
readonly domain?: string;
ip_address?: string;
readonly is_anonymous?: boolean;
Expand Down Expand Up @@ -113,6 +114,7 @@ export interface AnonymousIPResponse {
readonly is_anonymous_vpn?: boolean;
readonly is_hosting_provider?: boolean;
readonly is_public_proxy?: boolean;
readonly is_residential_proxy?: boolean;
readonly is_tor_exit_node?: boolean;
}

Expand Down
11 changes: 9 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
"removeComments": true,
"sourceMap": true,
"strict": true,
"target": "esnext"
"lib": ["ES2019"],
"target": "ES2019"
},
"exclude": ["node_modules", "**/*.spec.ts", "**/*.test.ts", "__mocks__"]
"exclude": [
"node_modules",
"**/*.spec.ts",
"**/*.test.ts",
"__mocks__",
"lib"
]
}

0 comments on commit 643b6ee

Please sign in to comment.