passkey-kit 0.10.0 → 0.10.1

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.
@@ -2,9 +2,5 @@
2
2
  "rust-analyzer.linkedProjects": [
3
3
  "./zephyr/Cargo.toml",
4
4
  "./contracts/Cargo.toml",
5
- "./contracts/example-contract/Cargo.toml",
6
- "./contracts/sample-policy/Cargo.toml",
7
- "./contracts/smart-wallet-factory/Cargo.toml",
8
- "./contracts/smart-wallet/Cargo.toml",
9
5
  ]
10
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "passkey-kit",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A helper library for creating and using smart wallet accounts on the Stellar blockchain.",
5
5
  "author": "Tyler van der Hoeven",
6
6
  "license": "MIT",
package/src/kit.ts CHANGED
@@ -389,9 +389,9 @@ export class PasskeyKit extends PasskeyBase {
389
389
  }
390
390
  ) {
391
391
  if (typeof txn === 'string') {
392
- txn = AssembledTransaction.fromXDR(this.wallet!.options, txn, this.wallet!.spec as unknown as Spec)
392
+ txn = AssembledTransaction.fromXDR(this.wallet!.options, txn, this.wallet!.spec)
393
393
  } else if (!(txn instanceof AssembledTransaction)) {
394
- txn = AssembledTransaction.fromXDR(this.wallet!.options, txn.toXDR(), this.wallet!.spec as unknown as Spec)
394
+ txn = AssembledTransaction.fromXDR(this.wallet!.options, txn.toXDR(), this.wallet!.spec)
395
395
  }
396
396
 
397
397
  await txn.signAuthEntries({
package/src/server.ts CHANGED
@@ -159,8 +159,6 @@ export class PasskeyServer extends PasskeyBase {
159
159
  txn = txn.toXDR()
160
160
  }
161
161
 
162
- console.log(txn);
163
-
164
162
  data.set('xdr', txn);
165
163
 
166
164
  if (fee)