@automata-network/pom-js-sdk
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -63,2 +63,3 @@ import * as _automata_network_pom_socket from '@automata-network/pom-socket'; | ||
identity: string; | ||
pubkey: string; | ||
} | ||
@@ -65,0 +66,0 @@ interface IdentityStatusResult { |
{ | ||
"name": "@automata-network/pom-js-sdk", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "A socket clinet for automata's Proof Of Machinehood", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -49,4 +49,4 @@ import { | ||
chainId: ChainId; | ||
attestation: string; // base64 encoded cbor or a base64 encoded key array in json string format | ||
identity: string; // on Android or iOS, it's a identity string, and on macOS, it's a base64 encoded key bytes | ||
attestation: string; // base64 encoded cbor or a hex encoded key array in json string format | ||
identity: string; // on Android or iOS, it's a identity string, and on macOS, it's a hex encoded key bytes | ||
identitySignature?: string; // only for iOS and Android. on iOS, it's an assertion, on Android, it's a signature string | ||
@@ -65,3 +65,4 @@ expiredAt?: string; // only for macOS key | ||
export interface IdentityStatusPayload { | ||
identity: string; // on Android or iOS, it's a identity string, and on macOS, it's a base64 encoded key bytes | ||
identity: string; // on Android or iOS, it's a identity string, and on macOS, it's a hex encoded key bytes | ||
pubkey: string; | ||
} | ||
@@ -68,0 +69,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62759
867