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

@perspect3vism/ad4m

Package Overview
Dependencies
Maintainers
5
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perspect3vism/ad4m - npm Package Compare versions

Comparing version 0.1.38 to 0.1.39

lib/expression/ExpressionRef.d.ts

2

lib/links/Links.d.ts

@@ -9,3 +9,3 @@ export declare class Link {

additions: LinkInput[];
removals: LinkExpression[];
removals: LinkExpressionInput[];
}

@@ -12,0 +12,0 @@ export declare class LinkInput {

@@ -46,3 +46,3 @@ "use strict";

__decorate([
(0, type_graphql_1.Field)(type => [LinkExpression]),
(0, type_graphql_1.Field)(type => [LinkExpressionInput]),
__metadata("design:type", Array)

@@ -49,0 +49,0 @@ ], LinkMutations.prototype, "removals", void 0);

import PerspectiveClient, { LinkCallback } from "./PerspectiveClient";
import { Link, LinkExpression } from "../links/Links";
import { Link, LinkExpression, LinkExpressionInput } from "../links/Links";
import { LinkQuery } from "./LinkQuery";

@@ -20,3 +20,3 @@ import { Neighbourhood } from "../neighbourhood/Neighbourhood";

update(oldLink: LinkExpression, newLink: Link): Promise<LinkExpression>;
remove(link: LinkExpression): Promise<{
remove(link: LinkExpressionInput): Promise<{
perspectiveRemoveLink: boolean;

@@ -23,0 +23,0 @@ }>;

@@ -121,3 +121,3 @@ "use strict";

for (const link of cleanedSnapshot.links) {
await this.addLinkExpression(link.data);
await this.addLinkExpression(link);
}

@@ -124,0 +124,0 @@ }

@@ -9,3 +9,3 @@ export declare class Link {

additions: LinkInput[];
removals: LinkExpression[];
removals: LinkExpressionInput[];
}

@@ -12,0 +12,0 @@ export declare class LinkInput {

@@ -46,3 +46,3 @@ "use strict";

__decorate([
(0, type_graphql_1.Field)(type => [LinkExpression]),
(0, type_graphql_1.Field)(type => [LinkExpressionInput]),
__metadata("design:type", Array)

@@ -49,0 +49,0 @@ ], LinkMutations.prototype, "removals", void 0);

import PerspectiveClient, { LinkCallback } from "./PerspectiveClient";
import { Link, LinkExpression } from "../links/Links";
import { Link, LinkExpression, LinkExpressionInput } from "../links/Links";
import { LinkQuery } from "./LinkQuery";

@@ -20,3 +20,3 @@ import { Neighbourhood } from "../neighbourhood/Neighbourhood";

update(oldLink: LinkExpression, newLink: Link): Promise<LinkExpression>;
remove(link: LinkExpression): Promise<{
remove(link: LinkExpressionInput): Promise<{
perspectiveRemoveLink: boolean;

@@ -23,0 +23,0 @@ }>;

@@ -121,3 +121,3 @@ "use strict";

for (const link of cleanedSnapshot.links) {
await this.addLinkExpression(link.data);
await this.addLinkExpression(link);
}

@@ -124,0 +124,0 @@ }

{
"name": "@perspect3vism/ad4m",
"version": "0.1.38",
"version": "0.1.39",
"description": "*The Agent-Centric Distributed Application Meta-ontology* or just: *Agent-Centric DApp Meta-ontology* * A new meta-ontology for interoperable, decentralized application design * A spanning-layer to enable seamless integration between Holochain DNAs, blockchains, linked-data structures/ontologies and centralized back-ends * The basis for turning distinct, monolithic and siloed apps into a global, open and interoperable sense-making network",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -27,4 +27,4 @@ import { Field, InputType, ObjectType } from "type-graphql";

@Field(type => [LinkExpression])
removals: LinkExpression[];
@Field(type => [LinkExpressionInput])
removals: LinkExpressionInput[];
}

@@ -31,0 +31,0 @@

import PerspectiveClient, { LinkCallback } from "./PerspectiveClient";
import { Link, LinkExpression } from "../links/Links";
import { Link, LinkExpression, LinkExpressionInput } from "../links/Links";
import { LinkQuery } from "./LinkQuery";

@@ -94,3 +94,3 @@ import { Neighbourhood } from "../neighbourhood/Neighbourhood";

async remove(link: LinkExpression) {
async remove(link: LinkExpressionInput) {
return await this.#client.removeLink(this.#handle.uuid, link)

@@ -132,3 +132,3 @@ }

for(const link of cleanedSnapshot.links) {
await this.addLinkExpression(link.data)
await this.addLinkExpression(link)
}

@@ -135,0 +135,0 @@ }

Sorry, the diff of this file is too big to display

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