@decaf-ts/for-fabric 0.1.32 → 0.1.33

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.
Files changed (31) hide show
  1. package/lib/esm/shared/model/FabricBaseModel.js +4 -1
  2. package/lib/esm/shared/model/FabricBaseModel.js.map +1 -1
  3. package/lib/esm/shared/model/FabricIdentifiedBaseModel.js +3 -1
  4. package/lib/esm/shared/model/FabricIdentifiedBaseModel.js.map +1 -1
  5. package/lib/esm/shared/model/Identity.d.ts +4 -4
  6. package/lib/esm/shared/model/Identity.js +5 -16
  7. package/lib/esm/shared/model/Identity.js.map +1 -1
  8. package/lib/esm/shared/model/IdentityCredentials.d.ts +4 -4
  9. package/lib/esm/shared/model/IdentityCredentials.js +10 -21
  10. package/lib/esm/shared/model/IdentityCredentials.js.map +1 -1
  11. package/lib/esm/shared/model/index.d.ts +2 -0
  12. package/lib/esm/shared/model/index.js +2 -0
  13. package/lib/esm/shared/model/index.js.map +1 -1
  14. package/lib/esm/version.d.ts +1 -1
  15. package/lib/esm/version.js +1 -1
  16. package/lib/shared/model/FabricBaseModel.cjs +3 -0
  17. package/lib/shared/model/FabricBaseModel.js.map +1 -1
  18. package/lib/shared/model/FabricIdentifiedBaseModel.cjs +2 -0
  19. package/lib/shared/model/FabricIdentifiedBaseModel.js.map +1 -1
  20. package/lib/shared/model/Identity.cjs +4 -15
  21. package/lib/shared/model/Identity.d.ts +4 -4
  22. package/lib/shared/model/Identity.js.map +1 -1
  23. package/lib/shared/model/IdentityCredentials.cjs +9 -20
  24. package/lib/shared/model/IdentityCredentials.d.ts +4 -4
  25. package/lib/shared/model/IdentityCredentials.js.map +1 -1
  26. package/lib/shared/model/index.cjs +2 -0
  27. package/lib/shared/model/index.d.ts +2 -0
  28. package/lib/shared/model/index.js.map +1 -1
  29. package/lib/version.cjs +1 -1
  30. package/lib/version.d.ts +1 -1
  31. package/package.json +1 -1
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { Model } from "@decaf-ts/decorator-validation";
11
- import { createdAt, updatedAt } from "@decaf-ts/core";
11
+ import { column, createdAt, updatedAt } from "@decaf-ts/core";
12
12
  import { version } from "@decaf-ts/db-decorators";
13
13
  import { description, uses } from "@decaf-ts/decoration";
14
14
  import { FabricFlavour } from "./../constants.js";
@@ -19,16 +19,19 @@ let FabricBaseModel = class FabricBaseModel extends Model {
19
19
  };
20
20
  __decorate([
21
21
  description("Stores the original timestamp of creation"),
22
+ column(),
22
23
  createdAt(),
23
24
  __metadata("design:type", Date)
24
25
  ], FabricBaseModel.prototype, "createdAt", void 0);
25
26
  __decorate([
26
27
  description("Stores the timestamp of the last update"),
28
+ column(),
27
29
  updatedAt(),
28
30
  __metadata("design:type", Date)
29
31
  ], FabricBaseModel.prototype, "updatedAt", void 0);
30
32
  __decorate([
31
33
  description("Stores the version of the model"),
34
+ column(),
32
35
  version(),
33
36
  __metadata("design:type", Number)
34
37
  ], FabricBaseModel.prototype, "version", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"FabricBaseModel.js","sourceRoot":"","sources":["../../../../src/shared/model/FabricBaseModel.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAiB,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,0BAAqB;AAGtC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,KAAK;IAaxC,YAAY,GAA+B;QACzC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAbC;IAFC,WAAW,CAAC,2CAA2C,CAAC;IACxD,SAAS,EAAE;8BACA,IAAI;kDAAC;AAIjB;IAFC,WAAW,CAAC,yCAAyC,CAAC;IACtD,SAAS,EAAE;8BACA,IAAI;kDAAC;AAIjB;IAFC,WAAW,CAAC,iCAAiC,CAAC;IAC9C,OAAO,EAAE;;gDACO;AAXN,eAAe;IAD3B,IAAI,CAAC,aAAa,CAAC;;GACP,eAAe,CAgB3B"}
1
+ {"version":3,"file":"FabricBaseModel.js","sourceRoot":"","sources":["../../../../src/shared/model/FabricBaseModel.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAiB,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,0BAAqB;AAGtC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,KAAK;IAgBxC,YAAY,GAA+B;QACzC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAfC;IAHC,WAAW,CAAC,2CAA2C,CAAC;IACxD,MAAM,EAAE;IACR,SAAS,EAAE;8BACA,IAAI;kDAAC;AAKjB;IAHC,WAAW,CAAC,yCAAyC,CAAC;IACtD,MAAM,EAAE;IACR,SAAS,EAAE;8BACA,IAAI;kDAAC;AAKjB;IAHC,WAAW,CAAC,iCAAiC,CAAC;IAC9C,MAAM,EAAE;IACR,OAAO,EAAE;;gDACO;AAdN,eAAe;IAD3B,IAAI,CAAC,aAAa,CAAC;;GACP,eAAe,CAmB3B"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { createdBy, updatedBy } from "@decaf-ts/core";
10
+ import { column, createdBy, updatedBy } from "@decaf-ts/core";
11
11
  import { description, uses } from "@decaf-ts/decoration";
12
12
  import { FabricFlavour } from "./../constants.js";
13
13
  import { FabricBaseModel } from "./FabricBaseModel.js";
@@ -18,11 +18,13 @@ let FabricIdentifiedBaseModel = class FabricIdentifiedBaseModel extends FabricBa
18
18
  };
19
19
  __decorate([
20
20
  description("Stores the creator"),
21
+ column(),
21
22
  createdBy(),
22
23
  __metadata("design:type", String)
23
24
  ], FabricIdentifiedBaseModel.prototype, "createdBy", void 0);
24
25
  __decorate([
25
26
  description("Stores the user that last updated the model"),
27
+ column(),
26
28
  updatedBy(),
27
29
  __metadata("design:type", String)
28
30
  ], FabricIdentifiedBaseModel.prototype, "updatedBy", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"FabricIdentifiedBaseModel.js","sourceRoot":"","sources":["../../../../src/shared/model/FabricIdentifiedBaseModel.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,0BAAqB;AAC7C,OAAO,EAAE,eAAe,EAAE,6BAA0B;AAG7C,IAAe,yBAAyB,GAAxC,MAAe,yBAA0B,SAAQ,eAAe;IASrE,YAAsB,GAAyC;QAC7D,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AATC;IAFC,WAAW,CAAC,oBAAoB,CAAC;IACjC,SAAS,EAAE;;4DACO;AAInB;IAFC,WAAW,CAAC,6CAA6C,CAAC;IAC1D,SAAS,EAAE;;4DACO;AAPC,yBAAyB;IAD9C,IAAI,CAAC,aAAa,CAAC;;GACE,yBAAyB,CAY9C"}
1
+ {"version":3,"file":"FabricIdentifiedBaseModel.js","sourceRoot":"","sources":["../../../../src/shared/model/FabricIdentifiedBaseModel.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,0BAAqB;AAC7C,OAAO,EAAE,eAAe,EAAE,6BAA0B;AAG7C,IAAe,yBAAyB,GAAxC,MAAe,yBAA0B,SAAQ,eAAe;IAWrE,YAAsB,GAAyC;QAC7D,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAVC;IAHC,WAAW,CAAC,oBAAoB,CAAC;IACjC,MAAM,EAAE;IACR,SAAS,EAAE;;4DACO;AAKnB;IAHC,WAAW,CAAC,6CAA6C,CAAC;IAC1D,MAAM,EAAE;IACR,SAAS,EAAE;;4DACO;AATC,yBAAyB;IAD9C,IAAI,CAAC,aAAa,CAAC;;GACE,yBAAyB,CAc9C"}
@@ -22,21 +22,21 @@ export declare class Identity extends BaseModel {
22
22
  * @description Unique identifier of the identity in the wallet
23
23
  * @summary Primary key used to reference this identity record
24
24
  */
25
- id?: string;
25
+ id: string;
26
26
  /**
27
27
  * @description Link to the identity credentials stored separately
28
28
  * @summary One-to-one relationship to the credentials entity; cascades on update and delete
29
29
  */
30
- credentials?: IdentityCredentials;
30
+ credentials: IdentityCredentials;
31
31
  /**
32
32
  * @description Membership Service Provider identifier
33
33
  * @summary The MSP ID corresponding to the organization that issued this identity
34
34
  */
35
- mspId?: string;
35
+ mspId: string;
36
36
  /**
37
37
  * @description Type of identity
38
38
  * @summary Indicates the identity encoding/format; defaults to X.509
39
39
  */
40
- type?: IdentityType;
40
+ type: IdentityType;
41
41
  constructor(arg: ModelArg<Identity>);
42
42
  }
@@ -7,10 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BaseModel, Cascade, index, oneToOne, pk } from "@decaf-ts/core";
10
+ import { BaseModel, Cascade, column, index, oneToOne, pk, } from "@decaf-ts/core";
11
11
  import { model, required } from "@decaf-ts/decorator-validation";
12
12
  import { IdentityCredentials } from "./IdentityCredentials.js";
13
13
  import { IdentityType } from "./../constants.js";
14
+ import { description } from "@decaf-ts/decoration";
14
15
  /**
15
16
  * @description Identity model representing a Fabric wallet entry
16
17
  * @summary Encapsulates an identity stored in a Fabric wallet, including its MSP identifier, credential linkage, and type information. Built on BaseModel for integration with Decaf validation and persistence.
@@ -29,21 +30,6 @@ import { IdentityType } from "./../constants.js";
29
30
  let Identity = class Identity extends BaseModel {
30
31
  constructor(arg) {
31
32
  super(arg);
32
- /**
33
- * @description Unique identifier of the identity in the wallet
34
- * @summary Primary key used to reference this identity record
35
- */
36
- this.id = undefined;
37
- /**
38
- * @description Link to the identity credentials stored separately
39
- * @summary One-to-one relationship to the credentials entity; cascades on update and delete
40
- */
41
- this.credentials = undefined;
42
- /**
43
- * @description Membership Service Provider identifier
44
- * @summary The MSP ID corresponding to the organization that issued this identity
45
- */
46
- this.mspId = undefined;
47
33
  /**
48
34
  * @description Type of identity
49
35
  * @summary Indicates the identity encoding/format; defaults to X.509
@@ -52,6 +38,7 @@ let Identity = class Identity extends BaseModel {
52
38
  }
53
39
  };
54
40
  __decorate([
41
+ description("Unique identifier of the identity"),
55
42
  pk(),
56
43
  __metadata("design:type", String)
57
44
  ], Identity.prototype, "id", void 0);
@@ -63,11 +50,13 @@ __decorate([
63
50
  __metadata("design:type", IdentityCredentials)
64
51
  ], Identity.prototype, "credentials", void 0);
65
52
  __decorate([
53
+ column(),
66
54
  required(),
67
55
  index(),
68
56
  __metadata("design:type", String)
69
57
  ], Identity.prototype, "mspId", void 0);
70
58
  __decorate([
59
+ column(),
71
60
  required(),
72
61
  __metadata("design:type", String)
73
62
  ], Identity.prototype, "type", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"Identity.js","sourceRoot":"","sources":["../../../../src/shared/model/Identity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,KAAK,EAAiB,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,iCAA8B;AAC5D,OAAO,EAAE,YAAY,EAAE,0BAAqB;AAE5C;;;;;;;;;;;;;;GAcG;AAEI,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,SAAS;IAiCrC,YAAY,GAAuB;QACjC,KAAK,CAAC,GAAG,CAAC,CAAC;QAjCb;;;WAGG;QAEH,OAAE,GAAY,SAAS,CAAC;QAExB;;;WAGG;QAKH,gBAAW,GAAyB,SAAS,CAAC;QAE9C;;;WAGG;QAGH,UAAK,GAAY,SAAS,CAAC;QAE3B;;;WAGG;QAEH,SAAI,GAAkB,YAAY,CAAC,IAAI,CAAC;IAIxC,CAAC;CACF,CAAA;AA9BC;IADC,EAAE,EAAE;;oCACmB;AAUxB;IAJC,QAAQ,CAAC,mBAAmB,EAAE;QAC7B,MAAM,EAAE,OAAO,CAAC,OAAO;QACvB,MAAM,EAAE,OAAO,CAAC,OAAO;KACxB,CAAC;8BACY,mBAAmB;6CAAa;AAQ9C;IAFC,QAAQ,EAAE;IACV,KAAK,EAAE;;uCACmB;AAO3B;IADC,QAAQ,EAAE;;sCAC6B;AA/B7B,QAAQ;IADpB,KAAK,EAAE;;GACK,QAAQ,CAoCpB"}
1
+ {"version":3,"file":"Identity.js","sourceRoot":"","sources":["../../../../src/shared/model/Identity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,QAAQ,EACR,EAAE,GACH,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAiB,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,iCAA8B;AAC5D,OAAO,EAAE,YAAY,EAAE,0BAAqB;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;;;;;;;;;GAcG;AAEI,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,SAAS;IAoCrC,YAAY,GAAuB;QACjC,KAAK,CAAC,GAAG,CAAC,CAAC;QATb;;;WAGG;QAGH,SAAI,GAAiB,YAAY,CAAC,IAAI,CAAC;IAIvC,CAAC;CACF,CAAA;AAhCC;IAFC,WAAW,CAAC,mCAAmC,CAAC;IAChD,EAAE,EAAE;;oCACO;AAUZ;IAJC,QAAQ,CAAC,mBAAmB,EAAE;QAC7B,MAAM,EAAE,OAAO,CAAC,OAAO;QACvB,MAAM,EAAE,OAAO,CAAC,OAAO;KACxB,CAAC;8BACY,mBAAmB;6CAAC;AASlC;IAHC,MAAM,EAAE;IACR,QAAQ,EAAE;IACV,KAAK,EAAE;;uCACO;AAQf;IAFC,MAAM,EAAE;IACR,QAAQ,EAAE;;sCAC4B;AAlC5B,QAAQ;IADpB,KAAK,EAAE;;GACK,QAAQ,CAuCpB"}
@@ -21,21 +21,21 @@ export declare class IdentityCredentials extends BaseModel {
21
21
  * @description Unique identifier of the credentials record
22
22
  * @summary Primary key for referencing this credentials entry
23
23
  */
24
- id?: string;
24
+ id: string;
25
25
  /**
26
26
  * @description PEM-encoded X.509 certificate for the identity
27
27
  * @summary Leaf certificate associated with the identity
28
28
  */
29
- certificate?: string;
29
+ certificate: string;
30
30
  /**
31
31
  * @description PEM-encoded root or intermediate certificate
32
32
  * @summary Root of trust used to validate the leaf certificate
33
33
  */
34
- rootCertificate?: string;
34
+ rootCertificate: string;
35
35
  /**
36
36
  * @description PEM-encoded private key material
37
37
  * @summary Private key corresponding to the identity certificate
38
38
  */
39
- privateKey?: string;
39
+ privateKey: string;
40
40
  constructor(arg?: ModelArg<IdentityCredentials>);
41
41
  }
@@ -7,8 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BaseModel, pk } from "@decaf-ts/core";
10
+ import { BaseModel, column, pk } from "@decaf-ts/core";
11
11
  import { model, required } from "@decaf-ts/decorator-validation";
12
+ import { description } from "@decaf-ts/decoration";
12
13
  /**
13
14
  * @description Identity credential model storing cryptographic materials
14
15
  * @summary Holds certificate chain and private key information for a Fabric identity, managed as a separate entity linked from Identity
@@ -28,41 +29,29 @@ import { model, required } from "@decaf-ts/decorator-validation";
28
29
  let IdentityCredentials = class IdentityCredentials extends BaseModel {
29
30
  constructor(arg) {
30
31
  super(arg);
31
- /**
32
- * @description Unique identifier of the credentials record
33
- * @summary Primary key for referencing this credentials entry
34
- */
35
- this.id = undefined;
36
- /**
37
- * @description PEM-encoded X.509 certificate for the identity
38
- * @summary Leaf certificate associated with the identity
39
- */
40
- this.certificate = undefined;
41
- /**
42
- * @description PEM-encoded root or intermediate certificate
43
- * @summary Root of trust used to validate the leaf certificate
44
- */
45
- this.rootCertificate = undefined;
46
- /**
47
- * @description PEM-encoded private key material
48
- * @summary Private key corresponding to the identity certificate
49
- */
50
- this.privateKey = undefined;
51
32
  }
52
33
  };
53
34
  __decorate([
35
+ description("Unique identifier of the credentials record"),
36
+ column(),
54
37
  pk(),
55
38
  __metadata("design:type", String)
56
39
  ], IdentityCredentials.prototype, "id", void 0);
57
40
  __decorate([
41
+ description("PEM-encoded X.509 certificate for the identity"),
42
+ column(),
58
43
  required(),
59
44
  __metadata("design:type", String)
60
45
  ], IdentityCredentials.prototype, "certificate", void 0);
61
46
  __decorate([
47
+ description("PEM-encoded root or intermediate certificate"),
48
+ column(),
62
49
  required(),
63
50
  __metadata("design:type", String)
64
51
  ], IdentityCredentials.prototype, "rootCertificate", void 0);
65
52
  __decorate([
53
+ description("PEM-encoded private key"),
54
+ column(),
66
55
  required(),
67
56
  __metadata("design:type", String)
68
57
  ], IdentityCredentials.prototype, "privateKey", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityCredentials.js","sourceRoot":"","sources":["../../../../src/shared/model/IdentityCredentials.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAiB,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAEhF;;;;;;;;;;;;;;;GAeG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,SAAS;IA6BhD,YAAY,GAAmC;QAC7C,KAAK,CAAC,GAAG,CAAC,CAAC;QA7Bb;;;WAGG;QAEH,OAAE,GAAY,SAAS,CAAC;QAExB;;;WAGG;QAEH,gBAAW,GAAY,SAAS,CAAC;QAEjC;;;WAGG;QAEH,oBAAe,GAAY,SAAS,CAAC;QAErC;;;WAGG;QAEH,eAAU,GAAY,SAAS,CAAC;IAIhC,CAAC;CACF,CAAA;AA1BC;IADC,EAAE,EAAE;;+CACmB;AAOxB;IADC,QAAQ,EAAE;;wDACsB;AAOjC;IADC,QAAQ,EAAE;;4DAC0B;AAOrC;IADC,QAAQ,EAAE;;uDACqB;AA3BrB,mBAAmB;IAD/B,KAAK,EAAE;;GACK,mBAAmB,CAgC/B"}
1
+ {"version":3,"file":"IdentityCredentials.js","sourceRoot":"","sources":["../../../../src/shared/model/IdentityCredentials.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAiB,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;;;;;;;;;;GAeG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,SAAS;IAqChD,YAAY,GAAmC;QAC7C,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAhCC;IAHC,WAAW,CAAC,6CAA6C,CAAC;IAC1D,MAAM,EAAE;IACR,EAAE,EAAE;;+CACO;AASZ;IAHC,WAAW,CAAC,gDAAgD,CAAC;IAC7D,MAAM,EAAE;IACR,QAAQ,EAAE;;wDACU;AASrB;IAHC,WAAW,CAAC,8CAA8C,CAAC;IAC3D,MAAM,EAAE;IACR,QAAQ,EAAE;;4DACc;AASzB;IAHC,WAAW,CAAC,yBAAyB,CAAC;IACtC,MAAM,EAAE;IACR,QAAQ,EAAE;;uDACS;AAnCT,mBAAmB;IAD/B,KAAK,EAAE;;GACK,mBAAmB,CAwC/B"}
@@ -1,2 +1,4 @@
1
+ export * from "./FabricBaseModel";
2
+ export * from "./FabricIdentifiedBaseModel";
1
3
  export * from "./Identity";
2
4
  export * from "./IdentityCredentials";
@@ -1,3 +1,5 @@
1
+ export * from "./FabricBaseModel.js";
2
+ export * from "./FabricIdentifiedBaseModel.js";
1
3
  export * from "./Identity.js";
2
4
  export * from "./IdentityCredentials.js";
3
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/model/index.ts"],"names":[],"mappings":"AAAA,8BAA2B;AAC3B,yCAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/model/index.ts"],"names":[],"mappings":"AAAA,qCAAkC;AAClC,+CAA4C;AAC5C,8BAA2B;AAC3B,yCAAsC"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.31";
1
+ export declare const VERSION = "0.1.32";
2
2
  export declare const PACKAGE_NAME = "@decaf-ts/for-fabric";
@@ -1,5 +1,5 @@
1
1
  import { Metadata } from "@decaf-ts/decoration";
2
- export const VERSION = "0.1.31";
2
+ export const VERSION = "0.1.32";
3
3
  export const PACKAGE_NAME = "@decaf-ts/for-fabric";
4
4
  Metadata.registerLibrary(PACKAGE_NAME, VERSION);
5
5
  //# sourceMappingURL=version.js.map
@@ -23,16 +23,19 @@ let FabricBaseModel = class FabricBaseModel extends decorator_validation_1.Model
23
23
  exports.FabricBaseModel = FabricBaseModel;
24
24
  __decorate([
25
25
  (0, decoration_1.description)("Stores the original timestamp of creation"),
26
+ (0, core_1.column)(),
26
27
  (0, core_1.createdAt)(),
27
28
  __metadata("design:type", Date)
28
29
  ], FabricBaseModel.prototype, "createdAt", void 0);
29
30
  __decorate([
30
31
  (0, decoration_1.description)("Stores the timestamp of the last update"),
32
+ (0, core_1.column)(),
31
33
  (0, core_1.updatedAt)(),
32
34
  __metadata("design:type", Date)
33
35
  ], FabricBaseModel.prototype, "updatedAt", void 0);
34
36
  __decorate([
35
37
  (0, decoration_1.description)("Stores the version of the model"),
38
+ (0, core_1.column)(),
36
39
  (0, db_decorators_1.version)(),
37
40
  __metadata("design:type", Number)
38
41
  ], FabricBaseModel.prototype, "version", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"FabricBaseModel.js","sourceRoot":"","sources":["../../../src/shared/model/FabricBaseModel.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAsE;AACtE,yCAAsD;AACtD,2DAAkD;AAClD,qDAAyD;AACzD,kDAA6C;AAGtC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,4BAAK;IAaxC,YAAY,GAA+B;QACzC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAhBY,0CAAe;AAG1B;IAFC,IAAA,wBAAW,EAAC,2CAA2C,CAAC;IACxD,IAAA,gBAAS,GAAE;8BACA,IAAI;kDAAC;AAIjB;IAFC,IAAA,wBAAW,EAAC,yCAAyC,CAAC;IACtD,IAAA,gBAAS,GAAE;8BACA,IAAI;kDAAC;AAIjB;IAFC,IAAA,wBAAW,EAAC,iCAAiC,CAAC;IAC9C,IAAA,uBAAO,GAAE;;gDACO;0BAXN,eAAe;IAD3B,IAAA,iBAAI,EAAC,yBAAa,CAAC;;GACP,eAAe,CAgB3B"}
1
+ {"version":3,"file":"FabricBaseModel.js","sourceRoot":"","sources":["../../../src/shared/model/FabricBaseModel.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAsE;AACtE,yCAA8D;AAC9D,2DAAkD;AAClD,qDAAyD;AACzD,kDAA6C;AAGtC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,4BAAK;IAgBxC,YAAY,GAA+B;QACzC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAnBY,0CAAe;AAI1B;IAHC,IAAA,wBAAW,EAAC,2CAA2C,CAAC;IACxD,IAAA,aAAM,GAAE;IACR,IAAA,gBAAS,GAAE;8BACA,IAAI;kDAAC;AAKjB;IAHC,IAAA,wBAAW,EAAC,yCAAyC,CAAC;IACtD,IAAA,aAAM,GAAE;IACR,IAAA,gBAAS,GAAE;8BACA,IAAI;kDAAC;AAKjB;IAHC,IAAA,wBAAW,EAAC,iCAAiC,CAAC;IAC9C,IAAA,aAAM,GAAE;IACR,IAAA,uBAAO,GAAE;;gDACO;0BAdN,eAAe;IAD3B,IAAA,iBAAI,EAAC,yBAAa,CAAC;;GACP,eAAe,CAmB3B"}
@@ -22,11 +22,13 @@ let FabricIdentifiedBaseModel = class FabricIdentifiedBaseModel extends FabricBa
22
22
  exports.FabricIdentifiedBaseModel = FabricIdentifiedBaseModel;
23
23
  __decorate([
24
24
  (0, decoration_1.description)("Stores the creator"),
25
+ (0, core_1.column)(),
25
26
  (0, core_1.createdBy)(),
26
27
  __metadata("design:type", String)
27
28
  ], FabricIdentifiedBaseModel.prototype, "createdBy", void 0);
28
29
  __decorate([
29
30
  (0, decoration_1.description)("Stores the user that last updated the model"),
31
+ (0, core_1.column)(),
30
32
  (0, core_1.updatedBy)(),
31
33
  __metadata("design:type", String)
32
34
  ], FabricIdentifiedBaseModel.prototype, "updatedBy", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"FabricIdentifiedBaseModel.js","sourceRoot":"","sources":["../../../src/shared/model/FabricIdentifiedBaseModel.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yCAAsD;AACtD,qDAAyD;AACzD,kDAA6C;AAC7C,2DAAoD;AAG7C,IAAe,yBAAyB,GAAxC,MAAe,yBAA0B,SAAQ,iCAAe;IASrE,YAAsB,GAAyC;QAC7D,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAZqB,8DAAyB;AAG7C;IAFC,IAAA,wBAAW,EAAC,oBAAoB,CAAC;IACjC,IAAA,gBAAS,GAAE;;4DACO;AAInB;IAFC,IAAA,wBAAW,EAAC,6CAA6C,CAAC;IAC1D,IAAA,gBAAS,GAAE;;4DACO;oCAPC,yBAAyB;IAD9C,IAAA,iBAAI,EAAC,yBAAa,CAAC;;GACE,yBAAyB,CAY9C"}
1
+ {"version":3,"file":"FabricIdentifiedBaseModel.js","sourceRoot":"","sources":["../../../src/shared/model/FabricIdentifiedBaseModel.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yCAA8D;AAC9D,qDAAyD;AACzD,kDAA6C;AAC7C,2DAAoD;AAG7C,IAAe,yBAAyB,GAAxC,MAAe,yBAA0B,SAAQ,iCAAe;IAWrE,YAAsB,GAAyC;QAC7D,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAdqB,8DAAyB;AAI7C;IAHC,IAAA,wBAAW,EAAC,oBAAoB,CAAC;IACjC,IAAA,aAAM,GAAE;IACR,IAAA,gBAAS,GAAE;;4DACO;AAKnB;IAHC,IAAA,wBAAW,EAAC,6CAA6C,CAAC;IAC1D,IAAA,aAAM,GAAE;IACR,IAAA,gBAAS,GAAE;;4DACO;oCATC,yBAAyB;IAD9C,IAAA,iBAAI,EAAC,yBAAa,CAAC;;GACE,yBAAyB,CAc9C"}
@@ -14,6 +14,7 @@ const core_1 = require("@decaf-ts/core");
14
14
  const decorator_validation_1 = require("@decaf-ts/decorator-validation");
15
15
  const IdentityCredentials_1 = require("./IdentityCredentials.cjs");
16
16
  const constants_1 = require("./../constants.cjs");
17
+ const decoration_1 = require("@decaf-ts/decoration");
17
18
  /**
18
19
  * @description Identity model representing a Fabric wallet entry
19
20
  * @summary Encapsulates an identity stored in a Fabric wallet, including its MSP identifier, credential linkage, and type information. Built on BaseModel for integration with Decaf validation and persistence.
@@ -32,21 +33,6 @@ const constants_1 = require("./../constants.cjs");
32
33
  let Identity = class Identity extends core_1.BaseModel {
33
34
  constructor(arg) {
34
35
  super(arg);
35
- /**
36
- * @description Unique identifier of the identity in the wallet
37
- * @summary Primary key used to reference this identity record
38
- */
39
- this.id = undefined;
40
- /**
41
- * @description Link to the identity credentials stored separately
42
- * @summary One-to-one relationship to the credentials entity; cascades on update and delete
43
- */
44
- this.credentials = undefined;
45
- /**
46
- * @description Membership Service Provider identifier
47
- * @summary The MSP ID corresponding to the organization that issued this identity
48
- */
49
- this.mspId = undefined;
50
36
  /**
51
37
  * @description Type of identity
52
38
  * @summary Indicates the identity encoding/format; defaults to X.509
@@ -56,6 +42,7 @@ let Identity = class Identity extends core_1.BaseModel {
56
42
  };
57
43
  exports.Identity = Identity;
58
44
  __decorate([
45
+ (0, decoration_1.description)("Unique identifier of the identity"),
59
46
  (0, core_1.pk)(),
60
47
  __metadata("design:type", String)
61
48
  ], Identity.prototype, "id", void 0);
@@ -67,11 +54,13 @@ __decorate([
67
54
  __metadata("design:type", IdentityCredentials_1.IdentityCredentials)
68
55
  ], Identity.prototype, "credentials", void 0);
69
56
  __decorate([
57
+ (0, core_1.column)(),
70
58
  (0, decorator_validation_1.required)(),
71
59
  (0, core_1.index)(),
72
60
  __metadata("design:type", String)
73
61
  ], Identity.prototype, "mspId", void 0);
74
62
  __decorate([
63
+ (0, core_1.column)(),
75
64
  (0, decorator_validation_1.required)(),
76
65
  __metadata("design:type", String)
77
66
  ], Identity.prototype, "type", void 0);
@@ -22,21 +22,21 @@ export declare class Identity extends BaseModel {
22
22
  * @description Unique identifier of the identity in the wallet
23
23
  * @summary Primary key used to reference this identity record
24
24
  */
25
- id?: string;
25
+ id: string;
26
26
  /**
27
27
  * @description Link to the identity credentials stored separately
28
28
  * @summary One-to-one relationship to the credentials entity; cascades on update and delete
29
29
  */
30
- credentials?: IdentityCredentials;
30
+ credentials: IdentityCredentials;
31
31
  /**
32
32
  * @description Membership Service Provider identifier
33
33
  * @summary The MSP ID corresponding to the organization that issued this identity
34
34
  */
35
- mspId?: string;
35
+ mspId: string;
36
36
  /**
37
37
  * @description Type of identity
38
38
  * @summary Indicates the identity encoding/format; defaults to X.509
39
39
  */
40
- type?: IdentityType;
40
+ type: IdentityType;
41
41
  constructor(arg: ModelArg<Identity>);
42
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Identity.js","sourceRoot":"","sources":["../../../src/shared/model/Identity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAyE;AACzE,yEAAgF;AAChF,mEAA4D;AAC5D,kDAA4C;AAE5C;;;;;;;;;;;;;;GAcG;AAEI,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,gBAAS;IAiCrC,YAAY,GAAuB;QACjC,KAAK,CAAC,GAAG,CAAC,CAAC;QAjCb;;;WAGG;QAEH,OAAE,GAAY,SAAS,CAAC;QAExB;;;WAGG;QAKH,gBAAW,GAAyB,SAAS,CAAC;QAE9C;;;WAGG;QAGH,UAAK,GAAY,SAAS,CAAC;QAE3B;;;WAGG;QAEH,SAAI,GAAkB,wBAAY,CAAC,IAAI,CAAC;IAIxC,CAAC;CACF,CAAA;AApCY,4BAAQ;AAMnB;IADC,IAAA,SAAE,GAAE;;oCACmB;AAUxB;IAJC,IAAA,eAAQ,EAAC,yCAAmB,EAAE;QAC7B,MAAM,EAAE,cAAO,CAAC,OAAO;QACvB,MAAM,EAAE,cAAO,CAAC,OAAO;KACxB,CAAC;8BACY,yCAAmB;6CAAa;AAQ9C;IAFC,IAAA,+BAAQ,GAAE;IACV,IAAA,YAAK,GAAE;;uCACmB;AAO3B;IADC,IAAA,+BAAQ,GAAE;;sCAC6B;mBA/B7B,QAAQ;IADpB,IAAA,4BAAK,GAAE;;GACK,QAAQ,CAoCpB"}
1
+ {"version":3,"file":"Identity.js","sourceRoot":"","sources":["../../../src/shared/model/Identity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAOwB;AACxB,yEAAgF;AAChF,mEAA4D;AAC5D,kDAA4C;AAC5C,qDAAmD;AAEnD;;;;;;;;;;;;;;GAcG;AAEI,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,gBAAS;IAoCrC,YAAY,GAAuB;QACjC,KAAK,CAAC,GAAG,CAAC,CAAC;QATb;;;WAGG;QAGH,SAAI,GAAiB,wBAAY,CAAC,IAAI,CAAC;IAIvC,CAAC;CACF,CAAA;AAvCY,4BAAQ;AAOnB;IAFC,IAAA,wBAAW,EAAC,mCAAmC,CAAC;IAChD,IAAA,SAAE,GAAE;;oCACO;AAUZ;IAJC,IAAA,eAAQ,EAAC,yCAAmB,EAAE;QAC7B,MAAM,EAAE,cAAO,CAAC,OAAO;QACvB,MAAM,EAAE,cAAO,CAAC,OAAO;KACxB,CAAC;8BACY,yCAAmB;6CAAC;AASlC;IAHC,IAAA,aAAM,GAAE;IACR,IAAA,+BAAQ,GAAE;IACV,IAAA,YAAK,GAAE;;uCACO;AAQf;IAFC,IAAA,aAAM,GAAE;IACR,IAAA,+BAAQ,GAAE;;sCAC4B;mBAlC5B,QAAQ;IADpB,IAAA,4BAAK,GAAE;;GACK,QAAQ,CAuCpB"}
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.IdentityCredentials = void 0;
13
13
  const core_1 = require("@decaf-ts/core");
14
14
  const decorator_validation_1 = require("@decaf-ts/decorator-validation");
15
+ const decoration_1 = require("@decaf-ts/decoration");
15
16
  /**
16
17
  * @description Identity credential model storing cryptographic materials
17
18
  * @summary Holds certificate chain and private key information for a Fabric identity, managed as a separate entity linked from Identity
@@ -31,42 +32,30 @@ const decorator_validation_1 = require("@decaf-ts/decorator-validation");
31
32
  let IdentityCredentials = class IdentityCredentials extends core_1.BaseModel {
32
33
  constructor(arg) {
33
34
  super(arg);
34
- /**
35
- * @description Unique identifier of the credentials record
36
- * @summary Primary key for referencing this credentials entry
37
- */
38
- this.id = undefined;
39
- /**
40
- * @description PEM-encoded X.509 certificate for the identity
41
- * @summary Leaf certificate associated with the identity
42
- */
43
- this.certificate = undefined;
44
- /**
45
- * @description PEM-encoded root or intermediate certificate
46
- * @summary Root of trust used to validate the leaf certificate
47
- */
48
- this.rootCertificate = undefined;
49
- /**
50
- * @description PEM-encoded private key material
51
- * @summary Private key corresponding to the identity certificate
52
- */
53
- this.privateKey = undefined;
54
35
  }
55
36
  };
56
37
  exports.IdentityCredentials = IdentityCredentials;
57
38
  __decorate([
39
+ (0, decoration_1.description)("Unique identifier of the credentials record"),
40
+ (0, core_1.column)(),
58
41
  (0, core_1.pk)(),
59
42
  __metadata("design:type", String)
60
43
  ], IdentityCredentials.prototype, "id", void 0);
61
44
  __decorate([
45
+ (0, decoration_1.description)("PEM-encoded X.509 certificate for the identity"),
46
+ (0, core_1.column)(),
62
47
  (0, decorator_validation_1.required)(),
63
48
  __metadata("design:type", String)
64
49
  ], IdentityCredentials.prototype, "certificate", void 0);
65
50
  __decorate([
51
+ (0, decoration_1.description)("PEM-encoded root or intermediate certificate"),
52
+ (0, core_1.column)(),
66
53
  (0, decorator_validation_1.required)(),
67
54
  __metadata("design:type", String)
68
55
  ], IdentityCredentials.prototype, "rootCertificate", void 0);
69
56
  __decorate([
57
+ (0, decoration_1.description)("PEM-encoded private key"),
58
+ (0, core_1.column)(),
70
59
  (0, decorator_validation_1.required)(),
71
60
  __metadata("design:type", String)
72
61
  ], IdentityCredentials.prototype, "privateKey", void 0);
@@ -21,21 +21,21 @@ export declare class IdentityCredentials extends BaseModel {
21
21
  * @description Unique identifier of the credentials record
22
22
  * @summary Primary key for referencing this credentials entry
23
23
  */
24
- id?: string;
24
+ id: string;
25
25
  /**
26
26
  * @description PEM-encoded X.509 certificate for the identity
27
27
  * @summary Leaf certificate associated with the identity
28
28
  */
29
- certificate?: string;
29
+ certificate: string;
30
30
  /**
31
31
  * @description PEM-encoded root or intermediate certificate
32
32
  * @summary Root of trust used to validate the leaf certificate
33
33
  */
34
- rootCertificate?: string;
34
+ rootCertificate: string;
35
35
  /**
36
36
  * @description PEM-encoded private key material
37
37
  * @summary Private key corresponding to the identity certificate
38
38
  */
39
- privateKey?: string;
39
+ privateKey: string;
40
40
  constructor(arg?: ModelArg<IdentityCredentials>);
41
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityCredentials.js","sourceRoot":"","sources":["../../../src/shared/model/IdentityCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA+C;AAC/C,yEAAgF;AAEhF;;;;;;;;;;;;;;;GAeG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,gBAAS;IA6BhD,YAAY,GAAmC;QAC7C,KAAK,CAAC,GAAG,CAAC,CAAC;QA7Bb;;;WAGG;QAEH,OAAE,GAAY,SAAS,CAAC;QAExB;;;WAGG;QAEH,gBAAW,GAAY,SAAS,CAAC;QAEjC;;;WAGG;QAEH,oBAAe,GAAY,SAAS,CAAC;QAErC;;;WAGG;QAEH,eAAU,GAAY,SAAS,CAAC;IAIhC,CAAC;CACF,CAAA;AAhCY,kDAAmB;AAM9B;IADC,IAAA,SAAE,GAAE;;+CACmB;AAOxB;IADC,IAAA,+BAAQ,GAAE;;wDACsB;AAOjC;IADC,IAAA,+BAAQ,GAAE;;4DAC0B;AAOrC;IADC,IAAA,+BAAQ,GAAE;;uDACqB;8BA3BrB,mBAAmB;IAD/B,IAAA,4BAAK,GAAE;;GACK,mBAAmB,CAgC/B"}
1
+ {"version":3,"file":"IdentityCredentials.js","sourceRoot":"","sources":["../../../src/shared/model/IdentityCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAuD;AACvD,yEAAgF;AAChF,qDAAmD;AAEnD;;;;;;;;;;;;;;;GAeG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,gBAAS;IAqChD,YAAY,GAAmC;QAC7C,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AAxCY,kDAAmB;AAQ9B;IAHC,IAAA,wBAAW,EAAC,6CAA6C,CAAC;IAC1D,IAAA,aAAM,GAAE;IACR,IAAA,SAAE,GAAE;;+CACO;AASZ;IAHC,IAAA,wBAAW,EAAC,gDAAgD,CAAC;IAC7D,IAAA,aAAM,GAAE;IACR,IAAA,+BAAQ,GAAE;;wDACU;AASrB;IAHC,IAAA,wBAAW,EAAC,8CAA8C,CAAC;IAC3D,IAAA,aAAM,GAAE;IACR,IAAA,+BAAQ,GAAE;;4DACc;AASzB;IAHC,IAAA,wBAAW,EAAC,yBAAyB,CAAC;IACtC,IAAA,aAAM,GAAE;IACR,IAAA,+BAAQ,GAAE;;uDACS;8BAnCT,mBAAmB;IAD/B,IAAA,4BAAK,GAAE;;GACK,mBAAmB,CAwC/B"}
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./FabricBaseModel.cjs"), exports);
18
+ __exportStar(require("./FabricIdentifiedBaseModel.cjs"), exports);
17
19
  __exportStar(require("./Identity.cjs"), exports);
18
20
  __exportStar(require("./IdentityCredentials.cjs"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,4 @@
1
+ export * from "./FabricBaseModel";
2
+ export * from "./FabricIdentifiedBaseModel";
1
3
  export * from "./Identity";
2
4
  export * from "./IdentityCredentials";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA2B;AAC3B,4DAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAkC;AAClC,kEAA4C;AAC5C,iDAA2B;AAC3B,4DAAsC"}
package/lib/version.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PACKAGE_NAME = exports.VERSION = void 0;
4
4
  const decoration_1 = require("@decaf-ts/decoration");
5
- exports.VERSION = "0.1.31";
5
+ exports.VERSION = "0.1.32";
6
6
  exports.PACKAGE_NAME = "@decaf-ts/for-fabric";
7
7
  decoration_1.Metadata.registerLibrary(exports.PACKAGE_NAME, exports.VERSION);
8
8
  //# sourceMappingURL=version.js.map
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.31";
1
+ export declare const VERSION = "0.1.32";
2
2
  export declare const PACKAGE_NAME = "@decaf-ts/for-fabric";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/for-fabric",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Abstracts fabric logic",
5
5
  "type": "module",
6
6
  "exports": {