Skip to content

Commit

Permalink
📤 Add new exports to index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsoha committed Sep 12, 2024
1 parent 09809d9 commit a7f138b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitrea-client",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"description": "Vitrea Smart Home API Client",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import * as Exports from './index'


describe('imports', () => {
it('exports 3 modules', () => {
expect(Object.keys(Exports)).toHaveLength(3)
it('exports 6 modules', () => {
expect(Object.keys(Exports)).toHaveLength(6)
})

it('contains the requests module', () => {
expect(Object.keys(Exports.Requests)).toHaveLength(12)
})
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
export { VitreaClient } from './VitreaClient'
export { ProtocolVersion } from './utilities/ProtocolVersion'
export * as Enums from './utilities/Enums'
export * as Exceptions from './exceptions'
export * as Requests from './requests'
export * as Responses from './responses'

0 comments on commit a7f138b

Please sign in to comment.