Files
insomnia/packages/insomnia-api/package.json
Pavlos Koutoglou 4f5a72dc16 feat(INS-2933): first-request experience A/B experiment (13.1) (#10215)
* Create new methods colors

* Implement first request logic

* feat: enhance first request treatment logic with backend support and caching

* feat: add experiment assignment analytics and related utility functions

* feat: add reportRequestsCreated function to track request creation for first-request experiments

* feat: enhance request creation reporting with session tracking

* feat: add tests for reportRequestsCreated function to validate API interactions

* feat: refactor localStorage methods for better error handling and state management

* feat: enhance accessibility of error message in FirstRequestCreation component

* feat: simplify user ownership check in project component

* feat: update user tests to include onboarding state and related functions

* feat: replace reportRequestCreated function with maybeLatchRequestThreshold for request tracking

* feat: integrate onboarding state into first request treatment logic and refactor related functions

* feat: integrate onboarding state into FirstRequestCreation component and enhance treatment logic

* feat: implement maybeLatchRequestThreshold function for tracking first-request graduation

* feat: refactor onboarding request handling and replace reportRequestsCreated with latchRequestThresholdReached

* feat: simplify first request treatment logic and remove unused functions

* feat: update latchRequestThresholdReached to use PATCH method for idempotent threshold latch

* feat: update onboarding state interface and test to use reached_request_threshold instead of has_reached_request_threshold

* feat: update latchRequestThresholdReached to use PUT method and correct endpoint for idempotent threshold latch

* feat: remove reached_request_threshold from onboarding state and related tests

* feat: integrate request tracking with maybeLatchRequestThreshold in clientAction

* feat: update onboarding state handling and treatment logic in user module

* feat: update @getinsomnia/insomnia-v3-fetch to version 1.0.20 in package-lock and package.json

* feat: add padding to request URL bar and adjust MethodSelector alignment

* feat: enhance request threshold handling by adding per-account request count baseline

* feat: update analytics event emission for treatment assignments in first request flow
2026-07-10 18:10:53 +00:00

32 lines
786 B
JSON

{
"private": true,
"name": "insomnia-api",
"license": "Apache-2.0",
"version": "12.5.1-alpha.0",
"author": "Kong <office@konghq.com>",
"description": "Insomnia API functionalities",
"repository": {
"type": "git",
"url": "git+https://github.com/Kong/insomnia.git",
"directory": "packages/insomnia-api"
},
"bugs": {
"url": "https://github.com/kong/insomnia/issues"
},
"homepage": "https://github.com/Kong/insomnia#readme",
"exports": {
".": {
"import": "./src/index.ts",
"types": "./src/index.ts"
}
},
"scripts": {
"lint": "eslint . --ext .ts,.tsx --cache",
"type-check": "tsc --noEmit --project tsconfig.json",
"test": "vitest run"
},
"dependencies": {
"@getinsomnia/insomnia-v3-fetch": "^1.0.20"
}
}