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"
|
"changelogFile": "docs/CHANGELOG.md"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@semantic-release/npm",
|
||||||
"@semantic-release/git",
|
"@semantic-release/git",
|
||||||
{
|
{
|
||||||
"assets": [
|
"assets": [
|
||||||
|
@ -15,8 +16,7 @@
|
||||||
"docs/CHANGELOG.md",
|
"docs/CHANGELOG.md",
|
||||||
"npm-shrinkwrap.json"
|
"npm-shrinkwrap.json"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"@semantic-release/npm"
|
|
||||||
],
|
],
|
||||||
"branches": [
|
"branches": [
|
||||||
"master",
|
"master",
|
||||||
|
|
|
@ -39,6 +39,7 @@ export interface ClientOptions {
|
||||||
email?: string;
|
email?: string;
|
||||||
password?: string;
|
password?: string;
|
||||||
privateKey?: Uint8Array;
|
privateKey?: Uint8Array;
|
||||||
|
jwt?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FetchOptions {
|
interface FetchOptions {
|
||||||
|
@ -62,6 +63,10 @@ export class Client {
|
||||||
throw new Error("Portal url is required");
|
throw new Error("Portal url is required");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (options.jwt) {
|
||||||
|
this.jwtSessionKey = options.jwt;
|
||||||
|
}
|
||||||
|
|
||||||
this._options = options;
|
this._options = options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue