@bifold/verifier 2.11.11 → 2.12.0
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/build/commonjs/types/agent.js +0 -3
- package/build/commonjs/types/agent.js.map +1 -1
- package/build/commonjs/types/proof-reqeust-template.js +1 -1
- package/build/module/types/agent.js +0 -3
- package/build/module/types/agent.js.map +1 -1
- package/build/module/types/proof-reqeust-template.js +1 -1
- package/build/typescript/hooks/proofs.d.ts.map +1 -1
- package/build/typescript/request-templates.d.ts.map +1 -1
- package/build/typescript/types/agent.d.ts +2 -2
- package/build/typescript/types/agent.d.ts.map +1 -1
- package/build/typescript/utils/proof-request.d.ts.map +1 -1
- package/build/typescript/utils/proof.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/agent.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -8,5 +8,5 @@ let ProofRequestType = exports.ProofRequestType = /*#__PURE__*/function (ProofRe
|
|
|
8
8
|
ProofRequestType["AnonCreds"] = "anoncreds";
|
|
9
9
|
ProofRequestType["DIF"] = "dif";
|
|
10
10
|
return ProofRequestType;
|
|
11
|
-
}({}); // eslint-disable-next-line @typescript-eslint/no-empty-
|
|
11
|
+
}({}); // eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
12
12
|
//# sourceMappingURL=proof-reqeust-template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/agent.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -4,5 +4,5 @@ export let ProofRequestType = /*#__PURE__*/function (ProofRequestType) {
|
|
|
4
4
|
return ProofRequestType;
|
|
5
5
|
}({});
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
8
8
|
//# sourceMappingURL=proof-reqeust-template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proofs.d.ts","sourceRoot":"","sources":["../../../src/hooks/proofs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAMpD,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"proofs.d.ts","sourceRoot":"","sources":["../../../src/hooks/proofs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAMpD,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,KAAG,mBAAmB,EAa7E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-templates.d.ts","sourceRoot":"","sources":["../../src/request-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAoB,MAAM,gCAAgC,CAAA;AAEvF,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"request-templates.d.ts","sourceRoot":"","sources":["../../src/request-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAoB,MAAM,gCAAgC,CAAA;AAEvF,eAAO,MAAM,wBAAwB,GAAI,oBAAoB,OAAO,2BA2DnE,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AnonCredsCredentialFormatService, AnonCredsModule, AnonCredsProofFormatService, DataIntegrityCredentialFormatService, LegacyIndyCredentialFormatService, LegacyIndyProofFormatService, V1CredentialProtocol, V1ProofProtocol } from '@credo-ts/anoncreds';
|
|
2
2
|
import { Agent, ConnectionsModule, CredentialsModule, DifPresentationExchangeProofFormatService, MediationRecipientModule, ProofsModule, V2CredentialProtocol, V2ProofProtocol } from '@credo-ts/core';
|
|
3
|
-
|
|
3
|
+
type GetAgentModules = () => {
|
|
4
4
|
anoncreds: AnonCredsModule;
|
|
5
5
|
connections: ConnectionsModule;
|
|
6
6
|
credentials: CredentialsModule<(V1CredentialProtocol | V2CredentialProtocol<(LegacyIndyCredentialFormatService | AnonCredsCredentialFormatService | DataIntegrityCredentialFormatService)[]>)[]>;
|
|
7
7
|
proofs: ProofsModule<(V1ProofProtocol | V2ProofProtocol<(LegacyIndyProofFormatService | AnonCredsProofFormatService | DifPresentationExchangeProofFormatService)[]>)[]>;
|
|
8
8
|
mediationRecipient: MediationRecipientModule;
|
|
9
9
|
};
|
|
10
|
-
export type BifoldAgent = Agent<ReturnType<
|
|
10
|
+
export type BifoldAgent = Agent<ReturnType<GetAgentModules>>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../src/types/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,eAAe,EACf,2BAA2B,EAC3B,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,EAC5B,oBAAoB,EACpB,eAAe,EAChB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,EACL,iBAAiB,EACjB,iBAAiB,EACjB,yCAAyC,EACzC,wBAAwB,EACxB,YAAY,EACZ,oBAAoB,EACpB,eAAe,EAChB,MAAM,gBAAgB,CAAA;AAEvB,
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../src/types/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,eAAe,EACf,2BAA2B,EAC3B,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,EAC5B,oBAAoB,EACpB,eAAe,EAChB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,EACL,iBAAiB,EACjB,iBAAiB,EACjB,yCAAyC,EACzC,wBAAwB,EACxB,YAAY,EACZ,oBAAoB,EACpB,eAAe,EAChB,MAAM,gBAAgB,CAAA;AAEvB,KAAK,eAAe,GAAG,MAAM;IAG3B,SAAS,EAAE,eAAe,CAAA;IAE1B,WAAW,EAAE,iBAAiB,CAAA;IAC9B,WAAW,EAAE,iBAAiB,CAC5B,CACI,oBAAoB,GACpB,oBAAoB,CAClB,CACI,iCAAiC,GACjC,gCAAgC,GAChC,oCAAoC,CACvC,EAAE,CACJ,CACJ,EAAE,CACJ,CAAA;IACD,MAAM,EAAE,YAAY,CAClB,CACI,eAAe,GACf,eAAe,CACb,CAAC,4BAA4B,GAAG,2BAA2B,GAAG,yCAAyC,CAAC,EAAE,CAC3G,CACJ,EAAE,CACJ,CAAA;IACD,kBAAkB,EAAE,wBAAwB,CAAA;CAC7C,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proof-request.d.ts","sourceRoot":"","sources":["../../../src/utils/proof-request.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,EAEvB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,YAAY,EAAmB,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAE1F,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAoB,MAAM,iCAAiC,CAAA;AAQxF,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"proof-request.d.ts","sourceRoot":"","sources":["../../../src/utils/proof-request.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,EAEvB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,YAAY,EAAmB,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAE1F,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC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package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifold/verifier",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"main": "build/commonjs/index.js",
|
|
5
5
|
"types": "build/typescript/index.d.ts",
|
|
6
6
|
"module": "build/module/index.js",
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
"coverage": "TZ=GMT jest --coverage"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babel/core": "~7.
|
|
27
|
-
"@credo-ts/anoncreds": "0.5.
|
|
28
|
-
"@credo-ts/core": "0.5.
|
|
26
|
+
"@babel/core": "~7.28.6",
|
|
27
|
+
"@credo-ts/anoncreds": "0.5.19",
|
|
28
|
+
"@credo-ts/core": "0.5.19",
|
|
29
29
|
"@credo-ts/react-hooks": "0.6.1",
|
|
30
|
-
"@hyperledger/anoncreds-shared": "0.
|
|
31
|
-
"@react-native/babel-preset": "~0.
|
|
30
|
+
"@hyperledger/anoncreds-shared": "0.3.4",
|
|
31
|
+
"@react-native/babel-preset": "~0.81.5",
|
|
32
32
|
"@types/jest": "~29.5.14",
|
|
33
|
-
"@types/react": "~
|
|
34
|
-
"babel-jest": "~
|
|
33
|
+
"@types/react": "~19.1.9",
|
|
34
|
+
"babel-jest": "~29.7.0",
|
|
35
35
|
"eslint": "~8.57.1",
|
|
36
36
|
"jest": "~29.6.4",
|
|
37
|
-
"react": "~
|
|
37
|
+
"react": "~19.1.4",
|
|
38
38
|
"react-native-builder-bob": "~0.21.3",
|
|
39
39
|
"rimraf": "~5.0.10",
|
|
40
|
-
"typescript": "~5.
|
|
40
|
+
"typescript": "~5.9.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@credo-ts/anoncreds": "0.5.
|
|
44
|
-
"@credo-ts/core": "0.5.
|
|
43
|
+
"@credo-ts/anoncreds": "0.5.19",
|
|
44
|
+
"@credo-ts/core": "0.5.19",
|
|
45
45
|
"@credo-ts/react-hooks": "0.6.1",
|
|
46
|
-
"@hyperledger/anoncreds-shared": "0.
|
|
47
|
-
"react": "~
|
|
46
|
+
"@hyperledger/anoncreds-shared": "0.3.4",
|
|
47
|
+
"react": "~19.1.4"
|
|
48
48
|
},
|
|
49
49
|
"react-native-builder-bob": {
|
|
50
50
|
"source": "src",
|