notify subs use invalid Call module. Here is patch:
diff -ur AnyEvent.bkup/JSONRPC/HTTP/Client.pm AnyEvent/JSONRPC/HTTP/Client.pm
--- AnyEvent.bkup/JSONRPC/HTTP/Client.pm 2012-01-29 15:09:03.000000000 +0900
+++ AnyEvent/JSONRPC/HTTP/Client.pm 2012-01-29 14:41:07.000000000 +0900
@@ -117,7 +117,7 @@
sub notify {
my ($self, $method, @params) = @_;
- my $request = JSON::RPC::Common::Call->inflate (
+ my $request = JSON::RPC::Common::Procedure::Call->inflate (
version => $self->version,
method => $method,
params => $self->_params( @params ),
diff -ur AnyEvent.bkup/JSONRPC/TCP/Client.pm AnyEvent/JSONRPC/TCP/Client.pm
--- AnyEvent.bkup/JSONRPC/TCP/Client.pm 2010-07-16 21:31:39.000000000 +0900
+++ AnyEvent/JSONRPC/TCP/Client.pm 2012-01-29 15:09:31.000000000 +0900
@@ -166,7 +166,7 @@
sub notify {
my ($self, $method, @params) = @_;
- my $request = JSON::RPC::Common::Call->inflate (
+ my $request = JSON::RPC::Common::Procedure::Call->inflate (
version => $self->version,
method => $method,
params => $self->_params( @params ),