@sphereon/ssi-sdk.credential-store 0.33.1-feature.vcdm2.tsup.48 → 0.33.1-feature.vcdm2.tsup.50

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": "@sphereon/ssi-sdk.credential-store",
3
- "version": "0.33.1-feature.vcdm2.tsup.48+54139c06",
3
+ "version": "0.33.1-feature.vcdm2.tsup.50+7922486d",
4
4
  "source": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -29,16 +29,16 @@
29
29
  "dependencies": {
30
30
  "@sphereon/pex": "5.0.0-unstable.28",
31
31
  "@sphereon/pex-models": "^2.3.2",
32
- "@sphereon/ssi-sdk.core": "0.33.1-feature.vcdm2.tsup.48+54139c06",
33
- "@sphereon/ssi-sdk.data-store": "0.33.1-feature.vcdm2.tsup.48+54139c06",
32
+ "@sphereon/ssi-sdk.core": "0.33.1-feature.vcdm2.tsup.50+7922486d",
33
+ "@sphereon/ssi-sdk.data-store": "0.33.1-feature.vcdm2.tsup.50+7922486d",
34
34
  "cross-fetch": "^3.1.8",
35
35
  "debug": "^4.3.4",
36
36
  "typeorm": "0.3.20",
37
37
  "uuid": "^9.0.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@sphereon/ssi-sdk.agent-config": "0.33.1-feature.vcdm2.tsup.48+54139c06",
41
- "@sphereon/ssi-types": "0.33.1-feature.vcdm2.tsup.48+54139c06",
40
+ "@sphereon/ssi-sdk.agent-config": "0.33.1-feature.vcdm2.tsup.50+7922486d",
41
+ "@sphereon/ssi-types": "0.33.1-feature.vcdm2.tsup.50+7922486d",
42
42
  "@types/uuid": "^9.0.8",
43
43
  "@veramo/remote-client": "4.2.0",
44
44
  "@veramo/remote-server": "4.2.0"
@@ -63,5 +63,5 @@
63
63
  "Veramo",
64
64
  "Credential Manager"
65
65
  ],
66
- "gitHead": "54139c060a28d4c05cf9e4ad894e4ccce3d1a935"
66
+ "gitHead": "7922486d0a77bd4164ff194062f0783039f70b31"
67
67
  }
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbstractDigitalCredentialStore,
3
- DigitalCredential,
4
- UpdateCredentialStateArgs,
3
+ type DigitalCredential,
4
+ type UpdateCredentialStateArgs,
5
5
  DocumentType,
6
6
  parseRawDocument,
7
7
  } from '@sphereon/ssi-sdk.data-store'
8
8
  import { shaHasher as defaultHasher } from '@sphereon/ssi-sdk.core'
9
- import { IVerifiableCredential } from '@sphereon/ssi-types'
10
- import { IAgentPlugin } from '@veramo/core'
9
+ import { type IVerifiableCredential } from '@sphereon/ssi-types'
10
+ import { type IAgentPlugin } from '@veramo/core'
11
11
  import { schema, logger } from '../index'
12
12
  import { credentialIdOrHashFilter } from '../utils/filters'
13
- import {
13
+ import type {
14
14
  AddCredentialArgs,
15
15
  DeleteCredentialArgs,
16
16
  DeleteCredentialsArgs,
@@ -22,7 +22,7 @@ import {
22
22
  OptionalUniqueDigitalCredential,
23
23
  UniqueDigitalCredential,
24
24
  } from '../types/ICredentialStore'
25
- import { TClaimsColumns } from '../types/claims'
25
+ import type { TClaimsColumns } from '../types/claims'
26
26
 
27
27
  // Exposing the methods here for any REST implementation
28
28
  export const credentialStoreMethods: Array<string> = [
@@ -1,12 +1,12 @@
1
1
  import { contextHasPlugin } from '@sphereon/ssi-sdk.agent-config'
2
2
  import {
3
3
  CredentialRole,
4
- DigitalCredential,
5
- FindDigitalCredentialArgs,
6
- NonPersistedDigitalCredential,
7
- UpdateCredentialStateArgs,
4
+ type DigitalCredential,
5
+ type FindDigitalCredentialArgs,
6
+ type NonPersistedDigitalCredential,
7
+ type UpdateCredentialStateArgs,
8
8
  } from '@sphereon/ssi-sdk.data-store'
9
- import {
9
+ import type {
10
10
  HasherSync,
11
11
  ICredential,
12
12
  IPresentation,
@@ -15,8 +15,8 @@ import {
15
15
  OriginalVerifiableCredential,
16
16
  OriginalVerifiablePresentation,
17
17
  } from '@sphereon/ssi-types'
18
- import { IAgentContext, IPluginMethodMap } from '@veramo/core'
19
- import { FindClaimsArgs } from './claims'
18
+ import type { IAgentContext, IPluginMethodMap } from '@veramo/core'
19
+ import type { FindClaimsArgs } from './claims'
20
20
 
21
21
  export type { UpdateCredentialStateArgs } // TODO create a local copy?
22
22
 
@@ -1,4 +1,4 @@
1
- import { CredentialRole, DigitalCredential, DocumentType, FindDigitalCredentialArgs } from '@sphereon/ssi-sdk.data-store'
1
+ import { CredentialRole, type DigitalCredential, DocumentType, type FindDigitalCredentialArgs } from '@sphereon/ssi-sdk.data-store'
2
2
  import { validate as uuidValidate } from 'uuid'
3
3
 
4
4
  /**