Add compatibility aliases documented in specs but missing from code: - node: NewNodeManagerWithPaths, NewPeerRegistryWithPath (deprecated constructor aliases), RegisterWithTransport (deprecated method alias), ConnectedPeers (count alias), GetLogsPayload (type alias) - levin: Short-form Value constructors (Uint64Val, StringVal, ObjectVal, etc.) matching spec naming - logging: WithComponent, GetLevel, GetGlobal (deprecated method aliases) - ueps: TagCurrentLay, TagTargetLay (short-form tag constant aliases) All aliases delegate to the canonical AX-compliant names. Tests cover every alias with round-trip verification where applicable. Co-Authored-By: Virgil <virgil@lethean.io>
9 lines
258 B
Go
9 lines
258 B
Go
package ueps
|
|
|
|
// Short-form tag aliases for spec compatibility.
|
|
const (
|
|
// TagCurrentLay is a short-form alias for TagCurrentLayer.
|
|
TagCurrentLay = TagCurrentLayer
|
|
// TagTargetLay is a short-form alias for TagTargetLayer.
|
|
TagTargetLay = TagTargetLayer
|
|
)
|