{
    "require": {
        "rmccue/requests": "^1.6"
    },
    "autoload": {
    	"psr-4": {
    		"WordPress\\Discovery\\": "lib/"
    	},
    	"files": [
    		"lib/namespace.php"
    	]
    }
}

{
	"name": "wp-api/discovery",
    "require": {
        "rmccue/requests": "^1.6"
    },
    "autoload": {
    	"psr-4": {
    		"WordPress\\Discovery\\": "lib/"
    	},
    	"files": [
    		"lib/namespace.php"
    	]
    }
}

Add explicit name to package.json
Add explicit name to package.json
