mirror of
https://github.com/hanzoai/account-sdk.git
synced 2026-10-30 14:46:02 +00:00
* rename the package * Squashed commit of the following: commit 26e68f9f6d1eac389c6329d06e20ca538484522c Author: Jungho Bang <[email protected]> Date: Wed Feb 28 19:27:38 2024 -0700 duh commit 8ce4d4acabf6f1d5419ddd2561446e374ac0dcd7 Author: Jungho Bang <[email protected]> Date: Wed Feb 28 19:20:54 2024 -0700 merge latest public commit f047e9b975d1e92505aedeacb7cc16a4b38b3b3a Merge: 9652bed4e7b9c4c7Author: Jungho Bang <[email protected]> Date: Wed Feb 28 19:19:30 2024 -0700 Merge branch 'master' into jungho/publish-ready # Conflicts: # apps/testapp/package.json # packages/wallet-sdk/package.json # packages/wallet-sdk/src/relay/mobile/MobileRelay.ts # packages/wallet-sdk/src/relay/mobile/MobileRelayUI.ts # packages/wallet-sdk/src/version.ts # yarn.lock commit 9652bed40a5e01fc9aefb7c8d1dac0f3150dd075 Author: Jungho Bang <[email protected]> Date: Wed Feb 28 19:16:08 2024 -0700 move relay ui file for merging commite7b9c4c70bAuthor: Pedro Rosário <[email protected]> Date: Sat Feb 24 01:03:36 2024 -0300 Fix/deeplink from webview for android (#1121) * fix: anchor tag approach to cover both iOS and Android cases * fix: add expected target --------- Co-authored-by: Pedro Rosario <[email protected]> commite89bf32b76Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri Feb 23 16:20:26 2024 -0800 v3.9.2 (#1120) Co-authored-by: bangtoven <[email protected]> commitd21f4fa7bdAuthor: Pedro Rosário <[email protected]> Date: Fri Feb 23 21:17:34 2024 -0300 fix redirecting on webviews (#1119) * fix redirecting on webviews * remove dead code * fix: typecheck --------- Co-authored-by: Pedro Rosario <[email protected]> commitba6190abbdAuthor: Jungho Bang <[email protected]> Date: Fri Dec 8 15:18:29 2023 -0500 use 3.9.1 on the test app (#1097) * update yarn.lock * cleanup release script * update license / year * update yarn.lock * cleanup license * Revert "update yarn.lock" This reverts commit 4354e48dbffdb5698e722dbe09c26587dc8d7ace. * fuck * revert to public gha * Revert "revert to public gha" This reverts commit 45ee8551c34de59dd05c95591cef364483754dd4. * update version
23 lines
691 B
JavaScript
23 lines
691 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
// Copyright (c) 2018-2023 Coinbase, Inc. <https://www.coinbase.com/>
|
|
|
|
const fs = require('fs');
|
|
const glob = require('glob');
|
|
const sass = require('sass');
|
|
|
|
async function main() {
|
|
// compile SCSS
|
|
const scssFiles = glob.sync(`${__dirname}/src/**/*.scss`);
|
|
for (const filePath of scssFiles) {
|
|
console.info(`Compiling ${filePath}...`);
|
|
const css = sass.renderSync({ file: filePath, outputStyle: 'compressed' }).css.toString('utf8');
|
|
const ts = `export default (() => \`${css}\`)();`;
|
|
fs.writeFileSync(filePath.replace(/\.scss$/, '-css.ts'), ts, {
|
|
mode: 0o644,
|
|
});
|
|
}
|
|
console.info('DONE!');
|
|
}
|
|
|
|
main();
|