@aptos-labs/ts-sdk
Advanced tools
Comparing version 1.29.0-zeta.0 to 1.29.0-zeta.1
@@ -98,3 +98,3 @@ { | ||
}, | ||
"version": "1.29.0-zeta.0" | ||
"version": "1.29.0-zeta.1" | ||
} |
@@ -99,2 +99,3 @@ // Copyright © Aptos Foundation | ||
address?: AccountAddress; | ||
publicKey: KeylessPublicKey | FederatedKeylessPublicKey; | ||
ephemeralKeyPair: EphemeralKeyPair; | ||
@@ -111,5 +112,5 @@ iss: string; | ||
super(); | ||
const { address, ephemeralKeyPair, uidKey, uidVal, aud, pepper, proof, proofFetchCallback, jwt } = args; | ||
const { address, ephemeralKeyPair, publicKey, uidKey, uidVal, aud, pepper, proof, proofFetchCallback, jwt } = args; | ||
this.ephemeralKeyPair = ephemeralKeyPair; | ||
this.publicKey = KeylessPublicKey.create(args); | ||
this.publicKey = publicKey; | ||
this.accountAddress = address ? AccountAddress.from(address) : this.publicKey.authKey().derivedAddress(); | ||
@@ -116,0 +117,0 @@ this.uidKey = uidKey; |
@@ -45,4 +45,5 @@ // Copyright © Aptos Foundation | ||
}) { | ||
super(args); | ||
this.publicKey = FederatedKeylessPublicKey.create(args); | ||
const publicKey = FederatedKeylessPublicKey.create(args); | ||
super({ publicKey, ...args }); | ||
this.publicKey = publicKey; | ||
} | ||
@@ -49,0 +50,0 @@ |
@@ -7,3 +7,3 @@ // Copyright © Aptos Foundation | ||
import { AccountAddress } from "../core/accountAddress"; | ||
import { ZeroKnowledgeSig } from "../core/crypto"; | ||
import { KeylessPublicKey, ZeroKnowledgeSig } from "../core/crypto"; | ||
@@ -25,2 +25,7 @@ import { EphemeralKeyPair } from "./EphemeralKeyPair"; | ||
export class KeylessAccount extends AbstractKeylessAccount { | ||
/** | ||
* The KeylessPublicKey associated with the account | ||
*/ | ||
readonly publicKey: KeylessPublicKey; | ||
// Use the static constructor 'create' instead. | ||
@@ -39,3 +44,5 @@ private constructor(args: { | ||
}) { | ||
super(args); | ||
const publicKey = KeylessPublicKey.create(args); | ||
super({ publicKey, ...args }); | ||
this.publicKey = publicKey; | ||
} | ||
@@ -42,0 +49,0 @@ |
@@ -36,3 +36,3 @@ // Copyright © Aptos Foundation | ||
testnet: "https://api.testnet.aptoslabs.com/keyless/prover/v0", | ||
devnet: "https://api.devnet.aptoslabs.com/keyless/prover/v0", | ||
devnet: "https://prover.keyless.devnet.aptoslabs.com/v0", | ||
// Use the devnet service for local environment | ||
@@ -39,0 +39,0 @@ local: "https://api.devnet.aptoslabs.com/keyless/prover/v0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5755110
43320