Compare commits
3 Commits
v0.1.2
...
v0.2.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | e84915ec08 | |
Derrick Hammer | 7f305a33a1 | |
Derrick Hammer | 3784858600 |
|
@ -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",
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libportal",
|
||||
"version": "0.0.0-development",
|
||||
"version": "0.2.0-develop.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libportal",
|
||||
"version": "0.0.0-development",
|
||||
"version": "0.2.0-develop.1",
|
||||
"dependencies": {
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libportal",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0-develop.1",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.mjs",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -27,7 +27,6 @@
|
|||
"semantic-release": "^21.0.5"
|
||||
},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"_id": "@lumeweb/libportal@0.1.0",
|
||||
"scripts": {
|
||||
"prepare": "presetter bootstrap",
|
||||
"build": "presetter run build",
|
||||
|
|
|
@ -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