@powerhousedao/renown-package 0.0.32 → 0.0.33-staging

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.
@@ -1 +1 @@
1
- {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/renown-credential/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAgH3B,CAAC"}
1
+ {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/renown-credential/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAiH3B,CAAC"}
@@ -59,7 +59,7 @@ export const documentModel = {
59
59
  id: "366dfd44-377f-42d7-949d-a8d82b6a909d",
60
60
  name: "INIT",
61
61
  reducer: "// Store the EIP-712 signed verifiable credential fields\nstate.context = action.input.context;\nstate.id = action.input.id;\nstate.type = action.input.type;\n\n// Store issuer\nstate.issuer = {\n id: action.input.issuer.id,\n ethereumAddress: action.input.issuer.ethereumAddress,\n};\n\n// Store dates\nstate.issuanceDate = action.input.issuanceDate;\nstate.expirationDate = action.input.expirationDate || null;\n\n// Store credential subject\nstate.credentialSubject = {\n id: action.input.credentialSubject.id || null,\n app: action.input.credentialSubject.app,\n};\n\n// Store credential status (optional)\nif (action.input.credentialStatus) {\n state.credentialStatus = {\n id: action.input.credentialStatus.id,\n type: action.input.credentialStatus.type,\n };\n} else {\n state.credentialStatus = null;\n}\n\n// Store credential schema\nstate.credentialSchema = {\n id: action.input.credentialSchema.id,\n type: action.input.credentialSchema.type,\n};\n\n// Store proof (EIP-712 signature)\nstate.proof = {\n verificationMethod: action.input.proof.verificationMethod,\n ethereumAddress: action.input.proof.ethereumAddress,\n created: action.input.proof.created,\n proofPurpose: action.input.proof.proofPurpose,\n type: action.input.proof.type,\n proofValue: action.input.proof.proofValue,\n eip712: {\n domain: {\n version: action.input.proof.eip712.domain.version,\n chainId: action.input.proof.eip712.domain.chainId,\n },\n primaryType: action.input.proof.eip712.primaryType,\n },\n};\n\n// Initialize revocation tracking\nstate.revoked = false;\nstate.revokedAt = null;\nstate.revocationReason = null;",
62
- schema: "input InitInput {\n jwt: String!\n}",
62
+ schema: "input InitInput {\n context: [String!]!\n id: String!\n type: [String!]!\n issuer: IssuerInput!\n issuanceDate: DateTime!\n expirationDate: DateTime\n credentialSubject: CredentialSubjectInput!\n credentialStatus: CredentialStatusInput\n credentialSchema: CredentialSchemaInput!\n proof: ProofInput!\n}",
63
63
  scope: "global",
64
64
  template: "",
65
65
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/renown-package",
3
3
  "description": "",
4
- "version": "0.0.32",
4
+ "version": "0.0.33-staging",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [