Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
caa0fa7
Update axios version to latest
Jun 16, 2025
afc5430
Launch type support inside ext init command
Jun 17, 2025
4d3820e
Added support in init extension command
Jun 17, 2025
6e904ff
Payment CLI integration testing
Jul 2, 2025
797d361
add test cases for extension commands
ajaygofynd Jul 24, 2025
f8b0d00
fix test case
ajaygofynd Jul 25, 2025
a629d2d
add test cases for extension commands
ajaygofynd Jul 28, 2025
aabace9
fix test cases
ajaygofynd Jul 28, 2025
97ba27f
fix test cases
ajaygofynd Jul 29, 2025
84d55cb
remove unwanted code
ajaygofynd Jul 29, 2025
546a340
fix issues
ajaygofynd Jul 29, 2025
6e467ca
fix test cases
ajaygofynd Jul 29, 2025
262c615
fix test cases
ajaygofynd Jul 29, 2025
c5d7a9b
remove unwanted code
ajaygofynd Jul 29, 2025
6f9f7a9
fix test cases
ajaygofynd Jul 29, 2025
ce58f86
fix the issues
ajaygofynd Aug 18, 2025
dbc9d91
fix test cases
ajaygofynd Aug 18, 2025
9775734
remove the next and node boiler plate from options
ajaygofynd Sep 10, 2025
656d384
fix the issue for non payment extension
ajaygofynd Sep 10, 2025
448e26d
add extension launch type in context and throw error when cross launc…
ajaygofynd Sep 10, 2025
af422a9
fix test cases and revert axios version
ajaygofynd Sep 25, 2025
3fec6ac
Merge branch 'master' into fix-payment-ext-issue
ajaygofynd Sep 25, 2025
32c90f1
remove default logo for extension
ajaygofynd Sep 25, 2025
e81b96a
fix the extension launch type issue
ajaygofynd Sep 26, 2025
3f07c89
fix the comments
ajaygofynd Oct 3, 2025
fcdcdbe
update the version in lock file
ajaygofynd Oct 3, 2025
05aa0cc
Merge branch 'master' of github.com:gofynd/fdk-cli into fix-payment-e…
Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gofynd/fdk-cli",
"version": "8.0.2",
"version": "8.0.4",
"main": "index.js",
"license": "MIT",
"bin": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"acorn": "^8.12.1",
"acorn-walk": "^8.3.3",
"archiver": "^7.0.1",
"axios": "0.27.2",
"axios": "^1.6.7",
"axios-retry": "^4.4.2",
"boxen": "^5.1.2",
"chalk": "^4.1.2",
Expand Down
Binary file not shown.
130 changes: 130 additions & 0 deletions src/__tests__/fixtures/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"items": [
{
"logo": {
"small": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1566539375/production/media/store/logo/jwosxsgh9ufoucdxpm10.png",
"large": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1566539375/production/media/store/logo/jwosxsgh9ufoucdxpm10.png"
},
"callbacks": {
"setup": "https://editor-spot-fat-europe.trycloudflare.com/fp/setup",
"auth": "https://editor-spot-fat-europe.trycloudflare.com/fp/auth",
"install": "https://editor-spot-fat-europe.trycloudflare.com/fp/install",
"uninstall": "https://editor-spot-fat-europe.trycloudflare.com/fp/uninstall",
"auto_install": "https://editor-spot-fat-europe.trycloudflare.com/fp/auto_install"
},
"partner": {
"callbacks": {
"auth": "https://editor-spot-fat-europe.trycloudflare.com/adm/auth",
"install": "https://editor-spot-fat-europe.trycloudflare.com/adm/install"
}
},
"_id": "68808232d7924019689a768c",
"id": "68808232d7924019689a768c",
"name": "payment-extension-2",
"description": "",
"base_url": "https://editor-spot-fat-europe.trycloudflare.com",
"whitelisted_urls": [],
"ext_version": "1.0",
"extention_type": "private",
"organization_id": "6870ad7ab6a5036db91a8b5c",
"contact_email": "ajaysaini@gofynd.com",
"scope": [
"company/profile",
"company/payment"
],
"developed_by_name": "Test Company",
"is_hidden": false,
"launch_type": "payment",
"is_setup_complete": true,
"created_at": "2025-07-23T06:33:22.420Z",
"modified_at": "2025-07-23T10:04:04.578Z",
"__v": 0,
"subscriber_count": 1
},
{
"logo": {
"small": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/YmPWIj2KN-logo.png",
"large": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/YmPWIj2KN-logo.png"
},
"callbacks": {
"setup": "https://critics-suffering-reservoir-oscar.trycloudflare.com/fp/setup",
"auth": "https://critics-suffering-reservoir-oscar.trycloudflare.com/fp/auth",
"install": "https://critics-suffering-reservoir-oscar.trycloudflare.com/fp/install",
"uninstall": "https://critics-suffering-reservoir-oscar.trycloudflare.com/fp/uninstall",
"auto_install": "https://critics-suffering-reservoir-oscar.trycloudflare.com/fp/auto_install"
},
"partner": {
"callbacks": {
"auth": "https://critics-suffering-reservoir-oscar.trycloudflare.com/adm/auth",
"install": "https://critics-suffering-reservoir-oscar.trycloudflare.com/adm/install"
}
},
"_id": "688080bfd7924019689a7667",
"name": "payment-ext",
"description": "",
"base_url": "https://critics-suffering-reservoir-oscar.trycloudflare.com",
"whitelisted_urls": [],
"ext_version": "1.0.0",
"extention_type": "private",
"organization_id": "6870ad7ab6a5036db91a8b5c",
"contact_email": "ajaysaini@gofynd.com",
"scope": [
"company/payment"
],
"developed_by_name": "Test Company",
"is_hidden": false,
"launch_type": "payment",
"is_setup_complete": true,
"created_at": "2025-07-23T06:27:11.373Z",
"modified_at": "2025-07-23T06:28:13.970Z",
"__v": 0,
"subscriber_count": 1
},
{
"logo": {
"small": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/YmPWIj2KN-logo.png",
"large": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/YmPWIj2KN-logo.png"
},
"callbacks": {
"setup": "https://been-processors-emily-violent.trycloudflare.com/fp/setup",
"auth": "https://been-processors-emily-violent.trycloudflare.com/fp/auth",
"install": "https://been-processors-emily-violent.trycloudflare.com/fp/install",
"uninstall": "https://been-processors-emily-violent.trycloudflare.com/fp/uninstall",
"auto_install": "https://been-processors-emily-violent.trycloudflare.com/fp/auto_install"
},
"partner": {
"callbacks": {
"auth": "https://been-processors-emily-violent.trycloudflare.com/adm/auth",
"install": "https://been-processors-emily-violent.trycloudflare.com/adm/install"
}
},
"_id": "6874f77d19a3bbbc039a3830",
"name": "kjnjk",
"description": "",
"base_url": "https://been-processors-emily-violent.trycloudflare.com",
"whitelisted_urls": [],
"ext_version": "1.0.0",
"extention_type": "private",
"organization_id": "6870ad7ab6a5036db91a8b5c",
"contact_email": "ajaysaini@gofynd.com",
"scope": [
"company/profile"
],
"developed_by_name": "Test Company",
"is_hidden": false,
"launch_type": "application",
"is_setup_complete": true,
"created_at": "2025-07-14T12:26:37.745Z",
"modified_at": "2025-07-18T11:07:48.536Z",
"__v": 0,
"subscriber_count": 0
}
],
"page": {
"type": "number",
"current": 1,
"size": 10,
"item_total": 3,
"has_next": false
}
}
Binary file not shown.
Loading
Loading