@stamhoofd/structures
Advanced tools
Comparing version 1.2.18 to 1.2.19
@@ -35,3 +35,4 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
getMatchingGroups(groups: Group[]): Group[]; | ||
updateAddress(oldValue: Address, newValue: Address): void; | ||
} | ||
//# sourceMappingURL=MemberDetails.d.ts.map |
@@ -84,2 +84,13 @@ "use strict"; | ||
} | ||
updateAddress(oldValue, newValue) { | ||
const str = oldValue.toString(); | ||
if (this.address && this.address.toString() == str) { | ||
this.address = newValue; | ||
} | ||
for (const parent of this.parents) { | ||
if (parent.address && parent.address.toString() == str) { | ||
parent.address = newValue; | ||
} | ||
} | ||
} | ||
} | ||
@@ -86,0 +97,0 @@ tslib_1.__decorate([ |
@@ -35,3 +35,4 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
getMatchingGroups(groups: Group[]): Group[]; | ||
updateAddress(oldValue: Address, newValue: Address): void; | ||
} | ||
//# sourceMappingURL=MemberDetails.d.ts.map |
@@ -81,2 +81,13 @@ import { __decorate } from "tslib"; | ||
} | ||
updateAddress(oldValue, newValue) { | ||
const str = oldValue.toString(); | ||
if (this.address && this.address.toString() == str) { | ||
this.address = newValue; | ||
} | ||
for (const parent of this.parents) { | ||
if (parent.address && parent.address.toString() == str) { | ||
parent.address = newValue; | ||
} | ||
} | ||
} | ||
} | ||
@@ -83,0 +94,0 @@ __decorate([ |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.2.18", | ||
"version": "1.2.19", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./esm/dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
265302
3790