{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":545145496,"defaultBranch":"main","name":"transportr","ownerLogin":"D1g1talEntr0py","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-10-03T21:32:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1047437?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1702937555.0","currentOid":""},"activityList":{"items":[{"before":"765c9ed6d41c70262021c4526c2c587e5ed0039c","after":"ee746d5363312ef97beaf22a6a961980721fe346","ref":"refs/heads/main","pushedAt":"2023-12-18T22:12:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Maintenance update","shortMessageHtmlLink":"Maintenance update"}},{"before":"efe09c4009b264c5df4db1fe0a03bf6e1263116e","after":"765c9ed6d41c70262021c4526c2c587e5ed0039c","ref":"refs/heads/main","pushedAt":"2023-11-11T13:44:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Switched to pnpm for package management. Bug fixes and performance improvements.\n- Fixed a bug in the 'post' method where the path parameter not being passed was not being handled correctly.\n- Added esbuild-library to make building the library easier.\n- Switched the license to ISC.\n- Removed @skypack/package-check dependency in favor of the globally installed package.\n- Removed the rimraf dev dependency in favor of esbuild-library that cleans the output folder.","shortMessageHtmlLink":"Switched to pnpm for package management. Bug fixes and performance im…"}},{"before":"72a974c87c9b59d19c96ad56d0167dab6ebaa309","after":"efe09c4009b264c5df4db1fe0a03bf6e1263116e","ref":"refs/heads/main","pushedAt":"2023-09-27T17:42:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Added mockend.yml for unit testing and removed depencency on SetMultiMap","shortMessageHtmlLink":"Added mockend.yml for unit testing and removed depencency on SetMultiMap"}},{"before":"e6eb782603826929ba2f410e1f205567748939b5","after":"72a974c87c9b59d19c96ad56d0167dab6ebaa309","ref":"refs/heads/main","pushedAt":"2023-09-26T21:20:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Changed some classes to be private and removed some unused code. Optimized the '#request' method.\n- Removed access to the 'AbortSignal' class in favor of using the native 'AbortController' class directly.\n- Removed unused methods in the 'AbortSignal' class. (AbortSignal#abort, AbortSignal#timeout, AbortSignal#addEventListener, AbortSignal#removeEventListener, AbortSignal#dispatchEvent)\n- Renamed 'withTimeout' to just 'timeout' in the 'AbortSignal' class.\n- Added some additional constants.","shortMessageHtmlLink":"Changed some classes to be private and removed some unused code. Opti…"}},{"before":"5678f968a4ebff170c4eee59269c7340cb0dfe0d","after":"e6eb782603826929ba2f410e1f205567748939b5","ref":"refs/heads/main","pushedAt":"2023-09-21T21:53:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Fixed regression the 'searchParams' option was not being passed to the method that creates the URL for the request and fixed broken references in some tests.","shortMessageHtmlLink":"Fixed regression the 'searchParams' option was not being passed to th…"}},{"before":"1efcd71eacb7f8b51fe9cabd20b6802f0535c9d5","after":"5678f968a4ebff170c4eee59269c7340cb0dfe0d","ref":"refs/heads/main","pushedAt":"2023-09-21T20:33:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Fixed regression where the 'Events' static field was renamed erroneously to 'RequestEvents'.","shortMessageHtmlLink":"Fixed regression where the 'Events' static field was renamed erroneou…"}},{"before":"807a13a7355311571ac9cad0897d70250684e957","after":"1efcd71eacb7f8b51fe9cabd20b6802f0535c9d5","ref":"refs/heads/main","pushedAt":"2023-09-15T16:41:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Added new classes and refactored parameter handling.\n-Added custom AbortSignal class to allow for aborting requests directly from the signal via a method or timeout.\n-Created a constants file to hold static data. Will be adding more to this file as needed.\n-Added 'JSON_MERGE_PATCH' to the 'HttpMediaType' constant.\n-Created a 'ParameterMap' class to allow for easier aggregation of parameters.\n-Removed 'SignalController' class and replaced it with the 'AbortSignal' class.\n-Refactored how requests are handled to improve parameter handling and readability. Also added a Proxy to the options and trap for the 'signal' property to allow the timer to start when the signal is accessed in the request.\n-Added additional unit tests.\n-Updated project dependencies.","shortMessageHtmlLink":"Added new classes and refactored parameter handling."}},{"before":"bfc2b7d898cd86c54929e949b8725169195b9b96","after":"807a13a7355311571ac9cad0897d70250684e957","ref":"refs/heads/main","pushedAt":"2023-08-10T20:54:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Fixed a bug where the #baseUrl was being modified on each request and added the ability to make requests without a path.\n- Modified the `#createUrl()` method to create a copy of the #baseUrl on each request. This fixes a bug where some requests were being made to the wrong URL.\n- Changed the `#request()` method to allow the `path` parameter to be optional. If no path is provided, the `#baseUrl` will be used instead.\n- Modified the JSDoc comments to reflect the fact that the `path` parameter is now optional for all requests. The `#baseUrl` will be used if no path is provided.","shortMessageHtmlLink":"Fixed a bug where the #baseUrl was being modified on each request and…"}},{"before":"69f911f300af7d7dda972ff6a525c2eb4cba2cf3","after":"bfc2b7d898cd86c54929e949b8725169195b9b96","ref":"refs/heads/main","pushedAt":"2023-08-09T20:44:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Changed the default timeout to 30 seconds, instead of 10.","shortMessageHtmlLink":"Changed the default timeout to 30 seconds, instead of 10."}},{"before":"f4c89436470e54fd68c97ec44f49a518c9cc58d3","after":"69f911f300af7d7dda972ff6a525c2eb4cba2cf3","ref":"refs/heads/main","pushedAt":"2023-05-23T17:19:49.827Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Added ability to abort all active requests and also bypass global event handlers\n-Added `abortAll()` method to abort all active requests.\n-Added a `boolean` `global` option that will bypass global event handlers.\n-Added internal `_mediaTypes` `Map` that is used to lookup an instance of the MediaType class by the media type string.\n-Added an `ALL_COMPLETE` event that is fired when all requests have completed.\n-Added default charset of `utf-8` that will be used for any applicable media types. This can be overridden by setting the `charset` property on the `content-type` or `accepts` header directly.\n-The private `#request` method now returns a rejected promise if the request throws an error.\n-Added the ability to call a request method without passing a URL. This will use the URL from the `baseUrl` property. This is useful for making requests to the same domain using different methods.","shortMessageHtmlLink":"Added ability to abort all active requests and also bypass global eve…"}},{"before":"a65112808dfd81f3ff8c33882665782b7ed94745","after":"f4c89436470e54fd68c97ec44f49a518c9cc58d3","ref":"refs/heads/main","pushedAt":"2023-05-10T22:48:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Added event system using the observer pattern\n-Added register/unregister methods for global events or on a specific instance of the `Transportr` class.\n-Added `SignalController` class to handle chaining controller signals. This allows for being able to handle an abort triggered by a timeout and a client initiated abort.\n-Added a `signalController()` to manage aborting requests. This allows for being able to abort a request from the client side and also from a timeout. The timeout value is set in the `RequestOptions` object.\n-Added `timeout` option to `Transportr` class to allow for a timeout to be set on a per request basis.\n-Updated any JSDoc @author tags to use my GitHub username and email address.\n-Added more unit tests.\n-Removed the Mockend tests as they no longer provide a free plan.","shortMessageHtmlLink":"Added event system using the observer pattern"}},{"before":"5b5fe3f1eda4e566ba58ea95ebbbb30de4f3ebb3","after":"a65112808dfd81f3ff8c33882665782b7ed94745","ref":"refs/heads/main","pushedAt":"2023-03-27T17:07:27.939Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Fix for bug with accepting FormData as body\n- Added .eslintignore file.\n- Updated the .eslintrc.json file.\n- Updated depencencies.\n- Reconfigured the transportr.tests.js file to use test.concurrent.\n- Added a test to check if the request body is removed when the request method is GET.\n- Added code to remove the content-type header and request body if the request method is GET.\n- Changed the private methods to use regular objects instead of FormData, Headers, and URLSearchParams.\n- Added a check for the response in the catch block of the fetch call to ensure that another error isn't thrown.","shortMessageHtmlLink":"Fix for bug with accepting FormData as body"}},{"before":"6912ce5674b16252d59809dbd29e544fe65af254","after":"5b5fe3f1eda4e566ba58ea95ebbbb30de4f3ebb3","ref":"refs/heads/main","pushedAt":"2023-03-24T17:12:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Set the default content-type and accept headers to JSON","shortMessageHtmlLink":"Set the default content-type and accept headers to JSON"}},{"before":"f2f640d3f9c2b5a96d6dc5b99aa6da2a2d472708","after":"6912ce5674b16252d59809dbd29e544fe65af254","ref":"refs/heads/main","pushedAt":"2023-03-08T20:46:30.965Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Added utiltiy function to dynamically construct objects","shortMessageHtmlLink":"Added utiltiy function to dynamically construct objects"}},{"before":"8cb79647551648e450f262cf8e1775faa41e206c","after":"f2f640d3f9c2b5a96d6dc5b99aa6da2a2d472708","ref":"refs/heads/main","pushedAt":"2023-03-08T16:56:31.278Z","pushType":"push","commitsCount":1,"pusher":{"login":"D1g1talEntr0py","name":"Jason DiMeo","path":"/D1g1talEntr0py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1047437?s=80&v=4"},"commit":{"message":"Removed the .d.ts files and added unit tests. URLSearchParams and Headers are now merged correctly.\n-Removed all TypeScript definition files.\n-Added unit tests for the following classes:\n\t-HttpError\n\t-HttpMediaType\n\t-ResponseStatus\n\t-Transportr\n-URLSearchParams and Headers are now converted to objects before being merged.\n-Froze all constants in Transportr class.\n-Defaulted the request method to GET in the default request options.\n-Added searchParams to the default request options.\n-Removed all the modules except for transportr.js from the index.js file.\n-Added the Symbol.toStringTag property to the Transportr class.\n-Added the Symbol.toStringTag property to the HttpError class.\n-Added the Symbol.toStringTag property to the ResponseStatus class.\n-Updated dependencies.","shortMessageHtmlLink":"Removed the .d.ts files and added unit tests. URLSearchParams and Hea…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADzUtYXwA","startCursor":null,"endCursor":null}},"title":"Activity · D1g1talEntr0py/transportr"}