chrome extension permissions not supported in safari

Hi, I'm trying to convert a chrome extension to a safari extension and I have some unsupported permissions that don't work in safari. They are chrome.enterprise.networkingAttributes and chrome.enterprise.deviceAttributes

Is there a way to get the ip address of the device in a Safari extension. The page we use this in is written in typescript.

Thank you