mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
17 lines
363 B
TypeScript
17 lines
363 B
TypeScript
|
import SecretStore from "@oceanprotocol/secret-store-client"
|
||
|
|
||
|
export default class SecretStoreMock extends SecretStore {
|
||
|
|
||
|
public async encryptDocument(documentId, document: any) {
|
||
|
|
||
|
return "0x283asdgahd1t371t23h"
|
||
|
}
|
||
|
|
||
|
public async decryptDocument(documentId, encryptedDocument: any) {
|
||
|
|
||
|
return {
|
||
|
doc: "test",
|
||
|
}
|
||
|
}
|
||
|
}
|