This repository has been archived by the owner on Oct 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46f59af
commit d28145e
Showing
13 changed files
with
62 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"name": "u-wave-api-v1", | ||
"name": "u-wave-http-api", | ||
"version": "0.3.0", | ||
"description": "HTTP API interface for üWave.", | ||
"license": "MIT", | ||
"repository": "u-wave/api-v1", | ||
"repository": "u-wave/http-api", | ||
"author": "Sooyou <[email protected]>", | ||
"contributors": [ | ||
"Felix Wong <[email protected]>", | ||
"Goz3rr <[email protected]>", | ||
"Renée Kooi <[email protected]>", | ||
"xBytez <[email protected]>" | ||
], | ||
"main": "dist/u-wave-api-v1.js", | ||
"module": "dist/u-wave-api-v1.es.js", | ||
"main": "dist/u-wave-http-api.js", | ||
"module": "dist/u-wave-http-api.es.js", | ||
"engines": { | ||
"node": ">= 8.9" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import ApiV1 from './ApiV1'; | ||
import UwaveHttpApi from './HttpApi'; | ||
|
||
export default function createApiV1(uw, opts) { | ||
return new ApiV1(uw, opts); | ||
export default function createHttpApi(uw, opts) { | ||
return new UwaveHttpApi(uw, opts); | ||
} | ||
|
||
createApiV1.V1 = ApiV1; | ||
createApiV1.ApiV1 = ApiV1; | ||
createHttpApi.HttpApi = UwaveHttpApi; | ||
|
||
// Backwards compat? | ||
createHttpApi.V1 = UwaveHttpApi; | ||
createHttpApi.ApiV1 = UwaveHttpApi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d28145e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woot! we wanted this for so long.