author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
131,900
18.05.2021 21:41:00
-19,080
d1a791d00d5c0dbcff1aab87b7a58d54c0d48788
chg: response type for withdrawRetry
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -544,11 +544,7 @@ export class BrowserNode implements INodeService {\ntry {\nconst rpc = constructRpcRequest<\"chan_withdrawRetry\">(ChannelRpcMethods.chan_withdra...
TypeScript
MIT License
connext/vector
chg: response type for withdrawRetry
131,900
18.05.2021 21:42:09
-19,080
603edc529ab64750d1c8604d6033cf9fe50a33d0
chg: withdraw/retry server node
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/index.ts", "new_path": "modules/server-node/src/index.ts", "diff": "@@ -1030,56 +1030,38 @@ server.post<{ Body: NodeParams.SubmitWithdrawals }>(\n},\n);\n-server.post<{ Body: NodeParams.RetryWithdrawTransaction }>(\n+server.post<{ Body:...
TypeScript
MIT License
connext/vector
chg: withdraw/retry server node
131,900
18.05.2021 22:14:41
-19,080
4605cee145029e0de228bdb0f1a4d4c649b67710
add: check if transaction present
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "@@ -137,6 +137,7 @@ export class RpcError extends EngineError {\nSigningFailed: \"Failed to sign message\",\nUtilitySigningFailed: \"Failed to sign utility message\",\nWithdraw...
TypeScript
MIT License
connext/vector
add: check if transaction present
131,900
19.05.2021 00:53:38
-19,080
2b7cbfb088ee336adf30c5baafa63c6e3a5239f9
chg: move withdraw try login to utils
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/utils.ts", "new_path": "modules/engine/src/utils.ts", "diff": "@@ -21,13 +21,25 @@ import {\nTransferDisputedPayload,\nTransferDefundedPayload,\nConditionalTransferRoutingCompletePayload,\n+ ChainAddresses,\n+ ChannelRpcMethodsResponsesMap,\...
TypeScript
MIT License
connext/vector
chg: move withdraw try login to utils
131,900
19.05.2021 00:54:22
-19,080
2d200aa4b5b1630e26289195388833368c50dcce
chg: move submitUnsubmittedWithdrawals to utils
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -41,12 +41,12 @@ import {\nimport { getRandomBytes32, hashWithdrawalQuote, mkSig } from \"@connext/vector-utils\";\nimport { getAddress } from \"@ethersproject/address...
TypeScript
MIT License
connext/vector
chg: move submitUnsubmittedWithdrawals to utils
131,900
19.05.2021 00:54:52
-19,080
80431ff75350f0250a33f536f96f6423e67ffba7
chg: withdrawRetry func
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -52,7 +52,7 @@ import {\nconvertWithdrawParams,\n} from \"./paramConverter\";\nimport { setupEngineListeners } from \"./listeners\";\n-import { getEngineEvtContainer } from \"...
TypeScript
MIT License
connext/vector
chg: withdrawRetry func
131,900
19.05.2021 00:55:12
-19,080
e38a01aa4b6a149ecb3f3229e38501cc46b5bda5
add: test for utils
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/listeners.spec.ts", "new_path": "modules/engine/src/testing/listeners.spec.ts", "diff": "@@ -59,7 +59,6 @@ import {\nhandleWithdrawalTransferResolution,\nresolveExistingWithdrawals,\nsetupEngineListeners,\n- submitUnsubmittedWithdraw...
TypeScript
MIT License
connext/vector
add: test for utils
131,896
18.05.2021 12:54:29
25,200
0eaf94dd6df535c81d926c6e559cc004a8429f95
modify : migration to drop and re-add onchain transaction id
[ { "change_type": "MODIFY", "old_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "new_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "diff": "*/\n-- DropForeign...
TypeScript
MIT License
connext/vector
modify : migration to drop and re-add onchain transaction id
131,896
18.05.2021 12:55:00
25,200
89a7e35af23d32fc985bbad1254c9f5bacbc19f1
drop and re-add
[ { "change_type": "MODIFY", "old_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "new_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "diff": "*/\n-- DropForeign...
TypeScript
MIT License
connext/vector
drop and re-add
131,896
18.05.2021 13:39:38
25,200
cb61fae426a9d0a3baefffd972f38dd315cba078
re-add transactionHash for now
[ { "change_type": "MODIFY", "old_path": "modules/server-node/prisma-postgres/schema.prisma", "new_path": "modules/server-node/prisma-postgres/schema.prisma", "diff": "@@ -145,6 +145,7 @@ model Transfer {\n// has OnchainTransaction relation IFF we submitted (and have tx record)\nonchainTransactionId S...
TypeScript
MIT License
connext/vector
re-add transactionHash for now
131,896
18.05.2021 15:27:29
25,200
8d7112bae3a511be7bf9a2a7ac737742957d228d
modify : migration to deprecate old onchainTransactionId
[ { "change_type": "MODIFY", "old_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "new_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "diff": "*/\n-- DropForeign...
TypeScript
MIT License
connext/vector
modify : migration to deprecate old onchainTransactionId
131,896
18.05.2021 15:35:18
25,200
d95fb3906931ccfd362d9a04f50e4aad835efdee
re-add drop and add, but specify type
[ { "change_type": "MODIFY", "old_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "new_path": "modules/server-node/prisma-postgres/migrations/20210518023805_add_tx_service_onchain_attempts/migration.sql", "diff": "*/\n-- DropForeign...
TypeScript
MIT License
connext/vector
re-add drop and add, but specify type
131,905
18.05.2021 14:24:52
36,000
574291ffa9853145f699ffd44da048696e5b31a8
Stronger expects
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/testing/update.spec.ts", "new_path": "modules/protocol/src/testing/update.spec.ts", "diff": "@@ -430,6 +430,7 @@ describe(\"applyUpdate\", () => {\nexpect(applyResult.getError()).to.be.undefined;\nconst { updatedChannel, updatedTransfer, u...
TypeScript
MIT License
connext/vector
Stronger expects
131,905
18.05.2021 14:28:17
36,000
06fe9b71e33a0907c39bfae53d12ef4ce28c1340
Create separate writes
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/store.ts", "new_path": "modules/server-node/src/services/store.ts", "diff": "@@ -36,6 +36,7 @@ import {\nTransferDispute as TransferDisputeEntity,\nOnchainTransactionReceipt,\nOnchainTransactionAttempt,\n+ PrismaPromise,\n} fro...
TypeScript
MIT License
connext/vector
Create separate writes
131,894
18.05.2021 18:37:04
25,200
b6e6d15dd2536814a3c44affb7b8202f82602d86
Withdraw retry
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/utils.ts", "new_path": "modules/engine/src/utils.ts", "diff": "@@ -99,8 +99,9 @@ export async function withdrawRetryForTrasferId(\npublicIdentifier?: string,\ncommitment?: WithdrawCommitment,\n): Promise<Result<ChannelRpcMethodsResponsesMap[...
TypeScript
MIT License
connext/vector
Withdraw retry
131,900
19.05.2021 11:40:30
-19,080
76682fd87b0677e008720d467008dee33a3169f2
fix: typo for error message !minor
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "@@ -137,7 +137,7 @@ export class RpcError extends EngineError {\nSigningFailed: \"Failed to sign message\",\nUtilitySigningFailed: \"Failed to sign utility message\",\nWithdraw...
TypeScript
MIT License
connext/vector
fix: typo for error message !minor
131,894
19.05.2021 08:47:30
25,200
d352decb6d1e8e3c93933c6cd06e8daadecc7225
Withdraw listener
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -952,8 +952,8 @@ export class VectorEngine implements IVectorEngine {\nconst initiatorSubmits = createParams.meta.initiatorSubmits ?? false;\n// set up event listeners before ...
TypeScript
MIT License
connext/vector
Withdraw listener
131,896
19.05.2021 12:45:20
25,200
2283443f4518ffec658654cc33f84a8bb1443a8b
adjust logic for handling submit
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -386,25 +386,24 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n} else {\nthrow error;\n}\n+ } els...
TypeScript
MIT License
connext/vector
adjust logic for handling submit
131,896
19.05.2021 13:14:54
25,200
86e0dec0829b50e6ce0b75663247597d9d3270ea
track history of responses in event previous was mined
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -339,8 +339,13 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nif (!signer) {\nreturn Result.fail(...
TypeScript
MIT License
connext/vector
track history of responses in event previous was mined
131,896
19.05.2021 14:07:44
25,200
0969006995bf690279f3e9e53c0add53f825a2cd
move receipt status check back
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -437,6 +437,11 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nthrow error;\n}\n}\n+\n+ // Check s...
TypeScript
MIT License
connext/vector
move receipt status check back
131,896
19.05.2021 16:28:20
25,200
6342537112b9ae8bb21e9c7f7c117fb4a9f48ad0
pooling method for confirmation
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -393,10 +393,6 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n// that value.\n// Tx was submitted...
TypeScript
MIT License
connext/vector
pooling method for confirmation
131,896
19.05.2021 16:39:15
25,200
04b1e67dc0a622bd7f01baae66ed1394c6a0ae96
fix : use any in race
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -519,26 +519,21 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n// that it's the previous one, any...
TypeScript
MIT License
connext/vector
fix : use any in race
131,896
19.05.2021 16:49:23
25,200
a33823985e6c2b21efd3dda31385aeec910f51ba
nit : comment desc
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -470,7 +470,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nif (e.message.includes(\"sender does...
TypeScript
MIT License
connext/vector
nit : comment desc
131,896
19.05.2021 22:28:53
25,200
277c58fb3b11aa4cdc64e9429460b3f6ae0ac019
modify : conditional to take into account nonce too low
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -410,9 +410,13 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n// If the nonce has already been us...
TypeScript
MIT License
connext/vector
modify : conditional to take into account nonce too low
131,896
19.05.2021 22:30:24
25,200
cbf110e64dd8fc9f8d71a643ea707cf063aa0dfc
make conditional less specific
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -414,7 +414,9 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nresponses.length >= 1\n&& (\nerror.m...
TypeScript
MIT License
connext/vector
make conditional less specific
131,900
20.05.2021 14:06:07
-19,080
f089572dbc2da1f916953cfaf6ad6b8760c89e98
fix: validate schema param
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -1015,7 +1015,7 @@ export class VectorEngine implements IVectorEngine {\nconst method = \"withdrawRetry\";\nconst methodId = getRandomBytes32();\nthis.logger.info({ params, me...
TypeScript
MIT License
connext/vector
fix: validate schema param
131,896
20.05.2021 14:29:56
25,200
06a0e49dd3626a59b6bb7d25f8bbc9e911524894
add another error check for 'same nonce in queue'
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.spec.ts", "new_path": "modules/contracts/src.ts/services/ethService.spec.ts", "diff": "@@ -540,7 +540,7 @@ describe(\"ethService unit test\", () => {\nit(\"retries transaction with higher gas price\", async () => {\...
TypeScript
MIT License
connext/vector
add another error check for 'same nonce in queue'
131,896
20.05.2021 14:31:11
25,200
fdb12a3660bbe51e1113431074b88fe73e18cc59
log gas price vs bumped gas price
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -454,14 +454,15 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n// Check if the error was a confir...
TypeScript
MIT License
connext/vector
log gas price vs bumped gas price
131,896
20.05.2021 15:08:10
25,200
6f53a5841620b4c6fbd091be7899c0a15ced1e94
log error when nonce already used
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -431,7 +431,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n)\n) {\nthis.log.info(\n- { method, ...
TypeScript
MIT License
connext/vector
log error when nonce already used
131,896
20.05.2021 15:11:13
25,200
87011d5290d765857aad6dcb3aa8b3635d2accdd
gas price - to string
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -42,7 +42,6 @@ import { ChannelFactory, VectorChannel } from \"../artifacts\";\nimport { EthereumChainReader } from \"./ethReader\";\ni...
TypeScript
MIT License
connext/vector
gas price - to string
131,896
20.05.2021 15:53:24
25,200
e965a798277360f0ba47d795bb4caeb5e57e6287
determine nonce manually
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -180,8 +180,9 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n/// Helper method to wrap queuing up...
TypeScript
MIT License
connext/vector
determine nonce manually
131,896
20.05.2021 15:58:50
25,200
9b2540962c7a1a7856c1ed81dfdd3622196f40d4
more specific logs
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -294,7 +294,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nchannelAddress,\nchainId,\n},\n- \"T...
TypeScript
MIT License
connext/vector
more specific logs
131,905
20.05.2021 17:31:02
36,000
d1b128443d789e58ae76cd2c17b9bd68aebc2c8b
Update all ethers versions
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/package.json", "new_path": "modules/browser-node/package.json", "diff": "\"@connext/vector-engine\": \"0.2.5-beta.13\",\n\"@connext/vector-types\": \"0.2.5-beta.13\",\n\"@connext/vector-utils\": \"0.2.5-beta.13\",\n- \"@ethersproject/addre...
TypeScript
MIT License
connext/vector
Update all ethers versions
131,905
20.05.2021 22:25:17
36,000
b625a140665edaf9d4dbfc7e7e3f95553becf91a
Concurrency test running
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -7,7 +7,13 @@ import {\nNodeError,\nTransferNames,\n} from \"@connext/vector-types\";\n-import { createlockHash, delay, getRandomBytes32, R...
TypeScript
MIT License
connext/vector
Concurrency test running
131,894
21.05.2021 08:18:43
25,200
c60dfe6c5794c357ad3d296b4375e53cc42ae29f
Bump gas limit to 2M
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -48,7 +48,7 @@ export const CONFIRMATION_TIMEOUT = 45_000;\n// The min percentage to bump gas.\nexport const GAS_BUMP_PERCENT = 20;\n//...
TypeScript
MIT License
connext/vector
Bump gas limit to 2M
131,905
21.05.2021 09:08:17
36,000
053f8856bd927d29eca9469ebc1eb2cc3b52ed88
Smaller amounts
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -26,7 +26,7 @@ import { logger } from \"./setupServer\";\nconst chainId = parseInt(Object.keys(env.chainProviders)[0]);\nconst provider = n...
TypeScript
MIT License
connext/vector
Smaller amounts
131,900
24.05.2021 17:29:05
-19,080
29f96543670c6b9fc39a55302a84b934bbf42530
chg: minor cleanup
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -7,10 +7,10 @@ modules/browser-node-test-ui/config-node.json\n**/*.0x\n**/.flags\n**/_build/**\n-**/artifacts/**\n-**/build/**\n-**/dist/**\n-**/node_modules/**\n+**/artifacts\n+**/build\n+**/dist\n+**/node_mo...
TypeScript
MIT License
connext/vector
chg: minor cleanup
131,905
24.05.2021 11:46:24
21,600
e38f5de329a5a0367745e977bbb12c1abe0f848c
Add channel bandwidth test
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -240,6 +240,9 @@ test-load: test-runner trio\ntest-concurrency: test-runner trio\nbash ops/test-load.sh concurrency 3\n+test-channel-bandwidth: test-runner trio\n+ bash ops/test-load.sh channel-bandwidth\n+\ntest-...
TypeScript
MIT License
connext/vector
Add channel bandwidth test
131,905
24.05.2021 12:11:21
21,600
e63b1ae859da2ce1f2ffec7b430ffd4417f1d4ed
Add more options to script
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/config.ts", "new_path": "modules/test-runner/src/load/helpers/config.ts", "diff": "type TestConfig = {\nnumAgents: number;\n+ testDuration: number;\n+ maxConcurrency: number;\n+ queuedPayments: number;\n};\n-const numAgents...
TypeScript
MIT License
connext/vector
Add more options to script
131,896
24.05.2021 15:09:38
25,200
6474774d1dba35959e56c40dd6deab7c7072f6b4
catch receipt.status === 0
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -52,6 +52,7 @@ export const BIG_GAS_LIMIT = BigNumber.from(2_000_000);\n// nothing should ever be this expensive... _should_\nexport co...
TypeScript
MIT License
connext/vector
catch receipt.status === 0
131,905
24.05.2021 18:11:22
21,600
38fb2919ac4e7c15c8e3cdfe3377ce5398d1c2b3
Load test remote chains
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -7,13 +7,7 @@ import {\nNodeError,\nTransferNames,\n} from \"@connext/vector-types\";\n-import {\n- createlockHash,\n- delay,\n- getRandomB...
TypeScript
MIT License
connext/vector
Load test remote chains
131,905
24.05.2021 18:35:05
21,600
3ec471995e6e1b64fc552a7c03da1101ae079ba6
Im impatient
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -9,7 +9,7 @@ import {\n} from \"@connext/vector-types\";\nimport { createlockHash, delay, getRandomBytes32, RestServerNodeService } from \"...
TypeScript
MIT License
connext/vector
Im impatient
131,905
24.05.2021 18:45:14
21,600
66815a78d092432e0bdb0de9028e63ab5df55601
Collect cancellations
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -435,6 +435,19 @@ export class AgentManager {\n// Add timestamp on resolution\nthis.transferInfo[routingId].end = Date.now();\n+ // If it w...
TypeScript
MIT License
connext/vector
Collect cancellations
131,905
24.05.2021 22:36:27
21,600
478455e712c71212e710a0d837cf4128faed9710
Remove nonce
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -62,12 +62,10 @@ const fundAddress = async (address: string, assetId: string, value: BigNumber):\nconst tx = await walletQueue.add(async ()...
TypeScript
MIT License
connext/vector
Remove nonce
131,900
25.05.2021 18:49:25
-19,080
271f4d3f9143a10efb64acbe64929f8cf6bcecd8
new: rpc method chan_addTransactionToCommitment
[ { "change_type": "MODIFY", "old_path": "modules/types/src/schemas/engine.ts", "new_path": "modules/types/src/schemas/engine.ts", "diff": "@@ -173,6 +173,12 @@ const WithdrawRetryParamsSchema = Type.Object({\ntransferId: TBytes32,\n});\n+// Add transaction to commitment params\n+const AddTransactionT...
TypeScript
MIT License
connext/vector
new: rpc method chan_addTransactionToCommitment
131,900
25.05.2021 18:49:59
-19,080
5eb4d9bc432325fe8c57fbbca23a5683b80fb827
chg: spilt add transaction function.
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/utils.ts", "new_path": "modules/engine/src/utils.ts", "diff": "@@ -174,14 +174,8 @@ export async function withdrawRetryForTransferId(\n\"Submitted unsubmitted withdrawal\",\n);\ntxHash = tx.getValue().transactionHash;\n- await messaging.publ...
TypeScript
MIT License
connext/vector
chg: spilt add transaction function.
131,900
25.05.2021 18:50:17
-19,080
1c344d1e81386b3cb85b022f3d0e6ab14d453d37
new: define rpc method
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -52,7 +52,7 @@ import {\nconvertWithdrawParams,\n} from \"./paramConverter\";\nimport { setupEngineListeners } from \"./listeners\";\n-import { getEngineEvtContainer, withdraw...
TypeScript
MIT License
connext/vector
new: define rpc method
131,905
25.05.2021 12:17:29
21,600
da92aab7401b3e6cbd6898f73123acb9ef5ab439
less intense logging
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -671,7 +671,11 @@ export class VectorEngine implements IVectorEngine {\nconst receipt = deployRes.getValue();\nthis.logger.debug({ chainId: channel.networkContext.chainId, has...
TypeScript
MIT License
connext/vector
less intense logging
131,905
25.05.2021 12:53:31
21,600
3292d9673a236a6276651e1f4f5adee4b3058dd9
Track pending
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -191,7 +191,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nasync (): Promise<Result<Transaction...
TypeScript
MIT License
connext/vector
Track pending
131,905
25.05.2021 13:25:11
21,600
ab8097d7c664aefe8a1e90df0609bf057f8414cb
Fix pending nonces
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -202,7 +202,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nasync (): Promise<Result<Transaction...
TypeScript
MIT License
connext/vector
Fix pending nonces
131,900
26.05.2021 17:28:29
-19,080
9117beeda89652063c04337257101fe2c035b85d
fix: response schema
[ { "change_type": "MODIFY", "old_path": "modules/types/src/vectorProvider.ts", "new_path": "modules/types/src/vectorProvider.ts", "diff": "@@ -138,7 +138,7 @@ export type ChannelRpcMethodsResponsesMap = {\ntransaction: MinimalTransaction;\n};\n[ChannelRpcMethods.chan_withdrawRetry]: NodeResponses.Wit...
TypeScript
MIT License
connext/vector
fix: response schema
131,900
26.05.2021 19:05:09
-19,080
72aeeb13f298b9b5ed60b709ea448a4792da1b97
add: addTransactionToCommitment to browserNode
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -550,6 +550,21 @@ export class BrowserNode implements INodeService {\n}\n}\n+ async addTransactionToCommitment(\n+ params: OptionalPublicIdentifier<NodeParams.AddT...
TypeScript
MIT License
connext/vector
add: addTransactionToCommitment to browserNode
131,905
26.05.2021 18:31:50
21,600
ab9dcd0658fe4a12c0358aa20692b60c796c9a91
Trashy fix for in-time resolution of online agents
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -660,7 +660,7 @@ export const handleRouterDroppedTransfers = async (\nchainReader: IVectorChainReader,\nlogger: BaseLogger,\n): Promise<Result<undefined, CheckInErro...
TypeScript
MIT License
connext/vector
Trashy fix for in-time resolution of online agents
131,905
26.05.2021 18:32:24
21,600
13fb17283f7c1dd6a12b193a03c1771844029801
Concurrency tests working with resolutions
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -464,7 +464,7 @@ export class AgentManager {\ntry {\nlogger.debug({ agent: agent.signerAddress, preImage, transfer: transferId }, \"Resolvi...
TypeScript
MIT License
connext/vector
Concurrency tests working with resolutions
131,905
26.05.2021 20:42:06
21,600
a0134d906ae24350154d84766b778a4708507e71
Longer lead time
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/test.ts", "new_path": "modules/test-runner/src/load/helpers/test.ts", "diff": "@@ -90,6 +90,7 @@ export const concurrencyTest = async (): Promise<void> => {\n});\n// Create tasks to fill queue with (25 random payments)\n+ c...
TypeScript
MIT License
connext/vector
Longer lead time
131,905
27.05.2021 13:50:32
21,600
7f57090b054020341ed609c005c5f36b825bc107
Check for single signed transfers at time of transfer
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -26,7 +26,6 @@ import {\nrecoverAddressFromChannelMessage,\nServerNodeServiceError,\n} from \"@connext/vector-utils\";\n-import { AddressZero } from \"@ethersproject...
TypeScript
MIT License
connext/vector
Check for single signed transfers at time of transfer
131,894
09.06.2021 11:12:25
25,200
aaae2b40e34b2c7a3a5e0f27e2c98f816cb9fd76
Fixes for messed up channels
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/services/store.ts", "new_path": "modules/browser-node/src/services/store.ts", "diff": "@@ -111,27 +111,35 @@ class VectorIndexedDBDatabase extends Dexie {\n// Using a temp table (transactions2) to migrate which column is the primary ke...
TypeScript
MIT License
connext/vector
Fixes for messed up channels
131,896
02.06.2021 19:06:48
25,200
6aa12bfb0e5e073a72a946835cdc3e539fa410c0
handle event where nonce has expired and we are unable to confirm tx
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -358,6 +358,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n// in this data with the already-exi...
TypeScript
MIT License
connext/vector
handle event where nonce has expired and we are unable to confirm tx
131,905
17.06.2021 08:55:34
21,600
525d72ac42a027fe473d8a795c29e6feb288949a
Track nonce in class
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -74,8 +74,9 @@ export const waitForTransaction = async (\n};\nexport class EthereumChainService extends EthereumChainReader implements ...
TypeScript
MIT License
connext/vector
Track nonce in class
131,905
17.06.2021 09:09:10
21,600
215fea45e7eb7f35a0189b813dd6facf16acd690
Fix deploys for this branch
[ { "change_type": "MODIFY", "old_path": "ops/deploy-vector.sh", "new_path": "ops/deploy-vector.sh", "diff": "@@ -14,13 +14,14 @@ if [[ -n \"$(git status -s)\" ]]\nthen echo \"Aborting: Make sure your git repo is clean\" && exit 1\nfi\n-if [[ \"$(git symbolic-ref HEAD | sed 's|.*/\\(.*\\)|\\1|')\" != ...
TypeScript
MIT License
connext/vector
Fix deploys for this branch
131,905
17.06.2021 09:46:49
21,600
aa91baf35973f35eb904f183b86d6b07aa2fe94b
Update vec version
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"vector\",\n- \"version\": \"0.2.5-beta.18\",\n+ \"version\": \"0.2.5-beta.19\",\n\"description\": \"Vector is an ultra-minimal state channel implementation that borrows ideas from the Counterfa...
TypeScript
MIT License
connext/vector
Update vec version
131,896
17.06.2021 15:16:20
25,200
598c31bf9f59f19b13c8e77965081383d171043e
hardcode temp base value for gas for matic
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -52,6 +52,9 @@ export const BIG_GAS_LIMIT = BigNumber.from(2_000_000);\n// nothing should ever be this expensive... _should_\nexport co...
TypeScript
MIT License
connext/vector
hardcode temp base value for gas for matic
131,896
17.06.2021 15:21:39
25,200
e1cbe3e39d412ad52fc13d8a07b67a6a0e6b08de
move to inside getGasPrice fn
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethReader.ts", "new_path": "modules/contracts/src.ts/services/ethReader.ts", "diff": "@@ -494,6 +494,9 @@ export class EthereumChainReader implements IVectorChainReader {\n} catch (e) {\nthis.log.warn({ error: e }, \"Gasnow fa...
TypeScript
MIT License
connext/vector
move to inside getGasPrice fn
131,896
18.06.2021 11:39:31
25,200
dde53c04e6d9c28fb4f0572740c7fbab32d296db
update : waitForConfirmation to double timeout if we've received 1 confirmation
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -592,8 +592,8 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n/**\n* Will wait for any of the give...
TypeScript
MIT License
connext/vector
update : waitForConfirmation to double timeout if we've received 1 confirmation
131,896
18.06.2021 12:51:10
25,200
34fda9d4b8c873b6f496e97423904da63a491d84
use constant, set multiplier to 4x
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -45,6 +45,8 @@ import { parseUnits } from \"ethers/lib/utils\";\n// The amount of time (ms) to wait before a confirmation polling perio...
TypeScript
MIT License
connext/vector
use constant, set multiplier to 4x
131,894
20.06.2021 19:43:41
-10,800
b46594e54760fb9f20765f714a26367baac1a2ff
No more matic special case
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethReader.ts", "new_path": "modules/contracts/src.ts/services/ethReader.ts", "diff": "@@ -494,9 +494,6 @@ export class EthereumChainReader implements IVectorChainReader {\n} catch (e) {\nthis.log.warn({ error: e }, \"Gasnow fa...
TypeScript
MIT License
connext/vector
No more matic special case
131,905
01.07.2021 18:49:32
21,600
291c66d4158d1ea316baa95d7e6ea19bd53fd8d6
Clean up nonce checks
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -209,19 +209,20 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n// Define task to send tx with pro...
TypeScript
MIT License
connext/vector
Clean up nonce checks
131,905
01.07.2021 19:29:16
21,600
da603eb661bf888a267d802ba315e27c6c0ae028
Add indicative nonce logs
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -211,6 +211,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\ntry {\n// If a nonce is supplied, us...
TypeScript
MIT License
connext/vector
Add indicative nonce logs
131,907
31.05.2021 16:19:49
21,600
ec8db7eafe16916ddfa2241f127d7743e69b5133
PAID token BSC
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/chains.json", "new_path": "modules/utils/src/chains.json", "diff": "\"0xe9e7cea3dedca5984780bafc599bd69add087d56\": {\n\"symbol\": \"BUSD\",\n\"mainnetEquivalent\": \"0x4fabb145d64652a948d72533023f6e7a623c7c53\"\n+ },\n+ \"0x532197ec38756b995...
TypeScript
MIT License
connext/vector
PAID token BSC
244,461
29.12.2020 01:54:35
-3,600
a57cbae85e764c6aca904025d62f80dbe7ee9a58
Move check if a command is currently executing to the connector We can no rely on the webln objec there as it might get executed in the browser
[ { "change_type": "MODIFY", "old_path": "source/lib/connector.js", "new_path": "source/lib/connector.js", "diff": "import browser from 'webextension-polyfill';\n+const nativeApplication = 'joule';\n+\nexport default class Connector {\n+ constructor () {\n+ this.isExecuting = false;\n+ }\n// webln cal...
TypeScript
MIT License
getalby/lightning-browser-extension
Move check if a command is currently executing to the connector We can no rely on the webln objec there as it might get executed in the browser
244,461
29.12.2020 01:56:07
-3,600
43a13e86f2215f5fe1f9b01d122b5d59708c97e2
Experiment with the Popup
[ { "change_type": "MODIFY", "old_path": "source/Popup/Popup.jsx", "new_path": "source/Popup/Popup.jsx", "diff": "-import * as React from 'react';\n+import React, {useState} from 'react';\nimport browser from 'webextension-polyfill';\nimport './styles.scss';\n@@ -7,10 +7,46 @@ function openWebPage(url...
TypeScript
MIT License
getalby/lightning-browser-extension
Experiment with the Popup
244,461
30.12.2020 02:28:01
-3,600
c61db57729b2ebbaa622773f75af9f3e911ae3b3
Add setup connector call
[ { "change_type": "MODIFY", "old_path": "source/lib/connector.js", "new_path": "source/lib/connector.js", "diff": "@@ -36,6 +36,10 @@ export default class Connector {\nreturn this.call('home', args);\n}\n+ setup(args) {\n+ return this.call('setup', args);\n+ }\n+\nsettings(args) {\nreturn this.call('...
TypeScript
MIT License
getalby/lightning-browser-extension
Add setup connector call
244,461
03.02.2021 14:23:19
-3,600
1d96fa5eefc8c1f767894bb8fa62e20f29f45bac
Store debug setting in browser storage to make it configurable
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -2,12 +2,9 @@ import browser from 'webextension-polyfill';\nimport connectors from '../lib/connectors';\n-\n-const DEBUG = true;\nlet connector;\n-browser.storage.sync.get(['cur...
TypeScript
MIT License
getalby/lightning-browser-extension
Store debug setting in browser storage to make it configurable
244,461
03.02.2021 14:23:52
-3,600
b844fccc9f98f332e6492754da46255b414ab904
Add some more LND API calls
[ { "change_type": "MODIFY", "old_path": "source/lib/connectors/lnd.js", "new_path": "source/lib/connectors/lnd.js", "diff": "@@ -9,6 +9,22 @@ export default class Lnd {\n);\n}\n+ sendPayment(args) {\n+ return this.request('POST', '/v2/router/send', args, {})\n+ .then(res => {\n+ console.log(res);\n+ ...
TypeScript
MIT License
getalby/lightning-browser-extension
Add some more LND API calls
244,461
03.02.2021 16:06:04
-3,600
798e6ef35045d88e8c0510e3b7f5f50ef0b672cf
Add ToDo to validate accounts
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -6,8 +6,8 @@ let connector;\nbrowser.storage.sync.get(['currentAccount', 'accounts', 'settings']).then(result => {\n- browser.storage.sync.set({currentAccount: 'joule'});\n/*\n+...
TypeScript
MIT License
getalby/lightning-browser-extension
Add ToDo to validate accounts
244,461
03.02.2021 23:42:56
-3,600
e618c9d8751f1665454fd9d2c5f5bb6b6ca14b28
Experiment with LndHub connector
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -4,7 +4,7 @@ import connectors from '../lib/connectors';\nlet connector;\n-browser.storage.sync.get(['currentAccount', 'accounts', 'settings']).then(result => {\n+browser.storag...
TypeScript
MIT License
getalby/lightning-browser-extension
Experiment with LndHub connector
244,461
04.02.2021 21:56:07
-3,600
14f38c3e3e0574e102282d0605c6b37019904dda
Add option page to add connector accounts and settings
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependencies\": {\n\"@babel/runtime\": \"^7.12.5\",\n\"advanced-css-reset\": \"^1.2.2\",\n+ \"formik\": \"^2.2.6\",\n\"memoizee\": \"^0.4.15\",\n\"react\": \"^17.0.1\",\n\"react-dom\": \"^17.0.1\",\n" }, ...
TypeScript
MIT License
getalby/lightning-browser-extension
Add option page to add connector accounts and settings
244,461
04.02.2021 22:18:58
-3,600
d17cc76b7a568be7ea1236cd95148430afa2a616
Change connector when the current account setting is updated
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -3,43 +3,34 @@ import browser from 'webextension-polyfill';\nimport connectors from '../lib/connectors';\nlet connector;\n+let settings;\n-browser.storage.sync.get(['currentAcco...
TypeScript
MIT License
getalby/lightning-browser-extension
Change connector when the current account setting is updated
244,461
06.02.2021 12:04:49
-3,600
5683dcc36d85847554aa0ec26cd07bed746f31bf
Hack along on the making a payment Now with notifications and a prompt window.
[ { "change_type": "MODIFY", "old_path": "source/Popup/Popup.jsx", "new_path": "source/Popup/Popup.jsx", "diff": "@@ -27,6 +27,16 @@ function getInfo() {\n});\n}\n+function getBalance() {\n+ return browser.runtime.sendMessage({\n+ application: 'Joule',\n+ prompt: true,\n+ type: 'getBalance',\n+ args: ...
TypeScript
MIT License
getalby/lightning-browser-extension
Hack along on the making a payment Now with notifications and a prompt window.
244,490
06.02.2021 12:38:43
0
36bed2571bf7ad7602a22256b520b8fd6527dba6
Add babel-plugin-import
[ { "change_type": "MODIFY", "old_path": ".babelrc", "new_path": ".babelrc", "diff": "\"@babel/react\"\n],\n\"plugins\": [\n+ [\"import\", {\n+ \"libraryName\": \"antd\",\n+ \"style\": \"css\"\n+ }],\n[\"@babel/plugin-proposal-class-properties\"],\n[\"@babel/plugin-transform-destructuring\", {\n\"useB...
TypeScript
MIT License
getalby/lightning-browser-extension
Add babel-plugin-import
244,461
06.02.2021 17:04:32
-3,600
78e712971d646a495ffb72c5d739b6326b6dfa1a
Implement enable prompt
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.12.2\",\n\"memoizee\": \"^0.4.15\",\n+ \"query-string\": \"^6.13.8\",\n\"react\": \"^17.0.1\",\n\"react-dom\": \"^17.0.1\",\n\"webext-base-css\": \"^1.2.0\"...
TypeScript
MIT License
getalby/lightning-browser-extension
Implement enable prompt
244,461
06.02.2021 17:05:17
-3,600
3fc5c3016d5532a78812a32cdbe16094960f3387
Prettier?! all those fancy JS formatting thingies...
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "-import browser from 'webextension-polyfill';\n+import browser from \"webextension-polyfill\";\n-import connectors from '../lib/connectors';\n+import connectors from \"../lib/conne...
TypeScript
MIT License
getalby/lightning-browser-extension
Prettier?! all those fancy JS formatting thingies...
244,461
06.02.2021 18:30:14
-3,600
445e1b4fb72209a619a9c002a7b73e595d1722c3
Implement prompt and settings to remember the allowance
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "import browser from \"webextension-polyfill\";\n+import Settings from \"../lib/settings\";\nimport connectors from \"../lib/connectors\";\nlet connector;\n@@ -7,14 +8,18 @@ let set...
TypeScript
MIT License
getalby/lightning-browser-extension
Implement prompt and settings to remember the allowance
244,461
06.02.2021 18:57:56
-3,600
f64c0ba612a4ff4d2c517f2024daa3b7d386de0d
Use the new connector API idea
[ { "change_type": "MODIFY", "old_path": "source/lib/connectors/lndhub.js", "new_path": "source/lib/connectors/lndhub.js", "diff": "@@ -30,12 +30,9 @@ export default class LndHub extends Base {\n}\nsendPayment(args) {\n- return this.request(\"POST\", \"/payinvoice\", {\n+ return super.sendPayment(mess...
TypeScript
MIT License
getalby/lightning-browser-extension
Use the new connector API idea
244,461
07.02.2021 01:30:33
-3,600
6ac4a363f898521e3fbe311a225186f6dc5cd2f5
Experiment with encrypted config storage
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@babel/runtime\": \"^7.12.5\",\n\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.12.2\",\n+ \"crypto-js\": \"^4.0.0\",\n\"memoizee\": \"^0.4.15\",\n\"query-string\": \"^6.13.8\",\n\"react\": \"^17.0.1\",...
TypeScript
MIT License
getalby/lightning-browser-extension
Experiment with encrypted config storage
244,461
07.02.2021 18:26:54
-3,600
b750f9bd3ef19c56ebe508d4c946b1c50bab1a1e
Refactor background script and message handling
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -5,24 +5,25 @@ import connectors from \"../lib/connectors\";\nlet connector;\nlet settings;\n+let currentUnlockPassword; // TODO: rethink this\nconst initConnector = async () =>...
TypeScript
MIT License
getalby/lightning-browser-extension
Refactor background script and message handling
244,461
07.02.2021 18:27:57
-3,600
0b164e9a9d6bdf8f12a45af7aef954e82d9e9062
Move function to call the background script to a utils function
[ { "change_type": "MODIFY", "old_path": "source/Popup/Popup.js", "new_path": "source/Popup/Popup.js", "diff": "import React from \"react\";\nimport browser from \"webextension-polyfill\";\n+import utils from \"../lib/utils\";\nimport \"./styles.scss\";\n@@ -17,26 +18,6 @@ function openApp() {\n});\n}...
TypeScript
MIT License
getalby/lightning-browser-extension
Move function to call the background script to a utils function
244,461
07.02.2021 19:12:18
-3,600
61111d267798bd729640d3e7c49b5fb44e53d39b
Add utils to open an extension page
[ { "change_type": "MODIFY", "old_path": "source/Popup/Popup.js", "new_path": "source/Popup/Popup.js", "diff": "@@ -37,7 +37,7 @@ class Popup extends React.Component {\nid=\"options__button\"\ntype=\"button\"\nonClick={() => {\n- return openWebPage(\"options.html\");\n+ return utils.openPage(\"options...
TypeScript
MIT License
getalby/lightning-browser-extension
Add utils to open an extension page
244,461
07.02.2021 19:58:10
-3,600
362b35679cd007477eff6c91b56bec938c4ee091
Implement unlocks for popup
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"query-string\": \"^6.13.8\",\n\"react\": \"^17.0.1\",\n\"react-dom\": \"^17.0.1\",\n+ \"react-router-dom\": \"^5.2.0\",\n\"webext-base-css\": \"^1.2.0\",\n\"webextension-polyfill\": \"^0.7.0\"\n},\n" }, ...
TypeScript
MIT License
getalby/lightning-browser-extension
Implement unlocks for popup
244,461
07.02.2021 22:21:46
-3,600
3ddc1393035fd207d274d2bc0716c0f1b10b244a
Refactor popup compontents
[ { "change_type": "MODIFY", "old_path": "source/Popup/Popup.js", "new_path": "source/Popup/Popup.js", "diff": "@@ -4,92 +4,11 @@ import { HashRouter, Link, Route, Switch } from \"react-router-dom\";\nimport { createHashHistory } from \"history\";\nimport utils from \"../lib/utils\";\n-import \"./styl...
TypeScript
MIT License
getalby/lightning-browser-extension
Refactor popup compontents
244,461
08.02.2021 14:08:04
-3,600
a49be6f5a232f5dd97444389ad21f9f93ca96510
Experiment with payment confirmations
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -28,7 +28,7 @@ const initConnector = async () => {\n};\nbrowser.storage.onChanged.addListener((changes) => {\n- if (changes.accounts || changes.currentAccount) {\n+ if (changes....
TypeScript
MIT License
getalby/lightning-browser-extension
Experiment with payment confirmations
244,461
08.02.2021 18:05:48
-3,600
14d6bb43c3e04d7aeeb5983e4b563604f8ef2127
Use full message to check allowance in the message we will also have the invoice details in the future to check amounts
[ { "change_type": "MODIFY", "old_path": "source/Prompt/Prompt.js", "new_path": "source/Prompt/Prompt.js", "diff": "@@ -30,7 +30,6 @@ class Prompt extends React.Component {\nargs = JSON.parse(message.args);\n}\nthis.state = { origin, args, type: message.type };\n- console.log(this.state);\n}\ncomponen...
TypeScript
MIT License
getalby/lightning-browser-extension
Use full message to check allowance in the message we will also have the invoice details in the future to check amounts
244,461
08.02.2021 18:06:18
-3,600
cdd99474090a9824daf28d16eda090b42fddd2e5
No need to unlock the account to check if webln is enabled
[ { "change_type": "MODIFY", "old_path": "source/lib/connectors/base.js", "new_path": "source/lib/connectors/base.js", "diff": "@@ -40,7 +40,7 @@ class Base {\n}\nenable(message) {\n- if (this.unlocked && this.settings.isEnabled(message.origin.domain)) {\n+ if (this.settings.isEnabled(message.origin.d...
TypeScript
MIT License
getalby/lightning-browser-extension
No need to unlock the account to check if webln is enabled
244,461
09.02.2021 00:25:52
-3,600
4b08cdaddd15fb8b7a716280a8a30986540e06ff
Open options page if the connector is not available this is the case when no account is configured or the account can not be found.
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "import browser from \"webextension-polyfill\";\n+import utils from \"../lib/utils\";\nimport Settings from \"../lib/settings\";\nimport connectors from \"../lib/connectors\";\n@@ -...
TypeScript
MIT License
getalby/lightning-browser-extension
Open options page if the connector is not available this is the case when no account is configured or the account can not be found.
244,461
10.02.2021 20:10:20
-3,600
05fd27778b4cef2ec5d85f36ac9dcdecacab5d30
Update the hostSettings and settings in the connector if those get changed
[ { "change_type": "MODIFY", "old_path": "source/Background/index.js", "new_path": "source/Background/index.js", "diff": "@@ -29,10 +29,18 @@ const initConnector = async () => {\n};\nbrowser.storage.onChanged.addListener((changes) => {\n- if (changes.accounts || changes.currentAccount || changes.hostS...
TypeScript
MIT License
getalby/lightning-browser-extension
Update the hostSettings and settings in the connector if those get changed
244,461
10.02.2021 20:11:04
-3,600
aeb584e75b9f51b6cdb969654e213f8585d168c7
Fake allowances for now if a site is remembered we always allow a payment
[ { "change_type": "MODIFY", "old_path": "source/lib/settings.js", "new_path": "source/lib/settings.js", "diff": "@@ -36,8 +36,8 @@ class Settings {\nconst domain = message.origin && message.origin.domain;\nconst url = new URL(domain);\n// TODO: check allowance\n- const setting = this.hostSettings[url...
TypeScript
MIT License
getalby/lightning-browser-extension
Fake allowances for now if a site is remembered we always allow a payment
244,461
10.02.2021 20:11:21
-3,600
c9f9db688f64b66da7df1689d9c25bcda6dc8f56
Display hostsettings in options
[ { "change_type": "MODIFY", "old_path": "source/Options/Options.js", "new_path": "source/Options/Options.js", "diff": "@@ -173,7 +173,8 @@ const Options = () => {\n</TabPane>\n<TabPane tab=\"Enabled Sites\" key=\"3\">\n- Content of Tab Pane 3\n+ <p>{JSON.stringify(hostSettings)}</p>\n+ <span onClick=...
TypeScript
MIT License
getalby/lightning-browser-extension
Display hostsettings in options
244,461
13.02.2021 19:14:14
-3,600
9d9f363cd2bcfd4a48fac8cb31373d8ba3c5bd02
Prototype initial budget settings
[ { "change_type": "MODIFY", "old_path": "source/lib/connectors/base.js", "new_path": "source/lib/connectors/base.js", "diff": "@@ -40,7 +40,7 @@ class Base {\n}\nenable(message) {\n- if (this.settings.isEnabled(message.origin.domain)) {\n+ if (this.unlocked && this.settings.isEnabled(message.origin.d...
TypeScript
MIT License
getalby/lightning-browser-extension
Prototype initial budget settings
244,461
14.02.2021 02:36:15
-3,600
5ed4ac0f2d7e1fe2c1c62ace30db321c97b808a8
More setting allowances experiments
[ { "change_type": "MODIFY", "old_path": "source/lib/connectors/base.js", "new_path": "source/lib/connectors/base.js", "diff": "@@ -61,6 +61,11 @@ class Base {\nreturn Promise.resolve({ data: allowance });\n}\n+ setAllowance(message) {\n+ this.settings.allowHost(message.origin.domain, message.args);\n...
TypeScript
MIT License
getalby/lightning-browser-extension
More setting allowances experiments
244,461
15.02.2021 13:35:36
-3,600
c8a17d73907e9f0c48d3f796fca04e1f8bedc65d
Add onboarding template
[ { "change_type": "ADD", "old_path": null, "new_path": "source/Welcome/Welcome.js", "diff": "+import React from \"react\";\n+import qs from \"query-string\";\n+import { createHashHistory } from \"history\";\n+import { HashRouter, Route, Switch } from \"react-router-dom\";\n+\n+//import \"./styles.scs...
TypeScript
MIT License
getalby/lightning-browser-extension
Add onboarding template