Comparing version
@@ -88,3 +88,3 @@ import { Agent } from '../agent'; | ||
}; | ||
export declare const typeDefs = "\n enum WhereOperation {\n Not\n LessThan\n LessThanOrEqual\n MoreThan\n MoreThanOrEqual\n Equal\n Like\n Between\n In\n Any\n IsNull\n }\n\n enum OrderDirection {\n ASC\n DESC\n }\n\n enum MessagesColumns {\n saveDate\n updateDate\n createdAt\n expiresAt\n threadId\n type\n replyTo\n replyUrl\n from\n to\n }\n\n input MessagesWhere {\n column: MessagesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input MessagesOrder {\n column: MessagesColumns!\n direction: OrderDirection!\n }\n\n input MessagesInput {\n where: [MessagesWhere]\n order: [MessagesOrder]\n take: Int\n skip: Int\n }\n\n\n\n enum IdentitiesColumns {\n saveDate\n updateDate\n did\n provider\n }\n\n input IdentitiesWhere {\n column: IdentitiesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input IdentitiesOrder {\n column: IdentitiesColumns!\n direction: OrderDirection!\n }\n\n input IdentitiesInput {\n where: [IdentitiesWhere]\n order: [IdentitiesOrder]\n take: Int\n skip: Int\n }\n\n\n enum PresentationsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n audience\n }\n\n input PresentationsWhere {\n column: PresentationsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input PresentationsOrder {\n column: PresentationsColumns!\n direction: OrderDirection!\n }\n\n input PresentationsInput {\n where: [PresentationsWhere]\n order: [PresentationsOrder]\n take: Int\n skip: Int\n }\n\n\n enum CredentialsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n subject\n }\n\n input CredentialsWhere {\n column: CredentialsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input CredentialsOrder {\n column: CredentialsColumns!\n direction: OrderDirection!\n }\n\n input CredentialsInput {\n where: [CredentialsWhere]\n order: [CredentialsOrder]\n take: Int\n skip: Int\n }\n\n\n enum ClaimsColumns {\n issuanceDate\n expirationDate\n context\n credentialType\n type\n value\n issuer\n subject\n }\n\n input ClaimsWhere {\n column: ClaimsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input ClaimsOrder {\n column: ClaimsColumns!\n direction: OrderDirection!\n }\n\n input ClaimsInput {\n where: [ClaimsWhere]\n order: [ClaimsOrder]\n take: Int\n skip: Int\n }\n\n\n\n extend type Query {\n identity(did: String!): Identity\n identities(input: IdentitiesInput): [Identity]\n message(id: ID!): Message\n messages(input: MessagesInput): [Message]\n messagesCount(input: MessagesInput): Int\n presentation(hash: ID!): Presentation\n presentations(input: PresentationsInput): [Presentation]\n presentationsCount(input: PresentationsInput): Int\n credential(hash: ID!): Credential\n credentials(input: CredentialsInput): [Credential]\n credentialsCount(input: CredentialsInput): Int\n claim(hash: ID!): Claim\n claims(input: ClaimsInput): [Claim]\n claimsCount(input: ClaimsInput): Int\n }\n\n input MetaDataInput {\n type: String!\n value: String\n }\n extend type Mutation {\n handleMessage(raw: String!, meta: [MetaDataInput], save: Boolean = true): Message\n }\n\n\n extend type Identity {\n shortDid: String!\n latestClaimValue(type: String): String\n saveDate: Date!\n updateDate: Date!\n }\n\n scalar Object\n scalar Date\n \n type Message {\n id: ID!\n saveDate: Date!\n updateDate: Date!\n createdAt: Date\n expiresAt: Date\n threadId: String\n type: String!\n raw: String\n data: Object\n replyTo: [String]\n replyUrl: [String]\n from: Identity\n to: Identity\n metaData: [MetaData]\n presentations: [Presentation]\n credentials: [Credential]\n }\n\n type MetaData {\n type: String!\n value: String\n }\n\n type Presentation {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n audience: Identity!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentials: [Credential]\n messages: [Message]\n }\n \n type Credential {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n subject: Identity\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentialSubject: Object\n claims: [Claim]\n presentations: [Presentation]\n messages: [Message]\n }\n\n type Claim {\n hash: ID!\n issuer: Identity!\n subject: Identity\n credential: Credential!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n credentialType: [String]\n type: String!\n value: String!\n isObj: Boolean\n } \n"; | ||
export declare const typeDefs = "\n enum WhereOperation {\n Not\n LessThan\n LessThanOrEqual\n MoreThan\n MoreThanOrEqual\n Equal\n Like\n Between\n In\n Any\n IsNull\n }\n\n enum OrderDirection {\n ASC\n DESC\n }\n\n enum MessagesColumns {\n saveDate\n updateDate\n createdAt\n expiresAt\n threadId\n type\n replyTo\n replyUrl\n from\n to\n }\n\n input MessagesWhere {\n column: MessagesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input MessagesOrder {\n column: MessagesColumns!\n direction: OrderDirection!\n }\n\n input MessagesInput {\n where: [MessagesWhere]\n order: [MessagesOrder]\n take: Int\n skip: Int\n }\n\n\n\n enum IdentitiesColumns {\n saveDate\n updateDate\n did\n provider\n }\n\n input IdentitiesWhere {\n column: IdentitiesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input IdentitiesOrder {\n column: IdentitiesColumns!\n direction: OrderDirection!\n }\n\n input IdentitiesInput {\n where: [IdentitiesWhere]\n order: [IdentitiesOrder]\n take: Int\n skip: Int\n }\n\n\n enum PresentationsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n audience\n }\n\n input PresentationsWhere {\n column: PresentationsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input PresentationsOrder {\n column: PresentationsColumns!\n direction: OrderDirection!\n }\n\n input PresentationsInput {\n where: [PresentationsWhere]\n order: [PresentationsOrder]\n take: Int\n skip: Int\n }\n\n\n enum CredentialsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n subject\n }\n\n input CredentialsWhere {\n column: CredentialsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input CredentialsOrder {\n column: CredentialsColumns!\n direction: OrderDirection!\n }\n\n input CredentialsInput {\n where: [CredentialsWhere]\n order: [CredentialsOrder]\n take: Int\n skip: Int\n }\n\n\n enum ClaimsColumns {\n issuanceDate\n expirationDate\n context\n credentialType\n type\n value\n issuer\n subject\n }\n\n input ClaimsWhere {\n column: ClaimsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input ClaimsOrder {\n column: ClaimsColumns!\n direction: OrderDirection!\n }\n\n input ClaimsInput {\n where: [ClaimsWhere]\n order: [ClaimsOrder]\n take: Int\n skip: Int\n }\n\n\n\n extend type Query {\n identity(did: String!): Identity\n identities(input: IdentitiesInput): [Identity]\n message(id: ID!): Message\n messages(input: MessagesInput): [Message]\n messagesCount(input: MessagesInput): Int\n presentation(hash: ID!): Presentation\n presentations(input: PresentationsInput): [Presentation]\n presentationsCount(input: PresentationsInput): Int\n credential(hash: ID!): Credential\n credentials(input: CredentialsInput): [Credential]\n credentialsCount(input: CredentialsInput): Int\n claim(hash: ID!): Claim\n claims(input: ClaimsInput): [Claim]\n claimsCount(input: ClaimsInput): Int\n }\n\n input MetaDataInput {\n type: String!\n value: String\n }\n extend type Mutation {\n handleMessage(raw: String!, meta: [MetaDataInput], save: Boolean = true): Message\n }\n\n\n extend type Identity {\n shortDid: String!\n latestClaimValue(type: String): String\n saveDate: Date!\n updateDate: Date!\n }\n\n scalar Object\n scalar Date\n \n type Message {\n id: ID!\n saveDate: Date!\n updateDate: Date!\n createdAt: Date\n expiresAt: Date\n threadId: String\n type: String!\n raw: String\n data: Object\n replyTo: [String]\n replyUrl: String\n from: Identity\n to: Identity\n metaData: [MetaData]\n presentations: [Presentation]\n credentials: [Credential]\n }\n\n type MetaData {\n type: String!\n value: String\n }\n\n type Presentation {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n audience: Identity!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentials: [Credential]\n messages: [Message]\n }\n \n type Credential {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n subject: Identity\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentialSubject: Object\n claims: [Claim]\n presentations: [Presentation]\n messages: [Message]\n }\n\n type Claim {\n hash: ID!\n issuer: Identity!\n subject: Identity\n credential: Credential!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n credentialType: [String]\n type: String!\n value: String!\n isObj: Boolean\n } \n"; | ||
//# sourceMappingURL=graphql-core.d.ts.map |
@@ -444,3 +444,3 @@ "use strict"; | ||
}; | ||
exports.typeDefs = "\n enum WhereOperation {\n Not\n LessThan\n LessThanOrEqual\n MoreThan\n MoreThanOrEqual\n Equal\n Like\n Between\n In\n Any\n IsNull\n }\n\n enum OrderDirection {\n ASC\n DESC\n }\n\n enum MessagesColumns {\n saveDate\n updateDate\n createdAt\n expiresAt\n threadId\n type\n replyTo\n replyUrl\n from\n to\n }\n\n input MessagesWhere {\n column: MessagesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input MessagesOrder {\n column: MessagesColumns!\n direction: OrderDirection!\n }\n\n input MessagesInput {\n where: [MessagesWhere]\n order: [MessagesOrder]\n take: Int\n skip: Int\n }\n\n\n\n enum IdentitiesColumns {\n saveDate\n updateDate\n did\n provider\n }\n\n input IdentitiesWhere {\n column: IdentitiesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input IdentitiesOrder {\n column: IdentitiesColumns!\n direction: OrderDirection!\n }\n\n input IdentitiesInput {\n where: [IdentitiesWhere]\n order: [IdentitiesOrder]\n take: Int\n skip: Int\n }\n\n\n enum PresentationsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n audience\n }\n\n input PresentationsWhere {\n column: PresentationsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input PresentationsOrder {\n column: PresentationsColumns!\n direction: OrderDirection!\n }\n\n input PresentationsInput {\n where: [PresentationsWhere]\n order: [PresentationsOrder]\n take: Int\n skip: Int\n }\n\n\n enum CredentialsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n subject\n }\n\n input CredentialsWhere {\n column: CredentialsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input CredentialsOrder {\n column: CredentialsColumns!\n direction: OrderDirection!\n }\n\n input CredentialsInput {\n where: [CredentialsWhere]\n order: [CredentialsOrder]\n take: Int\n skip: Int\n }\n\n\n enum ClaimsColumns {\n issuanceDate\n expirationDate\n context\n credentialType\n type\n value\n issuer\n subject\n }\n\n input ClaimsWhere {\n column: ClaimsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input ClaimsOrder {\n column: ClaimsColumns!\n direction: OrderDirection!\n }\n\n input ClaimsInput {\n where: [ClaimsWhere]\n order: [ClaimsOrder]\n take: Int\n skip: Int\n }\n\n\n\n extend type Query {\n identity(did: String!): Identity\n identities(input: IdentitiesInput): [Identity]\n message(id: ID!): Message\n messages(input: MessagesInput): [Message]\n messagesCount(input: MessagesInput): Int\n presentation(hash: ID!): Presentation\n presentations(input: PresentationsInput): [Presentation]\n presentationsCount(input: PresentationsInput): Int\n credential(hash: ID!): Credential\n credentials(input: CredentialsInput): [Credential]\n credentialsCount(input: CredentialsInput): Int\n claim(hash: ID!): Claim\n claims(input: ClaimsInput): [Claim]\n claimsCount(input: ClaimsInput): Int\n }\n\n input MetaDataInput {\n type: String!\n value: String\n }\n extend type Mutation {\n handleMessage(raw: String!, meta: [MetaDataInput], save: Boolean = true): Message\n }\n\n\n extend type Identity {\n shortDid: String!\n latestClaimValue(type: String): String\n saveDate: Date!\n updateDate: Date!\n }\n\n scalar Object\n scalar Date\n \n type Message {\n id: ID!\n saveDate: Date!\n updateDate: Date!\n createdAt: Date\n expiresAt: Date\n threadId: String\n type: String!\n raw: String\n data: Object\n replyTo: [String]\n replyUrl: [String]\n from: Identity\n to: Identity\n metaData: [MetaData]\n presentations: [Presentation]\n credentials: [Credential]\n }\n\n type MetaData {\n type: String!\n value: String\n }\n\n type Presentation {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n audience: Identity!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentials: [Credential]\n messages: [Message]\n }\n \n type Credential {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n subject: Identity\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentialSubject: Object\n claims: [Claim]\n presentations: [Presentation]\n messages: [Message]\n }\n\n type Claim {\n hash: ID!\n issuer: Identity!\n subject: Identity\n credential: Credential!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n credentialType: [String]\n type: String!\n value: String!\n isObj: Boolean\n } \n"; | ||
exports.typeDefs = "\n enum WhereOperation {\n Not\n LessThan\n LessThanOrEqual\n MoreThan\n MoreThanOrEqual\n Equal\n Like\n Between\n In\n Any\n IsNull\n }\n\n enum OrderDirection {\n ASC\n DESC\n }\n\n enum MessagesColumns {\n saveDate\n updateDate\n createdAt\n expiresAt\n threadId\n type\n replyTo\n replyUrl\n from\n to\n }\n\n input MessagesWhere {\n column: MessagesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input MessagesOrder {\n column: MessagesColumns!\n direction: OrderDirection!\n }\n\n input MessagesInput {\n where: [MessagesWhere]\n order: [MessagesOrder]\n take: Int\n skip: Int\n }\n\n\n\n enum IdentitiesColumns {\n saveDate\n updateDate\n did\n provider\n }\n\n input IdentitiesWhere {\n column: IdentitiesColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input IdentitiesOrder {\n column: IdentitiesColumns!\n direction: OrderDirection!\n }\n\n input IdentitiesInput {\n where: [IdentitiesWhere]\n order: [IdentitiesOrder]\n take: Int\n skip: Int\n }\n\n\n enum PresentationsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n audience\n }\n\n input PresentationsWhere {\n column: PresentationsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input PresentationsOrder {\n column: PresentationsColumns!\n direction: OrderDirection!\n }\n\n input PresentationsInput {\n where: [PresentationsWhere]\n order: [PresentationsOrder]\n take: Int\n skip: Int\n }\n\n\n enum CredentialsColumns {\n id\n issuanceDate\n expirationDate\n context\n type\n issuer\n subject\n }\n\n input CredentialsWhere {\n column: CredentialsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input CredentialsOrder {\n column: CredentialsColumns!\n direction: OrderDirection!\n }\n\n input CredentialsInput {\n where: [CredentialsWhere]\n order: [CredentialsOrder]\n take: Int\n skip: Int\n }\n\n\n enum ClaimsColumns {\n issuanceDate\n expirationDate\n context\n credentialType\n type\n value\n issuer\n subject\n }\n\n input ClaimsWhere {\n column: ClaimsColumns!\n value: [String]\n not: Boolean\n op: WhereOperation\n }\n\n input ClaimsOrder {\n column: ClaimsColumns!\n direction: OrderDirection!\n }\n\n input ClaimsInput {\n where: [ClaimsWhere]\n order: [ClaimsOrder]\n take: Int\n skip: Int\n }\n\n\n\n extend type Query {\n identity(did: String!): Identity\n identities(input: IdentitiesInput): [Identity]\n message(id: ID!): Message\n messages(input: MessagesInput): [Message]\n messagesCount(input: MessagesInput): Int\n presentation(hash: ID!): Presentation\n presentations(input: PresentationsInput): [Presentation]\n presentationsCount(input: PresentationsInput): Int\n credential(hash: ID!): Credential\n credentials(input: CredentialsInput): [Credential]\n credentialsCount(input: CredentialsInput): Int\n claim(hash: ID!): Claim\n claims(input: ClaimsInput): [Claim]\n claimsCount(input: ClaimsInput): Int\n }\n\n input MetaDataInput {\n type: String!\n value: String\n }\n extend type Mutation {\n handleMessage(raw: String!, meta: [MetaDataInput], save: Boolean = true): Message\n }\n\n\n extend type Identity {\n shortDid: String!\n latestClaimValue(type: String): String\n saveDate: Date!\n updateDate: Date!\n }\n\n scalar Object\n scalar Date\n \n type Message {\n id: ID!\n saveDate: Date!\n updateDate: Date!\n createdAt: Date\n expiresAt: Date\n threadId: String\n type: String!\n raw: String\n data: Object\n replyTo: [String]\n replyUrl: String\n from: Identity\n to: Identity\n metaData: [MetaData]\n presentations: [Presentation]\n credentials: [Credential]\n }\n\n type MetaData {\n type: String!\n value: String\n }\n\n type Presentation {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n audience: Identity!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentials: [Credential]\n messages: [Message]\n }\n \n type Credential {\n hash: ID!\n id: String\n raw: String!\n issuer: Identity!\n subject: Identity\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n type: [String]\n credentialSubject: Object\n claims: [Claim]\n presentations: [Presentation]\n messages: [Message]\n }\n\n type Claim {\n hash: ID!\n issuer: Identity!\n subject: Identity\n credential: Credential!\n issuanceDate: Date!\n expirationDate: Date\n context: [String]\n credentialType: [String]\n type: String!\n value: String!\n isObj: Boolean\n } \n"; | ||
//# sourceMappingURL=graphql-core.js.map |
@@ -23,4 +23,4 @@ export { Agent, EventTypes, Resolver } from './agent'; | ||
import { Message } from './entities/message'; | ||
export declare const Entities: (typeof Key | typeof Identity | typeof Claim | typeof Credential | typeof Presentation | typeof Message)[]; | ||
export declare const Entities: (typeof Message | typeof Presentation | typeof Credential | typeof Claim | typeof Identity | typeof Key)[]; | ||
export { KeyType, Key, Identity, Message, Claim, Credential, Presentation }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,2 +6,8 @@ # Change Log | ||
# [4.0.0-beta.48](https://github.com/uport-project/daf/compare/v4.0.0-beta.47...v4.0.0-beta.48) (2020-04-22) | ||
### Bug Fixes | ||
- Fixing replyTo types ([bd9d606](https://github.com/uport-project/daf/commit/bd9d606890060e27b5d236b58e7f404c2c36d613)) | ||
# [4.0.0-beta.47](https://github.com/uport-project/daf/compare/v4.0.0-beta.46...v4.0.0-beta.47) (2020-04-17) | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "daf-core", | ||
"description": "DID Agent Framework Core", | ||
"version": "4.0.0-beta.47", | ||
"version": "4.0.0-beta.48", | ||
"main": "build/index.js", | ||
@@ -31,3 +31,3 @@ "types": "build/index.d.ts", | ||
"keywords": [], | ||
"gitHead": "b70d589ba27180d347c2ea304cf2e1af0d6ce95f" | ||
"gitHead": "9920ac560f5f82aa1cae3d647a2502a762323793" | ||
} |
@@ -481,3 +481,3 @@ import { | ||
replyTo: [String] | ||
replyUrl: [String] | ||
replyUrl: String | ||
from: Identity | ||
@@ -484,0 +484,0 @@ to: Identity |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
312258
0.19%140
0.72%5170
0.21%