Moonlight-io / asteroid-sdk-js

5 stars 3 forks source link

discrepancy of CreateClaim usage #29

Closed rockacola closed 4 years ago

rockacola commented 4 years ago

Per current request type definition (in 0.4.0) it is very different to example https://github.com/Moonlight-io/asteroid-testing/blob/master/test/claims/email.js

rockacola commented 4 years ago

As of now, the request looks something like:

interface AttributeClaimItem {
  claim_id: string
  state: AttributeClaimState
}

While the example indicates something like:

{
  claim_topic: string
  payload: object
}
lllwvlvwlll commented 4 years ago

resolved as of v0.5.0