Methods to manage properties for the `Me` class.
Methods
# static addProperty(properties, property)
Add a property to the identity.
Parameters:
Name | Type | Description |
---|---|---|
properties |
Array
|
The properties array to update. |
property |
Object
|
The property to add (e.g., { type: "ETH", address: "0x123..." }). |
If the property is invalid.
Error
# static getProperties(properties) → {Array}
Retrieve all properties for the identity.
Parameters:
Name | Type | Description |
---|---|---|
properties |
Array
|
The properties array to retrieve from. |
The properties array.
Array