passkey-kit 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "passkey-kit",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "types/index.d.ts",
package/src/index.ts CHANGED
@@ -169,7 +169,10 @@ export class PasskeyAccount {
169
169
  // get and set the sudo signer
170
170
  await this.getData()
171
171
 
172
- return contractId
172
+ return {
173
+ keyId,
174
+ contractId
175
+ }
173
176
  }
174
177
 
175
178
  public async sign(
package/types/index.d.ts CHANGED
@@ -34,7 +34,10 @@ export declare class PasskeyAccount {
34
34
  keyId: Buffer;
35
35
  publicKey: Buffer | undefined;
36
36
  }>;
37
- connectWallet(): Promise<string>;
37
+ connectWallet(): Promise<{
38
+ keyId: Buffer;
39
+ contractId: string;
40
+ }>;
38
41
  sign(txn: Transaction | string, options?: {
39
42
  keyId?: 'any' | 'sudo' | string | Uint8Array;
40
43
  ledgersToLive?: number;