Skip to content

Commit

Permalink
feat(macos): update extension JavaScript with v2 changes
Browse files Browse the repository at this point in the history
WE2-612

Signed-off-by: Mart Somermaa <[email protected]>
  • Loading branch information
mrts committed Jan 10, 2022
1 parent e8879f1 commit a31776c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set(JSPATH ${CMAKE_CURRENT_SOURCE_DIR}/js/dist/safari)
set(EXTENSION ${JSPATH}/manifest.json ${JSPATH}/background.js ${JSPATH}/content.js ${JSPATH}/background.js.map ${JSPATH}/content.js.map ${JSPATH}/web-eid-icon-128.png)
add_custom_command(OUTPUT ${EXTENSION}
COMMAND ${CMAKE_COMMAND} -E env PATH="$ENV{PATH}:${BINPATH}" ${NPM_EXECUTABLE} install
COMMAND ${CMAKE_COMMAND} -E env PATH="$ENV{PATH}:${BINPATH}" ${NPM_EXECUTABLE} run clean build
COMMAND ${CMAKE_COMMAND} -E env PATH="$ENV{PATH}:${BINPATH}" TOKEN_SIGNING_BACKWARDS_COMPATIBILITY=true ${NPM_EXECUTABLE} run clean build
COMMENT "Generating extension js"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/js
)
Expand Down
2 changes: 1 addition & 1 deletion src/mac/js
Submodule js updated 43 files
+15 −14 .eslintrc.js
+9 −1 .github/workflows/build.yml
+3 −0 .gitmodules
+10 −0 README.md
+10 −0 jest.config.js
+1 −0 lib/web-eid.js
+9,524 −855 package-lock.json
+19 −13 package.json
+44 −3 rollup.config.js
+28 −3 scripts/build.mjs
+14 −12 src/background-safari/services/NativeAppService.ts
+1 −3 src/background/actions/TokenSigning/digestCommands.ts
+3 −2 src/background/actions/TokenSigning/errorToResponse.ts
+22 −27 src/background/actions/TokenSigning/getCertificate.ts
+2 −2 src/background/actions/TokenSigning/index.ts
+28 −23 src/background/actions/TokenSigning/sign.ts
+10 −5 src/background/actions/TokenSigning/status.ts
+1 −3 src/background/actions/TokenSigning/threeLetterLanguageCodes.ts
+39 −103 src/background/actions/authenticate.ts
+88 −0 src/background/actions/getSigningCertificate.ts
+46 −158 src/background/actions/sign.ts
+29 −9 src/background/actions/status.ts
+30 −23 src/background/background.ts
+19 −16 src/background/services/NativeAppService.ts
+0 −180 src/background/services/WebServerService.ts
+5 −1 src/config.ts
+8 −5 src/content/TokenSigning/pageScript.ts
+18 −54 src/content/content.ts
+1 −11 src/models/Browser.ts
+12 −4 src/models/Browser/Runtime.ts
+0 −596 src/models/Browser/WebRequest.ts
+0 −40 src/models/NativeAppMessage.ts
+25 −3 src/shared/Mutex.ts
+12 −3 src/shared/tokenSigningResponse.ts
+0 −99 src/shared/utils.ts
+177 −0 src/shared/utils/__tests__/version-test.ts
+12 −2 src/shared/utils/calculateJsonSize.ts
+38 −3 src/shared/utils/checkCompatibility.ts
+86 −0 src/shared/utils/semver.ts
+31 −12 src/shared/utils/sender.ts
+28 −28 src/shared/utils/timing.ts
+0 −2 static/firefox/manifest.json
+8 −2 tsconfig.json

0 comments on commit a31776c

Please sign in to comment.