@windingtree/org.id-resolver 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/package.json +16 -16
- package/dist/responseSchema.json +9 -1
- package/dist/src/index.d.ts +3 -3
- package/package.json +17 -17
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@windingtree/org.id-resolver",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.2.2",
|
4
4
|
"description": "ORGiD DID resolver",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"types": "dist/src/index.d.ts",
|
@@ -32,28 +32,28 @@
|
|
32
32
|
"url": "git+ssh://git@github.com:windingtree/org.id-resolver.git"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@windingtree/org.id": "^3.
|
36
|
-
"@windingtree/org.id-auth": "^1.2.
|
37
|
-
"@windingtree/org.id-core": "^1.2.
|
38
|
-
"@windingtree/org.id-utils": "^1.2.
|
39
|
-
"@windingtree/org.json-schema": "1.0
|
35
|
+
"@windingtree/org.id": "^3.1.1",
|
36
|
+
"@windingtree/org.id-auth": "^1.2.4",
|
37
|
+
"@windingtree/org.id-core": "^1.2.4",
|
38
|
+
"@windingtree/org.id-utils": "^1.2.4",
|
39
|
+
"@windingtree/org.json-schema": "1.1.0",
|
40
40
|
"ethers": "^5.7.2",
|
41
|
-
"luxon": "^3.
|
41
|
+
"luxon": "^3.1.1"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@istanbuljs/nyc-config-typescript": "1.0.2",
|
45
|
-
"@nomiclabs/hardhat-ethers": "2.2.
|
46
|
-
"@types/chai": "4.3.
|
45
|
+
"@nomiclabs/hardhat-ethers": "2.2.1",
|
46
|
+
"@types/chai": "4.3.4",
|
47
47
|
"@types/chai-as-promised": "7.1.5",
|
48
|
-
"@types/luxon": "3.0
|
49
|
-
"@types/mocha": "10.0.
|
50
|
-
"@windingtree/org.id-test-setup": "^1.2.
|
51
|
-
"chai": "4.3.
|
48
|
+
"@types/luxon": "3.1.0",
|
49
|
+
"@types/mocha": "10.0.1",
|
50
|
+
"@windingtree/org.id-test-setup": "^1.2.4",
|
51
|
+
"chai": "4.3.7",
|
52
52
|
"chai-as-promised": "7.1.1",
|
53
|
-
"eslint": "8.
|
54
|
-
"hardhat": "2.12.
|
53
|
+
"eslint": "8.29.0",
|
54
|
+
"hardhat": "2.12.3",
|
55
55
|
"nyc": "15.1.0",
|
56
56
|
"ts-node": "10.9.1",
|
57
|
-
"typescript": "4.
|
57
|
+
"typescript": "4.9.3"
|
58
58
|
}
|
59
59
|
}
|
package/dist/responseSchema.json
CHANGED
@@ -770,6 +770,9 @@
|
|
770
770
|
"ContactReference": {
|
771
771
|
"description": "Contact reference",
|
772
772
|
"type": "object",
|
773
|
+
"required": [
|
774
|
+
"function"
|
775
|
+
],
|
773
776
|
"properties": {
|
774
777
|
"function": {
|
775
778
|
"description": "Contact function: sales, support, accounting, etc.",
|
@@ -788,6 +791,11 @@
|
|
788
791
|
"type": "string",
|
789
792
|
"format": "email"
|
790
793
|
},
|
794
|
+
"website": {
|
795
|
+
"description": "Website URI",
|
796
|
+
"type": "string",
|
797
|
+
"pattern": "^(https|http){1}:\\/\\/([\\w\\d.-]+)(:(\\d*))?(\\/[\\w\\d.-?=#&%-_]*)?$"
|
798
|
+
},
|
791
799
|
"messengers": {
|
792
800
|
"description": "Messenger accounts",
|
793
801
|
"type": "array",
|
@@ -803,7 +811,7 @@
|
|
803
811
|
"$ref": "#/definitions/LanguageReference"
|
804
812
|
}
|
805
813
|
},
|
806
|
-
"example": "{\n \"function\": \"Reception\",\n \"name\": \"John Smith\",\n \"phone\": \"+1234567890\",\n \"email\": \"email@spam.com\",\n \"messengers\": [\n {\n \"type\": \"whatsapp\",\n \"value\": \"+1234567890\"\n },\n {\n \"type\": \"kik\",\n \"value\": \"acme.ny.reception\"\n }\n ]\n}"
|
814
|
+
"example": "{\n \"function\": \"Reception\",\n \"name\": \"John Smith\",\n \"phone\": \"+1234567890\",\n \"email\": \"email@spam.com\",\n \"website\": \"https://website.web\",\n \"messengers\": [\n {\n \"type\": \"whatsapp\",\n \"value\": \"+1234567890\"\n },\n {\n \"type\": \"kik\",\n \"value\": \"acme.ny.reception\"\n }\n ]\n}"
|
807
815
|
},
|
808
816
|
"MessengerReference": {
|
809
817
|
"description": "Messenger account information",
|
package/dist/src/index.d.ts
CHANGED
@@ -41,8 +41,8 @@ export interface Fetchers {
|
|
41
41
|
};
|
42
42
|
};
|
43
43
|
}
|
44
|
-
export
|
45
|
-
export
|
44
|
+
export type DidResolutionContext = 'https://w3id.org/did-resolution/v1';
|
45
|
+
export type DidResolutionContentType = 'application/did+ld+json';
|
46
46
|
export interface NormalizedOrgIdData extends Omit<OrgIdData, 'tokenId'> {
|
47
47
|
tokenId: string;
|
48
48
|
}
|
@@ -73,7 +73,7 @@ export interface OrgIdResolverAPI {
|
|
73
73
|
export interface ResolverCache {
|
74
74
|
[did: string]: DidResolutionResponse;
|
75
75
|
}
|
76
|
-
export
|
76
|
+
export type VerificationMethodPublicKey = JWK | string;
|
77
77
|
export declare const setupChains: (chains: ChainConfig[]) => Chains;
|
78
78
|
export declare const setupFetchers: (fetchers: FetcherConfig[]) => Fetchers;
|
79
79
|
export declare const parseCapabilityDelegates: (capabilityDelegate: CapabilityDelegationReference) => string[];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@windingtree/org.id-resolver",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.2",
|
4
4
|
"description": "ORGiD DID resolver",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"types": "dist/src/index.d.ts",
|
@@ -32,29 +32,29 @@
|
|
32
32
|
"url": "git+ssh://git@github.com:windingtree/org.id-resolver.git"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@windingtree/org.id": "^3.
|
36
|
-
"@windingtree/org.id-auth": "^1.2.
|
37
|
-
"@windingtree/org.id-core": "^1.2.
|
38
|
-
"@windingtree/org.id-utils": "^1.2.
|
39
|
-
"@windingtree/org.json-schema": "1.0
|
35
|
+
"@windingtree/org.id": "^3.1.1",
|
36
|
+
"@windingtree/org.id-auth": "^1.2.4",
|
37
|
+
"@windingtree/org.id-core": "^1.2.4",
|
38
|
+
"@windingtree/org.id-utils": "^1.2.4",
|
39
|
+
"@windingtree/org.json-schema": "1.1.0",
|
40
40
|
"ethers": "^5.7.2",
|
41
|
-
"luxon": "^3.
|
41
|
+
"luxon": "^3.1.1"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@istanbuljs/nyc-config-typescript": "1.0.2",
|
45
|
-
"@nomiclabs/hardhat-ethers": "2.2.
|
46
|
-
"@types/chai": "4.3.
|
45
|
+
"@nomiclabs/hardhat-ethers": "2.2.1",
|
46
|
+
"@types/chai": "4.3.4",
|
47
47
|
"@types/chai-as-promised": "7.1.5",
|
48
|
-
"@types/luxon": "3.0
|
49
|
-
"@types/mocha": "10.0.
|
50
|
-
"@windingtree/org.id-test-setup": "^1.2.
|
51
|
-
"chai": "4.3.
|
48
|
+
"@types/luxon": "3.1.0",
|
49
|
+
"@types/mocha": "10.0.1",
|
50
|
+
"@windingtree/org.id-test-setup": "^1.2.4",
|
51
|
+
"chai": "4.3.7",
|
52
52
|
"chai-as-promised": "7.1.1",
|
53
|
-
"eslint": "8.
|
54
|
-
"hardhat": "2.12.
|
53
|
+
"eslint": "8.29.0",
|
54
|
+
"hardhat": "2.12.3",
|
55
55
|
"nyc": "15.1.0",
|
56
56
|
"ts-node": "10.9.1",
|
57
|
-
"typescript": "4.
|
57
|
+
"typescript": "4.9.3"
|
58
58
|
},
|
59
|
-
"gitHead": "
|
59
|
+
"gitHead": "0198665417fd8fcc6defccb5fbdfbc86f4688fc2"
|
60
60
|
}
|