1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/test/mocks/SecretStore.mock.ts

14 lines
359 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'
}
}
}