@medialane/sdk 0.176.0 → 0.178.0

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.
@@ -12674,17 +12674,8 @@ async function completeDeployment(deps, onStep, options = {}) {
12674
12674
  }
12675
12675
  onStep("deploying");
12676
12676
  await deployWallet(deps, { ownerAddress: sealed.address, ownerPubKey: sealed.ownerPubKey, privateKeyHex });
12677
- onStep("signing-in");
12678
- const address = sealed.address;
12679
- const siwsToken = await (deps.requestSiwsTokenImpl ?? requestSiwsToken)({
12680
- backendUrl: deps.backendUrl,
12681
- walletAddress: address,
12682
- signer: {
12683
- signMessage: async (td) => chunk46LSYJEM_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(td, address))
12684
- }
12685
- });
12686
12677
  deps.store.notifyChange();
12687
- return { sealed, siwsToken };
12678
+ return { sealed };
12688
12679
  }
12689
12680
  function createDeploymentCoordinator(execute) {
12690
12681
  let inFlight = null;
@@ -12739,12 +12730,10 @@ function canRemoveDevice(devices, guid) {
12739
12730
  function createMediaWallet(config) {
12740
12731
  const ttl = config.unlockTtlMs ?? 2e4;
12741
12732
  const deployments = createDeploymentCoordinator((onStep, options) => {
12742
- if (!config.backendUrl) throw new Error("This wallet has no backend url configured for sign-in");
12743
12733
  const deps = {
12744
12734
  store: config.store,
12745
12735
  passkey: config.passkey,
12746
12736
  provider: config.provider,
12747
- backendUrl: config.backendUrl,
12748
12737
  deployProxyUrl: config.deployProxyUrl,
12749
12738
  fetchImpl: config.fetchImpl
12750
12739
  };