@ghostspeak/sdk 2.0.8 → 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 (33) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/{GhostSpeakClient-bnXwUPHI.d.ts → GhostSpeakClient-qdLGyuDp.d.ts} +2 -2
  3. package/dist/{StakingModule-DunDShLq.d.ts → StakingModule-CPhp_ZY0.d.ts} +1 -1
  4. package/dist/{browser-CI5_6Gzk.d.ts → browser-D1TpjbjZ.d.ts} +3 -3
  5. package/dist/browser.d.ts +3 -2
  6. package/dist/browser.js +3 -3
  7. package/dist/{chunk-6XCCMJ6M.js → chunk-5SS3OL4B.js} +5 -5
  8. package/dist/{chunk-6XCCMJ6M.js.map → chunk-5SS3OL4B.js.map} +1 -1
  9. package/dist/{chunk-JYXSOXCP.js → chunk-63A7F2YP.js} +42 -32
  10. package/dist/chunk-63A7F2YP.js.map +1 -0
  11. package/dist/{chunk-5QBSC4T4.js → chunk-EU6PHSM5.js} +3 -3
  12. package/dist/{chunk-5QBSC4T4.js.map → chunk-EU6PHSM5.js.map} +1 -1
  13. package/dist/{chunk-OXA7MECJ.js → chunk-HIDBANFS.js} +56 -4
  14. package/dist/chunk-HIDBANFS.js.map +1 -0
  15. package/dist/{chunk-BQDGRTVP.js → chunk-QWQTPTZ4.js} +39 -51
  16. package/dist/chunk-QWQTPTZ4.js.map +1 -0
  17. package/dist/client.d.ts +3 -3
  18. package/dist/client.js +4 -4
  19. package/dist/index.d.ts +142 -11
  20. package/dist/index.js +149 -24
  21. package/dist/index.js.map +1 -1
  22. package/dist/metafile-esm.json +1 -1
  23. package/dist/minimal/core-minimal.d.ts +0 -5
  24. package/dist/minimal/core-minimal.js +6 -6
  25. package/dist/minimal/core-minimal.js.map +1 -1
  26. package/dist/{signature-verification-DGxR4aYQ.d.ts → signature-verification-BDzoR1MG.d.ts} +0 -5
  27. package/dist/utils.d.ts +143 -2
  28. package/dist/utils.js +4 -4
  29. package/dist/utils.js.map +1 -1
  30. package/package.json +5 -3
  31. package/dist/chunk-BQDGRTVP.js.map +0 -1
  32. package/dist/chunk-JYXSOXCP.js.map +0 -1
  33. package/dist/chunk-OXA7MECJ.js.map +0 -1
@@ -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 GhostModule, b as GovernanceModule, M as MultisigModule, R as ReputationModule, D as DidModule, S as StakingModule } from './StakingModule-DunDShLq.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
@@ -2443,4 +2443,4 @@ declare class StakingModule extends BaseModule {
2443
2443
  getStakingConfig(stakingConfigAddress: Address$1): Promise<StakingConfig | null>;
2444
2444
  }
2445
2445
 
2446
- export { type DeactivateDidDocumentParams as $, AgentModule as A, BaseModule as B, CacheManager as C, DidModule as D, type ExtendedRpcApi as E, isDidActive as F, type GhostSpeakConfig as G, getMethodsForRelationship as H, InstructionBuilder as I, canPerformAction as J, didDocumentToJson as K, getNetworkFromDid as L, MultisigModule as M, type Network as N, getIdentifierFromDid as O, type PricingModelArgs as P, type DidDocument as Q, ReputationModule as R, StakingModule as S, type VerificationMethod as T, type ServiceEndpoint as U, VerificationMethodType as V, type W3CVerifiableCredential as W, type DidResolutionMetadata as X, type W3CDidDocument as Y, type CreateDidDocumentParams as Z, type UpdateDidDocumentParams as _, GhostModule as a, type ResolveDidDocumentParams as a0, type ReputationData as a1, type PayAIReputationRecordInput as a2, type AgentWithAddress as a3, type AgentRegistrationData as a4, type AgentAccount as a5, PricingModel as a6, GhostSpeakError as a7, type RegisterAgentParams as a8, type RpcResponse as a9, type RpcAccountInfo as aa, type RpcProgramAccount as ab, type RpcProgramAccountsResponse as ac, type RpcAccountInfoResponse as ad, type RpcMultipleAccountsResponse as ae, type TransactionResponse as af, type SimulatedTransactionResponse as ag, type SolanaRpcClient as ah, type EmergencyConfig as ai, type Commitment as aj, type RetryConfig as ak, type RpcApi as al, type RpcSubscriptionApi as am, type StakingAccount as an, type StakingConfig as ao, getAgentDecoder as ap, decodeAgent as aq, fetchAgent as ar, fetchMaybeAgent as as, getStakingAccountDecoder as at, getStakingConfigDecoder as au, type Agent as av, GovernanceModule as b, AccessTier as c, GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS as d, type CacheConfig as e, type ClaimGhostParams as f, type PreparedClaimResult as g, type CreateProposalParams as h, type ProposalType as i, type ExecutionParams as j, CredentialModule as k, CredentialKind as l, CredentialStatus as m, type Credential as n, type CredentialTemplate as o, VerificationRelationship as p, ServiceEndpointType as q, DidError as r, DidErrorClass as s, deriveDidDocumentPda as t, generateDidString as u, validateDidString as v, parseDidString as w, exportAsW3CDidDocument as x, createEd25519VerificationMethod as y, createServiceEndpoint as z };
2446
+ export { type W3CDidDocument as $, AgentModule as A, BaseModule as B, CacheManager as C, DidModule as D, type ExtendedRpcApi as E, createEd25519VerificationMethod as F, type GhostSpeakConfig as G, createServiceEndpoint as H, InstructionBuilder as I, isDidActive as J, getMethodsForRelationship as K, canPerformAction as L, MultisigModule as M, type Network as N, didDocumentToJson as O, type PricingModelArgs as P, getNetworkFromDid as Q, ReputationModule as R, StakingModule as S, getIdentifierFromDid as T, type UnstakeParams as U, VerificationMethodType as V, type W3CVerifiableCredential as W, type DidDocument as X, type VerificationMethod as Y, type ServiceEndpoint as Z, type DidResolutionMetadata as _, GhostModule as a, type CreateDidDocumentParams as a0, type UpdateDidDocumentParams as a1, type DeactivateDidDocumentParams as a2, type ResolveDidDocumentParams as a3, type ReputationData as a4, type PayAIReputationRecordInput as a5, type AgentWithAddress as a6, type AgentRegistrationData as a7, type AgentAccount as a8, PricingModel as a9, GhostSpeakError as aa, type RegisterAgentParams as ab, type RpcResponse as ac, type RpcAccountInfo as ad, type RpcProgramAccount as ae, type RpcProgramAccountsResponse as af, type RpcAccountInfoResponse as ag, type RpcMultipleAccountsResponse as ah, type TransactionResponse as ai, type SimulatedTransactionResponse as aj, type SolanaRpcClient as ak, type EmergencyConfig as al, type Commitment as am, type RetryConfig as an, type RpcApi as ao, type RpcSubscriptionApi as ap, type StakingAccount as aq, type StakingConfig as ar, getAgentDecoder as as, decodeAgent as at, fetchAgent as au, fetchMaybeAgent as av, getStakingAccountDecoder as aw, getStakingConfigDecoder as ax, type Agent as ay, GovernanceModule as b, AccessTier as c, GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS as d, type CacheConfig as e, type ClaimGhostParams as f, type PreparedClaimResult as g, type StakeParams as h, type InitializeStakingConfigParams as i, type CreateProposalParams as j, type ProposalType as k, type ExecutionParams as l, CredentialModule as m, CredentialKind as n, CredentialStatus as o, type Credential as p, type CredentialTemplate as q, VerificationRelationship as r, ServiceEndpointType as s, DidError as t, DidErrorClass as u, deriveDidDocumentPda as v, generateDidString as w, validateDidString as x, parseDidString as y, exportAsW3CDidDocument as z };
@@ -1,5 +1,5 @@
1
- import './StakingModule-DunDShLq.js';
2
- import * as _solana_addresses from '@solana/addresses';
1
+ import './StakingModule-CPhp_ZY0.js';
2
+ import * as gill from 'gill';
3
3
  import { Address } from '@solana/addresses';
4
4
  import './pda-Ce7VYg4T.js';
5
5
  import './reputation-types-Yebf0Rm_.js';
@@ -182,7 +182,7 @@ declare class SASAttestationHelper {
182
182
  * Deployed on devnet - December 30, 2025
183
183
  * Deployment signature: 5zdU8HdtenhgwDmeEJu2ZPrQwoG9gztHHM5Ft6URxCzTj7m4y9ZkvmVKrpvMK41skcHvh8xa7ckNuUkQwPsierJr
184
184
  */
185
- declare const GHOSTSPEAK_PROGRAM_ID: _solana_addresses.Address<"4wHjA2a5YC4twZb4NQpwZpixo5FgxxzuJUrCG7UnF9pB">;
185
+ declare const GHOSTSPEAK_PROGRAM_ID: gill.Address<"4wHjA2a5YC4twZb4NQpwZpixo5FgxxzuJUrCG7UnF9pB">;
186
186
  /**
187
187
  * Network-specific configurations
188
188
  */
package/dist/browser.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- export { av as Agent, A as AgentModule, k as CredentialsModule, a as GhostModule, G as GhostSpeakConfig, b as GovernanceModule, M as MultisigModule, a1 as ReputationData, R as ReputationModule, S as StakingModule } from './StakingModule-DunDShLq.js';
2
- export { h as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, f as GHOSTSPEAK_PROGRAM_ID, N as NATIVE_MINT_ADDRESS, i as NETWORK_CONFIG, S as SASAttestationHelper, g as TOKEN_2022_PROGRAM_ADDRESS, T as TOKEN_PROGRAM_ADDRESS } from './browser-CI5_6Gzk.js';
1
+ export { ay as Agent, A as AgentModule, m as CredentialsModule, a as GhostModule, G as GhostSpeakConfig, b as GovernanceModule, M as MultisigModule, a4 as ReputationData, R as ReputationModule, S as StakingModule } from './StakingModule-CPhp_ZY0.js';
2
+ export { h as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, f as GHOSTSPEAK_PROGRAM_ID, N as NATIVE_MINT_ADDRESS, i as NETWORK_CONFIG, S as SASAttestationHelper, g as TOKEN_2022_PROGRAM_ADDRESS, T as TOKEN_PROGRAM_ADDRESS } from './browser-D1TpjbjZ.js';
3
3
  export { d as deriveAgentPda, a as deriveUserRegistryPda } from './pda-Ce7VYg4T.js';
4
4
  export { B as BadgeType, o as CategoryReputation, G as GovernanceProposal, J as JobPerformance, s as REPUTATION_CONSTANTS, a as ReputationCalculationResult, p as ReputationTier } from './reputation-types-Yebf0Rm_.js';
5
5
  import '@solana/addresses';
6
6
  import '@solana/kit';
7
7
  import './types.js';
8
+ import 'gill';
package/dist/browser.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { GHOSTSPEAK_PROGRAM_ID, NETWORK_CONFIG } from './chunk-TTB4OS2D.js';
2
- import { init_MultiSourceAggregator } from './chunk-JYXSOXCP.js';
3
- export { AgentModule, CredentialModule as CredentialsModule, GhostModule, GovernanceModule, MultisigModule, ReputationModule, SASAttestationHelper, StakingModule } from './chunk-JYXSOXCP.js';
2
+ import { init_MultiSourceAggregator } from './chunk-63A7F2YP.js';
3
+ export { AgentModule, CredentialModule as CredentialsModule, GhostModule, GovernanceModule, MultisigModule, ReputationModule, SASAttestationHelper, StakingModule } from './chunk-63A7F2YP.js';
4
4
  export { deriveAgentPda, deriveUserRegistryPda } from './chunk-BF3IQ35I.js';
5
- export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BadgeType, NATIVE_MINT_ADDRESS, REPUTATION_CONSTANTS, ReputationTier, TOKEN_2022_PROGRAM_ADDRESS, TOKEN_PROGRAM_ADDRESS } from './chunk-OXA7MECJ.js';
5
+ export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BadgeType, NATIVE_MINT_ADDRESS, REPUTATION_CONSTANTS, ReputationTier, TOKEN_2022_PROGRAM_ADDRESS, TOKEN_PROGRAM_ADDRESS } from './chunk-HIDBANFS.js';
6
6
  import './chunk-IQM5RASO.js';
7
7
  import './chunk-5QZVFUXB.js';
8
8
  import './chunk-46QWY3MG.js';
@@ -1,6 +1,6 @@
1
- import { CredentialModule, BaseModule, generateDidString, validateDidString, deriveDidDocumentPda, parseDidString, didDocumentToJson, exportAsW3CDidDocument, isDidActive, createEd25519VerificationMethod, createServiceEndpoint, AgentModule, GhostModule, GovernanceModule, MultisigModule, ReputationModule, init_MultiSourceAggregator, MultiSourceAggregator_exports, StakingModule } from './chunk-JYXSOXCP.js';
2
- import { createSignedAuthorization, verifyAuthorizationSignature, isAuthorizationExpired, isAuthorizationExhausted, serializeAuthorization, deserializeAuthorization, getAuthorizationId } from './chunk-BQDGRTVP.js';
3
- import { PRIVACY_CONSTANTS, PrivacyPresets, init_reputation_tag_engine, reputation_tag_engine_exports } from './chunk-OXA7MECJ.js';
1
+ import { CredentialModule, BaseModule, generateDidString, validateDidString, deriveDidDocumentPda, parseDidString, didDocumentToJson, exportAsW3CDidDocument, isDidActive, createEd25519VerificationMethod, createServiceEndpoint, AgentModule, GhostModule, GovernanceModule, MultisigModule, ReputationModule, init_MultiSourceAggregator, MultiSourceAggregator_exports, StakingModule } from './chunk-63A7F2YP.js';
2
+ import { createSignedAuthorization, verifyAuthorizationSignature, isAuthorizationExpired, isAuthorizationExhausted, serializeAuthorization, deserializeAuthorization, getAuthorizationId } from './chunk-QWQTPTZ4.js';
3
+ import { PRIVACY_CONSTANTS, PrivacyPresets, init_reputation_tag_engine, reputation_tag_engine_exports } from './chunk-HIDBANFS.js';
4
4
  import { GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS } from './chunk-AWMGX3OX.js';
5
5
  import { CrossmintVCClient } from './chunk-RIZZPLLB.js';
6
6
  import { __toCommonJS } from './chunk-UP2VWCW5.js';
@@ -1861,5 +1861,5 @@ function lamportsToSol(lamports) {
1861
1861
  var GhostSpeakClient_default = GhostSpeakClient;
1862
1862
 
1863
1863
  export { AuthorizationModule, DidModule, GhostSpeakClient, GhostSpeakClient_default, PrivacyModule, UnifiedCredentialService, calculateVisibleScore, canViewerAccess, filterMetricsByVisibility, getDefaultMetricVisibility, getRangeDisplayString, getReputationTier, getScoreRange, getTierDisplayName, lamportsToSol, sol, validatePrivacySettings };
1864
- //# sourceMappingURL=chunk-6XCCMJ6M.js.map
1865
- //# sourceMappingURL=chunk-6XCCMJ6M.js.map
1864
+ //# sourceMappingURL=chunk-5SS3OL4B.js.map
1865
+ //# sourceMappingURL=chunk-5SS3OL4B.js.map