-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update module exports for totp-wasm package
- Loading branch information
Showing
5 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
export { hotp, totp, steam_guard } from '../dist/totp_wasm.js' | ||
import * as totp from '../dist/totp_wasm.js' | ||
import data from '../dist/wasm_data.js' | ||
export const init = totp.default | ||
export const wasm_data = data | ||
export { wasm_data } from '../dist/wasm_data.js' | ||
export { default as init } from '../dist/totp_wasm.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const wasm_data: string |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { hotp, totp, steam_guard } from './dist/totp_wasm' | ||
import * as totp from './dist/totp_wasm' | ||
export const init = totp.default | ||
export { default as init } from './dist/totp_wasm' | ||
export { wasm_data } from './dist/wasm_data' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters