@lifeready/core 1.0.16 → 1.0.17
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/bundles/lifeready-core.umd.js +19 -13
- package/bundles/lifeready-core.umd.js.map +1 -1
- package/bundles/lifeready-core.umd.min.js +1 -1
- package/bundles/lifeready-core.umd.min.js.map +1 -1
- package/esm2015/lib/api/types/lr-graphql.types.js +1 -1
- package/esm2015/lib/items2/item2.service.js +2 -2
- package/esm2015/lib/trusted-parties/tp-password-reset.gql.js +2 -1
- package/esm2015/lib/trusted-parties/trusted-party2.service.js +16 -13
- package/fesm2015/lifeready-core.js +11 -6
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/api/types/lr-graphql.types.d.ts +2 -0
- package/lib/trusted-parties/tp-password-reset.gql.d.ts +1 -0
- package/lib/trusted-parties/tp-password-reset.service.d.ts +1 -0
- package/lib/trusted-parties/trusted-party2.service.d.ts +6 -5
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3582,6 +3582,7 @@ query TpPasswordResetQuery {
|
|
|
3582
3582
|
assembly {
|
|
3583
3583
|
singleReject
|
|
3584
3584
|
quorum
|
|
3585
|
+
canMeetQuorum
|
|
3585
3586
|
subjectCipherData
|
|
3586
3587
|
subjectKey {
|
|
3587
3588
|
id
|
|
@@ -10861,7 +10862,7 @@ let Item2Service = Item2Service_1 = class Item2Service extends LrService {
|
|
|
10861
10862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10862
10863
|
const fileKey = yield this.keyFactory.createKey();
|
|
10863
10864
|
const parentDirectories = yield Promise.all(options.parentDirectories.map((t) => __awaiter(this, void 0, void 0, function* () {
|
|
10864
|
-
const { directoryId, wrappingKeyId, wrappedKey
|
|
10865
|
+
const { directoryId, wrappingKeyId, wrappedKey } = yield this.prepareParentDirectory(t, fileKey);
|
|
10865
10866
|
// remap from ParentDirectoryInput to FileParentDirectoryInput
|
|
10866
10867
|
// TODO the server should really just use wrappedKey instead of wrappedFileKey
|
|
10867
10868
|
return {
|
|
@@ -11011,16 +11012,20 @@ mutation CompleteTpMkReshareMutation($input: CompleteTpMkReshareInput!) {
|
|
|
11011
11012
|
}
|
|
11012
11013
|
}`;
|
|
11013
11014
|
|
|
11014
|
-
let TrustedParty2Service = class TrustedParty2Service {
|
|
11015
|
-
constructor(ngZone,
|
|
11015
|
+
let TrustedParty2Service = class TrustedParty2Service extends LrService {
|
|
11016
|
+
constructor(ngZone, injector, keyGraph, item2Service, keyService, keyFactory, encryptionService) {
|
|
11017
|
+
super(injector);
|
|
11016
11018
|
this.ngZone = ngZone;
|
|
11019
|
+
this.injector = injector;
|
|
11017
11020
|
this.keyGraph = keyGraph;
|
|
11018
|
-
this.lrGraphQL = lrGraphQL;
|
|
11019
11021
|
this.item2Service = item2Service;
|
|
11020
11022
|
this.keyService = keyService;
|
|
11021
11023
|
this.keyFactory = keyFactory;
|
|
11022
11024
|
this.encryptionService = encryptionService;
|
|
11023
11025
|
}
|
|
11026
|
+
deleteTpExec(tpId) {
|
|
11027
|
+
return this.mutate(this.deleteTpMutation(tpId));
|
|
11028
|
+
}
|
|
11024
11029
|
// TODO: deprecate this
|
|
11025
11030
|
deleteTp(tpId) {
|
|
11026
11031
|
return this.deleteTpMutation(tpId);
|
|
@@ -11185,7 +11190,7 @@ let TrustedParty2Service = class TrustedParty2Service {
|
|
|
11185
11190
|
});
|
|
11186
11191
|
}
|
|
11187
11192
|
};
|
|
11188
|
-
TrustedParty2Service.ɵprov = ɵɵdefineInjectable({ factory: function TrustedParty2Service_Factory() { return new TrustedParty2Service(ɵɵinject(NgZone), ɵɵinject(
|
|
11193
|
+
TrustedParty2Service.ɵprov = ɵɵdefineInjectable({ factory: function TrustedParty2Service_Factory() { return new TrustedParty2Service(ɵɵinject(NgZone), ɵɵinject(INJECTOR), ɵɵinject(KeyGraphService), ɵɵinject(Item2Service), ɵɵinject(KeyService), ɵɵinject(KeyFactoryService), ɵɵinject(EncryptionService)); }, token: TrustedParty2Service, providedIn: "root" });
|
|
11189
11194
|
TrustedParty2Service.decorators = [
|
|
11190
11195
|
{ type: Injectable, args: [{
|
|
11191
11196
|
providedIn: 'root',
|
|
@@ -11193,8 +11198,8 @@ TrustedParty2Service.decorators = [
|
|
|
11193
11198
|
];
|
|
11194
11199
|
TrustedParty2Service.ctorParameters = () => [
|
|
11195
11200
|
{ type: NgZone },
|
|
11201
|
+
{ type: Injector },
|
|
11196
11202
|
{ type: KeyGraphService },
|
|
11197
|
-
{ type: LrGraphQLService },
|
|
11198
11203
|
{ type: Item2Service },
|
|
11199
11204
|
{ type: KeyService },
|
|
11200
11205
|
{ type: KeyFactoryService },
|