metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
210 stars 155 forks source link

Norid: Make update domain request consistent #193

Closed alexrsagen closed 5 years ago

alexrsagen commented 5 years ago

I noticed that the noridEppUpdateDomainRequest constructor was inconsistent with other update domain requests, such as eppDnssecUpdateDomainRequest. This change fixes that, making it a bit less confusing.

It is also backwards compatible with the old constructor by setting applicant dataset on $updateinfo if it was set on $domain/$objectname, so it should not break any current implementations.

The applicant dataset default version number has also been bumped to 3.0, as per https://www.norid.no/en/registrar/soknad/veiledning/egenerklaring-veiledning/.