@keystrokehq/payhere 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/catalog.cjs CHANGED
@@ -9,12 +9,12 @@ const payhereCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "environment": {
12
+ "subdomain": {
13
13
  "label": "Environment",
14
14
  "description": "Select \"api\" for production or \"sandbox\" for testing",
15
15
  "default": "api"
16
16
  },
17
- "api_key": {
17
+ "generic_api_key": {
18
18
  "label": "API Key",
19
19
  "secret": true,
20
20
  "description": "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"environment\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,eAAe;GACb,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -9,12 +9,12 @@ declare const payhereCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly environment: {
12
+ readonly subdomain: {
13
13
  readonly label: "Environment";
14
14
  readonly description: "Select \"api\" for production or \"sandbox\" for testing";
15
15
  readonly default: "api";
16
16
  };
17
- readonly api_key: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "API Key";
19
19
  readonly secret: true;
20
20
  readonly description: "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)";
@@ -9,12 +9,12 @@ declare const payhereCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly environment: {
12
+ readonly subdomain: {
13
13
  readonly label: "Environment";
14
14
  readonly description: "Select \"api\" for production or \"sandbox\" for testing";
15
15
  readonly default: "api";
16
16
  };
17
- readonly api_key: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "API Key";
19
19
  readonly secret: true;
20
20
  readonly description: "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)";
package/dist/catalog.mjs CHANGED
@@ -9,12 +9,12 @@ const payhereCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "environment": {
12
+ "subdomain": {
13
13
  "label": "Environment",
14
14
  "description": "Select \"api\" for production or \"sandbox\" for testing",
15
15
  "default": "api"
16
16
  },
17
- "api_key": {
17
+ "generic_api_key": {
18
18
  "label": "API Key",
19
19
  "secret": true,
20
20
  "description": "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"environment\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,eAAe;GACb,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/payhere",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"