diff --git a/package.json b/package.json index a5ccea0..b895244 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@ontologies/core": ">= 2.0.0", "hoist-non-react-statics": ">=3.x", "http-status-codes": ">= 1.x", - "link-lib": ">=2.0.0", + "link-lib": ">=2.1.1", "prop-types": ">= 15.x", "react": ">= 16.10.x" }, @@ -77,7 +77,7 @@ "http-status-codes": "1.x", "jest": "^25.2.4", "jest-enzyme": "^7.1.2", - "link-lib": "0.0.0-fd98a597", + "link-lib": "^2.1.1", "n-quads-parser": "^2.1.0", "prop-types": "^15.x", "react": "^16.13.1", diff --git a/src/__tests__/helpers/fixtures.ts b/src/__tests__/helpers/fixtures.ts index 2062509..6db39ac 100644 --- a/src/__tests__/helpers/fixtures.ts +++ b/src/__tests__/helpers/fixtures.ts @@ -98,7 +98,7 @@ export function chargeLRS(delta: Quadruple[] = [], subject: SomeNode): TestConte store, }; const middleware = [ - (_: LinkReduxLRSType) => (next: MiddlewareActionHandler) => (action: NamedNode, args: any) => { + (_: LinkReduxLRSType) => (next: MiddlewareActionHandler) => (action: SomeNode, args: any) => { switch (action) { case ex.ns("a"): return Promise.resolve("a"); case ex.ns("b"): return Promise.resolve("b"); diff --git a/yarn.lock b/yarn.lock index fedb0be..f194278 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4797,10 +4797,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -link-lib@0.0.0-fd98a597: - version "0.0.0-fd98a597" - resolved "https://registry.yarnpkg.com/link-lib/-/link-lib-0.0.0-fd98a597.tgz#0679760cf937ceae3d72f38ac502dc637e1d409a" - integrity sha512-9cWjLEB7fmMSbQVNzpZVQy8qA1Pm2qeeu8ZhNnsbLFAA2bYxpddjGU8IZHwp2jfOKiBEKwmefw4uZm2Bw/BPKg== +link-lib@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/link-lib/-/link-lib-2.1.1.tgz#11956a1a4f2fa9bdd5bf057e8c34c4d3a876f5dc" + integrity sha512-Hou7/YVdbfJ20bfwkL03/Rzmsv3j0YXUlhYl9flgQkni90TUsQOwIFvgPOjFu1zhPsDPug9zCSfLhMFqsU6azw== listr-input@^0.2.0: version "0.2.1"