rocket-launch-live-client 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ This package is a fully-typed, promise-based, zero-dependency Node.JS JavaScript
|
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
24
|
// Import package
|
|
25
|
-
import rllc from "rocket-launch-live-client";
|
|
25
|
+
import { rllc } from "rocket-launch-live-client";
|
|
26
26
|
|
|
27
27
|
// Get API Key
|
|
28
28
|
const RLL_API_KEY = process.env.RLL_API_KEY;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,4 +18,5 @@ import { RLLClientOptions } from "./types/application";
|
|
|
18
18
|
*
|
|
19
19
|
* const client = clientGenerator(MY_KEY, { keyInQueryParams: true })
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
declare const rllc: (apiKey: string, options?: RLLClientOptions) => RLLClient;
|
|
22
|
+
export { rllc };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rllc = void 0;
|
|
3
4
|
var Client_1 = require("./Client");
|
|
4
5
|
/**
|
|
5
6
|
* Generate a RocketLaunch.Live client
|
|
@@ -19,8 +20,8 @@ var Client_1 = require("./Client");
|
|
|
19
20
|
*
|
|
20
21
|
* const client = clientGenerator(MY_KEY, { keyInQueryParams: true })
|
|
21
22
|
*/
|
|
22
|
-
function
|
|
23
|
+
var rllc = function (apiKey, options) {
|
|
23
24
|
return new Client_1.default(apiKey, options);
|
|
24
|
-
}
|
|
25
|
-
exports.
|
|
25
|
+
};
|
|
26
|
+
exports.rllc = rllc;
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAGjC;;;;;;;;;;;;;;;;;GAiBG;AACH,IAAM,IAAI,GAAG,UAAC,MAAc,EAAE,OAA0B;IACtD,OAAA,IAAI,gBAAS,CAAC,MAAM,EAAE,OAAO,CAAC;AAA9B,CAA8B,CAAC;AAExB,oBAAI"}
|