Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

daf-core

Package Overview
Dependencies
Maintainers
6
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daf-core - npm Package Compare versions

Comparing version 5.1.0 to 5.5.0

2

build/graphql/graphql-base-type-defs.d.ts

@@ -1,2 +0,2 @@

export declare const baseTypeDefs = "\n type Query \n\n type Mutation \n\n type Identity {\n did: String!\n provider: String\n }\n\n";
export declare const baseTypeDefs = "\n type Query \n\n type Mutation \n\n type Identity {\n did: String!\n provider: String\n }\n\n type Message \n type Presentation\n type Credential\n type Claim\n \n scalar Object\n scalar Date\n";
//# sourceMappingURL=graphql-base-type-defs.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.baseTypeDefs = "\n type Query \n\n type Mutation \n\n type Identity {\n did: String!\n provider: String\n }\n\n";
exports.baseTypeDefs = "\n type Query \n\n type Mutation \n\n type Identity {\n did: String!\n provider: String\n }\n\n type Message \n type Presentation\n type Credential\n type Claim\n \n scalar Object\n scalar Date\n";
//# sourceMappingURL=graphql-base-type-defs.js.map

@@ -89,3 +89,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!, metaData: [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!, metaData: [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\n \n extend 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 extend 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 extend 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 extend 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

@@ -691,3 +691,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!, metaData: [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!, metaData: [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\n \n extend 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 extend 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 extend 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 extend 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

@@ -6,2 +6,13 @@ # Change Log

# [5.5.0](https://github.com/uport-project/daf/compare/v5.4.0...v5.5.0) (2020-05-13)
### Features
* CLI config ([5a3391e](https://github.com/uport-project/daf/commit/5a3391e77790e0b10268c4e189f34c5f20246616))
# [5.1.0](https://github.com/uport-project/daf/compare/v5.0.0...v5.1.0) (2020-05-06)

@@ -8,0 +19,0 @@

{
"name": "daf-core",
"description": "DID Agent Framework Core",
"version": "5.1.0",
"version": "5.5.0",
"main": "build/index.js",

@@ -32,3 +32,3 @@ "types": "build/index.d.ts",

"keywords": [],
"gitHead": "d5e3c01650dc70eedfc38f557013375af2c72dcc"
"gitHead": "60382ee4e3c32797f05b75e2523752cff4ce6281"
}

@@ -11,2 +11,9 @@ export const baseTypeDefs = `

type Message
type Presentation
type Credential
type Claim
scalar Object
scalar Date
`

@@ -691,6 +691,5 @@ import {

scalar Object
scalar Date
type Message {
extend type Message {
id: ID!

@@ -719,3 +718,3 @@ saveDate: Date!

type Presentation {
extend type Presentation {
hash: ID!

@@ -734,3 +733,3 @@ id: String

type Credential {
extend type Credential {
hash: ID!

@@ -751,3 +750,3 @@ id: String

type Claim {
extend type Claim {
hash: ID!

@@ -754,0 +753,0 @@ issuer: Identity!

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc