0.34.0 • Published 2 months ago

@sphereon/ssi-sdk.data-store v0.34.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 months ago

Warning: This package still is in very early development. Breaking changes without notice will happen at this point!


SSI-SDK data storage based on TypeORM. This package provides several plugins that relate to data storage.

Available stores

  • Contact Store

Contact Store

A store that exposes simple store/get methods for contacts and identities.

Installation

yarn add @sphereon/ssi-sdk.data-store

Build

yarn build

Module developers

We use TypeORM migrations to support database changes over time. As soon as you need to update, add or delete information from entities, ensure that migration files are being created to reflect the updates.

Currently, we support migrations for sqlite databases, typically used during development and on mobile platforms. Next to that we also support Postgres. Obviously you need to have a Postgresql database at hand when working with Postgres.

Create a migration file

  • Ensure you have an existing sqlite/postgres database at hand with the old situation
  • Make a copy of that database, so you can always easily go back
  • Run the respective commands for postgres and/or sqlite:
    • yarn run typeorm-postgres:migration:generate NameOfYourMigration
    • yarn run typeorm-sqlite:migration:generate NameOfYourMigration
  • Check in the src/migrations folders to find a file in the respective sqlite/postgres folder which contains NameOfYourMigration
  • Update the credential-mapper.ts file in the respective directory to include the migration. Users will import that file as their migrations entrypoint from their TypeORM config.
  • If you wish to check whether applying the migration works you can execute the respective

Applying migrations

There is an example sqlite file in the root called migration.sqlite. We use the sqlite file to keep track of changes we made and to ensure there are no incidental changes by a developer changing an entity,

This file is kept up to date by applying the command: yarn typeorm-sqlite:migration:run The same can be done for a local Postgres database using the command typeorm-postgres:migration:run

You can look at package.json or https://typeorm.io/migrations to apply migrations to your own database(s)

0.30.2-next.394

8 months ago

0.30.2-next.395

8 months ago

0.30.2-fix.364

8 months ago

0.30.2-fix.363

8 months ago

0.30.2-fix.368

8 months ago

0.30.2-fix.367

8 months ago

0.30.2-next.373

8 months ago

0.31.1-fix.4

8 months ago

0.31.1-fix.5

8 months ago

0.33.0

4 months ago

0.30.2-next.148

8 months ago

0.30.2-next.145

8 months ago

0.31.1-next.4

8 months ago

0.30.2-next.390

8 months ago

0.31.0

8 months ago

0.30.2-next.191

8 months ago

0.30.2-fix.199

8 months ago

0.30.2-fix.198

8 months ago

0.30.2-next.328

8 months ago

0.30.2-next.329

8 months ago

0.32.1-next.291

4 months ago

0.32.1-next.287

4 months ago

0.30.2-fix.395

8 months ago

0.30.2-fix.393

8 months ago

0.30.2-next.365

8 months ago

0.30.2-next.367

8 months ago

0.30.2-next.362

8 months ago

0.30.2-next.363

8 months ago

0.30.2-fix.139

8 months ago

0.30.2-fix.140

8 months ago

0.31.1-fix.20

8 months ago

0.30.2-next.276

8 months ago

0.30.2-next.279

8 months ago

0.30.2-next.273

8 months ago

0.30.2-next.275

8 months ago

0.30.2-next.281

8 months ago

0.32.0

7 months ago

0.30.2-next.285

8 months ago

0.30.2-next.259

8 months ago

0.32.1-next.113

6 months ago

0.30.2-next.269

8 months ago

0.30.2-next.267

8 months ago

0.31.1-next.44

7 months ago

0.31.1-next.42

7 months ago

0.31.1-next.41

8 months ago

0.31.1-next.39

8 months ago

0.31.1-next.33

8 months ago

0.31.1-next.32

8 months ago

0.32.1-fix.160

5 months ago

0.31.1-next.30

8 months ago

0.32.1-next.161

5 months ago

0.30.2-next.297

8 months ago

0.33.1-next.3

3 months ago

0.33.1-next.2

3 months ago

0.31.1-next.62

7 months ago

0.32.1-next.54

6 months ago

0.32.1-next.157

5 months ago

0.31.1-next.60

7 months ago

0.32.1-next.150

5 months ago

0.32.1-next.141

6 months ago

0.32.1-next.145

6 months ago

0.33.1-next.73

2 months ago

0.32.1-fix.143

5 months ago

0.32.1-fix.142

6 months ago

0.33.1-next.68

2 months ago

0.30.2-next.200

8 months ago

0.31.1-next.29

8 months ago

0.31.1-next.26

8 months ago

0.31.1-next.28

8 months ago

0.31.1-next.21

8 months ago

0.31.1-next.24

8 months ago

0.31.1-next.23

8 months ago

0.31.1-next.19

8 months ago

0.31.1-next.14

8 months ago

0.31.1-next.17

8 months ago

0.31.1-next.13

8 months ago

0.34.0

2 months ago

0.30.2-fix.278

8 months ago

0.30.2-fix.270

8 months ago

0.30.2-fix.280

8 months ago

0.30.2-next.215

8 months ago

0.30.2-next.221

8 months ago

0.30.2-next.223

8 months ago

0.30.2-fix.266

8 months ago

0.30.2-fix.265

8 months ago

0.30.2-fix.263

8 months ago

0.30.2-fix.262

8 months ago

0.32.1-fix.15

7 months ago

0.32.1-next.13

7 months ago

0.32.1-next.17

7 months ago

0.32.1-next.18

7 months ago

0.32.1-next.12

7 months ago

0.32.1-next.20

6 months ago

0.30.2-fix.138

9 months ago

0.30.2-next.133

9 months ago

0.30.2-next.135

9 months ago

0.30.2-fix.136

9 months ago

0.30.2-next.129

9 months ago

0.30.2-next.125

9 months ago

0.30.2-next.103

9 months ago

0.30.2-fix.50

9 months ago

0.30.2-fix.48

9 months ago

0.30.2-fix.49

9 months ago

0.30.2-next.58

9 months ago

0.30.2-next.66

9 months ago

0.30.2-next.47

9 months ago

0.30.2-unstable.27

9 months ago

0.30.2-unstable.8

9 months ago

0.30.2-unstable.24

9 months ago

0.30.2-unstable.25

9 months ago

0.30.2-unstable.26

9 months ago

0.30.2-unstable.21

9 months ago

0.30.2-unstable.22

9 months ago

0.30.2-unstable.23

9 months ago

0.30.2-unstable.3

10 months ago

0.30.2-unstable.7

10 months ago

0.30.2-unstable.6

10 months ago

0.30.2-unstable.5

10 months ago

0.30.2-unstable.4

10 months ago

0.30.2-unstable.9

9 months ago

0.30.2-next.4

10 months ago

0.30.2-next.5

9 months ago

0.30.2-next.6

9 months ago

0.29.1-next.185

10 months ago

0.30.1

10 months ago

0.29.1-next.175

10 months ago

0.29.1-next.174

10 months ago

0.29.1-next.177

10 months ago

0.29.1-next.176

10 months ago

0.29.1-unstable.185

10 months ago

0.29.1-unstable.184

10 months ago

0.29.1-unstable.183

10 months ago

0.29.1-unstable.182

10 months ago

0.30.1-unstable.5

10 months ago

0.30.2-unstable.13

10 months ago

0.30.2-unstable.14

9 months ago

0.30.2-unstable.11

10 months ago

0.30.2-unstable.12

10 months ago

0.30.2-unstable.10

10 months ago

0.30.2-unstable.19

9 months ago

0.30.2-unstable.17

10 months ago

0.30.2-unstable.18

9 months ago

0.30.2-unstable.15

9 months ago

0.30.2-unstable.20

9 months ago

0.29.1-unstable.158

10 months ago

0.27.1-next.20

1 year ago

0.27.1-next.24

1 year ago

0.27.1-next.25

12 months ago

0.29.1-next.80

11 months ago

0.27.1-next.28

12 months ago

0.29.1-unstable.216

10 months ago

0.27.1-next.29

12 months ago

0.29.1-unstable.215

11 months ago

0.27.1-next.26

12 months ago

0.29.1-unstable.218

10 months ago

0.29.1-unstable.220

10 months ago

0.29.1-unstable.224

10 months ago

0.29.1-unstable.103

11 months ago

0.29.1-unstable.223

10 months ago

0.29.1-unstable.102

11 months ago

0.29.1-unstable.101

11 months ago

0.29.1-unstable.221

10 months ago

0.29.1-unstable.100

11 months ago

0.29.1-next.82

11 months ago

0.28.1-next.51

12 months ago

0.28.1-next.50

12 months ago

0.28.1-next.53

12 months ago

0.28.1-next.52

12 months ago

0.27.1-next.31

12 months ago

0.27.1-next.33

12 months ago

0.29.1-unstable.206

11 months ago

0.27.1-next.39

12 months ago

0.29.1-unstable.205

11 months ago

0.27.1-next.38

12 months ago

0.29.1-unstable.209

11 months ago

0.29.1-unstable.208

11 months ago

0.29.1-unstable.213

11 months ago

0.28.1-next.48

12 months ago

0.29.1-unstable.212

11 months ago

0.29.1-unstable.210

11 months ago

0.28.1-next.49

12 months ago

0.28.1-next.44

12 months ago

0.29.1-next.5

12 months ago

0.28.1-next.40

12 months ago

0.26.1-next.6

1 year ago

0.29.1-next.4

12 months ago

0.26.1-next.4

1 year ago

0.29.1-next.2

12 months ago

0.28.1-next.41

12 months ago

0.29.1-unstable.202

11 months ago

0.26.1-next.140

1 year ago

0.29.1-unstable.201

11 months ago

0.29.1-unstable.200

11 months ago

0.29.1-next.61

11 months ago

0.28.1-next.60

12 months ago

0.26.1-next.129

1 year ago

0.26.1-next.127

1 year ago

0.26.1-next.131

1 year ago

0.26.1-next.132

1 year ago

0.29.1-unstable.139

11 months ago

0.29.1-unstable.138

11 months ago

0.29.1-unstable.137

11 months ago

0.26.1-next.115

1 year ago

0.26.1-next.113

1 year ago

0.29.1-unstable.143

11 months ago

0.29.1-unstable.142

10 months ago

0.29.1-unstable.141

11 months ago

0.29.1-unstable.147

11 months ago

0.29.1-unstable.146

11 months ago

0.29.1-unstable.145

11 months ago

0.29.1-unstable.144

11 months ago

0.26.1-next.108

1 year ago

0.26.1-next.106

1 year ago

0.29.1-unstable.132

10 months ago

0.29.1-unstable.131

11 months ago

0.29.1-unstable.134

11 months ago

0.29.1-unstable.237

10 months ago

0.29.1-unstable.236

10 months ago

0.29.1-unstable.119

10 months ago

0.29.1-unstable.121

10 months ago

0.29.1-unstable.120

10 months ago

0.29.1-unstable.241

10 months ago

0.29.1-unstable.107

10 months ago

0.29.1-unstable.228

10 months ago

0.29.1-unstable.227

10 months ago

0.29.1-unstable.106

11 months ago

0.29.1-unstable.225

10 months ago

0.29.1-unstable.104

11 months ago

0.29.1-unstable.109

10 months ago

0.29.1-unstable.110

10 months ago

0.29.1-unstable.231

10 months ago

0.29.1-unstable.235

10 months ago

0.29.1-unstable.113

10 months ago

0.29.1-unstable.234

10 months ago

0.29.1-unstable.112

10 months ago

0.29.1-unstable.233

10 months ago

0.29.1-unstable.111

10 months ago

0.29.1-unstable.187

11 months ago

0.29.1-unstable.186

11 months ago

0.29.1-unstable.188

11 months ago

0.29.1-unstable.180

11 months ago

0.29.1-unstable.175

11 months ago

0.29.1-unstable.174

11 months ago

0.29.1-unstable.173

11 months ago

0.25.0

1 year ago

0.29.1-unstable.177

11 months ago

0.29.1-unstable.172

11 months ago

0.29.1-unstable.171

11 months ago

0.29.1-unstable.170

11 months ago

0.29.1-unstable.159

11 months ago

0.29.1-unstable.165

11 months ago

0.29.1-unstable.163

11 months ago

0.27.1-next.8

1 year ago

0.29.1-unstable.162

11 months ago

0.27.1-next.9

1 year ago

0.29.1-unstable.169

11 months ago

0.27.1-next.6

1 year ago

0.27.1-next.7

1 year ago

0.27.1-next.4

1 year ago

0.29.1-unstable.166

11 months ago

0.29.1-unstable.161

11 months ago

0.29.1-unstable.160

11 months ago

0.27.1-next.2

1 year ago

0.29.1-unstable.149

11 months ago

0.29.1-unstable.148

11 months ago

0.29.1-unstable.154

10 months ago

0.29.1-unstable.153

11 months ago

0.29.1-unstable.152

11 months ago

0.29.1-unstable.151

11 months ago

0.26.0

1 year ago

0.29.1-unstable.157

11 months ago

0.29.1-unstable.156

11 months ago

0.29.1-unstable.155

11 months ago

0.29.1-unstable.150

11 months ago

0.28.1-next.11

12 months ago

0.28.1-next.10

12 months ago

0.28.1-next.13

12 months ago

0.25.1-next.118

1 year ago

0.30.0-unstable.0

10 months ago

0.28.1-next.39

12 months ago

0.29.1-unstable.197

11 months ago

0.29.1-unstable.196

11 months ago

0.24.0

1 year ago

0.29.1-unstable.199

11 months ago

0.29.1-unstable.190

11 months ago

0.29.1-unstable.194

11 months ago

0.29.1-unstable.193

11 months ago

0.29.1-unstable.191

11 months ago

0.29.1-unstable.90

11 months ago

0.29.1-unstable.91

11 months ago

0.29.1-unstable.92

11 months ago

0.29.1-unstable.93

11 months ago

0.29.1-unstable.99

11 months ago

0.29.1-unstable.94

11 months ago

0.29.1-unstable.96

11 months ago

0.29.1-unstable.97

11 months ago

0.29.1-unstable.81

11 months ago

0.29.0

12 months ago

0.29.1-unstable.87

11 months ago

0.29.1-unstable.88

11 months ago

0.29.1-unstable.89

11 months ago

0.29.1-unstable.85

11 months ago

0.29.1-unstable.86

11 months ago

0.24.1-next.98

1 year ago

0.27.1-unstable.60

12 months ago

0.27.0

1 year ago

0.24.1-next.42

1 year ago

0.28.0

12 months ago

0.27.1-unstable.43

12 months ago

0.27.1-unstable.41

12 months ago

0.28.1-unstable.38

12 months ago

0.28.1-unstable.32

12 months ago

0.29.1-next.122

10 months ago

0.25.1-next.29

1 year ago

0.25.1-next.28

1 year ago

0.28.1-unstable.43

12 months ago

0.28.1-next.9

12 months ago

0.28.1-next.5

12 months ago

0.28.1-next.6

12 months ago

0.28.1-next.8

12 months ago

0.30.1-unstable.0

10 months ago

0.30.1-unstable.2

10 months ago

0.30.1-unstable.1

10 months ago

0.30.1-unstable.4

10 months ago

0.28.1-unstable.55

12 months ago

0.30.1-unstable.3

10 months ago

0.28.1-unstable.56

12 months ago

0.28.1-unstable.57

12 months ago

0.28.1-unstable.58

12 months ago

0.23.5-next.24

1 year ago

0.29.1-next.104

10 months ago

0.29.1-next.103

11 months ago

0.29.1-next.47

11 months ago

0.29.1-next.46

12 months ago

0.29.1-unstable.54

11 months ago

0.29.1-unstable.50

11 months ago

0.29.1-unstable.51

11 months ago

0.29.1-unstable.52

11 months ago

0.29.1-unstable.53

11 months ago

0.29.1-unstable.48

11 months ago

0.29.1-unstable.49

11 months ago

0.29.1-next.106

10 months ago

0.29.1-unstable.43

12 months ago

0.28.1-unstable.73

12 months ago

0.29.1-next.105

10 months ago

0.29.1-unstable.44

12 months ago

0.29.1-unstable.45

12 months ago

0.24.1-next.100

1 year ago

0.29.1-unstable.79

11 months ago

0.29.1-unstable.72

11 months ago

0.29.1-unstable.73

11 months ago

0.28.1-unstable.89

12 months ago

0.29.1-unstable.74

11 months ago

0.29.1-unstable.75

11 months ago

0.27.1-next.10

1 year ago

0.29.1-unstable.60

11 months ago

0.27.1-next.12

1 year ago

0.24.1-next.113

1 year ago

0.24.1-next.112

1 year ago

0.24.1-next.118

1 year ago

0.24.1-next.116

1 year ago

0.29.1-unstable.62

11 months ago

0.23.5-next.22

1 year ago

0.23.5-next.12

1 year ago

0.23.5-next.11

1 year ago

0.23.5-next.10

1 year ago

0.23.1-next.7

1 year ago

0.23.3-next.3

1 year ago

0.23.4

1 year ago

0.23.2-next.4

1 year ago

0.23.1-next.2

1 year ago

0.23.0

1 year ago

0.21.2-next.25

1 year ago

0.21.2-next.23

1 year ago

0.21.2-next.8

1 year ago

0.21.2-next.7

1 year ago

0.21.2-next.6

1 year ago

0.21.2-next.17

1 year ago

0.21.1

1 year ago

0.22.0

1 year ago

0.21.1-next.8

1 year ago

0.21.1-next.4

1 year ago

0.19.1-next.125

1 year ago

0.19.1-next.126

1 year ago

0.21.0

1 year ago

0.19.1-next.119

1 year ago

0.19.1-next.135

1 year ago

0.21.1-next.2

1 year ago

0.19.1-next.117

1 year ago

0.19.1-next.113

1 year ago

0.19.1-next.114

1 year ago

0.19.1-next.115

1 year ago

0.19.1-next.116

1 year ago

0.19.1-next.111

1 year ago

0.19.1-next.112

1 year ago

0.19.1-next.105

1 year ago

0.19.1-next.110

1 year ago

0.19.1-next.106

1 year ago

0.19.1-next.108

1 year ago

0.19.1-next.109

1 year ago

0.19.1-next.98

1 year ago

0.19.1-next.99

1 year ago

0.19.1-next.102

1 year ago

0.19.1-next.100

1 year ago

0.19.1-next.101

1 year ago

0.19.1-next.96

1 year ago

0.19.1-next.75

1 year ago

0.19.1-next.2

1 year ago

0.19.1-next.24

1 year ago

0.19.0

1 year ago

0.18.2-next.96

1 year ago

0.18.2-next.95

1 year ago

0.18.2-next.94

1 year ago

0.18.2-next.92

1 year ago

0.18.2-next.58

1 year ago

0.18.2-next.62

1 year ago

0.18.2-next.77

1 year ago

0.18.2-next.57

1 year ago

0.18.2-next.47

1 year ago

0.18.2-next.15

1 year ago

0.18.2-next.17

1 year ago

0.18.2-next.14

1 year ago

0.18.2-next.12

1 year ago

0.18.2-next.9

1 year ago

0.18.2-next.3

1 year ago

0.18.1

1 year ago

0.18.1-next.8

1 year ago

0.18.1-next.3

1 year ago

0.18.1-next.2

1 year ago

0.18.1-next.4

1 year ago

0.17.6-next.61

2 years ago

0.18.0

2 years ago

0.17.6-next.58

2 years ago

0.17.6-next.57

2 years ago

0.17.6-next.56

2 years ago

0.17.6-next.52

2 years ago

0.17.2

2 years ago

0.17.3

2 years ago

0.17.4

2 years ago

0.17.5

2 years ago

0.16.1-next.3

2 years ago

0.17.0

2 years ago

0.17.1

2 years ago

0.17.2-next.2

2 years ago

0.17.2-next.4

2 years ago

0.15.2-next.96

2 years ago

0.15.2-next.95

2 years ago

0.15.2-next.97

2 years ago

0.13.1-next.3

2 years ago

0.13.1-next.4

2 years ago

0.13.1-next.5

2 years ago

0.13.1-next.6

2 years ago

0.13.1-next.7

2 years ago

0.13.1-next.8

2 years ago

0.13.1-next.32

2 years ago

0.17.1-next.2

2 years ago

0.13.1-next.33

2 years ago

0.15.0

2 years ago

0.15.1

2 years ago

0.13.1-next.17

2 years ago

0.13.1-next.14

2 years ago

0.13.1-next.15

2 years ago

0.13.1-next.10

2 years ago

0.13.1-next.18

2 years ago

0.16.0

2 years ago

0.13.1-next.27

2 years ago

0.13.1-next.28

2 years ago

0.13.1-next.25

2 years ago

0.13.1-next.26

2 years ago

0.13.1-next.23

2 years ago

0.13.1-next.24

2 years ago

0.15.1-next.2

2 years ago

0.17.3-next.2

2 years ago

0.15.2-next.39

2 years ago

0.15.2-next.32

2 years ago

0.15.2-next.33

2 years ago

0.15.2-next.113

2 years ago

0.15.2-next.110

2 years ago

0.15.2-next.111

2 years ago

0.17.6-next.7

2 years ago

0.17.6-next.6

2 years ago

0.17.6-next.9

2 years ago

0.17.6-next.3

2 years ago

0.17.6-next.2

2 years ago

0.17.6-next.5

2 years ago

0.17.6-next.4

2 years ago

0.14.2-next.28

2 years ago

0.14.2-next.27

2 years ago

0.14.2-next.29

2 years ago

0.14.2-next.23

2 years ago

0.15.2-next.103

2 years ago

0.14.2-next.26

2 years ago

0.15.2-next.104

2 years ago

0.14.2-next.25

2 years ago

0.14.0

2 years ago

0.15.2-next.109

2 years ago

0.14.1

2 years ago

0.15.2-next.124

2 years ago

0.15.2-next.121

2 years ago

0.15.2-next.29

2 years ago

0.14.2-next.18

2 years ago

0.15.2-next.116

2 years ago

0.15.2-next.117

2 years ago

0.15.2-next.114

2 years ago

0.14.2-next.14

2 years ago

0.15.2-next.118

2 years ago

0.14.2-next.40

2 years ago

0.15.2-next.4

2 years ago

0.15.2-next.5

2 years ago

0.15.2-next.6

2 years ago

0.14.2-next.49

2 years ago

0.14.2-next.45

2 years ago

0.14.2-next.48

2 years ago

0.14.2-next.47

2 years ago

0.15.2-next.77

2 years ago

0.14.2-next.43

2 years ago

0.15.2-next.101

2 years ago

0.14.2-next.39

2 years ago

0.14.2-next.38

2 years ago

0.14.1-next.2

2 years ago

0.14.2-next.35

2 years ago

0.14.2-next.34

2 years ago

0.14.2-next.37

2 years ago

0.14.2-next.36

2 years ago

0.14.2-next.31

2 years ago

0.14.2-next.30

2 years ago

0.14.2-next.33

2 years ago

0.14.2-next.32

2 years ago

0.14.2-next.51

2 years ago

0.14.2-next.50

2 years ago

0.17.6-next.16

2 years ago

0.15.2-next.3

2 years ago

0.14.2-next.58

2 years ago

0.13.0

2 years ago

0.12.1-next.21

2 years ago

0.12.1-next.20

2 years ago

0.12.1-next.19

2 years ago

0.12.0

2 years ago

0.11.1-next.154

2 years ago

0.11.1-next.153

2 years ago

0.11.1-next.152

2 years ago

0.11.1-next.162

2 years ago

0.11.1-next.151

2 years ago

0.11.1-next.150

2 years ago

0.11.1-next.149

2 years ago

0.11.1-next.148

2 years ago

0.11.1-next.147

2 years ago

0.11.1-next.146

2 years ago

0.11.1-next.145

2 years ago

0.11.1-next.144

2 years ago

0.11.1-next.142

2 years ago

0.11.1-next.141

2 years ago

0.11.1-next.140

2 years ago

0.11.1-next.131

2 years ago

0.11.1-next.112

2 years ago

0.11.1-next.106

2 years ago

0.11.1-next.72

2 years ago

0.11.1-next.70

2 years ago

0.11.1-next.65

2 years ago