@keystrokehq/skyfire 0.1.4 → 0.1.6

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.
Files changed (141) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/charge-token.cjs +1 -0
  4. package/dist/actions/charge-token.cjs.map +1 -1
  5. package/dist/actions/charge-token.d.cts +3 -4
  6. package/dist/actions/charge-token.d.cts.map +1 -1
  7. package/dist/actions/charge-token.d.mts +3 -4
  8. package/dist/actions/charge-token.d.mts.map +1 -1
  9. package/dist/actions/charge-token.mjs +1 -0
  10. package/dist/actions/charge-token.mjs.map +1 -1
  11. package/dist/actions/create-kya-pay-token.cjs +1 -0
  12. package/dist/actions/create-kya-pay-token.cjs.map +1 -1
  13. package/dist/actions/create-kya-pay-token.d.cts +3 -7
  14. package/dist/actions/create-kya-pay-token.d.cts.map +1 -1
  15. package/dist/actions/create-kya-pay-token.d.mts +3 -7
  16. package/dist/actions/create-kya-pay-token.d.mts.map +1 -1
  17. package/dist/actions/create-kya-pay-token.mjs +1 -0
  18. package/dist/actions/create-kya-pay-token.mjs.map +1 -1
  19. package/dist/actions/create-kya-token.cjs +1 -0
  20. package/dist/actions/create-kya-token.cjs.map +1 -1
  21. package/dist/actions/create-kya-token.d.cts +3 -6
  22. package/dist/actions/create-kya-token.d.cts.map +1 -1
  23. package/dist/actions/create-kya-token.d.mts +3 -6
  24. package/dist/actions/create-kya-token.d.mts.map +1 -1
  25. package/dist/actions/create-kya-token.mjs +1 -0
  26. package/dist/actions/create-kya-token.mjs.map +1 -1
  27. package/dist/actions/create-pay-token.cjs +1 -0
  28. package/dist/actions/create-pay-token.cjs.map +1 -1
  29. package/dist/actions/create-pay-token.d.cts +3 -6
  30. package/dist/actions/create-pay-token.d.cts.map +1 -1
  31. package/dist/actions/create-pay-token.d.mts +3 -6
  32. package/dist/actions/create-pay-token.d.mts.map +1 -1
  33. package/dist/actions/create-pay-token.mjs +1 -0
  34. package/dist/actions/create-pay-token.mjs.map +1 -1
  35. package/dist/actions/get-all-service-tags.cjs +1 -0
  36. package/dist/actions/get-all-service-tags.cjs.map +1 -1
  37. package/dist/actions/get-all-service-tags.d.cts +3 -1
  38. package/dist/actions/get-all-service-tags.d.cts.map +1 -1
  39. package/dist/actions/get-all-service-tags.d.mts +3 -1
  40. package/dist/actions/get-all-service-tags.d.mts.map +1 -1
  41. package/dist/actions/get-all-service-tags.mjs +1 -0
  42. package/dist/actions/get-all-service-tags.mjs.map +1 -1
  43. package/dist/actions/get-buyer-wallet-balance.cjs +1 -0
  44. package/dist/actions/get-buyer-wallet-balance.cjs.map +1 -1
  45. package/dist/actions/get-buyer-wallet-balance.d.cts +3 -1
  46. package/dist/actions/get-buyer-wallet-balance.d.cts.map +1 -1
  47. package/dist/actions/get-buyer-wallet-balance.d.mts +3 -1
  48. package/dist/actions/get-buyer-wallet-balance.d.mts.map +1 -1
  49. package/dist/actions/get-buyer-wallet-balance.mjs +1 -0
  50. package/dist/actions/get-buyer-wallet-balance.mjs.map +1 -1
  51. package/dist/actions/get-directory-service-by-id.cjs +1 -0
  52. package/dist/actions/get-directory-service-by-id.cjs.map +1 -1
  53. package/dist/actions/get-directory-service-by-id.d.cts +3 -3
  54. package/dist/actions/get-directory-service-by-id.d.cts.map +1 -1
  55. package/dist/actions/get-directory-service-by-id.d.mts +3 -3
  56. package/dist/actions/get-directory-service-by-id.d.mts.map +1 -1
  57. package/dist/actions/get-directory-service-by-id.mjs +1 -0
  58. package/dist/actions/get-directory-service-by-id.mjs.map +1 -1
  59. package/dist/actions/get-service.cjs +1 -0
  60. package/dist/actions/get-service.cjs.map +1 -1
  61. package/dist/actions/get-service.d.cts +3 -3
  62. package/dist/actions/get-service.d.cts.map +1 -1
  63. package/dist/actions/get-service.d.mts +3 -3
  64. package/dist/actions/get-service.d.mts.map +1 -1
  65. package/dist/actions/get-service.mjs +1 -0
  66. package/dist/actions/get-service.mjs.map +1 -1
  67. package/dist/actions/get-services-by-agent.cjs +1 -0
  68. package/dist/actions/get-services-by-agent.cjs.map +1 -1
  69. package/dist/actions/get-services-by-agent.d.cts +3 -4
  70. package/dist/actions/get-services-by-agent.d.cts.map +1 -1
  71. package/dist/actions/get-services-by-agent.d.mts +3 -4
  72. package/dist/actions/get-services-by-agent.d.mts.map +1 -1
  73. package/dist/actions/get-services-by-agent.mjs +1 -0
  74. package/dist/actions/get-services-by-agent.mjs.map +1 -1
  75. package/dist/actions/get-services-by-tags.cjs +1 -0
  76. package/dist/actions/get-services-by-tags.cjs.map +1 -1
  77. package/dist/actions/get-services-by-tags.d.cts +3 -4
  78. package/dist/actions/get-services-by-tags.d.cts.map +1 -1
  79. package/dist/actions/get-services-by-tags.d.mts +3 -4
  80. package/dist/actions/get-services-by-tags.d.mts.map +1 -1
  81. package/dist/actions/get-services-by-tags.mjs +1 -0
  82. package/dist/actions/get-services-by-tags.mjs.map +1 -1
  83. package/dist/actions/get-token-charges.cjs +1 -0
  84. package/dist/actions/get-token-charges.cjs.map +1 -1
  85. package/dist/actions/get-token-charges.d.cts +3 -3
  86. package/dist/actions/get-token-charges.d.cts.map +1 -1
  87. package/dist/actions/get-token-charges.d.mts +3 -3
  88. package/dist/actions/get-token-charges.d.mts.map +1 -1
  89. package/dist/actions/get-token-charges.mjs +1 -0
  90. package/dist/actions/get-token-charges.mjs.map +1 -1
  91. package/dist/actions/introspect-token.cjs +1 -0
  92. package/dist/actions/introspect-token.cjs.map +1 -1
  93. package/dist/actions/introspect-token.d.cts +3 -3
  94. package/dist/actions/introspect-token.d.cts.map +1 -1
  95. package/dist/actions/introspect-token.d.mts +3 -3
  96. package/dist/actions/introspect-token.d.mts.map +1 -1
  97. package/dist/actions/introspect-token.mjs +1 -0
  98. package/dist/actions/introspect-token.mjs.map +1 -1
  99. package/dist/actions/list-agent-seller-services.cjs +1 -0
  100. package/dist/actions/list-agent-seller-services.cjs.map +1 -1
  101. package/dist/actions/list-agent-seller-services.d.cts +3 -1
  102. package/dist/actions/list-agent-seller-services.d.cts.map +1 -1
  103. package/dist/actions/list-agent-seller-services.d.mts +3 -1
  104. package/dist/actions/list-agent-seller-services.d.mts.map +1 -1
  105. package/dist/actions/list-agent-seller-services.mjs +1 -0
  106. package/dist/actions/list-agent-seller-services.mjs.map +1 -1
  107. package/dist/actions/list-buyer-tokens.cjs +1 -0
  108. package/dist/actions/list-buyer-tokens.cjs.map +1 -1
  109. package/dist/actions/list-buyer-tokens.d.cts +3 -7
  110. package/dist/actions/list-buyer-tokens.d.cts.map +1 -1
  111. package/dist/actions/list-buyer-tokens.d.mts +3 -7
  112. package/dist/actions/list-buyer-tokens.d.mts.map +1 -1
  113. package/dist/actions/list-buyer-tokens.mjs +1 -0
  114. package/dist/actions/list-buyer-tokens.mjs.map +1 -1
  115. package/dist/actions/list-directory-services.cjs +1 -0
  116. package/dist/actions/list-directory-services.cjs.map +1 -1
  117. package/dist/actions/list-directory-services.d.cts +3 -8
  118. package/dist/actions/list-directory-services.d.cts.map +1 -1
  119. package/dist/actions/list-directory-services.d.mts +3 -8
  120. package/dist/actions/list-directory-services.d.mts.map +1 -1
  121. package/dist/actions/list-directory-services.mjs +1 -0
  122. package/dist/actions/list-directory-services.mjs.map +1 -1
  123. package/dist/actions/set-agent-source-ips.cjs +1 -0
  124. package/dist/actions/set-agent-source-ips.cjs.map +1 -1
  125. package/dist/actions/set-agent-source-ips.d.cts +3 -3
  126. package/dist/actions/set-agent-source-ips.d.cts.map +1 -1
  127. package/dist/actions/set-agent-source-ips.d.mts +3 -3
  128. package/dist/actions/set-agent-source-ips.d.mts.map +1 -1
  129. package/dist/actions/set-agent-source-ips.mjs +1 -0
  130. package/dist/actions/set-agent-source-ips.mjs.map +1 -1
  131. package/dist/app.cjs +5 -2
  132. package/dist/app.cjs.map +1 -1
  133. package/dist/app.d.cts +7 -1
  134. package/dist/app.d.cts.map +1 -1
  135. package/dist/app.d.mts +7 -1
  136. package/dist/app.d.mts.map +1 -1
  137. package/dist/app.mjs +3 -2
  138. package/dist/app.mjs.map +1 -1
  139. package/dist/index.d.cts +1 -1
  140. package/dist/index.d.mts +1 -1
  141. package/package.json +2 -2
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const skyfire = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const skyfire = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "skyfire",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.skyfire = skyfire;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const skyfire = defineApp({\n slug: \"skyfire\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const skyfire: KeystrokeApp<\"skyfire\", typeof credential> = defineApp({\n slug: \"skyfire\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const skyfire: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const skyfire: KeystrokeApp<"skyfire", typeof credential>;
3
9
  //#endregion
4
10
  export { skyfire };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const skyfire: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const skyfire: KeystrokeApp<"skyfire", typeof credential>;
3
9
  //#endregion
4
10
  export { skyfire };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const skyfire = defineApp({
4
4
  slug: "skyfire",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { skyfire };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const skyfire = defineApp({\n slug: \"skyfire\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const skyfire: KeystrokeApp<\"skyfire\", typeof credential> = defineApp({\n slug: \"skyfire\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { skyfire } from "./app.cjs";
1
2
  import { skyfireChargeToken } from "./actions/charge-token.cjs";
2
3
  import { skyfireCreateKyaPayToken } from "./actions/create-kya-pay-token.cjs";
3
4
  import { skyfireCreateKyaToken } from "./actions/create-kya-token.cjs";
@@ -14,6 +15,5 @@ import { skyfireListAgentSellerServices } from "./actions/list-agent-seller-serv
14
15
  import { skyfireListBuyerTokens } from "./actions/list-buyer-tokens.cjs";
15
16
  import { skyfireListDirectoryServices } from "./actions/list-directory-services.cjs";
16
17
  import { skyfireSetAgentSourceIps } from "./actions/set-agent-source-ips.cjs";
17
- import { skyfire } from "./app.cjs";
18
18
  import { skyfireCatalog } from "./catalog.cjs";
19
19
  export { skyfire, skyfireCatalog, skyfireChargeToken, skyfireCreateKyaPayToken, skyfireCreateKyaToken, skyfireCreatePayToken, skyfireGetAllServiceTags, skyfireGetBuyerWalletBalance, skyfireGetDirectoryServiceById, skyfireGetService, skyfireGetServicesByAgent, skyfireGetServicesByTags, skyfireGetTokenCharges, skyfireIntrospectToken, skyfireListAgentSellerServices, skyfireListBuyerTokens, skyfireListDirectoryServices, skyfireSetAgentSourceIps };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { skyfire } from "./app.mjs";
1
2
  import { skyfireChargeToken } from "./actions/charge-token.mjs";
2
3
  import { skyfireCreateKyaPayToken } from "./actions/create-kya-pay-token.mjs";
3
4
  import { skyfireCreateKyaToken } from "./actions/create-kya-token.mjs";
@@ -14,6 +15,5 @@ import { skyfireListAgentSellerServices } from "./actions/list-agent-seller-serv
14
15
  import { skyfireListBuyerTokens } from "./actions/list-buyer-tokens.mjs";
15
16
  import { skyfireListDirectoryServices } from "./actions/list-directory-services.mjs";
16
17
  import { skyfireSetAgentSourceIps } from "./actions/set-agent-source-ips.mjs";
17
- import { skyfire } from "./app.mjs";
18
18
  import { skyfireCatalog } from "./catalog.mjs";
19
19
  export { skyfire, skyfireCatalog, skyfireChargeToken, skyfireCreateKyaPayToken, skyfireCreateKyaToken, skyfireCreatePayToken, skyfireGetAllServiceTags, skyfireGetBuyerWalletBalance, skyfireGetDirectoryServiceById, skyfireGetService, skyfireGetServicesByAgent, skyfireGetServicesByTags, skyfireGetTokenCharges, skyfireIntrospectToken, skyfireListAgentSellerServices, skyfireListBuyerTokens, skyfireListDirectoryServices, skyfireSetAgentSourceIps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/skyfire",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {