@hashgraphonline/standards-sdk 0.1.146-chore-jsr-improvements.canary.6bc8731.90 → 0.1.146-chore-jsr-improvements.canary.46c0c0f.91
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/cjs/jsr-entry.d.ts +30 -10
- package/dist/cjs/jsr-entry.d.ts.map +1 -1
- package/dist/es/jsr-entry.d.ts +30 -10
- package/dist/es/jsr-entry.d.ts.map +1 -1
- package/dist/es/standards-sdk.es101.js +1 -1
- package/dist/es/standards-sdk.es103.js +1 -1
- package/dist/es/standards-sdk.es109.js +1 -1
- package/dist/es/standards-sdk.es11.js +1 -1
- package/dist/es/standards-sdk.es12.js +1 -1
- package/dist/es/standards-sdk.es124.js +1 -1
- package/dist/es/standards-sdk.es125.js +1 -1
- package/dist/es/standards-sdk.es127.js +1 -1
- package/dist/es/standards-sdk.es128.js +1 -1
- package/dist/es/standards-sdk.es129.js +1 -1
- package/dist/es/standards-sdk.es130.js +1 -1
- package/dist/es/standards-sdk.es131.js +1 -1
- package/dist/es/standards-sdk.es132.js +1 -1
- package/dist/es/standards-sdk.es133.js +1 -1
- package/dist/es/standards-sdk.es134.js +1 -1
- package/dist/es/standards-sdk.es135.js +1 -1
- package/dist/es/standards-sdk.es147.js +105 -12256
- package/dist/es/standards-sdk.es147.js.map +1 -1
- package/dist/es/standards-sdk.es148.js +42 -959
- package/dist/es/standards-sdk.es148.js.map +1 -1
- package/dist/es/standards-sdk.es149.js +959 -138
- package/dist/es/standards-sdk.es149.js.map +1 -1
- package/dist/es/standards-sdk.es150.js +12280 -33
- package/dist/es/standards-sdk.es150.js.map +1 -1
- package/dist/es/standards-sdk.es16.js +1 -1
- package/dist/es/standards-sdk.es18.js +4 -4
- package/dist/es/standards-sdk.es19.js +2 -2
- package/dist/es/standards-sdk.es22.js +1 -1
- package/dist/es/standards-sdk.es27.js +3 -3
- package/dist/es/standards-sdk.es30.js +1 -1
- package/dist/es/standards-sdk.es31.js +1 -1
- package/dist/es/standards-sdk.es35.js +2 -2
- package/dist/es/standards-sdk.es36.js +3 -3
- package/dist/es/standards-sdk.es37.js +1 -1
- package/dist/es/standards-sdk.es4.js +1 -1
- package/dist/es/standards-sdk.es53.js +1 -1
- package/dist/es/standards-sdk.es60.js +2 -2
- package/dist/es/standards-sdk.es65.js +1 -1
- package/dist/es/standards-sdk.es68.js +2 -2
- package/dist/es/standards-sdk.es69.js +1 -1
- package/dist/es/standards-sdk.es7.js +1 -1
- package/dist/es/standards-sdk.es71.js +1 -1
- package/dist/es/standards-sdk.es76.js +1 -1
- package/dist/es/standards-sdk.es77.js +1 -1
- package/dist/es/standards-sdk.es78.js +1 -1
- package/dist/es/standards-sdk.es81.js +1 -1
- package/dist/es/standards-sdk.es83.js +1 -1
- package/dist/es/standards-sdk.es87.js +1 -1
- package/dist/es/standards-sdk.es91.js +1 -1
- package/dist/es/standards-sdk.es92.js +1 -1
- package/dist/es/standards-sdk.es97.js +1 -1
- package/dist/es/standards-sdk.es99.js +1 -1
- package/package.json +1 -1
package/dist/cjs/jsr-entry.d.ts
CHANGED
|
@@ -1,16 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* JSR
|
|
2
|
+
* JSR entry point for @hol-org/standards-sdk
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Full SDK for Hashgraph Consensus Standards including:
|
|
5
|
+
* - HCS-10: Agent Communication
|
|
6
|
+
* - HCS-11: Profiles & Identity
|
|
7
|
+
* - HCS-15: Petals (Profile Accounts)
|
|
8
|
+
* - HCS-16: Floras (AppNet Accounts)
|
|
9
|
+
* - Registry Broker Client
|
|
10
|
+
* - Inscribe utilities
|
|
11
|
+
* - And more
|
|
6
12
|
*
|
|
7
|
-
* For
|
|
13
|
+
* For npm:
|
|
8
14
|
* npm install @hashgraphonline/standards-sdk
|
|
9
15
|
*/
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
+
export * from './hcs-2';
|
|
17
|
+
export * from './hcs-3/src';
|
|
18
|
+
export * from './hcs-5';
|
|
19
|
+
export * from './hcs-6';
|
|
20
|
+
export * from './hcs-7';
|
|
21
|
+
export * from './hcs-10';
|
|
22
|
+
export * from './hcs-11';
|
|
23
|
+
export * from './hcs-12';
|
|
24
|
+
export * from './hcs-14';
|
|
25
|
+
export * from './hcs-15';
|
|
26
|
+
export * from './hcs-16';
|
|
27
|
+
export * from './hcs-17';
|
|
28
|
+
export * from './hcs-18';
|
|
29
|
+
export * from './hcs-20';
|
|
30
|
+
export * from './hcs-21';
|
|
31
|
+
export * from './utils';
|
|
32
|
+
export * from './inscribe';
|
|
33
|
+
export * from './services';
|
|
34
|
+
export * from './fees';
|
|
35
|
+
export * from './content-store';
|
|
16
36
|
//# sourceMappingURL=jsr-entry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsr-entry.d.ts","sourceRoot":"","sources":["../../src/jsr-entry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"jsr-entry.d.ts","sourceRoot":"","sources":["../../src/jsr-entry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
|
package/dist/es/jsr-entry.d.ts
CHANGED
|
@@ -1,16 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* JSR
|
|
2
|
+
* JSR entry point for @hol-org/standards-sdk
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Full SDK for Hashgraph Consensus Standards including:
|
|
5
|
+
* - HCS-10: Agent Communication
|
|
6
|
+
* - HCS-11: Profiles & Identity
|
|
7
|
+
* - HCS-15: Petals (Profile Accounts)
|
|
8
|
+
* - HCS-16: Floras (AppNet Accounts)
|
|
9
|
+
* - Registry Broker Client
|
|
10
|
+
* - Inscribe utilities
|
|
11
|
+
* - And more
|
|
6
12
|
*
|
|
7
|
-
* For
|
|
13
|
+
* For npm:
|
|
8
14
|
* npm install @hashgraphonline/standards-sdk
|
|
9
15
|
*/
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
+
export * from './hcs-2';
|
|
17
|
+
export * from './hcs-3/src';
|
|
18
|
+
export * from './hcs-5';
|
|
19
|
+
export * from './hcs-6';
|
|
20
|
+
export * from './hcs-7';
|
|
21
|
+
export * from './hcs-10';
|
|
22
|
+
export * from './hcs-11';
|
|
23
|
+
export * from './hcs-12';
|
|
24
|
+
export * from './hcs-14';
|
|
25
|
+
export * from './hcs-15';
|
|
26
|
+
export * from './hcs-16';
|
|
27
|
+
export * from './hcs-17';
|
|
28
|
+
export * from './hcs-18';
|
|
29
|
+
export * from './hcs-20';
|
|
30
|
+
export * from './hcs-21';
|
|
31
|
+
export * from './utils';
|
|
32
|
+
export * from './inscribe';
|
|
33
|
+
export * from './services';
|
|
34
|
+
export * from './fees';
|
|
35
|
+
export * from './content-store';
|
|
16
36
|
//# sourceMappingURL=jsr-entry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsr-entry.d.ts","sourceRoot":"","sources":["../../src/jsr-entry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"jsr-entry.d.ts","sourceRoot":"","sources":["../../src/jsr-entry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Client } from "@hashgraph/sdk";
|
|
2
2
|
import { Logger } from "./standards-sdk.es105.js";
|
|
3
|
-
import { createNodeOperatorContext } from "./standards-sdk.
|
|
3
|
+
import { createNodeOperatorContext } from "./standards-sdk.es147.js";
|
|
4
4
|
import { buildHcs18CreateDiscoveryTopicTx, buildHcs18AnnounceMessage, buildHcs18SubmitDiscoveryMessageTx, buildHcs18ProposeMessage, buildHcs18RespondMessage, buildHcs18CompleteMessage, buildHcs18WithdrawMessage } from "./standards-sdk.es103.js";
|
|
5
5
|
import { HCS18BaseClient } from "./standards-sdk.es104.js";
|
|
6
6
|
class HCS18Client extends HCS18BaseClient {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TopicMessageSubmitTransaction } from "@hashgraph/sdk";
|
|
2
2
|
import { DiscoveryOperation } from "./standards-sdk.es100.js";
|
|
3
|
-
import { buildTopicCreateTx } from "./standards-sdk.
|
|
3
|
+
import { buildTopicCreateTx } from "./standards-sdk.es148.js";
|
|
4
4
|
function buildHcs18DiscoveryMemo(ttlSeconds, memoOverride) {
|
|
5
5
|
if (memoOverride && memoOverride.trim().length > 0) {
|
|
6
6
|
return memoOverride;
|
|
@@ -13,7 +13,7 @@ import "buffer";
|
|
|
13
13
|
import "crypto";
|
|
14
14
|
import "@noble/curves/secp256k1.js";
|
|
15
15
|
import "zod";
|
|
16
|
-
import "./standards-sdk.
|
|
16
|
+
import "./standards-sdk.es149.js";
|
|
17
17
|
import "./standards-sdk.es138.js";
|
|
18
18
|
class HRLResolver {
|
|
19
19
|
constructor(logLevel = "info") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, PrivateKey } from "@hashgraph/sdk";
|
|
2
2
|
import { HCS7BaseClient } from "./standards-sdk.es9.js";
|
|
3
|
-
import { createNodeOperatorContext } from "./standards-sdk.
|
|
3
|
+
import { createNodeOperatorContext } from "./standards-sdk.es147.js";
|
|
4
4
|
import { buildHcs7CreateRegistryTx, buildHcs7SubmitMessageTx } from "./standards-sdk.es12.js";
|
|
5
5
|
class HCS7Client extends HCS7BaseClient {
|
|
6
6
|
constructor(config) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildTopicCreateTx, buildMessageTx } from "./standards-sdk.
|
|
1
|
+
import { buildTopicCreateTx, buildMessageTx } from "./standards-sdk.es148.js";
|
|
2
2
|
import { HCS7ConfigType, HCS7Operation } from "./standards-sdk.es8.js";
|
|
3
3
|
function buildHcs7CreateRegistryTx(params) {
|
|
4
4
|
const memo = `hcs-7:indexed:${params.ttl}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InscriptionSDK } from "./standards-sdk.
|
|
1
|
+
import { InscriptionSDK } from "./standards-sdk.es150.js";
|
|
2
2
|
import { Logger } from "./standards-sdk.es105.js";
|
|
3
3
|
import { ProgressReporter } from "./standards-sdk.es108.js";
|
|
4
4
|
import { TransactionParser } from "./standards-sdk.es110.js";
|
|
@@ -2,7 +2,7 @@ import * as path from "path";
|
|
|
2
2
|
import { Buffer } from "buffer";
|
|
3
3
|
import { randomBytes } from "crypto";
|
|
4
4
|
import { secp256k1 } from "@noble/curves/secp256k1.js";
|
|
5
|
-
import { registerEncryptionKeyResponseSchema } from "./standards-sdk.
|
|
5
|
+
import { registerEncryptionKeyResponseSchema } from "./standards-sdk.es149.js";
|
|
6
6
|
import { optionalImport } from "./standards-sdk.es153.js";
|
|
7
7
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
8
8
|
const getFs = async () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { searchResponseSchema, statsResponseSchema, registriesResponseSchema, additionalRegistryCatalogResponseSchema, popularResponseSchema, protocolsResponseSchema, detectProtocolResponseSchema, registrySearchByNamespaceSchema, vectorSearchResponseSchema, searchStatusResponseSchema, websocketStatsResponseSchema, metricsSummaryResponseSchema, searchFacetsResponseSchema } from "./standards-sdk.
|
|
1
|
+
import { searchResponseSchema, statsResponseSchema, registriesResponseSchema, additionalRegistryCatalogResponseSchema, popularResponseSchema, protocolsResponseSchema, detectProtocolResponseSchema, registrySearchByNamespaceSchema, vectorSearchResponseSchema, searchStatusResponseSchema, websocketStatsResponseSchema, metricsSummaryResponseSchema, searchFacetsResponseSchema } from "./standards-sdk.es149.js";
|
|
2
2
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
3
3
|
import { buildSearchQuery } from "./standards-sdk.es160.js";
|
|
4
4
|
import { RegistryBrokerError } from "./standards-sdk.es136.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adaptersResponseSchema, adapterDetailsResponseSchema, adapterRegistryCategoriesResponseSchema, adapterRegistryAdaptersResponseSchema, adapterRegistryCreateCategoryResponseSchema, adapterRegistrySubmitAdapterAcceptedResponseSchema, adapterRegistrySubmissionStatusResponseSchema } from "./standards-sdk.
|
|
1
|
+
import { adaptersResponseSchema, adapterDetailsResponseSchema, adapterRegistryCategoriesResponseSchema, adapterRegistryAdaptersResponseSchema, adapterRegistryCreateCategoryResponseSchema, adapterRegistrySubmitAdapterAcceptedResponseSchema, adapterRegistrySubmissionStatusResponseSchema } from "./standards-sdk.es149.js";
|
|
2
2
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
3
3
|
import { toJsonObject } from "./standards-sdk.es160.js";
|
|
4
4
|
RegistryBrokerClient.prototype.adapters = async function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { creditPurchaseResponseSchema, x402MinimumsResponseSchema, x402CreditPurchaseResponseSchema } from "./standards-sdk.
|
|
1
|
+
import { creditPurchaseResponseSchema, x402MinimumsResponseSchema, x402CreditPurchaseResponseSchema } from "./standards-sdk.es149.js";
|
|
2
2
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
3
3
|
import { normalizeHexPrivateKey } from "./standards-sdk.es160.js";
|
|
4
4
|
import { optionalImport } from "./standards-sdk.es153.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveResponseSchema, registrationQuoteResponseSchema, registerAgentResponseSchema, registrationProgressResponseSchema, uaidValidationResponseSchema, uaidConnectionStatusSchema, dashboardStatsResponseSchema } from "./standards-sdk.
|
|
1
|
+
import { resolveResponseSchema, registrationQuoteResponseSchema, registerAgentResponseSchema, registrationProgressResponseSchema, uaidValidationResponseSchema, uaidConnectionStatusSchema, dashboardStatsResponseSchema } from "./standards-sdk.es149.js";
|
|
2
2
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
3
3
|
import { serialiseAgentRegistrationRequest, DEFAULT_PROGRESS_INTERVAL_MS, DEFAULT_PROGRESS_TIMEOUT_MS, createAbortError, MINIMUM_REGISTRATION_AUTO_TOP_UP_CREDITS } from "./standards-sdk.es160.js";
|
|
4
4
|
import { RegistryBrokerError } from "./standards-sdk.es136.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Buffer } from "buffer";
|
|
2
|
-
import { ledgerChallengeResponseSchema, ledgerVerifyResponseSchema } from "./standards-sdk.
|
|
2
|
+
import { ledgerChallengeResponseSchema, ledgerVerifyResponseSchema } from "./standards-sdk.es149.js";
|
|
3
3
|
import { canonicalizeLedgerNetwork } from "./standards-sdk.es138.js";
|
|
4
4
|
import { createPrivateKeySignerAsync } from "./standards-sdk.es137.js";
|
|
5
5
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Buffer } from "buffer";
|
|
2
|
-
import { chatHistorySnapshotResponseSchema } from "./standards-sdk.
|
|
2
|
+
import { chatHistorySnapshotResponseSchema } from "./standards-sdk.es149.js";
|
|
3
3
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
4
4
|
const conversationContexts = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function getConversationContextMap(client) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSessionResponseSchema, chatHistoryCompactionResponseSchema, sessionEncryptionStatusResponseSchema, encryptionHandshakeResponseSchema, sendMessageResponseSchema } from "./standards-sdk.
|
|
1
|
+
import { createSessionResponseSchema, chatHistoryCompactionResponseSchema, sessionEncryptionStatusResponseSchema, encryptionHandshakeResponseSchema, sendMessageResponseSchema } from "./standards-sdk.es149.js";
|
|
2
2
|
import { RegistryBrokerClient } from "./standards-sdk.es135.js";
|
|
3
3
|
import { serialiseAuthConfig, toJsonObject } from "./standards-sdk.es160.js";
|
|
4
4
|
import { EncryptionUnavailableError, EncryptedChatManager } from "./standards-sdk.es161.js";
|
|
@@ -2,7 +2,7 @@ import { Buffer } from "buffer";
|
|
|
2
2
|
import { randomBytes, createHash, createCipheriv, createDecipheriv } from "crypto";
|
|
3
3
|
import { secp256k1 } from "@noble/curves/secp256k1.js";
|
|
4
4
|
import { ZodError } from "zod";
|
|
5
|
-
import { agentFeedbackResponseSchema, agentFeedbackIndexResponseSchema, agentFeedbackEntriesIndexResponseSchema, agentFeedbackEligibilityResponseSchema, agentFeedbackSubmissionResponseSchema } from "./standards-sdk.
|
|
5
|
+
import { agentFeedbackResponseSchema, agentFeedbackIndexResponseSchema, agentFeedbackEntriesIndexResponseSchema, agentFeedbackEligibilityResponseSchema, agentFeedbackSubmissionResponseSchema } from "./standards-sdk.es149.js";
|
|
6
6
|
import { DEFAULT_BASE_URL, normaliseBaseUrl, normaliseHeaderName, isBrowserRuntime, DEFAULT_USER_AGENT, JSON_CONTENT_TYPE, createAbortError, isJsonObject, DEFAULT_HISTORY_TOP_UP_HBAR } from "./standards-sdk.es160.js";
|
|
7
7
|
import { RegistryBrokerError, RegistryBrokerParseError } from "./standards-sdk.es136.js";
|
|
8
8
|
class RegistryBrokerClient {
|