How to use the @tanker/client-node.getTankerVersion function in @tanker/client-node

To help you get started, we’ve selected a few @tanker/client-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TankerHQ / sdk-js / ci / compat / packages / 1.9.2 / index.spec.js View on Github external
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';

const generateTests = require('tests');

generateTests(getTankerVersion(), Tanker, generateUserToken);
github TankerHQ / sdk-js / ci / compat / packages / 1.9.4 / index.spec.js View on Github external
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';

import generateTests from 'tests';

generateTests({
  version: getTankerVersion(),
  Tanker,
  generateUserToken,
  tests: ['encrypt', 'group', 'unlock']
});
github TankerHQ / sdk-js / ci / compat / packages / 1.9.0 / index.spec.js View on Github external
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';

const generateTests = require('tests');

generateTests(getTankerVersion(), Tanker, generateUserToken);
github TankerHQ / sdk-js / ci / compat / packages / 1.9.3 / index.spec.js View on Github external
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';

const generateTests = require('tests');

generateTests(getTankerVersion(), Tanker, generateUserToken);
github TankerHQ / sdk-js / ci / compat / packages / 1.10.4 / index.spec.js View on Github external
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
import adapter from '@tanker/datastore-pouchdb-memory';

import { generateV1Tests } from 'tests';

generateV1Tests({
  version: getTankerVersion(),
  Tanker,
  generateUserToken,
  tests: ['encrypt', 'group', 'unlock', 'revocationV1'],
  adapter,
});
github TankerHQ / sdk-js / ci / compat / packages / 1.9.1 / index.spec.js View on Github external
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';

const generateTests = require('tests');

generateTests(getTankerVersion(), Tanker, generateUserToken);

@tanker/client-node

Tanker end-to-end encryption SDK for Node.js client applications

Apache-2.0
Latest version published 5 months ago

Package Health Score

65 / 100
Full package analysis