@requestnetwork/types 0.29.1-next.743 → 0.29.1-next.752
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.
|
@@ -16,5 +16,25 @@ export interface ICipherProvider {
|
|
|
16
16
|
* @returns A Promise that resolves to the decrypted data.
|
|
17
17
|
*/
|
|
18
18
|
decrypt(encryptedData: any, options: any): Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Checks if encryption is available.
|
|
21
|
+
* @returns A boolean indicating if encryption is available.
|
|
22
|
+
*/
|
|
23
|
+
isEncryptionAvailable(): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Checks if decryption is available.
|
|
26
|
+
* @returns A boolean indicating if decryption is available.
|
|
27
|
+
*/
|
|
28
|
+
isDecryptionAvailable(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Switches on/off decryption.
|
|
31
|
+
* @param option - A boolean indicating if decryption should be switched on/off.
|
|
32
|
+
*/
|
|
33
|
+
enableDecryption(option: boolean): void;
|
|
34
|
+
/**
|
|
35
|
+
* Checks if decryption is enabled.
|
|
36
|
+
* @returns A boolean indicating if decryption is enabled.
|
|
37
|
+
*/
|
|
38
|
+
isDecryptionEnabled(): boolean;
|
|
19
39
|
}
|
|
20
40
|
//# sourceMappingURL=cipher-provider-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cipher-provider-types.d.ts","sourceRoot":"","sources":["../src/cipher-provider-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,OAAO,CAAC,aAAa,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"cipher-provider-types.d.ts","sourceRoot":"","sources":["../src/cipher-provider-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,OAAO,CAAC,aAAa,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAExD;;;OAGG;IACH,qBAAqB,IAAI,OAAO,CAAC;IAEjC;;;OAGG;IACH,qBAAqB,IAAI,OAAO,CAAC;IAEjC;;;OAGG;IACH,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAExC;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC;CAChC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requestnetwork/types",
|
|
3
|
-
"version": "0.29.1-next.
|
|
3
|
+
"version": "0.29.1-next.752+cf4c125e",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prepare": "yarn run build"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@lit-protocol/types": "
|
|
41
|
+
"@lit-protocol/types": "7.0.0",
|
|
42
42
|
"ethers": "5.7.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"typed-emitter": "2.1.0",
|
|
47
47
|
"typescript": "5.1.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "cf4c125e93c08e00a84ebd229e593ce8956d6c9e"
|
|
50
50
|
}
|