@sphereon/ssi-sdk.resource-resolver 0.30.2-feature.SPRIND.83.231 → 0.30.2-feature.SPRIND.83.361

Sign up to get free protection for your applications and to get access to all the features.
@@ -125,7 +125,7 @@ class ResourceResolver {
125
125
  else {
126
126
  throw Error(`input type is required to be RequestInfo | URL`);
127
127
  }
128
- return yield context.agent.lookupLocation({
128
+ return yield context.agent.anomalyDetectionLookupLocation({
129
129
  ipOrHostname: url.hostname
130
130
  });
131
131
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceResolver.js","sourceRoot":"","sources":["../../src/agent/ResourceResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAKwC;AAExC,2DAAsD;AACtD,oCAAiC;AACjC,0EAKuC;AAgBvC;;GAEG;AACH,MAAa,gBAAgB;IAgB3B,YAAY,OAAiC;QAfpC,WAAM,GAAG,cAAM,CAAC,iBAAiB,CAAA;QACjC,YAAO,GAAsB;YACpC,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;YAChD,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC;YACpE,sBAAsB,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC;YAC9D,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC;YAClE,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC;SACvD,CAAA;QASC,MAAM,EACJ,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,GAAG,EACH,cAAc,EACf,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAA;QAEjB,IAAI,CAAC,cAAc,GAAG,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,UAAU,CAAA;QAChD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,aAAhB,gBAAgB,cAAh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,GAAG,IAAI,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAA;QAC1D,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QACtC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,KAAK,CAAC,iCAAiC,OAAO,EAAE,CAAC,CAAA;QACzD,CAAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAEO,UAAU,CAAC,IAAoB;QACrC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;QACxB,OAAO,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,IAAI,CAAC,cAAc,CAAA;IACvC,CAAC;IAEO,YAAY,CAAC,IAAsB;QACzC,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAA;QAC1B,OAAO,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,IAAI,CAAC,gBAAgB,CAAA;IAC3C,CAAC;IAEO,MAAM,CAAC,IAAgB;QAC7B,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC,IAAI,kBAAkB,EAAE,CAAA;IACpE,CAAC;CAEF;AA/LD,4CA+LC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.resource-resolver",
3
- "version": "0.30.2-feature.SPRIND.83.231+74d11ac1",
3
+ "version": "0.30.2-feature.SPRIND.83.361+4d866d87",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,15 +14,15 @@
14
14
  "build:clean": "tsc --build --clean && tsc --build"
15
15
  },
16
16
  "dependencies": {
17
- "@sphereon/ssi-sdk.anomaly-detection": "0.30.2-feature.SPRIND.83.231+74d11ac1",
18
- "@sphereon/ssi-sdk.kv-store-temp": "0.30.2-feature.SPRIND.83.231+74d11ac1",
17
+ "@sphereon/ssi-sdk.anomaly-detection": "0.30.2-feature.SPRIND.83.361+4d866d87",
18
+ "@sphereon/ssi-sdk.kv-store-temp": "0.30.2-feature.SPRIND.83.361+4d866d87",
19
19
  "cross-fetch": "^3.1.8",
20
20
  "debug": "^4.3.5",
21
21
  "typeorm": "^0.3.20",
22
22
  "uint8arrays": "^3.1.1"
23
23
  },
24
24
  "devDependencies": {
25
- "@sphereon/ssi-sdk.agent-config": "0.30.2-feature.SPRIND.83.231+74d11ac1",
25
+ "@sphereon/ssi-sdk.agent-config": "0.30.2-feature.SPRIND.83.361+4d866d87",
26
26
  "@veramo/remote-client": "4.2.0",
27
27
  "@veramo/remote-server": "4.2.0",
28
28
  "nock": "^13.5.4",
@@ -49,5 +49,5 @@
49
49
  "Resource Management",
50
50
  "Caching"
51
51
  ],
52
- "gitHead": "74d11ac160dfc4f2032b634101eab34d14e5f69a"
52
+ "gitHead": "4d866d873a546732bd37f6788e42d2fde6d8a911"
53
53
  }
@@ -145,7 +145,7 @@ export class ResourceResolver implements IAgentPlugin {
145
145
  } else {
146
146
  throw Error(`input type is required to be RequestInfo | URL`)
147
147
  }
148
- return await context.agent.lookupLocation({
148
+ return await context.agent.anomalyDetectionLookupLocation({
149
149
  ipOrHostname: url.hostname
150
150
  })
151
151
  }