Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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.3",
"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",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajaygofynd Axios downgrade version changes missing in PR

"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": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"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.
2 changes: 1 addition & 1 deletion src/__tests__/multilang.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ describe('React Theme Commands', () => {
).reply(200, deleteData);
mock.onDelete(availablePage).reply(200, deleteAvailablePage);

mock.onGet(`${URLS.GET_APPLICATION_LIST(appConfig.company_id)}`).reply(
mock.onGet(`${URLS.GET_APPLICATION_LIST(appConfig.company_id, 1, 999)}`).reply(
200,
appList,
);
Expand Down
3 changes: 2 additions & 1 deletion src/__tests__/previewUrlExtension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ describe('Extension preview-url command', () => {
.onGet(URLS.GET_EXTENSION_DETAILS_PARTNERS(EXTENSION_KEY))
.reply(200, {
client_data: {
secret: [EXTENSION_SECRET]
secret: [EXTENSION_SECRET],
launch_type: 'company'
}
})

Expand Down
Loading
Loading