Skip to content

Commit 46cfbc5

Browse files
authored
Merge pull request #63 from VirgilSecurity/v4.0.0-alpha.13
v4.0.0-alpha.13
2 parents 65d9506 + 3d5084a commit 46cfbc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+287
-295
lines changed

packages/base-crypto/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@virgilsecurity/base-crypto",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Virgil JavaScript Crypto Library is a high-level cryptographic library that allows you to perform all necessary operations for secure storing and transferring data and everything required to become HIPAA and GDPR compliant.",
55
"main": "./dist/base-crypto.cjs.js",
66
"module": "./dist/base-crypto.es.js",
@@ -22,12 +22,12 @@
2222
"@virgilsecurity/data-utils": "^0.1.6"
2323
},
2424
"peerDependencies": {
25-
"@virgilsecurity/core-foundation": "^0.2.0"
25+
"@virgilsecurity/core-foundation": "^0.3.0"
2626
},
2727
"devDependencies": {
2828
"@types/chai": "^4.1.7",
2929
"@types/mocha": "^5.2.7",
30-
"@virgilsecurity/core-foundation": "^0.2.0",
30+
"@virgilsecurity/core-foundation": "^0.3.0",
3131
"chai": "^4.2.0",
3232
"mocha": "^6.1.4",
3333
"rimraf": "^2.6.3",

packages/base-crypto/src/__tests__/compatibility.test.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
import { expect } from 'chai';
22

3-
import initWasmFoundation, {
4-
FoundationModules as WasmFoundationModules,
5-
} from '@virgilsecurity/core-foundation';
6-
import initAsmjsFoundation, {
7-
FoundationModules as AsmjsFoundationModules,
8-
} from '@virgilsecurity/core-foundation/node.asmjs.cjs';
3+
import initWasmFoundation from '@virgilsecurity/core-foundation';
4+
import initAsmjsFoundation from '@virgilsecurity/core-foundation/node.asmjs.cjs';
95

106
import { setFoundationModules, VirgilCrypto } from '..';
117

128
describe('compatibility', () => {
13-
let wasmFoundationModules: WasmFoundationModules;
14-
let asmjsFoundationModules: AsmjsFoundationModules;
9+
let wasmFoundationModules: typeof FoundationModules;
10+
let asmjsFoundationModules: typeof FoundationModules;
1511

1612
before(() => {
1713
return new Promise(resolve => {

packages/base-crypto/src/foundation-modules.d.ts

Lines changed: 0 additions & 217 deletions
This file was deleted.

packages/base-crypto/src/foundationModules.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
2-
/// <reference path="foundation-modules.d.ts" />
1+
/// <reference types="@virgilsecurity/core-foundation" />
32

43
let foundationModules: typeof FoundationModules | undefined;
54

packages/benchmark/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"regenerator-runtime": "^0.13.3",
2727
"rimraf": "^3.0.0",
2828
"serve-handler": "^6.1.1",
29-
"virgil-crypto": "^4.0.0-alpha.12",
29+
"virgil-crypto": "^4.0.0-alpha.13",
3030
"virgil-crypto-3": "npm:virgil-crypto@^3.2.6",
3131
"webpack": "^4.37.0"
3232
}

packages/core-foundation/browser.asmjs.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-foundation/browser.asmjs.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-foundation/browser.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-foundation/browser.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)