Compare commits
7 Commits
e0834c3ca9
...
7f305a33a1
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 7f305a33a1 | |
Derrick Hammer | 3784858600 | |
Derrick Hammer | e67ca43306 | |
Derrick Hammer | a8b3d70102 | |
Derrick Hammer | abfc64f14a | |
Derrick Hammer | 214013b2f1 | |
Derrick Hammer | 43aec6a253 |
|
@ -8,6 +8,7 @@
|
|||
"changelogFile": "docs/CHANGELOG.md"
|
||||
}
|
||||
],
|
||||
"@semantic-release/npm",
|
||||
"@semantic-release/git",
|
||||
{
|
||||
"assets": [
|
||||
|
@ -15,8 +16,7 @@
|
|||
"docs/CHANGELOG.md",
|
||||
"npm-shrinkwrap.json"
|
||||
]
|
||||
},
|
||||
"@semantic-release/npm"
|
||||
}
|
||||
],
|
||||
"branches": [
|
||||
"master",
|
||||
|
|
|
@ -39,6 +39,7 @@ export interface ClientOptions {
|
|||
email?: string;
|
||||
password?: string;
|
||||
privateKey?: Uint8Array;
|
||||
jwt?: string;
|
||||
}
|
||||
|
||||
interface FetchOptions {
|
||||
|
@ -62,6 +63,10 @@ export class Client {
|
|||
throw new Error("Portal url is required");
|
||||
}
|
||||
|
||||
if (options.jwt) {
|
||||
this.jwtSessionKey = options.jwt;
|
||||
}
|
||||
|
||||
this._options = options;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue