{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":813467871,"defaultBranch":"master","name":"js-stellar-sdk","ownerLogin":"celestialkylin","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-06-11T06:31:32.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/17632933?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1718088009.723142","currentOid":""},"activityList":{"items":[{"before":"e32bcddd5b0e3db6170d1224cde3a1770c717ba7","after":"27d9de10b0067c28e07137e884de8d690f1e42a0","ref":"refs/heads/patch-1","pushedAt":"2024-06-16T11:04:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"celestialkylin","name":null,"path":"/celestialkylin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17632933?s=80&v=4"},"commit":{"message":"fixed last compile error. and add test for Horizon.Server custom header","shortMessageHtmlLink":"fixed last compile error. and add test for Horizon.Server custom header"}},{"before":"5135243c58d6be4a6100b8712d0214d642c505af","after":"e32bcddd5b0e3db6170d1224cde3a1770c717ba7","ref":"refs/heads/patch-1","pushedAt":"2024-06-13T04:48:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"celestialkylin","name":null,"path":"/celestialkylin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17632933?s=80&v=4"},"commit":{"message":"fixed last compile error. and add test for Horizon.Server custom header","shortMessageHtmlLink":"fixed last compile error. and add test for Horizon.Server custom header"}},{"before":"38ead877a7a2244530f64e1efb7230504c2318a1","after":"5135243c58d6be4a6100b8712d0214d642c505af","ref":"refs/heads/patch-1","pushedAt":"2024-06-12T05:13:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"celestialkylin","name":null,"path":"/celestialkylin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17632933?s=80&v=4"},"commit":{"message":"add custom header to horzon Server","shortMessageHtmlLink":"add custom header to horzon Server"}},{"before":"ba29d60087c5874bb02ac5cc0c6ebe45dd1022f6","after":"38ead877a7a2244530f64e1efb7230504c2318a1","ref":"refs/heads/patch-1","pushedAt":"2024-06-12T04:47:04.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"celestialkylin","name":null,"path":"/celestialkylin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17632933?s=80&v=4"},"commit":{"message":"Merge branch 'stellar:master' into patch-1","shortMessageHtmlLink":"Merge branch 'stellar:master' into patch-1"}},{"before":"e5e49dcde5b4333d4b0082abffb5d4cb1ff5cc1d","after":"ba29d60087c5874bb02ac5cc0c6ebe45dd1022f6","ref":"refs/heads/patch-1","pushedAt":"2024-06-11T06:40:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"celestialkylin","name":null,"path":"/celestialkylin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17632933?s=80&v=4"},"commit":{"message":"Update server.ts\n\nIt's odd to compare the length with 0. In the original code, I need to do this to add a custom header:\r\n\r\nlet custom_header = {};\r\nlet server = new Server('https://url_to_server', {headers: custom_header});\r\ncustom_header['MyHeader'] = 'Some header content';\r\n\r\nShouldn't it check for non-zero to add the custom header?","shortMessageHtmlLink":"Update server.ts"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEZpg_8AA","startCursor":null,"endCursor":null}},"title":"Activity ยท celestialkylin/js-stellar-sdk"}