@peculiar/acme-data-memory
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -25,2 +25,3 @@ "use strict"; | ||
container.register(data.diOrderRepository, repositories.OrderRepository, { lifecycle: tsyringe_1.Lifecycle.Singleton }); | ||
container.register(data.diCertificateRepository, repositories.CertificateRepository, { lifecycle: tsyringe_1.Lifecycle.Singleton }); | ||
container.register(data.diOrderAuthorizationRepository, repositories.OrderAuthorizationRepository, { lifecycle: tsyringe_1.Lifecycle.Singleton }); | ||
@@ -27,0 +28,0 @@ } |
@@ -9,2 +9,3 @@ "use strict"; | ||
this.thumbprint = ""; | ||
this.type = "leaf"; | ||
this.rawData = new ArrayBuffer(0); | ||
@@ -11,0 +12,0 @@ this.status = "valid"; |
@@ -6,2 +6,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./authorization"), exports); | ||
tslib_1.__exportStar(require("./certificate"), exports); | ||
tslib_1.__exportStar(require("./base"), exports); | ||
@@ -8,0 +9,0 @@ tslib_1.__exportStar(require("./challenge"), exports); |
@@ -9,3 +9,3 @@ "use strict"; | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return this.items.find(o => o.certificate && o.certificate.thumbprint === thumbprint) || null; | ||
return this.items.find(o => o.certificate && o.certificate === thumbprint) || null; | ||
}); | ||
@@ -12,0 +12,0 @@ } |
@@ -22,4 +22,5 @@ import { Lifecycle } from "tsyringe"; | ||
container.register(data.diOrderRepository, repositories.OrderRepository, { lifecycle: Lifecycle.Singleton }); | ||
container.register(data.diCertificateRepository, repositories.CertificateRepository, { lifecycle: Lifecycle.Singleton }); | ||
container.register(data.diOrderAuthorizationRepository, repositories.OrderAuthorizationRepository, { lifecycle: Lifecycle.Singleton }); | ||
} | ||
} |
@@ -6,2 +6,3 @@ import { BaseObject } from "./base"; | ||
this.thumbprint = ""; | ||
this.type = "leaf"; | ||
this.rawData = new ArrayBuffer(0); | ||
@@ -8,0 +9,0 @@ this.status = "valid"; |
export * from "./account"; | ||
export * from "./authorization"; | ||
export * from "./certificate"; | ||
export * from "./base"; | ||
@@ -4,0 +5,0 @@ export * from "./challenge"; |
@@ -6,3 +6,3 @@ import { __awaiter } from "tslib"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.items.find(o => o.certificate && o.certificate.thumbprint === thumbprint) || null; | ||
return this.items.find(o => o.certificate && o.certificate === thumbprint) || null; | ||
}); | ||
@@ -9,0 +9,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { ICertificate, CertificateStatus } from "@peculiar/acme-data"; | ||
import { ICertificate, CertificateStatus, CertificateType } from "@peculiar/acme-data"; | ||
import { BaseObject } from "./base"; | ||
@@ -6,2 +6,3 @@ import { CRLReason } from "@peculiar/asn1-x509"; | ||
thumbprint: string; | ||
type: CertificateType; | ||
rawData: ArrayBuffer; | ||
@@ -8,0 +9,0 @@ reason?: CRLReason | undefined; |
@@ -1,2 +0,2 @@ | ||
import { IOrder, IError, ICertificate, Key } from "@peculiar/acme-data"; | ||
import { IOrder, IError, Key } from "@peculiar/acme-data"; | ||
import { OrderStatus } from "@peculiar/acme-protocol"; | ||
@@ -11,5 +11,5 @@ import { BaseObject } from "./base"; | ||
error?: IError; | ||
certificate?: ICertificate; | ||
certificate?: string; | ||
accountId?: Key; | ||
constructor(params?: Partial<Order>); | ||
} |
export * from "./account"; | ||
export * from "./authorization"; | ||
export * from "./certificate"; | ||
export * from "./base"; | ||
@@ -4,0 +5,0 @@ export * from "./challenge"; |
@@ -6,2 +6,14 @@ # Change Log | ||
## [1.2.1](https://github.com/PeculiarVentures/acme-ts/compare/v1.2.0...v1.2.1) (2020-10-09) | ||
### Features | ||
* **data-memory:** Added CertificateRepository ([29b3bfe](https://github.com/PeculiarVentures/acme-ts/commit/29b3bfe77f10786a7c5fcc6f8856da1318e7e242)) | ||
* **data-memory:** Added type to Certificate ([e944a4e](https://github.com/PeculiarVentures/acme-ts/commit/e944a4ef2b3591a13a72f087be55148bed48bbe2)) | ||
# [1.2.0](https://github.com/PeculiarVentures/acme-ts/compare/v1.1.0...v1.2.0) (2020-10-01) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "@peculiar/acme-data-memory", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Memory data module forAutomatic Certificate Management Environment (ACME) implementing RFC 8555 framework", | ||
@@ -45,6 +45,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@peculiar/acme-core": "^1.2.0", | ||
"@peculiar/acme-data": "^1.2.0", | ||
"@peculiar/acme-protocol": "^1.2.0", | ||
"@peculiar/asn1-x509": "2.0.22", | ||
"@peculiar/acme-core": "^1.2.1", | ||
"@peculiar/acme-data": "^1.2.1", | ||
"@peculiar/acme-protocol": "^1.2.1", | ||
"@peculiar/asn1-x509": "2.0.23", | ||
"@peculiar/jose": "^1.2.0", | ||
@@ -54,3 +54,3 @@ "pvtsutils": "1.0.14", | ||
}, | ||
"gitHead": "96bc092472f0c0f0aca790dcf0f1c6a6cbb4b262" | ||
"gitHead": "f43c83432e6063ef961c825edb9dca2e1998a073" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72815
73
878
+ Added@peculiar/asn1-x509@2.0.23(transitive)
- Removed@peculiar/asn1-x509@2.0.22(transitive)
- Removedipaddr.js@1.9.1(transitive)
Updated@peculiar/acme-core@^1.2.1
Updated@peculiar/acme-data@^1.2.1
Updated@peculiar/asn1-x509@2.0.23