{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":816050729,"defaultBranch":"main","name":"call-api","ownerLogin":"zayne-labs","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-06-16T23:27:33.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/175065289?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726246297.0","currentOid":""},"activityList":{"items":[{"before":"9e927c06501eb8e0dbe8bf02b3ad4956232fdc9f","after":"6c152340c83ed451ece8ee20e17740ecddbe1566","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-25T16:35:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update import in src/utils/index.ts and src/types.ts\n\n- Update import in src/utils/index.ts from \"./utils\" to \"./global\"\n- Update import in src/types.ts from \"./utils/utils\" to \"./utils/global\"","shortMessageHtmlLink":"refactor: Update import in src/utils/index.ts and src/types.ts"}},{"before":"c2bbbf29543a33019ee0e0b20ffda2afaaa4198b","after":"9e927c06501eb8e0dbe8bf02b3ad4956232fdc9f","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-22T13:58:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Update ESLint and TypeScript configuration\n\nThis commit updates the ESLint and TypeScript configuration files:\n\n1. `eslint.config.js`:\n - Updates the `parserOptions.project` setting to use the `tsconfig.eslint.json` file instead of `tsconfig.json`.\n\n2. `tsconfig.json`:\n - Removes the `dev/**/*.ts` and `website/**/*.ts` entries from the `include` section, keeping only the `src/**/*.ts` files.\n\n3. `dev/src/server.ts`:\n - Adds a `console.info` statement to log the `data` object returned from the API call.\n\nThese changes improve the project's build and linting setup, ensuring a more consistent and reliable development environment.","shortMessageHtmlLink":"feat: Update ESLint and TypeScript configuration"}},{"before":"9ea165962ac4f64f24883f719f368997620f8ef3","after":"c2bbbf29543a33019ee0e0b20ffda2afaaa4198b","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-22T13:32:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"remove pre push","shortMessageHtmlLink":"remove pre push"}},{"before":"a13c7d95a49625d237655af6af2f43ef83bb49f0","after":"9ea165962ac4f64f24883f719f368997620f8ef3","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-22T13:31:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Deduplicate interceptors in handleMergeInterceptors\n\nThis commit deduplicates interceptors in the `handleMergeInterceptors` function. It ensures that only unique interceptors are executed by creating a new array of unique interceptors before mapping and executing them. This change improves the efficiency and reliability of the interceptor handling logic.\n\nAdditionally, this commit updates the package.json version to 1.0.0-rc-7.","shortMessageHtmlLink":"refactor: Deduplicate interceptors in handleMergeInterceptors"}},{"before":"55066125bcfd87f5de91fa7aeabc9eb135baafa4","after":"a13c7d95a49625d237655af6af2f43ef83bb49f0","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-22T11:44:22.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature/dedupe","shortMessageHtmlLink":"Merge branch 'main' into feature/dedupe"}},{"before":"437ce244ab5b163121c3f1a84bb4e93fbafa9ce1","after":"55066125bcfd87f5de91fa7aeabc9eb135baafa4","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T23:51:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: fixup jsdoc","shortMessageHtmlLink":"refactor: fixup jsdoc"}},{"before":"801b894224863bb0c55f1eb7412832f8a44061bb","after":"437ce244ab5b163121c3f1a84bb4e93fbafa9ce1","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T23:39:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update map types and add Awaitable type helper\n\nThis commit updates the map types in the `types.ts` file and adds a new type helper called `Awaitable` in the `type-helpers.ts` file. The map types have been modified to include the `Awaitable` type, which represents a promise or a non-promise value. This change improves the type safety and readability of the codebase.\n\nRefactor the map types and add Awaitable type helper","shortMessageHtmlLink":"refactor: Update map types and add Awaitable type helper"}},{"before":"115be1f6065c4f6f128cbfe1c6b293259d9b0c97","after":"801b894224863bb0c55f1eb7412832f8a44061bb","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T21:37:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: update map types","shortMessageHtmlLink":"refactor: update map types"}},{"before":"f339ab679250b67a97902daa82a538ade0f5354e","after":"115be1f6065c4f6f128cbfe1c6b293259d9b0c97","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T16:09:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"chore: Update version in package.json to 1.0.0-rc-6","shortMessageHtmlLink":"chore: Update version in package.json to 1.0.0-rc-6"}},{"before":"6dba57f97d4fd38dc4768aa92023b8d54146c51c","after":"f339ab679250b67a97902daa82a538ade0f5354e","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T15:50:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"fix: Update headers logic in createFetchClient","shortMessageHtmlLink":"fix: Update headers logic in createFetchClient"}},{"before":"2cda077642ad8d4f7f8690dd9aebfc01fd3f83e0","after":"6dba57f97d4fd38dc4768aa92023b8d54146c51c","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T15:40:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Add null check for requestKey and update tsconfig include","shortMessageHtmlLink":"feat: Add null check for requestKey and update tsconfig include"}},{"before":"7f352f3987f43c3206c51ed2c9544d39f80e8ad1","after":"2cda077642ad8d4f7f8690dd9aebfc01fd3f83e0","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T15:27:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"autofix-ci[bot]","name":null,"path":"/apps/autofix-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/243519?s=80&v=4"},"commit":{"message":"[autofix.ci] apply automated fixes","shortMessageHtmlLink":"[autofix.ci] apply automated fixes"}},{"before":"3af45c38e727b5bd6a69a26b1d67c064dbada5c7","after":"7f352f3987f43c3206c51ed2c9544d39f80e8ad1","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-21T15:26:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update callApi import and add dedupeStrategy option in createFetchClient","shortMessageHtmlLink":"refactor: Update callApi import and add dedupeStrategy option in crea…"}},{"before":"2c3177ef16c484b58a05450203760c51e4083135","after":"3af45c38e727b5bd6a69a26b1d67c064dbada5c7","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-20T19:30:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update version in package.json to 1.0.0-rc-3","shortMessageHtmlLink":"refactor: Update version in package.json to 1.0.0-rc-3"}},{"before":"6d07259d660d3ae6d1e538acf7e1f8520465f9ae","after":"2c3177ef16c484b58a05450203760c51e4083135","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-20T19:18:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update version in package.json and add resultMode option in createFetchClient","shortMessageHtmlLink":"refactor: Update version in package.json and add resultMode option in…"}},{"before":"cdb2e895f7c224dffbf161dd0951f5879af29161","after":"65b42c735d12c240456ad0b7dc5a69f62a58c7a7","ref":"refs/heads/main","pushedAt":"2024-09-20T16:42:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"Update doc (#102)\n\n* docs: update documentation for clarity and consistency\r\n\r\n* docs: update getting started guide and index page for clarity; add next-env.d.ts to .gitignore\r\n\r\n* docs: enhance error handling and request cancellation sections for clarity; update code examples\r\n\r\n* docs: rename 'getting-started' to 'installation' and migrate content to new installation page\r\n\r\n* docs: add initial README for website directory\r\n\r\n* [autofix.ci] apply automated fixes\r\n\r\n---------\r\n\r\nCo-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Update doc (#102)"}},{"before":"252304b8452cad604459390de6a53dbd7857229b","after":"6d07259d660d3ae6d1e538acf7e1f8520465f9ae","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-20T16:27:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Add params and dedupe features, upgrade caching heuristics, deprecate cancelRedundantRequests option, and stabilize current API","shortMessageHtmlLink":"feat: Add params and dedupe features, upgrade caching heuristics, dep…"}},{"before":"71c94f4c8bd7018743e8fc1f78f35c945794e9b3","after":"252304b8452cad604459390de6a53dbd7857229b","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-20T16:05:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":".","shortMessageHtmlLink":"."}},{"before":"af2bf82ae2f18cbcd5edf6b8e7939e1e94eed565","after":"71c94f4c8bd7018743e8fc1f78f35c945794e9b3","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-20T11:45:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":".","shortMessageHtmlLink":"."}},{"before":"befad7ad1cc0a2d61b596dfcc1e339932a7a11a2","after":"af2bf82ae2f18cbcd5edf6b8e7939e1e94eed565","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-19T19:08:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Add params and dedupe features, upgrade caching heuristics, deprecate cancelRedundantRequests option, and stabilize current API","shortMessageHtmlLink":"feat: Add params and dedupe features, upgrade caching heuristics, dep…"}},{"before":"89a7fd05e8d153054a7ddf4a76240687a565de47","after":"befad7ad1cc0a2d61b596dfcc1e339932a7a11a2","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-19T16:52:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update linting command in lint-and-type workflow","shortMessageHtmlLink":"refactor: Update linting command in lint-and-type workflow"}},{"before":"93608c5fd8add7f726db808d60ca839d6f1a02f4","after":"89a7fd05e8d153054a7ddf4a76240687a565de47","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-19T16:47:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Add dedupeStrategy option to createFetchClient\n\nrefactor: ensure caching mechanism only works if a key is available","shortMessageHtmlLink":"feat: Add dedupeStrategy option to createFetchClient"}},{"before":"add76743988c49ea2c3a4d515d8d51afeaa0b779","after":"93608c5fd8add7f726db808d60ca839d6f1a02f4","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-18T00:35:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Add dedupeStrategy option to createFetchClient\n\nThe createFetchClient function now supports a new dedupeStrategy option that allows controlling the behavior when a duplicate request is detected. The \"cancel\" strategy will cancel the previous pending request, while the \"defer\" strategy will return the response from the previous request.\n\nThis change ensures that the previous pending request to the same URL will be cancelled and allows the new request to go through. The cancelRedundantRequests option is now deprecated and should be replaced with dedupeStrategy === \"cancel\".\n\nAdditionally, the types.ts and utils.ts files have been updated to support the new dedupeStrategy option and related functionality.","shortMessageHtmlLink":"feat: Add dedupeStrategy option to createFetchClient"}},{"before":"3a2da715cf448ddb13a60bc3c45d2aae5abc525f","after":"add76743988c49ea2c3a4d515d8d51afeaa0b779","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-17T23:52:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"refactor: Update dedupeStrategy option in createFetchClient\n\nThe dedupeStrategy option in the createFetchClient function has been updated to use the \"cancel\" strategy instead of the deprecated cancelRedundantRequests option. This change ensures that the previous pending request to the same URL will be cancelled and allows the new request to go through. The cancelRedundantRequests option is now deprecated and should be replaced with dedupeStrategy === \"cancel\".\n\nRefactor the code in createFetchClient.ts to reflect this change.","shortMessageHtmlLink":"refactor: Update dedupeStrategy option in createFetchClient"}},{"before":"141c2ca87dbb2321537a269fb8f59d6dea337541","after":"3a2da715cf448ddb13a60bc3c45d2aae5abc525f","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-17T23:40:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"autofix-ci[bot]","name":null,"path":"/apps/autofix-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/243519?s=80&v=4"},"commit":{"message":"[autofix.ci] apply automated fixes","shortMessageHtmlLink":"[autofix.ci] apply automated fixes"}},{"before":"cdb2e895f7c224dffbf161dd0951f5879af29161","after":"141c2ca87dbb2321537a269fb8f59d6dea337541","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-17T23:38:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"feat: Add Vite configuration files and dependencies\nfeat: Add params feature\n\n- Added vite-env.d.ts file for Vite client types\n- Added tsconfig.json file for TypeScript configuration\n- Added pnpm-workspace.yaml file for pnpm workspace configuration\n- Deleted tsconfig.eslint.json file\n- Added client.ts file with a fetchStuff function\n- Added README.md file with installation and run instructions\n- Added .gitignore file to ignore logs, editor files, and build artifacts\n- Added server.ts file with a foo variable and console.log statements\n- Updated eslint.config.js file to use tsconfig.json as the default project\n- Added index.html file with basic HTML structure and script import\n- Updated autofix.yml, size-limit.yml, lint-and-type.yml, test--release-and-publish.yml, and changeset--release-and-publish.yml workflows to use pnpm version 9.10.0\n- Updated package.json file with dependencies and devDependencies\n- Added pnpm-lock.yaml file with lockfile information\n- Updated types.ts file to include params property in ExtraOptions interface\n- Updated typeof.ts file to use isArray and isString helper functions\n- Updated theme.config.tsx file to remove eslint-disable comments\n- Added vite.svg file for Vite logo","shortMessageHtmlLink":"feat: Add Vite configuration files and dependencies"}},{"before":"5a5bd172f8f65cb07c356af1d815cbed8dbacbcc","after":"cdb2e895f7c224dffbf161dd0951f5879af29161","ref":"refs/heads/feature/dedupe","pushedAt":"2024-09-16T21:04:46.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"ci: update package version (#98)\n\nCo-authored-by: github-actions[bot] ","shortMessageHtmlLink":"ci: update package version (#98)"}},{"before":"be920ea95d5fa757da1abd1ca8a697000bef3de1","after":null,"ref":"refs/heads/changeset-release/main","pushedAt":"2024-09-13T16:51:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"}},{"before":"45e25d0639ab00304b252f0a7e8251bb28a8d296","after":"cdb2e895f7c224dffbf161dd0951f5879af29161","ref":"refs/heads/main","pushedAt":"2024-09-13T16:51:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Ryan-Zayne","name":"Ryan Zayne","path":"/Ryan-Zayne","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93886198?s=80&v=4"},"commit":{"message":"ci: update package version (#98)\n\nCo-authored-by: github-actions[bot] ","shortMessageHtmlLink":"ci: update package version (#98)"}},{"before":"87327a0769765098179eb192b81966e2c22d085a","after":"be920ea95d5fa757da1abd1ca8a697000bef3de1","ref":"refs/heads/changeset-release/main","pushedAt":"2024-09-13T16:50:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"ci: update package version","shortMessageHtmlLink":"ci: update package version"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yNVQxNjozNTo0NC4wMDAwMDBazwAAAATAkc8Q","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xM1QxNjo1MDo0MC4wMDAwMDBazwAAAAS1tKx5"}},"title":"Activity · zayne-labs/call-api"}