we need to add assertion in certain areas surrounding create commands, case specifically is:
https://github.com/canton-network/wallet-gateway/blob/b3ca0b5bfe336dfd8bca466c621b33ecae58d49c/sdk/wallet-sdk/src/wallet/namespace/amulet/preapproval.ts#L59
if amulet.admin is undefined, then a correct command will be created, but without the expectedDSO field, which can even be submitted, but wont work as a valid CC preapproval.
we need to add assertion in certain areas surrounding create commands, case specifically is:
https://github.com/canton-network/wallet-gateway/blob/b3ca0b5bfe336dfd8bca466c621b33ecae58d49c/sdk/wallet-sdk/src/wallet/namespace/amulet/preapproval.ts#L59
if amulet.admin is undefined, then a correct command will be created, but without the expectedDSO field, which can even be submitted, but wont work as a valid CC preapproval.