calimero-auth-sdk
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -7,7 +7,7 @@ export declare const MAX_CALIMERO_TOKEN_DURATION: number; | ||
blockId: string; | ||
publicKey: Uint8Array; | ||
publicKey: string; | ||
signature: string; | ||
keyType: string; | ||
constructor(accId: string, message: string, blockId: string, pubKey: Uint8Array, sig: string, keyType: string); | ||
constructor(accId: string, message: string, blockId: string, pubKey: string, sig: string, keyType: string); | ||
serialize(): string; | ||
@@ -14,0 +14,0 @@ static deserialize(serialized: string): WalletData; |
@@ -11,3 +11,3 @@ import * as NearAPI from "near-api-js"; | ||
blockId: string; | ||
publicKey: Uint8Array; | ||
publicKey: string; | ||
signature: string; | ||
@@ -27,3 +27,3 @@ keyType: string; | ||
this.blockId = blockId; | ||
this.publicKey = new Uint8Array(Buffer.from(pubKey, "base64")); | ||
this.publicKey = pubKey; | ||
this.signature = sig; | ||
@@ -30,0 +30,0 @@ this.keyType = keyType; |
{ | ||
"name": "calimero-auth-sdk", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"main": "lib/index.ts", | ||
@@ -5,0 +5,0 @@ "types": "lib/index.d.ts", |
42836