@toznysecure/sdk v1.5.16-alpha.18
E3DB JavaScript SDK Client Interface
The Tozny End-to-End Encrypted Database (E3DB) is a storage platform with powerful sharing and consent management features.
This repository contains interfaces and code providing the core of the Tozny platform JS SDKs. It defines types, API behaviors, and more to keep interactions consistent across the various code bases, yet allowing each SDK to define the cryptography layer and any context specific helpers for use in the target environment.
Use
Import this package
npm install --save e3db-client-interface
Create a concrete crypto implementation.
// crypto.js
import { Crypto as BaseCrypto } from 'e3db-client-interface'
export default class Crypto extends BaseCrypto{
// implement the crypto for each of the methods.
}
Create a concrete client implementation
// client.js
import Crypto from './crypto'
import { Client as ClientBase } from 'e3db-client-interface'
// instantiate a concrete crypto instance
const crypto = new Crypto()
export default class Client {
// overload the getter for crypto to return the concrete instance
static get crypto() {
return crypto
}
}
Finally to make the standard Tozny platform primitives available from the implementing package by exporting the constructors and helpers.
// index.js
export { default as Client } from './client'
export { Config, types } from 'e3db-client-interface'
// optionally export context specific helpers
export { default as helpers } from './helpers'
Terms of Service
Your use of E3DB must abide by our Terms of Service, as detailed in the linked document.
2 months ago
2 months ago
3 months ago
3 months ago
4 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago