@ghostspeak/sdk 2.0.7 → 2.0.10

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 (61) hide show
  1. package/README.md +145 -2
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/{GhostSpeakClient-CWmGaM9Q.d.ts → GhostSpeakClient-qdLGyuDp.d.ts} +11 -7
  4. package/dist/{StakingModule-C5rzuOWb.d.ts → StakingModule-CPhp_ZY0.d.ts} +263 -343
  5. package/dist/{agent-5YLZ7DAC.js → agent-S42FIMR7.js} +3 -3
  6. package/dist/{agent-5YLZ7DAC.js.map → agent-S42FIMR7.js.map} +1 -1
  7. package/dist/browser-D1TpjbjZ.d.ts +234 -0
  8. package/dist/browser.d.ts +4 -64
  9. package/dist/browser.js +9 -9
  10. package/dist/{chunk-SFTSZ3LC.js → chunk-46QWY3MG.js} +3 -3
  11. package/dist/{chunk-SFTSZ3LC.js.map → chunk-46QWY3MG.js.map} +1 -1
  12. package/dist/{chunk-IHVDQ4YI.js → chunk-5QZVFUXB.js} +201 -256
  13. package/dist/chunk-5QZVFUXB.js.map +1 -0
  14. package/dist/{chunk-E3FD2CNY.js → chunk-5SS3OL4B.js} +20 -24
  15. package/dist/chunk-5SS3OL4B.js.map +1 -0
  16. package/dist/{chunk-SZGFSCNU.js → chunk-63A7F2YP.js} +504 -326
  17. package/dist/chunk-63A7F2YP.js.map +1 -0
  18. package/dist/{chunk-JV2SWONF.js → chunk-A7ALCVUI.js} +3 -3
  19. package/dist/{chunk-JV2SWONF.js.map → chunk-A7ALCVUI.js.map} +1 -1
  20. package/dist/{chunk-AL3HQN73.js → chunk-AWMGX3OX.js} +172 -112
  21. package/dist/chunk-AWMGX3OX.js.map +1 -0
  22. package/dist/{chunk-G7S6B6WB.js → chunk-EU6PHSM5.js} +7 -7
  23. package/dist/{chunk-G7S6B6WB.js.map → chunk-EU6PHSM5.js.map} +1 -1
  24. package/dist/{chunk-C5CDA3WX.js → chunk-HIDBANFS.js} +529 -4
  25. package/dist/chunk-HIDBANFS.js.map +1 -0
  26. package/dist/{chunk-S74EH3KD.js → chunk-IQM5RASO.js} +637 -25
  27. package/dist/chunk-IQM5RASO.js.map +1 -0
  28. package/dist/{chunk-KB6CKIUK.js → chunk-QLRWUHN2.js} +3 -3
  29. package/dist/{chunk-KB6CKIUK.js.map → chunk-QLRWUHN2.js.map} +1 -1
  30. package/dist/{chunk-BQDGRTVP.js → chunk-QWQTPTZ4.js} +39 -51
  31. package/dist/chunk-QWQTPTZ4.js.map +1 -0
  32. package/dist/client.d.ts +3 -4
  33. package/dist/client.js +10 -10
  34. package/dist/{createAgentAuthorization-ULG47ZJI.js → createAgentAuthorization-KGZNXZBT.js} +4 -4
  35. package/dist/{createAgentAuthorization-ULG47ZJI.js.map → createAgentAuthorization-KGZNXZBT.js.map} +1 -1
  36. package/dist/generated-QJREJQ2C.js +9 -0
  37. package/dist/{generated-EG5USUFG.js.map → generated-QJREJQ2C.js.map} +1 -1
  38. package/dist/index.d.ts +345 -236
  39. package/dist/index.js +372 -537
  40. package/dist/index.js.map +1 -1
  41. package/dist/metafile-esm.json +1 -1
  42. package/dist/minimal/core-minimal.d.ts +266 -189
  43. package/dist/minimal/core-minimal.js +6 -6
  44. package/dist/minimal/core-minimal.js.map +1 -1
  45. package/dist/{revokeAuthorization-OK7E7OK3.js → revokeAuthorization-2ZRO6GUZ.js} +4 -4
  46. package/dist/{revokeAuthorization-OK7E7OK3.js.map → revokeAuthorization-2ZRO6GUZ.js.map} +1 -1
  47. package/dist/{signature-verification-DGxR4aYQ.d.ts → signature-verification-BDzoR1MG.d.ts} +0 -5
  48. package/dist/{updateReputationWithAuth-Y4ONEVSP.js → updateReputationWithAuth-PCEUOCFV.js} +4 -4
  49. package/dist/{updateReputationWithAuth-Y4ONEVSP.js.map → updateReputationWithAuth-PCEUOCFV.js.map} +1 -1
  50. package/dist/utils.d.ts +143 -2
  51. package/dist/utils.js +10 -10
  52. package/dist/utils.js.map +1 -1
  53. package/package.json +5 -3
  54. package/dist/chunk-AL3HQN73.js.map +0 -1
  55. package/dist/chunk-BQDGRTVP.js.map +0 -1
  56. package/dist/chunk-C5CDA3WX.js.map +0 -1
  57. package/dist/chunk-E3FD2CNY.js.map +0 -1
  58. package/dist/chunk-IHVDQ4YI.js.map +0 -1
  59. package/dist/chunk-S74EH3KD.js.map +0 -1
  60. package/dist/chunk-SZGFSCNU.js.map +0 -1
  61. package/dist/generated-EG5USUFG.js +0 -9
@@ -1,9 +1,9 @@
1
1
  import { TransactionSigner } from '@solana/kit';
2
2
  import { G as GovernanceProposal, V as VoteChoice } from './reputation-types-Yebf0Rm_.js';
3
3
  import { Address } from '@solana/addresses';
4
- import { W as W3CVerifiableCredential, B as BaseModule, G as GhostSpeakConfig, A as AgentModule, a as GovernanceModule, M as MultisigModule, P as PayAIClient, R as ReputationModule, D as DidModule, S as StakingModule } from './StakingModule-C5rzuOWb.js';
4
+ import { W as W3CVerifiableCredential, B as BaseModule, G as GhostSpeakConfig, A as AgentModule, a as GhostModule, b as GovernanceModule, M as MultisigModule, R as ReputationModule, D as DidModule, S as StakingModule } from './StakingModule-CPhp_ZY0.js';
5
5
  import { CrossmintClientOptions } from './credentials.js';
6
- import { C as CreateAuthorizationParams, S as SigningKeypair, R as ReputationAuthorization, O as OnChainStorageConfig, A as AuthorizationStatus, k as AuthorizationWithStatus, l as AuthorizationFilter } from './signature-verification-DGxR4aYQ.js';
6
+ import { C as CreateAuthorizationParams, S as SigningKeypair, R as ReputationAuthorization, O as OnChainStorageConfig, A as AuthorizationStatus, k as AuthorizationWithStatus, l as AuthorizationFilter } from './signature-verification-BDzoR1MG.js';
7
7
 
8
8
  /**
9
9
  * Privacy mode for reputation display
@@ -748,6 +748,14 @@ declare class GhostSpeakClient {
748
748
  * Direct access to Agent Module for read operations
749
749
  */
750
750
  get agents(): AgentModule;
751
+ /**
752
+ * Direct access to Ghost Module for claiming external agents
753
+ *
754
+ * Ghosts are external AI agents (type 10) that exist on x402 facilitators.
755
+ * They can be claimed using Solana Attestation Service (SAS)
756
+ * for trustless ownership verification.
757
+ */
758
+ get ghosts(): GhostModule;
751
759
  /**
752
760
  * Direct access to Governance Module for read operations
753
761
  */
@@ -760,10 +768,6 @@ declare class GhostSpeakClient {
760
768
  * Agent operations
761
769
  */
762
770
  agent(): AgentBuilder;
763
- /**
764
- * PayAI operations (x402 payments)
765
- */
766
- payai(): PayAIClient;
767
771
  /**
768
772
  * Reputation operations
769
773
  */
@@ -778,7 +782,7 @@ declare class GhostSpeakClient {
778
782
  /**
779
783
  * Multi-Source Reputation Aggregator (Pillar 3: External Sources)
780
784
  *
781
- * Aggregate reputation data from multiple sources (PayAI, GitHub, custom webhooks)
785
+ * Aggregate reputation data from multiple sources (x402, GitHub, custom webhooks)
782
786
  * with weighted scoring and conflict detection.
783
787
  */
784
788
  reputationAggregator(): any;