@prosopo/server 2.2.3 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;cAqBywf,CAAC;eAAqC,CAAC;gBAAsC,CAAC;;;;;;;;;;;;;;CAXh3f,CAAC;AAEJ,eAAO,MAAM,YAAY,QAAO,MAQ/B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProsopoServer } from "./server.js";
|
|
2
2
|
export { ProsopoServer } from "./server.js";
|
|
3
3
|
export { getServerConfig, getServerUrl } from "./config.js";
|
|
4
|
-
import { getPairAsync } from "@prosopo/
|
|
4
|
+
import { getPairAsync } from "@prosopo/keyring";
|
|
5
5
|
export const PublicProsopoServer = async (config) => {
|
|
6
6
|
const pair = await getPairAsync(undefined, config.account.address);
|
|
7
7
|
return new ProsopoServer(config, pair);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACvC,MAAiC,EAChC,EAAE;IAEH,MAAM,IAAI,GAAG,MAAM,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACnE,OAAO,IAAI,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AACxC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/server",
|
|
3
|
-
"version": "2.2
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "NodeJS package for server side communication with the prosopo captcha client",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polkadot/keyring": "12.6.2",
|
|
36
36
|
"@polkadot/util": "12.6.2",
|
|
37
|
-
"@prosopo/api": "2.2
|
|
38
|
-
"@prosopo/common": "2.2
|
|
39
|
-
"@prosopo/
|
|
40
|
-
"@prosopo/types": "2.2
|
|
37
|
+
"@prosopo/api": "2.3.2",
|
|
38
|
+
"@prosopo/common": "2.3.2",
|
|
39
|
+
"@prosopo/keyring": "2.3.2",
|
|
40
|
+
"@prosopo/types": "2.3.2",
|
|
41
41
|
"express": "4.21.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@prosopo/config": "2.2
|
|
44
|
+
"@prosopo/config": "2.3.2",
|
|
45
45
|
"@vitest/coverage-v8": "2.1.1",
|
|
46
46
|
"concurrently": "9.0.1",
|
|
47
47
|
"del-cli": "6.0.0",
|