invokeAuthedCall

Update this stuff
import { getClient } from "./client";
(async () => {
const service = await (await getClient()).service('auth','cardgame1112');
var testUser = "testuse11"
var keys = await getCreateAccount(testUser);
var permission = "none";
var testnum = 123;
await authClient.invokeAuthedCall({ payload: { testnum }, account: testUser, permission, keys });
})().catch((e) => { console.log(e); });
The error unsatisfied_authorization will be emitted if the authority does not satisfy the conditions.