ceramicstudio/js-3id-did-provider

Wallet.Create with authId and authSecret results in type error

Schwartz10 opened this issue · 2 comments

      const ceramic = new CeramicClient();
      const idWallet = await IdentityWallet.create({
        authId: 'randomString',
        authSecret: nacl.randomBytes(32),
        getPermission: () => Promise.resolve([]),
        ceramic,
      });

results in:

TypeError: Cannot read property 'doctype' of undefined

Identity wallet version 2.0.0-alpha.3
Ceramic http client version 0.5.11

oed commented

Thanks, will try to replicate this.

oed commented

Should be fixed in identity-wallet@2.0.0-alpha.4