@aviarytech/did-peer
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "@aviarytech/did-peer", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"type": "module", | ||
@@ -26,2 +26,3 @@ "devDependencies": { | ||
"dependencies": { | ||
"assert": "^2.0.0", | ||
"buffer": "^6.0.3" | ||
@@ -28,0 +29,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { assert } from "vitest"; | ||
import assert from "assert"; | ||
import { Numalgo2Prefixes } from "./constants.js"; | ||
@@ -3,0 +3,0 @@ import { createDIDDocument, decodeService, isPeerDID } from "./utils.js"; |
@@ -1,2 +0,2 @@ | ||
import { assert } from "vitest"; | ||
import assert from "assert"; | ||
export const validateAuthentication = (verificationMethod) => { | ||
@@ -3,0 +3,0 @@ assert(['Ed25519VerificationKey2020'].includes(verificationMethod.type), 'verificationMethod type must be Ed25519VerificationKey2020'); |
15900
2
+ Addedassert@^2.0.0
+ Addedassert@2.1.0(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.1.1(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.2.0(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.1.0(transitive)
+ Addedis-nan@1.3.2(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedis-typed-array@1.1.15(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedobject-is@1.1.6(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.7(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedsafe-regex-test@1.1.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedwhich-typed-array@1.1.18(transitive)