Releases: energywebfoundation/origin-247-sdk
@energyweb/origin-247-claim@2.0.0
@energyweb/origin-247-certificate@2.0.0
2.0.0 (2021-08-26)
chore
- origin-247-certificate: allow to configure issuer-api options (f3f4e6a)
Features
- origin-247-certificate: Update issuer-api, make batch methods easier to use (574d36b)
BREAKING CHANGES
- origin-247-certificate: CertificateModule now requires
.register()
- origin-247-certificate: now batch methods (transfer and claim) accept array of transfers/claims
@energyweb/origin-247-claim@1.1.2
1.1.2 (2021-08-23)
Note: Version bump only for package @energyweb/origin-247-claim
@energyweb/origin-247-claim@1.1.0
@energyweb/origin-247-transfer@1.0.0
1.0.0 (2021-08-17)
Bug Fixes
- origin-247-certificate: save certificate to database after persisting event (aaea748)
- origin-247-transfer: correct handling transfer error (cfff8d9)
- origin-247-transfer: don't issue zero volume certificate (7147004)
- origin-247-transfer: fix ETR overriding each other (cbc1961)
Features
-
origin-247-transfer: add command for status update (c29b531)
-
origin-247-transfer: add module boilerplate (b051d4e)
-
origin-247-transfer: add sites blockchain addresses (8d82137)
-
origin-247-transfer: add state to ETR, add batch methods (6b85bb5)
-
origin-247-transfer: add transferDate and more public attrs (2775f26)
-
origin-247-transfer: allow for no validators (0df8056)
-
origin-247-transfer: issue certificate and create energy block (5a8f2cb)
-
origin-247-transfer: save persist flag on ETR (c3b098a)
-
origin-247-transfer: save sites from sites query, save certificateId separately, update schema (51d749f)
-
origin-247-transfer: symmetric validation logic (6ae2a88)
-
chore(origin-247-transfer)!: change column datatype, fix race condition (0e5c429)
BREAKING CHANGES
- origin-247-transfer: ETR now has new table with new data
- origin-247-transfer: certificates are issued/transferred in batches which means, that the time of the event is even less specific
- date columns in ETR database entity now have TIMESTAMPTZ type
@energyweb/origin-247-claim@1.0.0
1.0.0 (2021-08-17)
Features
-
origin-247-claim: add basic matcher algorithm (d6f289b)
-
origin-247-claim: Add claim module and service (2e6b670)
-
origin-247-claim: Add filtering of zero value consumptions and generations (e71bab9)
-
origin-247-claim: expose only facade (fa0b528)
-
feat(origin-247-claim)!: work with generic entities instead of entity ID (11cea57)
-
feat(origin-247-claim)!: use BigNumber for volumes (dcd1dfa)
Bug Fixes
- origin-247-claim: tests (3717d07)
BREAKING CHANGES
- result returned from matcher now is built of entities with all their fields, instead of entities id
- changed API: now instead of "priority" there is "groupPriority" field
- export from algorithm is wrapped in SpreadMatcher namespace
- input is not BigNumber instead of number primitive for all volume inputs
@energyweb/origin-247-certificate@1.0.0
1.0.0 (2021-08-17)
Features
-
origin-247-certificate: add 247-certificates module (e75077f)
-
origin-247-certificate: add batch actions (59e3656)
-
origin-247-certificate: allow to configure queue lock duration (c6b6f3d)
-
origin-247-certificate: export CertificatePersisted event (5f8cf8c)
-
origin-247-transfer: add state to ETR, add batch methods (6b85bb5)
-
chore(origin-247-certificate)!: move issuer deps to peer deps (5d6a1d3)
-
chore(origin-247-certificate)!: remove tokenId (42887f3)
-
chore(origin-247-certificate)!: update origin-sdk (4d47c25)
-
feat(origin-247-certificate)!: add forUnitTests module (1d39de9)
Bug Fixes
- origin-247-certificate: save certificate to database after persisting event (aaea748)
BREAKING CHANGES
- origin-247-transfer: ETR now has new table with new data
- origin-247-transfer: certificates are issued/transferred in batches which means, that the time of the event is even less specific
- user has to install issuer-api and issuer deps by himself
- tokenId removed
- certificate claims are now BigNumber strings instead of numbers
- service inject must be done by @Inject(CERTIFICATE_SERVICE_TOKEN) now