@thenamespace/ens-components 0.30.0 → 0.31.0
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/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22385,6 +22385,7 @@ const encode$2 = (name, value) => {
|
|
|
22385
22385
|
|
|
22386
22386
|
const convertToResolverData = (name, records) => {
|
|
22387
22387
|
return convertToMulticallResolverData(name, {
|
|
22388
|
+
textsRemoved: [],
|
|
22388
22389
|
textsAdded: records.texts,
|
|
22389
22390
|
textsModified: [],
|
|
22390
22391
|
addressesAdded: records.addresses,
|
|
@@ -22414,14 +22415,15 @@ const convertTextData = (node, resolverData, diff) => {
|
|
|
22414
22415
|
});
|
|
22415
22416
|
resolverData.push(data);
|
|
22416
22417
|
});
|
|
22417
|
-
diff.
|
|
22418
|
-
|
|
22419
|
-
|
|
22420
|
-
|
|
22421
|
-
|
|
22418
|
+
if (diff.textsRemoved?.length > 0) {
|
|
22419
|
+
diff.textsRemoved.forEach((key) => {
|
|
22420
|
+
resolverData.push(encodeFunctionData({
|
|
22421
|
+
functionName: "setText",
|
|
22422
|
+
abi: parseAbi([SET_TEXT_FUNC]),
|
|
22423
|
+
args: [node, key.key, ""]
|
|
22424
|
+
}));
|
|
22422
22425
|
});
|
|
22423
|
-
|
|
22424
|
-
});
|
|
22426
|
+
}
|
|
22425
22427
|
};
|
|
22426
22428
|
const convertAddressData = (node, resolverData, diff) => {
|
|
22427
22429
|
const modifiedAddressMap = {};
|