@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.
- package/README.md +145 -2
- package/dist/.tsbuildinfo +1 -0
- package/dist/{GhostSpeakClient-CWmGaM9Q.d.ts → GhostSpeakClient-qdLGyuDp.d.ts} +11 -7
- package/dist/{StakingModule-C5rzuOWb.d.ts → StakingModule-CPhp_ZY0.d.ts} +263 -343
- package/dist/{agent-5YLZ7DAC.js → agent-S42FIMR7.js} +3 -3
- package/dist/{agent-5YLZ7DAC.js.map → agent-S42FIMR7.js.map} +1 -1
- package/dist/browser-D1TpjbjZ.d.ts +234 -0
- package/dist/browser.d.ts +4 -64
- package/dist/browser.js +9 -9
- package/dist/{chunk-SFTSZ3LC.js → chunk-46QWY3MG.js} +3 -3
- package/dist/{chunk-SFTSZ3LC.js.map → chunk-46QWY3MG.js.map} +1 -1
- package/dist/{chunk-IHVDQ4YI.js → chunk-5QZVFUXB.js} +201 -256
- package/dist/chunk-5QZVFUXB.js.map +1 -0
- package/dist/{chunk-E3FD2CNY.js → chunk-5SS3OL4B.js} +20 -24
- package/dist/chunk-5SS3OL4B.js.map +1 -0
- package/dist/{chunk-SZGFSCNU.js → chunk-63A7F2YP.js} +504 -326
- package/dist/chunk-63A7F2YP.js.map +1 -0
- package/dist/{chunk-JV2SWONF.js → chunk-A7ALCVUI.js} +3 -3
- package/dist/{chunk-JV2SWONF.js.map → chunk-A7ALCVUI.js.map} +1 -1
- package/dist/{chunk-AL3HQN73.js → chunk-AWMGX3OX.js} +172 -112
- package/dist/chunk-AWMGX3OX.js.map +1 -0
- package/dist/{chunk-G7S6B6WB.js → chunk-EU6PHSM5.js} +7 -7
- package/dist/{chunk-G7S6B6WB.js.map → chunk-EU6PHSM5.js.map} +1 -1
- package/dist/{chunk-C5CDA3WX.js → chunk-HIDBANFS.js} +529 -4
- package/dist/chunk-HIDBANFS.js.map +1 -0
- package/dist/{chunk-S74EH3KD.js → chunk-IQM5RASO.js} +637 -25
- package/dist/chunk-IQM5RASO.js.map +1 -0
- package/dist/{chunk-KB6CKIUK.js → chunk-QLRWUHN2.js} +3 -3
- package/dist/{chunk-KB6CKIUK.js.map → chunk-QLRWUHN2.js.map} +1 -1
- package/dist/{chunk-BQDGRTVP.js → chunk-QWQTPTZ4.js} +39 -51
- package/dist/chunk-QWQTPTZ4.js.map +1 -0
- package/dist/client.d.ts +3 -4
- package/dist/client.js +10 -10
- package/dist/{createAgentAuthorization-ULG47ZJI.js → createAgentAuthorization-KGZNXZBT.js} +4 -4
- package/dist/{createAgentAuthorization-ULG47ZJI.js.map → createAgentAuthorization-KGZNXZBT.js.map} +1 -1
- package/dist/generated-QJREJQ2C.js +9 -0
- package/dist/{generated-EG5USUFG.js.map → generated-QJREJQ2C.js.map} +1 -1
- package/dist/index.d.ts +345 -236
- package/dist/index.js +372 -537
- package/dist/index.js.map +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/minimal/core-minimal.d.ts +266 -189
- package/dist/minimal/core-minimal.js +6 -6
- package/dist/minimal/core-minimal.js.map +1 -1
- package/dist/{revokeAuthorization-OK7E7OK3.js → revokeAuthorization-2ZRO6GUZ.js} +4 -4
- package/dist/{revokeAuthorization-OK7E7OK3.js.map → revokeAuthorization-2ZRO6GUZ.js.map} +1 -1
- package/dist/{signature-verification-DGxR4aYQ.d.ts → signature-verification-BDzoR1MG.d.ts} +0 -5
- package/dist/{updateReputationWithAuth-Y4ONEVSP.js → updateReputationWithAuth-PCEUOCFV.js} +4 -4
- package/dist/{updateReputationWithAuth-Y4ONEVSP.js.map → updateReputationWithAuth-PCEUOCFV.js.map} +1 -1
- package/dist/utils.d.ts +143 -2
- package/dist/utils.js +10 -10
- package/dist/utils.js.map +1 -1
- package/package.json +5 -3
- package/dist/chunk-AL3HQN73.js.map +0 -1
- package/dist/chunk-BQDGRTVP.js.map +0 -1
- package/dist/chunk-C5CDA3WX.js.map +0 -1
- package/dist/chunk-E3FD2CNY.js.map +0 -1
- package/dist/chunk-IHVDQ4YI.js.map +0 -1
- package/dist/chunk-S74EH3KD.js.map +0 -1
- package/dist/chunk-SZGFSCNU.js.map +0 -1
- 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
|
|
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-
|
|
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 (
|
|
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;
|