diff --git a/package-lock.json b/package-lock.json index be71754d4..88a47ed21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6691,6 +6691,7 @@ "version": "2.6.1", "resolved": "https://registry.npmjs.org/@govtechsg/dnsprove/-/dnsprove-2.6.1.tgz", "integrity": "sha512-ALLe3EC9ix6ZsMIHgRRLdVYMC35yRShG8sRXb73D4bvw60Yz/pT/Y3e9w40KqG8HMMChvJaEMV6uQi6GR7Jwmw==", + "dev": true, "requires": { "axios": "^0.21.1", "debug": "^4.3.1", @@ -6701,6 +6702,7 @@ "version": "0.21.4", "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dev": true, "requires": { "follow-redirects": "^1.14.0" } @@ -6708,7 +6710,8 @@ "follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "dev": true } } }, @@ -7386,1222 +7389,46 @@ } } }, - "@govtechsg/open-attestation-utils": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation-utils/-/open-attestation-utils-1.0.9.tgz", - "integrity": "sha512-iGNgauZzFN8oB+6f7rfbGdx/qyomD1bzd0ZjlepcCgBGQhml38aNvMx10CHeEf0nHoWC6vo4L1Y4dXF0O/aaxg==", - "requires": { - "react": "^17.0.2", - "react-dom": "^17.0.2" - } - }, - "@govtechsg/token-registry": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-4.1.7.tgz", - "integrity": "sha512-OGv8IfRvYs7MR9SzUeTZElsBhuvXeIvob7zw3vD24vL4hzeNNjOOBEeoSuAkpqt8du6bbtKTCmPe5tfoJXhTAA==", - "requires": { - "@typechain/ethers-v5": "~10.0.0" - } - }, - "@govtechsg/tradetrust-config": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@govtechsg/tradetrust-config/-/tradetrust-config-1.5.1.tgz", - "integrity": "sha512-zeG6nWKVsg7nQhsQ+1ZGIynDvlEjiwB8l0TRcRr4AEMDEfdD++Xis2Vgtxi/YY9eR0/iEnT7ECXqIKdgWMpEGw==", - "dev": true, - "requires": { - "ajv": "^8.11.2", - "ajv-formats": "^2.1.1", - "junk": "3.1.0", - "typedoc": "^0.23.28" - }, - "dependencies": { - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - } - } - }, - "@govtechsg/tradetrust-ui-components": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/@govtechsg/tradetrust-ui-components/-/tradetrust-ui-components-2.21.0.tgz", - "integrity": "sha512-uXVOXVPgCjBurmg4BStOxsyGKE+Cf5Jz0mDtzz47sGykett9tn4cFmMakv1/r0pytooZfEGjvhlfQKX5x7xC4A==", - "requires": { - "@govtechsg/address-identity-resolver": "^1.5.0", - "debug": "^4.3.4", - "lodash": "^4.17.21", - "react-feather": "^2.0.10", - "tailwindcss": "^3.3.1", - "validator": "^13.9.0" - }, - "dependencies": { - "@ethersproject/abi": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", - "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", - "requires": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/abstract-provider": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", - "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0" - } - }, - "@ethersproject/abstract-signer": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", - "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "@ethersproject/address": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", - "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/rlp": "^5.7.0" - } - }, - "@ethersproject/base64": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", - "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", - "requires": { - "@ethersproject/bytes": "^5.7.0" - } - }, - "@ethersproject/basex": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", - "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "@ethersproject/bignumber": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", - "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "bn.js": "^5.2.1" - } - }, - "@ethersproject/bytes": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", - "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/constants": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", - "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", - "requires": { - "@ethersproject/bignumber": "^5.7.0" - } - }, - "@ethersproject/contracts": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", - "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", - "requires": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0" - } - }, - "@ethersproject/hash": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", - "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/hdnode": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", - "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/json-wallets": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", - "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, - "@ethersproject/keccak256": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", - "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "js-sha3": "0.8.0" - } - }, - "@ethersproject/logger": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", - "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==" - }, - "@ethersproject/networks": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", - "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/pbkdf2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", - "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, - "@ethersproject/properties": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", - "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/providers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", - "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0", - "bech32": "1.1.4", - "ws": "7.4.6" - } - }, - "@ethersproject/random": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", - "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/rlp": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", - "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/sha2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", - "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "hash.js": "1.1.7" - } - }, - "@ethersproject/signing-key": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", - "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "bn.js": "^5.2.1", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "@ethersproject/solidity": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", - "integrity": "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/strings": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", - "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/transactions": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", - "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", - "requires": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0" - } - }, - "@ethersproject/units": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", - "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/wallet": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", - "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/json-wallets": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/web": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", - "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", - "requires": { - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/wordlists": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", - "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@govtechsg/address-identity-resolver": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@govtechsg/address-identity-resolver/-/address-identity-resolver-1.5.0.tgz", - "integrity": "sha512-ylRwzVQr7pDJodi8KKswgrDnWy3wQ2QIt3S9XpnjY+DQhrLk9HUbCox+bVEJ82T1BwXN/Xzo6qUXfDfdppJdow==", - "requires": { - "axios": "^0.27.2", - "axios-extensions": "^3.1.3", - "debug": "^4.1.1", - "ethers": "^5.7.2", - "papaparse": "^5.3.0", - "query-string": "^7.1.3", - "use-persisted-state": "^0.3.0" - } - }, - "arg": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", - "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" - }, - "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", - "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - }, - "bn.js": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", - "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "requires": { - "is-glob": "^4.0.1" - } - } - } - }, - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "requires": { - "ms": "2.1.2" - } - }, - "decode-uri-component": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", - "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==" - }, - "ethers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", - "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", - "requires": { - "@ethersproject/abi": "5.7.0", - "@ethersproject/abstract-provider": "5.7.0", - "@ethersproject/abstract-signer": "5.7.0", - "@ethersproject/address": "5.7.0", - "@ethersproject/base64": "5.7.0", - "@ethersproject/basex": "5.7.0", - "@ethersproject/bignumber": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/constants": "5.7.0", - "@ethersproject/contracts": "5.7.0", - "@ethersproject/hash": "5.7.0", - "@ethersproject/hdnode": "5.7.0", - "@ethersproject/json-wallets": "5.7.0", - "@ethersproject/keccak256": "5.7.0", - "@ethersproject/logger": "5.7.0", - "@ethersproject/networks": "5.7.1", - "@ethersproject/pbkdf2": "5.7.0", - "@ethersproject/properties": "5.7.0", - "@ethersproject/providers": "5.7.2", - "@ethersproject/random": "5.7.0", - "@ethersproject/rlp": "5.7.0", - "@ethersproject/sha2": "5.7.0", - "@ethersproject/signing-key": "5.7.0", - "@ethersproject/solidity": "5.7.0", - "@ethersproject/strings": "5.7.0", - "@ethersproject/transactions": "5.7.0", - "@ethersproject/units": "5.7.0", - "@ethersproject/wallet": "5.7.0", - "@ethersproject/web": "5.7.1", - "@ethersproject/wordlists": "5.7.0" - } - }, - "fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "requires": { - "is-glob": "^4.0.1" - } - } - } - }, - "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" - }, - "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "requires": { - "is-glob": "^4.0.3" - } - }, - "is-core-module": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", - "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", - "requires": { - "has": "^1.0.3" - } - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "requires": { - "is-extglob": "^2.1.1" - } - }, - "js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, - "lilconfig": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==" - }, - "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" - }, - "postcss-load-config": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", - "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", - "requires": { - "lilconfig": "^2.0.5", - "yaml": "^2.1.1" - } - }, - "postcss-nested": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", - "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", - "requires": { - "postcss-selector-parser": "^6.0.11" - } - }, - "postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", - "requires": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - } - }, - "query-string": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", - "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==", - "requires": { - "decode-uri-component": "^0.2.2", - "filter-obj": "^1.1.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" - } - }, - "react-feather": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/react-feather/-/react-feather-2.0.10.tgz", - "integrity": "sha512-BLhukwJ+Z92Nmdcs+EMw6dy1Z/VLiJTzEQACDUEnWMClhYnFykJCGWQx+NmwP/qQHGX/5CzQ+TGi8ofg2+HzVQ==", - "requires": { - "prop-types": "^15.7.2" - } - }, - "resolve": { - "version": "1.22.4", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", - "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", - "requires": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "tailwindcss": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", - "integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==", - "requires": { - "@alloc/quick-lru": "^5.2.0", - "arg": "^5.0.2", - "chokidar": "^3.5.3", - "didyoumean": "^1.2.2", - "dlv": "^1.1.3", - "fast-glob": "^3.2.12", - "glob-parent": "^6.0.2", - "is-glob": "^4.0.3", - "jiti": "^1.18.2", - "lilconfig": "^2.1.0", - "micromatch": "^4.0.5", - "normalize-path": "^3.0.0", - "object-hash": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.23", - "postcss-import": "^15.1.0", - "postcss-js": "^4.0.1", - "postcss-load-config": "^4.0.1", - "postcss-nested": "^6.0.1", - "postcss-selector-parser": "^6.0.11", - "resolve": "^1.22.2", - "sucrase": "^3.32.0" - } - }, - "validator": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/validator/-/validator-13.11.0.tgz", - "integrity": "sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==" - }, - "yaml": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", - "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==" - } - } - }, - "@govtechsg/tradetrust-utils": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@govtechsg/tradetrust-utils/-/tradetrust-utils-1.6.0.tgz", - "integrity": "sha512-mbLEGkE6Y9yJhkeHjLiM/oDyXF1PVnHqiyaonbWylq0lOf9Wbuhs6cjqKdfDyNlsg/mAhLSysyQnz7GyNVW/Zg==", - "requires": { - "@govtechsg/oa-verify": "^8.1.0" - }, - "dependencies": { - "@ethersproject/abi": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", - "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", - "requires": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/abstract-provider": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", - "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0" - } - }, - "@ethersproject/abstract-signer": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", - "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "@ethersproject/address": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", - "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/rlp": "^5.7.0" - } - }, - "@ethersproject/base64": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", - "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", - "requires": { - "@ethersproject/bytes": "^5.7.0" - } - }, - "@ethersproject/basex": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", - "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "@ethersproject/bignumber": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", - "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "bn.js": "^5.2.1" - } - }, - "@ethersproject/bytes": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", - "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/constants": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", - "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", - "requires": { - "@ethersproject/bignumber": "^5.7.0" - } - }, - "@ethersproject/contracts": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", - "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", - "requires": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0" - } - }, - "@ethersproject/hash": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", - "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/hdnode": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", - "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/json-wallets": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", - "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, - "@ethersproject/keccak256": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", - "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "js-sha3": "0.8.0" - } - }, - "@ethersproject/logger": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", - "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==" - }, - "@ethersproject/networks": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", - "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/pbkdf2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", - "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, - "@ethersproject/properties": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", - "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/providers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", - "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0", - "bech32": "1.1.4", - "ws": "7.4.6" - } - }, - "@ethersproject/random": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", - "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/rlp": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", - "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/sha2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", - "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "hash.js": "1.1.7" - } - }, - "@ethersproject/signing-key": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", - "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "bn.js": "^5.2.1", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "@ethersproject/solidity": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", - "integrity": "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/strings": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", - "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/transactions": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", - "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", - "requires": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0" - } - }, - "@ethersproject/units": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", - "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/wallet": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", - "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/json-wallets": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/web": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", - "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", - "requires": { - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/wordlists": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", - "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@govtechsg/oa-verify": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@govtechsg/oa-verify/-/oa-verify-8.2.0.tgz", - "integrity": "sha512-iOB0UvGAaPpZWAKsY+RdxP8xP4ytL9TIVqfSsB1ejH6+Wsbnl+YB8Pk3ex1YZIEcoRvjyZOxZEdfXanvknoU8g==", - "requires": { - "@govtechsg/dnsprove": "^2.6.1", - "@govtechsg/document-store": "^2.2.3", - "@govtechsg/open-attestation": "^6.2.0", - "@govtechsg/token-registry": "^4.1.7", - "axios": "^0.21.4", - "debug": "^4.3.1", - "did-resolver": "^3.1.0", - "ethers": "^5.1.4", - "ethr-did-resolver": "^4.3.3", - "node-cache": "^5.1.2", - "runtypes": "^6.3.0", - "web-did-resolver": "^2.0.4" - } - }, - "@govtechsg/open-attestation": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-6.7.0.tgz", - "integrity": "sha512-kF0lnUyJ/YZI73kUvj1N7Hx3GGf3ncLo4Ax8WVSeup/uqJBoy3nAMdfZbmh9plsDcDMWAgHnVXrEyaxsKicxkA==", - "requires": { - "@govtechsg/jsonld": "^0.1.0", - "ajv": "^8.6.2", - "ajv-formats": "^2.1.0", - "cross-fetch": "^3.1.5", - "debug": "^4.3.2", - "ethers": "^5.7.2", - "flatley": "^5.2.0", - "js-base64": "^3.6.1", - "js-sha3": "^0.8.0", - "lodash": "^4.17.21", - "runtypes": "^6.3.2", - "uuid": "^8.3.2", - "validator": "^13.7.0" - }, - "dependencies": { - "ethers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", - "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", - "requires": { - "@ethersproject/abi": "5.7.0", - "@ethersproject/abstract-provider": "5.7.0", - "@ethersproject/abstract-signer": "5.7.0", - "@ethersproject/address": "5.7.0", - "@ethersproject/base64": "5.7.0", - "@ethersproject/basex": "5.7.0", - "@ethersproject/bignumber": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/constants": "5.7.0", - "@ethersproject/contracts": "5.7.0", - "@ethersproject/hash": "5.7.0", - "@ethersproject/hdnode": "5.7.0", - "@ethersproject/json-wallets": "5.7.0", - "@ethersproject/keccak256": "5.7.0", - "@ethersproject/logger": "5.7.0", - "@ethersproject/networks": "5.7.1", - "@ethersproject/pbkdf2": "5.7.0", - "@ethersproject/properties": "5.7.0", - "@ethersproject/providers": "5.7.2", - "@ethersproject/random": "5.7.0", - "@ethersproject/rlp": "5.7.0", - "@ethersproject/sha2": "5.7.0", - "@ethersproject/signing-key": "5.7.0", - "@ethersproject/solidity": "5.7.0", - "@ethersproject/strings": "5.7.0", - "@ethersproject/transactions": "5.7.0", - "@ethersproject/units": "5.7.0", - "@ethersproject/wallet": "5.7.0", - "@ethersproject/web": "5.7.1", - "@ethersproject/wordlists": "5.7.0" - } - } - } - }, + "@govtechsg/open-attestation-utils": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation-utils/-/open-attestation-utils-1.0.9.tgz", + "integrity": "sha512-iGNgauZzFN8oB+6f7rfbGdx/qyomD1bzd0ZjlepcCgBGQhml38aNvMx10CHeEf0nHoWC6vo4L1Y4dXF0O/aaxg==", + "requires": { + "react": "^17.0.2", + "react-dom": "^17.0.2" + } + }, + "@govtechsg/token-registry": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-4.1.7.tgz", + "integrity": "sha512-OGv8IfRvYs7MR9SzUeTZElsBhuvXeIvob7zw3vD24vL4hzeNNjOOBEeoSuAkpqt8du6bbtKTCmPe5tfoJXhTAA==", + "requires": { + "@typechain/ethers-v5": "~10.0.0" + } + }, + "@govtechsg/tradetrust-config": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@govtechsg/tradetrust-config/-/tradetrust-config-1.5.1.tgz", + "integrity": "sha512-zeG6nWKVsg7nQhsQ+1ZGIynDvlEjiwB8l0TRcRr4AEMDEfdD++Xis2Vgtxi/YY9eR0/iEnT7ECXqIKdgWMpEGw==", + "dev": true, + "requires": { + "ajv": "^8.11.2", + "ajv-formats": "^2.1.1", + "junk": "3.1.0", + "typedoc": "^0.23.28" + }, + "dependencies": { "ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2", "uri-js": "^4.2.2" } - }, - "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "requires": { - "follow-redirects": "^1.14.0" - } - }, - "bn.js": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", - "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" - }, - "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" - }, - "js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" } } }, @@ -14767,6 +13594,243 @@ } } }, + "@tradetrust-tt/tradetrust-ui-components": { + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/@tradetrust-tt/tradetrust-ui-components/-/tradetrust-ui-components-2.22.0.tgz", + "integrity": "sha512-6nkjRLlbmSKPtkRdejqAdhCgI3qX1xpRW52B+gBB6K/Uw0iGjgErHJCfxRFK18UJPSGsMi8n0l4tx8rKDaUxyQ==", + "requires": { + "@govtechsg/address-identity-resolver": "^1.5.0", + "debug": "^4.3.4", + "lodash": "^4.17.21", + "postcss": "^8.4.31", + "react-feather": "^2.0.10", + "tailwindcss": "^3.3.3", + "validator": "^13.9.0" + }, + "dependencies": { + "arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "requires": { + "is-glob": "^4.0.3" + } + }, + "is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "requires": { + "hasown": "^2.0.0" + } + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==" + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + }, + "object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "postcss": { + "version": "8.4.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", + "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", + "requires": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, + "postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "requires": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "dependencies": { + "lilconfig": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", + "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==" + } + } + }, + "postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "requires": { + "postcss-selector-parser": "^6.0.11" + } + }, + "postcss-selector-parser": { + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "react-feather": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/react-feather/-/react-feather-2.0.10.tgz", + "integrity": "sha512-BLhukwJ+Z92Nmdcs+EMw6dy1Z/VLiJTzEQACDUEnWMClhYnFykJCGWQx+NmwP/qQHGX/5CzQ+TGi8ofg2+HzVQ==", + "requires": { + "prop-types": "^15.7.2" + } + }, + "resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "tailwindcss": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz", + "integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==", + "requires": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.0", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.19.1", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + } + }, + "yaml": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==" + } + } + }, + "@tradetrust-tt/tradetrust-utils": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@tradetrust-tt/tradetrust-utils/-/tradetrust-utils-1.9.0.tgz", + "integrity": "sha512-eFnA2/6ssH8knnTv03xnDSogR+DzpYNN3+3OZ/thv9mz3Y6qAKtDWRx5NuntTI/+46xHSLMNCNAOKEwI/0k+gQ==", + "requires": { + "@tradetrust-tt/tt-verify": "^8.4.0" + } + }, "@tradetrust-tt/tt-verify": { "version": "8.4.0", "resolved": "https://registry.npmjs.org/@tradetrust-tt/tt-verify/-/tt-verify-8.4.0.tgz", @@ -25959,6 +25023,21 @@ } } }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "requires": { + "function-bind": "^1.1.2" + }, + "dependencies": { + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + } + } + }, "hast-to-hyperscript": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz", @@ -30865,7 +29944,8 @@ "nanoid": { "version": "3.3.6", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==" + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "dev": true }, "nanomatch": { "version": "1.2.13", @@ -32717,6 +31797,7 @@ "version": "8.4.30", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.30.tgz", "integrity": "sha512-7ZEao1g4kd68l97aWG/etQKPKq07us0ieSZ2TnFDk11i0ZfDW2AwKHYU8qv4MZKqN2fdBfg+7q0ES06UA73C1g==", + "dev": true, "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", diff --git a/package.json b/package.json index 0904c5adc..afbe198a4 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,8 @@ "@tradetrust-tt/tradetrust": "^6.9.0", "@govtechsg/open-attestation-utils": "^1.0.9", "@tradetrust-tt/token-registry": "^4.1.7", - "@govtechsg/tradetrust-ui-components": "^2.21.0", - "@govtechsg/tradetrust-utils": "^1.6.0", + "@tradetrust-tt/tradetrust-ui-components": "^2.21.0", + "@tradetrust-tt/tradetrust-utils": "^1.6.0", "@reduxjs/toolkit": "^1.6.1", "@types/gtag.js": "0.0.8", "cross-env": "^7.0.3", diff --git a/src/AppContainer.tsx b/src/AppContainer.tsx index 4dd417143..1ac5428c2 100644 --- a/src/AppContainer.tsx +++ b/src/AppContainer.tsx @@ -1,4 +1,4 @@ -import { NetworkBar, Overlay } from "@govtechsg/tradetrust-ui-components"; +import { NetworkBar, Overlay } from "@tradetrust-tt/tradetrust-ui-components"; import React, { useEffect, useState } from "react"; import { useLocation } from "react-router-dom"; import { Footer } from "./components/Layout/Footer"; diff --git a/src/common/errors/NoMetaMaskError.ts b/src/common/errors/NoMetaMaskError.ts index 169aa20b5..048abff16 100644 --- a/src/common/errors/NoMetaMaskError.ts +++ b/src/common/errors/NoMetaMaskError.ts @@ -1,4 +1,4 @@ -import { MessageTitle } from "@govtechsg/tradetrust-ui-components"; +import { MessageTitle } from "@tradetrust-tt/tradetrust-ui-components"; export class NoMetaMaskError extends Error { constructor() { diff --git a/src/common/hooks/useNetworkSelect.tsx b/src/common/hooks/useNetworkSelect.tsx index 7eb49ac7b..82d52838e 100644 --- a/src/common/hooks/useNetworkSelect.tsx +++ b/src/common/hooks/useNetworkSelect.tsx @@ -1,6 +1,6 @@ import React, { useCallback, useContext } from "react"; import { useProviderContext } from "../contexts/provider"; -import { OverlayContext, showDocumentTransferMessage } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContext, showDocumentTransferMessage } from "@tradetrust-tt/tradetrust-ui-components"; import { LoadingModal } from "../../components/UI/Overlay"; import { ChainId } from "../../constants/chain-info"; diff --git a/src/common/utils/overlay.tsx b/src/common/utils/overlay.tsx index 37e7fd3c7..644f2876b 100644 --- a/src/common/utils/overlay.tsx +++ b/src/common/utils/overlay.tsx @@ -1,4 +1,4 @@ -import { Textual } from "@govtechsg/tradetrust-ui-components"; +import { Textual } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; export const contentPdpa: FunctionComponent = () => { diff --git a/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementDropdown/AssetManagementDropdown.tsx b/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementDropdown/AssetManagementDropdown.tsx index 9dd3052ec..bf444bf55 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementDropdown/AssetManagementDropdown.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementDropdown/AssetManagementDropdown.tsx @@ -1,4 +1,4 @@ -import { Dropdown, DropdownItem } from "@govtechsg/tradetrust-ui-components"; +import { Dropdown, DropdownItem } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { AssetManagementActions } from "./../../AssetManagementActions"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementForm.stories.tsx b/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementForm.stories.tsx index 216568939..27d9876b3 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementForm.stories.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementForm.stories.tsx @@ -1,4 +1,4 @@ -import { Overlay, OverlayContextProvider } from "@govtechsg/tradetrust-ui-components"; +import { Overlay, OverlayContextProvider } from "@tradetrust-tt/tradetrust-ui-components"; import React, { useState } from "react"; import { FormState } from "../../../constants/FormState"; import { AssetManagementActions } from "../AssetManagementActions"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementTitle/AssetManagementTitle.tsx b/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementTitle/AssetManagementTitle.tsx index 23dcf599b..72a908cdc 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementTitle/AssetManagementTitle.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/AssetManagementTitle/AssetManagementTitle.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { BackArrow } from "@govtechsg/tradetrust-ui-components"; +import { BackArrow } from "@tradetrust-tt/tradetrust-ui-components"; import { AssetManagementActions } from "./../../AssetManagementActions"; interface AssetManagementTitleProps { diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/AcceptSurrenderedForm/AcceptSurrenderedForm.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/AcceptSurrenderedForm/AcceptSurrenderedForm.tsx index b36e24ad3..59750d509 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/AcceptSurrenderedForm/AcceptSurrenderedForm.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/AcceptSurrenderedForm/AcceptSurrenderedForm.tsx @@ -4,7 +4,7 @@ import { OverlayContext, showDocumentTransferMessage, LoaderSpinner, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect } from "react"; import { FormState } from "../../../../../constants/FormState"; import { TagBorderedLg } from "../../../../UI/Tag"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/ActionSelectionForm/ActionSelectionForm.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/ActionSelectionForm/ActionSelectionForm.tsx index a1bfcb105..93d39a5ec 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/ActionSelectionForm/ActionSelectionForm.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/ActionSelectionForm/ActionSelectionForm.tsx @@ -1,4 +1,9 @@ -import { Button, MessageTitle, OverlayContext, showDocumentTransferMessage } from "@govtechsg/tradetrust-ui-components"; +import { + Button, + MessageTitle, + OverlayContext, + showDocumentTransferMessage, +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext } from "react"; import { TagBorderedLg } from "../../../../UI/Tag"; import { AssetInformationPanel } from "../../../AssetInformationPanel"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EditableAssetTitle/EditableAssetTitle.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EditableAssetTitle/EditableAssetTitle.tsx index b86ec9bac..865ba2b1c 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EditableAssetTitle/EditableAssetTitle.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EditableAssetTitle/EditableAssetTitle.tsx @@ -1,4 +1,4 @@ -import { OverlayAddressBook, ButtonIcon, useOverlayContext, Input } from "@govtechsg/tradetrust-ui-components"; +import { OverlayAddressBook, ButtonIcon, useOverlayContext, Input } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { Book } from "react-feather"; import { NETWORK_NAME } from "../../../../../config"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseBeneficiary/EndorseBeneficiary.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseBeneficiary/EndorseBeneficiary.tsx index d62c2a647..787c1bb30 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseBeneficiary/EndorseBeneficiary.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseBeneficiary/EndorseBeneficiary.tsx @@ -4,7 +4,7 @@ import { OverlayContext, showDocumentTransferMessage, LoaderSpinner, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect } from "react"; import { FormState } from "../../../../../constants/FormState"; import { isEthereumAddress } from "../../../../../utils"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseTransferForm/EndorseTransferForm.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseTransferForm/EndorseTransferForm.tsx index 544994584..f76f1139e 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseTransferForm/EndorseTransferForm.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/EndorseTransferForm/EndorseTransferForm.tsx @@ -4,7 +4,7 @@ import { OverlayContext, showDocumentTransferMessage, LoaderSpinner, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect, useState } from "react"; import { FormState } from "../../../../../constants/FormState"; import { isValidEndorseTransfer } from "../../../../../utils"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/NominateBeneficiary/NominateBeneficiary.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/NominateBeneficiary/NominateBeneficiary.tsx index db81fa92a..3a4d1d7dc 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/NominateBeneficiary/NominateBeneficiary.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/NominateBeneficiary/NominateBeneficiary.tsx @@ -4,7 +4,7 @@ import { OverlayContext, showDocumentTransferMessage, LoaderSpinner, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect, useState } from "react"; import { FormState } from "../../../../../constants/FormState"; import { isEthereumAddress } from "../../../../../utils"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.test.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.test.tsx index f8222c63d..93f2bea42 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.test.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.test.tsx @@ -1,4 +1,4 @@ -import { OverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; import { fireEvent, render } from "@testing-library/react"; import React from "react"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.tsx index 19655a1a0..004aa2ca6 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/RejectSurrenderedForm/RejectSurrenderedForm.tsx @@ -4,7 +4,7 @@ import { OverlayContext, showDocumentTransferMessage, LoaderSpinner, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect } from "react"; import { FormState } from "../../../../../constants/FormState"; import { TagBorderedLg } from "../../../../UI/Tag"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/SurrenderForm/SurrenderForm.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/SurrenderForm/SurrenderForm.tsx index 4d62bf7cb..90b4d0e5e 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/SurrenderForm/SurrenderForm.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/SurrenderForm/SurrenderForm.tsx @@ -4,7 +4,7 @@ import { MessageTitle, OverlayContext, showDocumentTransferMessage, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect } from "react"; import { FormState } from "../../../../../constants/FormState"; import { AssetInformationPanel } from "../../../AssetInformationPanel"; diff --git a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/TransferHolderForm/TransferHolderForm.tsx b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/TransferHolderForm/TransferHolderForm.tsx index 5fdf25a94..f7932085d 100644 --- a/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/TransferHolderForm/TransferHolderForm.tsx +++ b/src/components/AssetManagementPanel/AssetManagementForm/FormVariants/TransferHolderForm/TransferHolderForm.tsx @@ -4,7 +4,7 @@ import { OverlayContext, showDocumentTransferMessage, LoaderSpinner, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useEffect, useState } from "react"; import { FormState } from "../../../../../constants/FormState"; import { isEthereumAddress } from "../../../../../utils"; diff --git a/src/components/ButtonVideo/ButtonVideo.test.tsx b/src/components/ButtonVideo/ButtonVideo.test.tsx index 618af4f19..0361ccc74 100644 --- a/src/components/ButtonVideo/ButtonVideo.test.tsx +++ b/src/components/ButtonVideo/ButtonVideo.test.tsx @@ -1,7 +1,7 @@ import React from "react"; import { render, screen, fireEvent } from "@testing-library/react"; import { ButtonVideo } from "./ButtonVideo"; -import { OverlayContextProvider, Overlay } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContextProvider, Overlay } from "@tradetrust-tt/tradetrust-ui-components"; const RenderWithOverlay = ({ children }: any) => { return ( diff --git a/src/components/ButtonVideo/ButtonVideo.tsx b/src/components/ButtonVideo/ButtonVideo.tsx index b2e389baf..9c4d1f711 100644 --- a/src/components/ButtonVideo/ButtonVideo.tsx +++ b/src/components/ButtonVideo/ButtonVideo.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent, useContext } from "react"; -import { OverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; interface ButtonVideoProps { className?: string; diff --git a/src/components/Carousel/Carousel.tsx b/src/components/Carousel/Carousel.tsx index cf1ae1527..aedeaaf0e 100644 --- a/src/components/Carousel/Carousel.tsx +++ b/src/components/Carousel/Carousel.tsx @@ -2,7 +2,7 @@ import React, { FunctionComponent } from "react"; import { Link } from "react-router-dom"; import { Swiper, SwiperSlide } from "swiper/react"; import { Autoplay, Pagination } from "swiper"; -import { Youtube, Button, ButtonSize } from "@govtechsg/tradetrust-ui-components"; +import { Youtube, Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components"; import ReactMarkdown from "react-markdown"; import { ButtonVideo } from "../ButtonVideo"; @@ -10,7 +10,7 @@ import "swiper/swiper.min.css"; import "swiper/modules/pagination/pagination.min.css"; import "./swiper-custom.css"; import { GaAction, GaCategory } from "../../types"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import { isExternalLink } from "../../utils"; interface PageLink { diff --git a/src/components/CertificateDropZone/CertificateDropZone.stories.tsx b/src/components/CertificateDropZone/CertificateDropZone.stories.tsx index 1b5b1ac2e..c23a0056d 100644 --- a/src/components/CertificateDropZone/CertificateDropZone.stories.tsx +++ b/src/components/CertificateDropZone/CertificateDropZone.stories.tsx @@ -4,7 +4,7 @@ import { CertificateDropZone } from "./CertificateDropZone"; import { Provider } from "react-redux"; import { configureStore } from "../../store"; import { states } from "../../reducers/certificate"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; import { whenDocumentHashInvalidAndNotIssued, whenDocumentHashInvalid, diff --git a/src/components/CertificateDropZone/CertificateDropZone.tsx b/src/components/CertificateDropZone/CertificateDropZone.tsx index 68db2f8ae..dd3c8313a 100644 --- a/src/components/CertificateDropZone/CertificateDropZone.tsx +++ b/src/components/CertificateDropZone/CertificateDropZone.tsx @@ -14,7 +14,7 @@ import { View, ViewVerificationError, ViewActionError, ViewVerificationPending } import { isValid } from "@tradetrust-tt/tt-verify"; import { useProviderContext } from "../../common/contexts/provider"; import { getChainId } from "../../utils/shared"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; import { useNetworkSelect } from "./../../common/hooks/useNetworkSelect"; const { TYPES } = CONSTANTS; diff --git a/src/components/CertificateDropZone/CertificateDropZoneContainer.tsx b/src/components/CertificateDropZone/CertificateDropZoneContainer.tsx index 914fb5717..105e371c0 100644 --- a/src/components/CertificateDropZone/CertificateDropZoneContainer.tsx +++ b/src/components/CertificateDropZone/CertificateDropZoneContainer.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Button } from "@govtechsg/tradetrust-ui-components"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; import { useDispatch } from "react-redux"; import { processQrCode } from "../../reducers/certificate"; import QrReader, { QrDataType } from "../QrReader/qrReader"; diff --git a/src/components/CertificateViewerErrorBoundary/CertificateViewerErrorBoundary.tsx b/src/components/CertificateViewerErrorBoundary/CertificateViewerErrorBoundary.tsx index 5a32f8c6b..79769af8c 100644 --- a/src/components/CertificateViewerErrorBoundary/CertificateViewerErrorBoundary.tsx +++ b/src/components/CertificateViewerErrorBoundary/CertificateViewerErrorBoundary.tsx @@ -2,7 +2,7 @@ import React from "react"; import { FunctionComponent } from "react"; import { ErrorBoundary, FallbackComponentType } from "../ErrorBoundary"; import { getCurrentProvider, useProviderContext } from "../../common/contexts/provider"; -import { ErrorPage, ErrorPageProps } from "@govtechsg/tradetrust-ui-components"; +import { ErrorPage, ErrorPageProps } from "@tradetrust-tt/tradetrust-ui-components"; import { Link } from "react-router-dom"; import { UnsupportedNetworkError } from "../../common/errors"; diff --git a/src/components/CostEstimationContent/CostModal.tsx b/src/components/CostEstimationContent/CostModal.tsx index 0d2161a09..8cbd49dbc 100644 --- a/src/components/CostEstimationContent/CostModal.tsx +++ b/src/components/CostEstimationContent/CostModal.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent, useState, useEffect, useCallback } from "react"; -import { OverlayContent } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContent } from "@tradetrust-tt/tradetrust-ui-components"; import { CostData } from "./types"; import { FiatLabel } from "@govtechsg/open-attestation-utils"; import { currentDateStr } from "../../utils"; diff --git a/src/components/CostEstimationContent/CostOperation.tsx b/src/components/CostEstimationContent/CostOperation.tsx index 7e4e7ed1b..333808651 100644 --- a/src/components/CostEstimationContent/CostOperation.tsx +++ b/src/components/CostEstimationContent/CostOperation.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent, useContext, useCallback } from "react"; -import { OverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; import { useFetchGasPrice } from "../../common/hooks/useFetchGasPrice"; import { CostData, PriceTable } from "./types"; import { CostModal } from "./CostModal"; diff --git a/src/components/Demo/DemoCreate/DemoCreateButtonRow/index.tsx b/src/components/Demo/DemoCreate/DemoCreateButtonRow/index.tsx index ad1bf1d02..a641b0c05 100644 --- a/src/components/Demo/DemoCreate/DemoCreateButtonRow/index.tsx +++ b/src/components/Demo/DemoCreate/DemoCreateButtonRow/index.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { Button } from "@govtechsg/tradetrust-ui-components"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; interface DemoCreateButtonRowProps { onBack?: () => void; diff --git a/src/components/Demo/DemoCreate/DemoCreateForm/DemoCreateFormItem/index.tsx b/src/components/Demo/DemoCreate/DemoCreateForm/DemoCreateFormItem/index.tsx index c3041f964..359a9bf97 100644 --- a/src/components/Demo/DemoCreate/DemoCreateForm/DemoCreateFormItem/index.tsx +++ b/src/components/Demo/DemoCreate/DemoCreateForm/DemoCreateFormItem/index.tsx @@ -1,4 +1,4 @@ -import { Input, Button } from "@govtechsg/tradetrust-ui-components"; +import { Input, Button } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useState, useCallback } from "react"; import { useDropzone } from "react-dropzone"; import { Upload } from "react-feather"; diff --git a/src/components/Demo/DemoCreate/DemoCreateForm/index.tsx b/src/components/Demo/DemoCreate/DemoCreateForm/index.tsx index a15e7db03..e4992a5cb 100644 --- a/src/components/Demo/DemoCreate/DemoCreateForm/index.tsx +++ b/src/components/Demo/DemoCreate/DemoCreateForm/index.tsx @@ -1,4 +1,4 @@ -import { ProgressBar } from "@govtechsg/tradetrust-ui-components"; +import { ProgressBar } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext } from "react"; import { DemoCreateButtonRow } from "../DemoCreateButtonRow"; import { DemoCreateContext } from "../contexts/DemoCreateContext"; diff --git a/src/components/Demo/DemoCreate/DemoCreateIssue/index.tsx b/src/components/Demo/DemoCreate/DemoCreateIssue/index.tsx index 79b79aec8..ab4580715 100644 --- a/src/components/Demo/DemoCreate/DemoCreateIssue/index.tsx +++ b/src/components/Demo/DemoCreate/DemoCreateIssue/index.tsx @@ -1,7 +1,7 @@ import React, { FunctionComponent, useCallback, useContext, useEffect } from "react"; import { saveAs } from "file-saver"; -import { Button, ProgressBar } from "@govtechsg/tradetrust-ui-components"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { Button, ProgressBar } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import { CheckCircle, XCircle } from "react-feather"; import { Link } from "react-router-dom"; import { useSelector } from "react-redux"; diff --git a/src/components/Demo/DemoCreate/DemoCreateReview/index.tsx b/src/components/Demo/DemoCreate/DemoCreateReview/index.tsx index 2fe9b509a..49ea6c9b9 100644 --- a/src/components/Demo/DemoCreate/DemoCreateReview/index.tsx +++ b/src/components/Demo/DemoCreate/DemoCreateReview/index.tsx @@ -1,6 +1,6 @@ import { OpenAttestationDocument } from "@tradetrust-tt/tradetrust"; -import { ProgressBar, ToggleSwitch } from "@govtechsg/tradetrust-ui-components"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { ProgressBar, ToggleSwitch } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import React, { FunctionComponent, useCallback, useContext, useEffect, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { useProviderContext } from "../../../../common/contexts/provider"; diff --git a/src/components/Demo/DemoCreate/DemoCreateStart/index.tsx b/src/components/Demo/DemoCreate/DemoCreateStart/index.tsx index 219bafffd..bf69e9c2a 100644 --- a/src/components/Demo/DemoCreate/DemoCreateStart/index.tsx +++ b/src/components/Demo/DemoCreate/DemoCreateStart/index.tsx @@ -1,5 +1,5 @@ -import { Button } from "@govtechsg/tradetrust-ui-components"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import React, { FunctionComponent, useContext, useEffect, useState } from "react"; import { ethers } from "ethers"; import { useDispatch, useSelector } from "react-redux"; diff --git a/src/components/Demo/DemoCreate/index.tsx b/src/components/Demo/DemoCreate/index.tsx index 437378acd..159a786a7 100644 --- a/src/components/Demo/DemoCreate/index.tsx +++ b/src/components/Demo/DemoCreate/index.tsx @@ -4,8 +4,8 @@ import { DemoCreateContext } from "./contexts/DemoCreateContext"; import { Prompt } from "react-router"; import { useHistory } from "react-router-dom"; import { Location } from "history"; -import { useOverlayContext } from "@govtechsg/tradetrust-ui-components"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { useOverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import { DemoCreateForm } from "./DemoCreateForm"; import { DemoCreateHeader } from "./DemoCreateHeader"; import { DemoCreateIssue } from "./DemoCreateIssue"; diff --git a/src/components/Demo/DemoInitial/index.tsx b/src/components/Demo/DemoInitial/index.tsx index 73001f176..745fe2149 100644 --- a/src/components/Demo/DemoInitial/index.tsx +++ b/src/components/Demo/DemoInitial/index.tsx @@ -1,4 +1,4 @@ -import { Button, Input, OverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { Button, Input, OverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useContext, useState } from "react"; import { Checkbox } from "../../UI/Checkbox"; import { useHistory } from "react-router-dom"; diff --git a/src/components/Demo/ModalNavigateOut/index.tsx b/src/components/Demo/ModalNavigateOut/index.tsx index 076c7d59d..59ff55cef 100644 --- a/src/components/Demo/ModalNavigateOut/index.tsx +++ b/src/components/Demo/ModalNavigateOut/index.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent, useEffect } from "react"; -import { OverlayContent, Button } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContent, Button } from "@tradetrust-tt/tradetrust-ui-components"; interface ModalNavigateOutProps { closeModal: () => void; diff --git a/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.test.tsx b/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.test.tsx index 9864401cd..29485d954 100644 --- a/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.test.tsx +++ b/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.test.tsx @@ -1,7 +1,7 @@ import React from "react"; import { render, screen } from "@testing-library/react"; import { DetailedErrors } from "./DetailedErrors"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; import { VerificationFragment } from "@tradetrust-tt/tt-verify"; import { whenDocumentHashInvalidAndNotIssued, diff --git a/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.tsx b/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.tsx index c4ec0c649..7d6a8141d 100644 --- a/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.tsx +++ b/src/components/DocumentDropzone/DetailedErrors/DetailedErrors.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from "react"; import { VerificationFragment } from "@tradetrust-tt/tt-verify"; -import { CONSTANTS, errorMessageHandling } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS, errorMessageHandling } from "@tradetrust-tt/tradetrust-utils"; export const DetailedError: FunctionComponent<{ title: string; message: string }> = ({ title, message }) => { return ( diff --git a/src/components/DocumentDropzone/Views/View.tsx b/src/components/DocumentDropzone/Views/View.tsx index 9ed0abf92..04d586ee2 100644 --- a/src/components/DocumentDropzone/Views/View.tsx +++ b/src/components/DocumentDropzone/Views/View.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { Button, ButtonSize } from "@govtechsg/tradetrust-ui-components"; +import { Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components"; import { SampleMobile } from "../SampleMobile"; import { useProviderContext } from "../../../common/contexts/provider"; diff --git a/src/components/DocumentDropzone/Views/ViewActionError.tsx b/src/components/DocumentDropzone/Views/ViewActionError.tsx index 1d453a546..b56bd39f4 100644 --- a/src/components/DocumentDropzone/Views/ViewActionError.tsx +++ b/src/components/DocumentDropzone/Views/ViewActionError.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from "react"; import { Link } from "react-router-dom"; -import { Button } from "@govtechsg/tradetrust-ui-components"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; import { useSelector } from "react-redux"; import { RootState } from "../../../reducers"; import { DetailedError } from "../../DocumentDropzone/DetailedErrors"; diff --git a/src/components/DocumentDropzone/Views/ViewVerificationError.test.tsx b/src/components/DocumentDropzone/Views/ViewVerificationError.test.tsx index 0ba6ca00d..06ec0ba52 100644 --- a/src/components/DocumentDropzone/Views/ViewVerificationError.test.tsx +++ b/src/components/DocumentDropzone/Views/ViewVerificationError.test.tsx @@ -4,7 +4,7 @@ import { screen, render, fireEvent } from "@testing-library/react"; import { ViewVerificationError } from "./ViewVerificationError"; import { Provider } from "react-redux"; import { configureStore } from "../../../store"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; const RenderWithStore = ({ children, ...props }: any) => { const { diff --git a/src/components/DocumentDropzone/Views/ViewVerificationError.tsx b/src/components/DocumentDropzone/Views/ViewVerificationError.tsx index bba77b98a..f9668cf85 100644 --- a/src/components/DocumentDropzone/Views/ViewVerificationError.tsx +++ b/src/components/DocumentDropzone/Views/ViewVerificationError.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from "react"; import { Link } from "react-router-dom"; -import { Button } from "@govtechsg/tradetrust-ui-components"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; import { useSelector } from "react-redux"; import { RootState } from "../../../reducers"; import { DetailedErrors } from "../DetailedErrors"; diff --git a/src/components/DocumentDropzone/Views/ViewVerificationPending.tsx b/src/components/DocumentDropzone/Views/ViewVerificationPending.tsx index 65be630d4..e66a093eb 100644 --- a/src/components/DocumentDropzone/Views/ViewVerificationPending.tsx +++ b/src/components/DocumentDropzone/Views/ViewVerificationPending.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { LoaderSpinner } from "@govtechsg/tradetrust-ui-components"; +import { LoaderSpinner } from "@tradetrust-tt/tradetrust-ui-components"; export const ViewVerificationPending: FunctionComponent = () => { return ( diff --git a/src/components/DocumentStatus/DocumentStatus.test.tsx b/src/components/DocumentStatus/DocumentStatus.test.tsx index e4dd02330..3e6d2514d 100644 --- a/src/components/DocumentStatus/DocumentStatus.test.tsx +++ b/src/components/DocumentStatus/DocumentStatus.test.tsx @@ -8,7 +8,7 @@ import { whenDocumentHashInvalidAndNotIssued, whenDocumentIssuerIdentityInvalidDid, } from "../../test/fixture/verifier-responses"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; import { Provider } from "react-redux"; import { configureStore } from "../../store"; import { v2, wrapDocument } from "@tradetrust-tt/tradetrust"; diff --git a/src/components/DocumentStatus/StatusChecks.tsx b/src/components/DocumentStatus/StatusChecks.tsx index 09b62b26f..7ba20364f 100644 --- a/src/components/DocumentStatus/StatusChecks.tsx +++ b/src/components/DocumentStatus/StatusChecks.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from "react"; import { VerificationFragment } from "@tradetrust-tt/tt-verify"; -import { CONSTANTS, interpretFragments } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS, interpretFragments } from "@tradetrust-tt/tradetrust-utils"; import { StatusCheck } from "./StatusCheck"; interface StatusChecksProps { diff --git a/src/components/DocumentUtility/DocumentUtility.tsx b/src/components/DocumentUtility/DocumentUtility.tsx index 1ec9219bf..29b2bcb4c 100644 --- a/src/components/DocumentUtility/DocumentUtility.tsx +++ b/src/components/DocumentUtility/DocumentUtility.tsx @@ -1,5 +1,5 @@ import { v2, utils } from "@tradetrust-tt/tradetrust"; -import { ButtonIcon } from "@govtechsg/tradetrust-ui-components"; +import { ButtonIcon } from "@tradetrust-tt/tradetrust-ui-components"; import QRCode, { ImageSettings } from "qrcode.react"; import React, { FunctionComponent, useState } from "react"; import { Download, Printer } from "react-feather"; diff --git a/src/components/EndorsementChain/EndorsementChainContainer.tsx b/src/components/EndorsementChain/EndorsementChainContainer.tsx index c0face391..e34af43a3 100644 --- a/src/components/EndorsementChain/EndorsementChainContainer.tsx +++ b/src/components/EndorsementChain/EndorsementChainContainer.tsx @@ -1,7 +1,11 @@ import React, { FunctionComponent, useContext, useEffect } from "react"; import { useEndorsementChain } from "../../common/hooks/useEndorsementChain"; import { EndorsementChainLayout } from "./EndorsementChainLayout"; -import { OverlayContext, OverlayContextProvider, ProviderTimeoutMessage } from "@govtechsg/tradetrust-ui-components"; +import { + OverlayContext, + OverlayContextProvider, + ProviderTimeoutMessage, +} from "@tradetrust-tt/tradetrust-ui-components"; import { useTimer } from "react-timer-hook"; const ProviderDocumentationURL = "https://docs.tradetrust.io/docs/advanced/add-polygon-networks-to-metamask-wallet/"; diff --git a/src/components/EndorsementChain/EndorsementChainLayout/EndorsementChainLayout.tsx b/src/components/EndorsementChain/EndorsementChainLayout/EndorsementChainLayout.tsx index 431360041..8fd435446 100644 --- a/src/components/EndorsementChain/EndorsementChainLayout/EndorsementChainLayout.tsx +++ b/src/components/EndorsementChain/EndorsementChainLayout/EndorsementChainLayout.tsx @@ -1,4 +1,4 @@ -import { BackArrow } from "@govtechsg/tradetrust-ui-components"; +import { BackArrow } from "@tradetrust-tt/tradetrust-ui-components"; import { useIdentifierResolver } from "@govtechsg/address-identity-resolver"; import { format } from "date-fns"; import React, { FunctionComponent } from "react"; diff --git a/src/components/EtaPageContent/EtaPageContent.tsx b/src/components/EtaPageContent/EtaPageContent.tsx index 78628d90c..393815b9f 100644 --- a/src/components/EtaPageContent/EtaPageContent.tsx +++ b/src/components/EtaPageContent/EtaPageContent.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { Button } from "@govtechsg/tradetrust-ui-components"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; import { FormSgContactLink } from "../../routes"; const SectionMap = () => { diff --git a/src/components/HomePageContent/HomePageContainer.tsx b/src/components/HomePageContent/HomePageContainer.tsx index 8994815d1..4ca8a4c28 100644 --- a/src/components/HomePageContent/HomePageContainer.tsx +++ b/src/components/HomePageContent/HomePageContainer.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useLocation } from "react-router-dom"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; import { updateCertificate, retrieveCertificateByAction, diff --git a/src/components/HomePageContent/HowItWorksSection/PersonaCard.tsx b/src/components/HomePageContent/HowItWorksSection/PersonaCard.tsx index a69d2535c..e8527d1e0 100644 --- a/src/components/HomePageContent/HowItWorksSection/PersonaCard.tsx +++ b/src/components/HomePageContent/HowItWorksSection/PersonaCard.tsx @@ -1,5 +1,5 @@ import React, { useContext } from "react"; -import { OverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; import { Persona, PersonaProps } from "./types"; import { PersonaModal } from "./PersonaModal"; diff --git a/src/components/HomePageContent/HowItWorksSection/PersonaModal.tsx b/src/components/HomePageContent/HowItWorksSection/PersonaModal.tsx index b9443e5c3..26d5a4a16 100644 --- a/src/components/HomePageContent/HowItWorksSection/PersonaModal.tsx +++ b/src/components/HomePageContent/HowItWorksSection/PersonaModal.tsx @@ -1,4 +1,4 @@ -import { OverlayContent, useOverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContent, useOverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useState } from "react"; import { Steps } from "./Steps"; import { ContentType, PersonaProps } from "./types"; diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index ae2f2b81d..2335727dc 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -1,4 +1,4 @@ -import { Footer as BaseFooter, FooterColumnItemProps } from "@govtechsg/tradetrust-ui-components"; +import { Footer as BaseFooter, FooterColumnItemProps } from "@tradetrust-tt/tradetrust-ui-components"; import React from "react"; import { ExternalLink } from "react-feather"; import { NavLink } from "react-router-dom"; diff --git a/src/components/Layout/NavigationBar/NavigationBar.tsx b/src/components/Layout/NavigationBar/NavigationBar.tsx index e12e78bc7..787bd58cf 100644 --- a/src/components/Layout/NavigationBar/NavigationBar.tsx +++ b/src/components/Layout/NavigationBar/NavigationBar.tsx @@ -6,7 +6,7 @@ import { NavigationItem, NAVIGATION_ITEM_TYPE, ButtonSize, -} from "@govtechsg/tradetrust-ui-components"; +} from "@tradetrust-tt/tradetrust-ui-components"; import { NavLink } from "react-router-dom"; import { URLS } from "../../../constants"; import { FormSgContactLink } from "../../../routes"; diff --git a/src/components/Layout/NetworkSelect/NetworkSelect.tsx b/src/components/Layout/NetworkSelect/NetworkSelect.tsx index b9b923e5c..8dd99688b 100644 --- a/src/components/Layout/NetworkSelect/NetworkSelect.tsx +++ b/src/components/Layout/NetworkSelect/NetworkSelect.tsx @@ -1,4 +1,4 @@ -import { Dropdown, DropdownItem, DropdownProps, IconError } from "@govtechsg/tradetrust-ui-components"; +import { Dropdown, DropdownItem, DropdownProps, IconError } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { ChainId, ChainInfoObject } from "../../../constants/chain-info"; import { useProviderContext } from "../../../common/contexts/provider"; diff --git a/src/components/LegalityPageContent/LegalityPageContent.tsx b/src/components/LegalityPageContent/LegalityPageContent.tsx index 8a843ebcd..220250ba8 100644 --- a/src/components/LegalityPageContent/LegalityPageContent.tsx +++ b/src/components/LegalityPageContent/LegalityPageContent.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from "react"; -import { Button } from "@govtechsg/tradetrust-ui-components"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { Button } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import { GaAction, GaCategory } from "../../types"; const TRADETRUST_LEGAL_ARTICLE_TITLE = "Tradetrust Legal Analysis Article"; diff --git a/src/components/MagicDropzone/MagicDropZone.stories.tsx b/src/components/MagicDropzone/MagicDropZone.stories.tsx index 315d92efe..5cb44b805 100644 --- a/src/components/MagicDropzone/MagicDropZone.stories.tsx +++ b/src/components/MagicDropzone/MagicDropZone.stories.tsx @@ -11,7 +11,7 @@ import { whenDocumentIssuerIdentityInvalidDnsTxt, whenDocumentRevoked, } from "../../test/fixture/verifier-responses"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; const { TYPES } = CONSTANTS; diff --git a/src/components/MagicDropzone/MagicDropzone.tsx b/src/components/MagicDropzone/MagicDropzone.tsx index ec3eb1c94..da2351584 100644 --- a/src/components/MagicDropzone/MagicDropzone.tsx +++ b/src/components/MagicDropzone/MagicDropzone.tsx @@ -3,8 +3,8 @@ import { useDispatch } from "react-redux"; import { Link } from "react-router-dom"; import { useDropzone } from "react-dropzone"; import { isValid } from "@tradetrust-tt/tt-verify"; -import { Button, ButtonSize, LoaderSpinner } from "@govtechsg/tradetrust-ui-components"; -import { gaEvent } from "@govtechsg/tradetrust-utils"; +import { Button, ButtonSize, LoaderSpinner } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaEvent } from "@tradetrust-tt/tradetrust-utils"; import { useSelector } from "react-redux"; import { RootState } from "../../reducers"; import { DetailedErrors } from "../DocumentDropzone/DetailedErrors"; diff --git a/src/components/News/NewsContent/NewsContent.tsx b/src/components/News/NewsContent/NewsContent.tsx index a40485ff9..9c1b49117 100644 --- a/src/components/News/NewsContent/NewsContent.tsx +++ b/src/components/News/NewsContent/NewsContent.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent, useState, useCallback } from "react"; import { compareAsc, compareDesc } from "date-fns"; -import { Pagination, getPaginatedPosts, getPaginatedPagesTotal } from "@govtechsg/tradetrust-ui-components"; +import { Pagination, getPaginatedPosts, getPaginatedPagesTotal } from "@tradetrust-tt/tradetrust-ui-components"; import { NewsTag, NewsSort, NewsSingle } from "./../types"; import { NewsLink } from "./../NewsLink"; import { NewsFilter } from "./../NewsFilter"; diff --git a/src/components/News/NewsFilter/NewsFilter.tsx b/src/components/News/NewsFilter/NewsFilter.tsx index a7b22ec55..b2f6701c6 100644 --- a/src/components/News/NewsFilter/NewsFilter.tsx +++ b/src/components/News/NewsFilter/NewsFilter.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { Input, Dropdown, DropdownItem } from "@govtechsg/tradetrust-ui-components"; +import { Input, Dropdown, DropdownItem } from "@tradetrust-tt/tradetrust-ui-components"; import { Search } from "react-feather"; import { NewsTag, NewsSort } from "./../types"; diff --git a/src/components/PartnersContent/PartnersContent.tsx b/src/components/PartnersContent/PartnersContent.tsx index c7803f9e9..ca00d96fd 100644 --- a/src/components/PartnersContent/PartnersContent.tsx +++ b/src/components/PartnersContent/PartnersContent.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent, useState } from "react"; import { PartnersTile } from "./PartnersTile"; -import { Pagination, getPaginatedPagesTotal, getPaginatedPosts } from "@govtechsg/tradetrust-ui-components"; +import { Pagination, getPaginatedPagesTotal, getPaginatedPosts } from "@tradetrust-tt/tradetrust-ui-components"; import { PartnersDataProps } from "./types"; const MAX_PARTNER_TILES_TO_DISPLAY = 9; diff --git a/src/components/PartnersContent/PartnersTile/PartnersTile.tsx b/src/components/PartnersContent/PartnersTile/PartnersTile.tsx index 5726795c0..504a08452 100644 --- a/src/components/PartnersContent/PartnersTile/PartnersTile.tsx +++ b/src/components/PartnersContent/PartnersTile/PartnersTile.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from "react"; -import { Button, ButtonSize } from "@govtechsg/tradetrust-ui-components"; +import { Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components"; import { PartnersTileProps } from "../types"; export const PartnersTile: FunctionComponent = ({ data }) => { diff --git a/src/components/UI/Banner/Banner.tsx b/src/components/UI/Banner/Banner.tsx index e5bdce8a9..eda887278 100644 --- a/src/components/UI/Banner/Banner.tsx +++ b/src/components/UI/Banner/Banner.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent, InputHTMLAttributes } from "react"; -import { Button, ButtonSize } from "@govtechsg/tradetrust-ui-components"; +import { Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components"; import { NavLink } from "react-router-dom"; interface BannerProps extends InputHTMLAttributes { diff --git a/src/components/UI/Overlay/InfoOverlay.stories.tsx b/src/components/UI/Overlay/InfoOverlay.stories.tsx index 2b594a293..529e47060 100644 --- a/src/components/UI/Overlay/InfoOverlay.stories.tsx +++ b/src/components/UI/Overlay/InfoOverlay.stories.tsx @@ -1,4 +1,4 @@ -import { OverlayContextProvider, Textual } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContextProvider, Textual } from "@tradetrust-tt/tradetrust-ui-components"; import React from "react"; import { MemoryRouter } from "react-router-dom"; import { InfoOverlay } from "./InfoOverlay"; diff --git a/src/components/UI/Overlay/InfoOverlay.test.tsx b/src/components/UI/Overlay/InfoOverlay.test.tsx index 33e2bd396..c09c89007 100644 --- a/src/components/UI/Overlay/InfoOverlay.test.tsx +++ b/src/components/UI/Overlay/InfoOverlay.test.tsx @@ -2,7 +2,7 @@ import { fireEvent, render } from "@testing-library/react"; import React from "react"; import { InfoOverlay, InfoOverlayProps } from "./InfoOverlay"; import { MemoryRouter } from "react-router-dom"; -import { OverlayContextProvider, Textual } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContextProvider, Textual } from "@tradetrust-tt/tradetrust-ui-components"; const mockOverlayProps: InfoOverlayProps = { children: Experimental Text, diff --git a/src/components/UI/Overlay/InfoOverlay.tsx b/src/components/UI/Overlay/InfoOverlay.tsx index c2203c32d..83b5b51f1 100644 --- a/src/components/UI/Overlay/InfoOverlay.tsx +++ b/src/components/UI/Overlay/InfoOverlay.tsx @@ -1,4 +1,4 @@ -import { Overlay, OverlayContext } from "@govtechsg/tradetrust-ui-components"; +import { Overlay, OverlayContext } from "@tradetrust-tt/tradetrust-ui-components"; import React from "react"; import { FunctionComponent, useContext } from "react"; diff --git a/src/components/UI/Overlay/LoadingModal.tsx b/src/components/UI/Overlay/LoadingModal.tsx index d6cff06d8..76d2fd83e 100644 --- a/src/components/UI/Overlay/LoadingModal.tsx +++ b/src/components/UI/Overlay/LoadingModal.tsx @@ -1,4 +1,4 @@ -import { LoaderSpinner } from "@govtechsg/tradetrust-ui-components"; +import { LoaderSpinner } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, ReactNode } from "react"; interface ILoadingModal { diff --git a/src/components/UI/ResourceWebinar/ResourceWebinar.tsx b/src/components/UI/ResourceWebinar/ResourceWebinar.tsx index fcd26ee0b..c27ed7df4 100644 --- a/src/components/UI/ResourceWebinar/ResourceWebinar.tsx +++ b/src/components/UI/ResourceWebinar/ResourceWebinar.tsx @@ -1,4 +1,4 @@ -import { Dropdown, DropdownItem } from "@govtechsg/tradetrust-ui-components"; +import { Dropdown, DropdownItem } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent, useState } from "react"; import { Download } from "react-feather"; import { convertSecondsToMinAndSec } from "../../../utils"; diff --git a/src/components/Webinars/webinars.tsx b/src/components/Webinars/webinars.tsx index be95cffd3..3a2190a6c 100644 --- a/src/components/Webinars/webinars.tsx +++ b/src/components/Webinars/webinars.tsx @@ -1,4 +1,4 @@ -import { getPaginatedPagesTotal, getPaginatedPosts, Pagination } from "@govtechsg/tradetrust-ui-components"; +import { getPaginatedPagesTotal, getPaginatedPosts, Pagination } from "@tradetrust-tt/tradetrust-ui-components"; import React from "react"; import { FunctionComponent, useState } from "react"; import { ResourceWebinar } from "../UI/ResourceWebinar"; diff --git a/src/index.tsx b/src/index.tsx index aa9b5631f..3688f2f43 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,5 @@ -import { OverlayContextProvider } from "@govtechsg/tradetrust-ui-components"; -import { gaPageView } from "@govtechsg/tradetrust-utils"; +import { OverlayContextProvider } from "@tradetrust-tt/tradetrust-ui-components"; +import { gaPageView } from "@tradetrust-tt/tradetrust-utils"; import React from "react"; import ReactDOM from "react-dom"; import { Provider } from "react-redux"; diff --git a/src/pages/event/event.tsx b/src/pages/event/event.tsx index ac7cd586a..908bc2167 100644 --- a/src/pages/event/event.tsx +++ b/src/pages/event/event.tsx @@ -2,7 +2,7 @@ import React, { FunctionComponent, useState } from "react"; import { isFuture, isPast } from "date-fns"; import { Helmet } from "react-helmet"; import { ResourceEvent, EventProps } from "../../components/UI/ResourceEvent"; -import { Pagination, getPaginatedPosts, getPaginatedPagesTotal } from "@govtechsg/tradetrust-ui-components"; +import { Pagination, getPaginatedPosts, getPaginatedPagesTotal } from "@tradetrust-tt/tradetrust-ui-components"; import { Page } from "../../components/Layout/Page"; import { events } from "."; diff --git a/src/pages/event/eventDetail/eventDetail.tsx b/src/pages/event/eventDetail/eventDetail.tsx index 48aedeb0b..c300b40c6 100644 --- a/src/pages/event/eventDetail/eventDetail.tsx +++ b/src/pages/event/eventDetail/eventDetail.tsx @@ -8,7 +8,7 @@ import { ChevronLeft, ExternalLink, PlayCircle, Download } from "react-feather"; import { Page } from "../../../components/Layout/Page"; import { isFuture, format } from "date-fns"; import { formatTime } from "../../../common/utils/dateTime"; -import { LinkButton } from "@govtechsg/tradetrust-ui-components"; +import { LinkButton } from "@tradetrust-tt/tradetrust-ui-components"; import ReactMarkdown from "react-markdown"; import { getFileName } from "../../../utils"; diff --git a/src/pages/pageNotFound.tsx b/src/pages/pageNotFound.tsx index ba3be7f0c..b34e000c3 100644 --- a/src/pages/pageNotFound.tsx +++ b/src/pages/pageNotFound.tsx @@ -1,4 +1,4 @@ -import { ErrorPage } from "@govtechsg/tradetrust-ui-components"; +import { ErrorPage } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { Link } from "react-router-dom"; diff --git a/src/pages/partners.tsx b/src/pages/partners.tsx index 7113c3bf8..4c3cf5226 100644 --- a/src/pages/partners.tsx +++ b/src/pages/partners.tsx @@ -1,7 +1,7 @@ import React, { FunctionComponent } from "react"; import { Helmet } from "react-helmet"; import { Page } from "../components/Layout/Page"; -import { Button, ButtonSize } from "@govtechsg/tradetrust-ui-components"; +import { Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components"; import { Partners } from "../components/PartnersContent"; export const PartnersPage: FunctionComponent = () => { diff --git a/src/pages/settings/settings.tsx b/src/pages/settings/settings.tsx index 3a8a77e1d..07978d7db 100644 --- a/src/pages/settings/settings.tsx +++ b/src/pages/settings/settings.tsx @@ -1,4 +1,4 @@ -import { TileInfo, TileInfoProps, IconAddressBook, IconResolverAddress } from "@govtechsg/tradetrust-ui-components"; +import { TileInfo, TileInfoProps, IconAddressBook, IconResolverAddress } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { Link } from "react-router-dom"; import { Helmet } from "react-helmet"; diff --git a/src/pages/settings/settingsAddressBook.tsx b/src/pages/settings/settingsAddressBook.tsx index d461603a7..437e450c3 100644 --- a/src/pages/settings/settingsAddressBook.tsx +++ b/src/pages/settings/settingsAddressBook.tsx @@ -1,4 +1,4 @@ -import { AddressBook, BackArrow } from "@govtechsg/tradetrust-ui-components"; +import { AddressBook, BackArrow } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { Helmet } from "react-helmet"; import { Link } from "react-router-dom"; diff --git a/src/pages/settings/settingsAddressResolver.tsx b/src/pages/settings/settingsAddressResolver.tsx index 0d2c0105b..60d37f2f6 100644 --- a/src/pages/settings/settingsAddressResolver.tsx +++ b/src/pages/settings/settingsAddressResolver.tsx @@ -1,4 +1,4 @@ -import { AddressResolver, BackArrow } from "@govtechsg/tradetrust-ui-components"; +import { AddressResolver, BackArrow } from "@tradetrust-tt/tradetrust-ui-components"; import React, { FunctionComponent } from "react"; import { Link } from "react-router-dom"; import { Helmet } from "react-helmet"; diff --git a/src/pages/verify.tsx b/src/pages/verify.tsx index 6f94fceb3..e1d3e8669 100644 --- a/src/pages/verify.tsx +++ b/src/pages/verify.tsx @@ -2,7 +2,7 @@ import React from "react"; import { Helmet } from "react-helmet"; import { DropZoneSectionContainer } from "../components/VerifyPageContent/DropZoneSection"; import { Page } from "../components/Layout/Page"; -import { OverlayContent, OverlayContextProvider } from "@govtechsg/tradetrust-ui-components"; +import { OverlayContent, OverlayContextProvider } from "@tradetrust-tt/tradetrust-ui-components"; import { NetworkSelect } from "../components/Layout/NetworkSelect"; import { InfoOverlay } from "../components/UI/Overlay"; diff --git a/src/sagas/certificate.test.js b/src/sagas/certificate.test.js index b479b1fa4..b87f11b6f 100644 --- a/src/sagas/certificate.test.js +++ b/src/sagas/certificate.test.js @@ -6,7 +6,7 @@ import { whenDocumentHashInvalidAndNotIssued, } from "../test/fixture/verifier-responses"; import { runSaga } from "redux-saga"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; async function recordSaga(saga, initialAction) { const dispatched = []; diff --git a/src/sagas/certificate.ts b/src/sagas/certificate.ts index ec386a7ff..79ff4b408 100644 --- a/src/sagas/certificate.ts +++ b/src/sagas/certificate.ts @@ -11,7 +11,7 @@ import { verifyDocument } from "../services/verify"; import { isValid } from "@tradetrust-tt/tt-verify"; import { decryptString } from "@govtechsg/oa-encryption"; import { history } from "../history"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; import { ActionPayload } from "./../types"; const { trace } = getLogger("saga:certificate"); diff --git a/src/sagas/demo-verify.test.js b/src/sagas/demo-verify.test.js index a210327cb..1e3ee9acf 100644 --- a/src/sagas/demo-verify.test.js +++ b/src/sagas/demo-verify.test.js @@ -6,7 +6,7 @@ import { whenDocumentHashInvalidAndNotIssued, } from "../test/fixture/verifier-responses"; import { runSaga } from "redux-saga"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; async function recordSaga(saga, initialAction) { const dispatched = []; diff --git a/src/sagas/demo-verify.ts b/src/sagas/demo-verify.ts index 7563556c5..fd10b6a59 100644 --- a/src/sagas/demo-verify.ts +++ b/src/sagas/demo-verify.ts @@ -5,7 +5,7 @@ import { verifyDocument, VerifierType } from "../services/verify"; import { isValid } from "@tradetrust-tt/tt-verify"; import { NETWORK_NAME } from "../config"; import { history } from "../history"; -import { CONSTANTS } from "@govtechsg/tradetrust-utils"; +import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils"; const { trace } = getLogger("saga:demo"); diff --git a/src/tailwind.js b/src/tailwind.js index 8dbe06d84..c92b1b17b 100644 --- a/src/tailwind.js +++ b/src/tailwind.js @@ -1,12 +1,12 @@ const merge = require("lodash/merge"); -const commonUiConfig = require("@govtechsg/tradetrust-ui-components/build/tailwind"); //eslint-disable-line @typescript-eslint/no-var-requires +const commonUiConfig = require("@tradetrust-tt/tradetrust-ui-components/build/tailwind"); //eslint-disable-line @typescript-eslint/no-var-requires const plugin = require("tailwindcss/plugin"); const defaultTheme = require("tailwindcss/defaultTheme"); const localConfig = { content: [ `./src/**/*.{ts,tsx,js,jsx}`, - "./node_modules/@govtechsg/tradetrust-ui-components/src/**/*.{ts,tsx,js,jsx}", + "./node_modules/@tradetrust-tt/tradetrust-ui-components/src/**/*.{ts,tsx,js,jsx}", ], theme: { screens: {