Revert ffi and version changes (#681)

This commit is contained in:
Keerthi Niranjan 2019-06-13 21:09:40 +05:30 committed by Vishwas Shashidhar
parent 65836ddf24
commit 36613e3023
3 changed files with 8 additions and 8 deletions

View File

@ -83,12 +83,12 @@
},
"devDependencies": {
"@types/enzyme": "3.9.0",
"@types/ffi-napi": "2.4.1",
"@types/ffi": "0.2.2",
"@types/jest": "23.3.12",
"@types/node": "10.11.4",
"@types/react": "16.8.3",
"@types/react-dom": "16.0.9",
"@types/ref-napi": "1.4.0",
"@types/ref": "0.0.28",
"browserify": "16.2.3",
"cross-env": "5.2.0",
"del": "3.0.0",
@ -119,16 +119,16 @@
"electron-fetch": "1.3.0",
"electron-log": "2.2.17",
"electron-spellchecker": "git+https://github.com/symphonyoss/electron-spellchecker.git#v2.0.1",
"ffi-napi": "2.4.5",
"ffi": "git+https://github.com/symphonyoss/node-ffi.git#v1.2.8",
"filesize": "3.6.1",
"lodash.isequal": "4.5.0",
"react": "16.6.3",
"react-dom": "16.6.0",
"ref-napi": "1.4.1",
"ref": "1.3.5",
"shell-path": "2.1.0"
},
"optionalDependencies": {
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet.git#v1.0.5",
"swift-search": "1.55.2-beta.3"
"swift-search": "1.55.2-beta.5"
}
}

View File

@ -1,7 +1,7 @@
import { app } from 'electron';
import { Library } from 'ffi-napi';
import { Library } from 'ffi';
import * as path from 'path';
import { refType, types } from 'ref-napi';
import { refType, types } from 'ref';
const execPath = path.dirname(app.getPath('exe'));
import { isDevEnv, isMac } from '../common/env';

View File

@ -177,7 +177,7 @@ export class SSFApi {
buildNumber,
apiVer: '2.0.0',
// Only need to bump if there are any breaking changes.
searchApiVer: '1.55.2',
searchApiVer: '3.0.0',
});
}