@spacehq/sdk > SharePublicKeyOutput > type
SharePublicKeyOutput.type property
Type is an enum that is ShareKeyType.Temp or ShareKeyType.Existing
'temp' is when the input doesn't provide a valid 'pk' 'existing' is when the input had a pk
set.
It's useful for the user of the sdk to determine what type of action to be performed.
Signature:
type: ShareKeyType;