feat: use wallet-sdk in eID Wallet #5
Annotations
10 errors
|
src/__tests__/provision.test.ts > provision > uses optional namespace and verificationId:
packages/wallet-sdk/src/provision.ts#L26
TypeError: Cannot read properties of undefined (reading 'keyId')
❯ provision src/provision.ts:26:24
❯ src/__tests__/provision.test.ts:67:26
|
|
src/__tests__/provision.test.ts > provision > returns w3id and uri on success:
packages/wallet-sdk/src/provision.ts#L26
TypeError: Cannot read properties of undefined (reading 'keyId')
❯ provision src/provision.ts:26:24
❯ src/__tests__/provision.test.ts:56:26
|
|
src/__tests__/auth.test.ts > authenticateToPlatform > throws when platform returns error:
packages/wallet-sdk/src/__tests__/auth.test.ts#L122
TypeError: (0 , authenticateToPlatform) is not a function
❯ src/__tests__/auth.test.ts:122:7
|
|
src/__tests__/auth.test.ts > authenticateToPlatform > includes appVersion when provided:
packages/wallet-sdk/src/__tests__/auth.test.ts#L95
TypeError: (0 , authenticateToPlatform) is not a function
❯ src/__tests__/auth.test.ts:95:11
|
|
src/__tests__/auth.test.ts > authenticateToPlatform > POSTs ename, session, signature to redirect URL:
packages/wallet-sdk/src/__tests__/auth.test.ts#L67
TypeError: (0 , authenticateToPlatform) is not a function
❯ src/__tests__/auth.test.ts:67:26
|
|
src/__tests__/auth.test.ts > parseAuthUri > throws when session missing:
packages/wallet-sdk/src/__tests__/auth.test.ts#L34
AssertionError: expected [Function] to throw error including 'missing session' but got '(0 , parseAuthU…'
Expected: "missing session"
Received: "(0 , __vite_ssr_import_1__.parseAuthUri) is not a function"
❯ src/__tests__/auth.test.ts:34:7
|
|
src/__tests__/auth.test.ts > parseAuthUri > throws when redirect missing:
packages/wallet-sdk/src/__tests__/auth.test.ts#L28
AssertionError: expected [Function] to throw error including 'missing redirect' but got '(0 , parseAuthU…'
Expected: "missing redirect"
Received: "(0 , __vite_ssr_import_1__.parseAuthUri) is not a function"
❯ src/__tests__/auth.test.ts:28:7
|
|
src/__tests__/auth.test.ts > parseAuthUri > throws on wrong scheme:
packages/wallet-sdk/src/__tests__/auth.test.ts#L20
AssertionError: expected [Function] to throw error including 'expected scheme w3ds://auth' but got '(0 , parseAuthU…'
Expected: "expected scheme w3ds://auth"
Received: "(0 , __vite_ssr_import_1__.parseAuthUri) is not a function"
❯ src/__tests__/auth.test.ts:20:69
|
|
src/__tests__/auth.test.ts > parseAuthUri > throws on invalid URL:
packages/wallet-sdk/src/__tests__/auth.test.ts#L16
AssertionError: expected [Function] to throw error including 'Invalid auth URI' but got '(0 , parseAuthU…'
Expected: "Invalid auth URI"
Received: "(0 , __vite_ssr_import_1__.parseAuthUri) is not a function"
❯ src/__tests__/auth.test.ts:16:45
|
|
src/__tests__/auth.test.ts > parseAuthUri > parses w3ds://auth URI:
packages/wallet-sdk/src/__tests__/auth.test.ts#L9
TypeError: (0 , parseAuthUri) is not a function
❯ src/__tests__/auth.test.ts:9:20
|