@hashgraphonline/standards-sdk 0.1.141-canary.18 → 0.1.141-canary.19

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 (48) hide show
  1. package/dist/cjs/inscribe/inscriber.d.ts +1 -0
  2. package/dist/cjs/inscribe/inscriber.d.ts.map +1 -1
  3. package/dist/cjs/standards-sdk.cjs +1 -1
  4. package/dist/cjs/standards-sdk.cjs.map +1 -1
  5. package/dist/es/inscribe/inscriber.d.ts +1 -0
  6. package/dist/es/inscribe/inscriber.d.ts.map +1 -1
  7. package/dist/es/standards-sdk.es.js +2 -1
  8. package/dist/es/standards-sdk.es110.js +1 -1
  9. package/dist/es/standards-sdk.es111.js +5 -5
  10. package/dist/es/standards-sdk.es121.js +1 -1
  11. package/dist/es/standards-sdk.es122.js +1 -1
  12. package/dist/es/standards-sdk.es123.js +5 -5
  13. package/dist/es/standards-sdk.es125.js +15 -12
  14. package/dist/es/standards-sdk.es125.js.map +1 -1
  15. package/dist/es/standards-sdk.es126.js +1 -1
  16. package/dist/es/standards-sdk.es128.js +1 -1
  17. package/dist/es/standards-sdk.es137.js +746 -12254
  18. package/dist/es/standards-sdk.es137.js.map +1 -1
  19. package/dist/es/standards-sdk.es138.js +12254 -746
  20. package/dist/es/standards-sdk.es138.js.map +1 -1
  21. package/dist/es/standards-sdk.es142.js +167 -51
  22. package/dist/es/standards-sdk.es142.js.map +1 -1
  23. package/dist/es/standards-sdk.es143.js +289 -139
  24. package/dist/es/standards-sdk.es143.js.map +1 -1
  25. package/dist/es/standards-sdk.es144.js +298 -274
  26. package/dist/es/standards-sdk.es144.js.map +1 -1
  27. package/dist/es/standards-sdk.es145.js +369 -262
  28. package/dist/es/standards-sdk.es145.js.map +1 -1
  29. package/dist/es/standards-sdk.es146.js +194 -316
  30. package/dist/es/standards-sdk.es146.js.map +1 -1
  31. package/dist/es/standards-sdk.es147.js +64 -319
  32. package/dist/es/standards-sdk.es147.js.map +1 -1
  33. package/dist/es/standards-sdk.es148.js +49 -69
  34. package/dist/es/standards-sdk.es148.js.map +1 -1
  35. package/dist/es/standards-sdk.es17.js +1 -1
  36. package/dist/es/standards-sdk.es19.js +2 -2
  37. package/dist/es/standards-sdk.es20.js +2 -2
  38. package/dist/es/standards-sdk.es28.js +2 -2
  39. package/dist/es/standards-sdk.es31.js +1 -1
  40. package/dist/es/standards-sdk.es32.js +1 -1
  41. package/dist/es/standards-sdk.es36.js +2 -2
  42. package/dist/es/standards-sdk.es37.js +1 -1
  43. package/dist/es/standards-sdk.es38.js +1 -1
  44. package/dist/es/standards-sdk.es57.js +1 -1
  45. package/dist/es/standards-sdk.es59.js +1 -1
  46. package/dist/es/standards-sdk.es61.js +1 -1
  47. package/dist/es/standards-sdk.es78.js +1 -1
  48. package/package.json +1 -1
@@ -1,79 +1,59 @@
1
- import { proto } from "@hashgraph/proto";
2
- import { ContractId } from "@hashgraph/sdk";
3
- import { Buffer } from "buffer";
4
- function parseKey(key) {
5
- if (!key) {
6
- return void 0;
7
- }
8
- if (key.contractID) {
9
- return `ContractID: ${new ContractId(
10
- key.contractID.shardNum ?? 0,
11
- key.contractID.realmNum ?? 0,
12
- key.contractID.contractNum ?? 0
13
- ).toString()}`;
14
- }
15
- if (key.ed25519) {
16
- return `ED25519: ${Buffer.from(key.ed25519).toString("hex")}`;
17
- }
18
- if (key.ECDSASecp256k1) {
19
- return `ECDSA_secp256k1: ${Buffer.from(key.ECDSASecp256k1).toString(
20
- "hex"
21
- )}`;
22
- }
23
- if (key?.keyList?.keys?.length > 0) {
24
- const keys = key.keyList.keys.map((k) => parseKey(k)).filter(Boolean);
25
- return `KeyList (${keys.length} keys): [${keys.join(", ")}]`;
26
- }
27
- if (key?.thresholdKey?.keys?.keys?.length > 0) {
28
- const keys = key.thresholdKey.keys.keys.map((k) => parseKey(k)).filter(Boolean);
29
- return `ThresholdKey (${key.thresholdKey.threshold} of ${keys.length}): [${keys.join(", ")}]`;
30
- }
31
- if (key.delegatableContractId) {
32
- return `DelegatableContractID: ${new ContractId(
33
- key.delegatableContractId.shardNum ?? 0,
34
- key.delegatableContractId.realmNum ?? 0,
35
- key.delegatableContractId.contractNum ?? 0
36
- ).toString()}`;
37
- }
38
- if (Object.keys(key).length === 0) {
39
- return "Empty Key Structure";
40
- }
41
- return "Unknown or Unset Key Type";
42
- }
43
- function extractTransactionBody(transaction) {
44
- try {
45
- const bytes = transaction.toBytes ? transaction.toBytes() : void 0;
46
- if (!bytes) {
47
- return null;
1
+ const ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
2
+ const BASE = 58;
3
+ function base58Encode(bytes) {
4
+ if (bytes.length === 0) return "";
5
+ let zeros = 0;
6
+ while (zeros < bytes.length && bytes[zeros] === 0) zeros++;
7
+ if (zeros === bytes.length) return "1".repeat(zeros);
8
+ const digits = [0];
9
+ for (let i = zeros; i < bytes.length; i++) {
10
+ let carry = bytes[i];
11
+ for (let j = 0; j < digits.length; j++) {
12
+ const val = (digits[j] << 8) + carry;
13
+ digits[j] = val % BASE;
14
+ carry = val / BASE | 0;
48
15
  }
49
- const decoded = proto.TransactionList.decode(bytes);
50
- if (!decoded.transactionList || decoded.transactionList.length === 0) {
51
- return null;
16
+ while (carry > 0) {
17
+ digits.push(carry % BASE);
18
+ carry = carry / BASE | 0;
52
19
  }
53
- const tx = decoded.transactionList[0];
54
- if (tx.bodyBytes && tx.bodyBytes.length > 0) {
55
- return proto.TransactionBody.decode(tx.bodyBytes);
20
+ }
21
+ let result = "";
22
+ for (let i = 0; i < zeros; i++) result += "1";
23
+ for (let i = digits.length - 1; i >= 0; i--) result += ALPHABET[digits[i]];
24
+ return result;
25
+ }
26
+ function base58Decode(text) {
27
+ if (text.length === 0) return new Uint8Array(0);
28
+ let zeros = 0;
29
+ while (zeros < text.length && text[zeros] === "1") zeros++;
30
+ const b256 = [];
31
+ for (let i = zeros; i < text.length; i++) {
32
+ const ch = text[i];
33
+ const val = ALPHABET.indexOf(ch);
34
+ if (val === -1) throw new Error("Invalid Base58 character");
35
+ let carry = val;
36
+ for (let j = 0; j < b256.length; j++) {
37
+ const x = b256[j] * BASE + carry;
38
+ b256[j] = x & 255;
39
+ carry = x >> 8;
56
40
  }
57
- if (tx.signedTransactionBytes && tx.signedTransactionBytes.length > 0) {
58
- const signedTx = proto.SignedTransaction.decode(
59
- tx.signedTransactionBytes
60
- );
61
- if (signedTx.bodyBytes) {
62
- return proto.TransactionBody.decode(signedTx.bodyBytes);
63
- }
41
+ while (carry > 0) {
42
+ b256.push(carry & 255);
43
+ carry >>= 8;
64
44
  }
65
- return null;
66
- } catch (error) {
67
- return null;
68
45
  }
46
+ for (let i = 0; i < zeros; i++) b256.push(0);
47
+ b256.reverse();
48
+ return Uint8Array.from(b256);
69
49
  }
70
- function hasTransactionType(transaction, transactionField) {
71
- const txBody = extractTransactionBody(transaction);
72
- return !!(txBody && txBody[transactionField]);
50
+ function multibaseB58btcDecode(zText) {
51
+ if (!zText.startsWith("z")) throw new Error("Invalid multibase base58btc");
52
+ return base58Decode(zText.slice(1));
73
53
  }
74
54
  export {
75
- extractTransactionBody,
76
- hasTransactionType,
77
- parseKey
55
+ base58Decode,
56
+ base58Encode,
57
+ multibaseB58btcDecode
78
58
  };
79
59
  //# sourceMappingURL=standards-sdk.es148.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-sdk.es148.js","sources":["../../src/utils/parsers/parser-utils.ts"],"sourcesContent":["import { proto } from '@hashgraph/proto';\nimport { ContractId, Transaction } from '@hashgraph/sdk';\nimport { Buffer } from 'buffer';\n\nexport function parseKey(\n key: proto.IKey | null | undefined,\n): string | undefined {\n if (!key) {\n return undefined;\n }\n\n if (key.contractID) {\n return `ContractID: ${new ContractId(\n key.contractID.shardNum ?? 0,\n key.contractID.realmNum ?? 0,\n key.contractID.contractNum ?? 0,\n ).toString()}`;\n }\n if (key.ed25519) {\n return `ED25519: ${Buffer.from(key.ed25519).toString('hex')}`;\n }\n if (key.ECDSASecp256k1) {\n return `ECDSA_secp256k1: ${Buffer.from(key.ECDSASecp256k1).toString(\n 'hex',\n )}`;\n }\n if (key?.keyList?.keys?.length > 0) {\n const keys = key.keyList.keys.map(k => parseKey(k)).filter(Boolean);\n return `KeyList (${keys.length} keys): [${keys.join(', ')}]`;\n }\n if (key?.thresholdKey?.keys?.keys?.length > 0) {\n const keys = key.thresholdKey.keys.keys\n .map(k => parseKey(k))\n .filter(Boolean);\n return `ThresholdKey (${key.thresholdKey.threshold} of ${\n keys.length\n }): [${keys.join(', ')}]`;\n }\n if (key.delegatableContractId) {\n return `DelegatableContractID: ${new ContractId(\n key.delegatableContractId.shardNum ?? 0,\n key.delegatableContractId.realmNum ?? 0,\n key.delegatableContractId.contractNum ?? 0,\n ).toString()}`;\n }\n if (Object.keys(key).length === 0) {\n return 'Empty Key Structure';\n }\n\n return 'Unknown or Unset Key Type';\n}\n\n/**\n * Extract TransactionBody from Transaction object using protobuf parsing\n * This replaces fragile constructor name checking with reliable protobuf data\n */\nexport function extractTransactionBody(\n transaction: Transaction,\n): proto.ITransactionBody | null {\n try {\n const bytes = transaction.toBytes ? transaction.toBytes() : undefined;\n if (!bytes) {\n return null;\n }\n\n const decoded = proto.TransactionList.decode(bytes);\n if (!decoded.transactionList || decoded.transactionList.length === 0) {\n return null;\n }\n\n const tx = decoded.transactionList[0];\n\n if (tx.bodyBytes && tx.bodyBytes.length > 0) {\n return proto.TransactionBody.decode(tx.bodyBytes);\n }\n\n if (tx.signedTransactionBytes && tx.signedTransactionBytes.length > 0) {\n const signedTx = proto.SignedTransaction.decode(\n tx.signedTransactionBytes,\n );\n if (signedTx.bodyBytes) {\n return proto.TransactionBody.decode(signedTx.bodyBytes);\n }\n }\n\n return null;\n } catch (error) {\n return null;\n }\n}\n\n/**\n * Check if transaction has specific transaction type using protobuf data\n * This replaces constructor name checking with reliable protobuf field detection\n */\nexport function hasTransactionType(\n transaction: Transaction,\n transactionField: keyof proto.ITransactionBody,\n): boolean {\n const txBody = extractTransactionBody(transaction);\n return !!(txBody && txBody[transactionField]);\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,SACd,KACoB;AACpB,MAAI,CAAC,KAAK;AACR,WAAO;AAAA,EACT;AAEA,MAAI,IAAI,YAAY;AAClB,WAAO,eAAe,IAAI;AAAA,MACxB,IAAI,WAAW,YAAY;AAAA,MAC3B,IAAI,WAAW,YAAY;AAAA,MAC3B,IAAI,WAAW,eAAe;AAAA,IAAA,EAC9B,UAAU;AAAA,EACd;AACA,MAAI,IAAI,SAAS;AACf,WAAO,YAAY,OAAO,KAAK,IAAI,OAAO,EAAE,SAAS,KAAK,CAAC;AAAA,EAC7D;AACA,MAAI,IAAI,gBAAgB;AACtB,WAAO,oBAAoB,OAAO,KAAK,IAAI,cAAc,EAAE;AAAA,MACzD;AAAA,IAAA,CACD;AAAA,EACH;AACA,MAAI,KAAK,SAAS,MAAM,SAAS,GAAG;AAClC,UAAM,OAAO,IAAI,QAAQ,KAAK,IAAI,CAAA,MAAK,SAAS,CAAC,CAAC,EAAE,OAAO,OAAO;AAClE,WAAO,YAAY,KAAK,MAAM,YAAY,KAAK,KAAK,IAAI,CAAC;AAAA,EAC3D;AACA,MAAI,KAAK,cAAc,MAAM,MAAM,SAAS,GAAG;AAC7C,UAAM,OAAO,IAAI,aAAa,KAAK,KAChC,IAAI,CAAA,MAAK,SAAS,CAAC,CAAC,EACpB,OAAO,OAAO;AACjB,WAAO,iBAAiB,IAAI,aAAa,SAAS,OAChD,KAAK,MACP,OAAO,KAAK,KAAK,IAAI,CAAC;AAAA,EACxB;AACA,MAAI,IAAI,uBAAuB;AAC7B,WAAO,0BAA0B,IAAI;AAAA,MACnC,IAAI,sBAAsB,YAAY;AAAA,MACtC,IAAI,sBAAsB,YAAY;AAAA,MACtC,IAAI,sBAAsB,eAAe;AAAA,IAAA,EACzC,UAAU;AAAA,EACd;AACA,MAAI,OAAO,KAAK,GAAG,EAAE,WAAW,GAAG;AACjC,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAMO,SAAS,uBACd,aAC+B;AAC/B,MAAI;AACF,UAAM,QAAQ,YAAY,UAAU,YAAY,YAAY;AAC5D,QAAI,CAAC,OAAO;AACV,aAAO;AAAA,IACT;AAEA,UAAM,UAAU,MAAM,gBAAgB,OAAO,KAAK;AAClD,QAAI,CAAC,QAAQ,mBAAmB,QAAQ,gBAAgB,WAAW,GAAG;AACpE,aAAO;AAAA,IACT;AAEA,UAAM,KAAK,QAAQ,gBAAgB,CAAC;AAEpC,QAAI,GAAG,aAAa,GAAG,UAAU,SAAS,GAAG;AAC3C,aAAO,MAAM,gBAAgB,OAAO,GAAG,SAAS;AAAA,IAClD;AAEA,QAAI,GAAG,0BAA0B,GAAG,uBAAuB,SAAS,GAAG;AACrE,YAAM,WAAW,MAAM,kBAAkB;AAAA,QACvC,GAAG;AAAA,MAAA;AAEL,UAAI,SAAS,WAAW;AACtB,eAAO,MAAM,gBAAgB,OAAO,SAAS,SAAS;AAAA,MACxD;AAAA,IACF;AAEA,WAAO;AAAA,EACT,SAAS,OAAO;AACd,WAAO;AAAA,EACT;AACF;AAMO,SAAS,mBACd,aACA,kBACS;AACT,QAAM,SAAS,uBAAuB,WAAW;AACjD,SAAO,CAAC,EAAE,UAAU,OAAO,gBAAgB;AAC7C;"}
1
+ {"version":3,"file":"standards-sdk.es148.js","sources":["../../src/hcs-14/base58.ts"],"sourcesContent":["/**\n * Minimal Base58 encoder/decoder (Bitcoin alphabet) with no external dependencies.\n */\n\nconst ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';\nconst BASE = 58;\n\nfunction countLeadingZeros(bytes: Uint8Array): number {\n let zeros = 0;\n for (let i = 0; i < bytes.length && bytes[i] === 0; i++) {\n zeros++;\n }\n return zeros;\n}\n\nexport function base58Encode(bytes: Uint8Array): string {\n if (bytes.length === 0) return '';\n\n let zeros = 0;\n while (zeros < bytes.length && bytes[zeros] === 0) zeros++;\n\n if (zeros === bytes.length) return '1'.repeat(zeros);\n\n const digits: number[] = [0];\n for (let i = zeros; i < bytes.length; i++) {\n let carry = bytes[i];\n for (let j = 0; j < digits.length; j++) {\n const val = (digits[j] << 8) + carry;\n digits[j] = val % BASE;\n carry = (val / BASE) | 0;\n }\n while (carry > 0) {\n digits.push(carry % BASE);\n carry = (carry / BASE) | 0;\n }\n }\n\n let result = '';\n for (let i = 0; i < zeros; i++) result += '1';\n for (let i = digits.length - 1; i >= 0; i--) result += ALPHABET[digits[i]];\n return result;\n}\n\nexport function base58Decode(text: string): Uint8Array {\n if (text.length === 0) return new Uint8Array(0);\n\n let zeros = 0;\n while (zeros < text.length && text[zeros] === '1') zeros++;\n\n const b256: number[] = [];\n for (let i = zeros; i < text.length; i++) {\n const ch = text[i];\n const val = ALPHABET.indexOf(ch);\n if (val === -1) throw new Error('Invalid Base58 character');\n\n let carry = val;\n for (let j = 0; j < b256.length; j++) {\n const x = b256[j] * BASE + carry;\n b256[j] = x & 0xff;\n carry = x >> 8;\n }\n while (carry > 0) {\n b256.push(carry & 0xff);\n carry >>= 8;\n }\n }\n\n for (let i = 0; i < zeros; i++) b256.push(0);\n b256.reverse();\n return Uint8Array.from(b256);\n}\n\nexport function multibaseB58btcDecode(zText: string): Uint8Array {\n if (!zText.startsWith('z')) throw new Error('Invalid multibase base58btc');\n return base58Decode(zText.slice(1));\n}\n"],"names":[],"mappings":"AAIA,MAAM,WAAW;AACjB,MAAM,OAAO;AAUN,SAAS,aAAa,OAA2B;AACtD,MAAI,MAAM,WAAW,EAAG,QAAO;AAE/B,MAAI,QAAQ;AACZ,SAAO,QAAQ,MAAM,UAAU,MAAM,KAAK,MAAM,EAAG;AAEnD,MAAI,UAAU,MAAM,OAAQ,QAAO,IAAI,OAAO,KAAK;AAEnD,QAAM,SAAmB,CAAC,CAAC;AAC3B,WAAS,IAAI,OAAO,IAAI,MAAM,QAAQ,KAAK;AACzC,QAAI,QAAQ,MAAM,CAAC;AACnB,aAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtC,YAAM,OAAO,OAAO,CAAC,KAAK,KAAK;AAC/B,aAAO,CAAC,IAAI,MAAM;AAClB,cAAS,MAAM,OAAQ;AAAA,IACzB;AACA,WAAO,QAAQ,GAAG;AAChB,aAAO,KAAK,QAAQ,IAAI;AACxB,cAAS,QAAQ,OAAQ;AAAA,IAC3B;AAAA,EACF;AAEA,MAAI,SAAS;AACb,WAAS,IAAI,GAAG,IAAI,OAAO,IAAK,WAAU;AAC1C,WAAS,IAAI,OAAO,SAAS,GAAG,KAAK,GAAG,IAAK,WAAU,SAAS,OAAO,CAAC,CAAC;AACzE,SAAO;AACT;AAEO,SAAS,aAAa,MAA0B;AACrD,MAAI,KAAK,WAAW,EAAG,QAAO,IAAI,WAAW,CAAC;AAE9C,MAAI,QAAQ;AACZ,SAAO,QAAQ,KAAK,UAAU,KAAK,KAAK,MAAM,IAAK;AAEnD,QAAM,OAAiB,CAAA;AACvB,WAAS,IAAI,OAAO,IAAI,KAAK,QAAQ,KAAK;AACxC,UAAM,KAAK,KAAK,CAAC;AACjB,UAAM,MAAM,SAAS,QAAQ,EAAE;AAC/B,QAAI,QAAQ,GAAI,OAAM,IAAI,MAAM,0BAA0B;AAE1D,QAAI,QAAQ;AACZ,aAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;AACpC,YAAM,IAAI,KAAK,CAAC,IAAI,OAAO;AAC3B,WAAK,CAAC,IAAI,IAAI;AACd,cAAQ,KAAK;AAAA,IACf;AACA,WAAO,QAAQ,GAAG;AAChB,WAAK,KAAK,QAAQ,GAAI;AACtB,gBAAU;AAAA,IACZ;AAAA,EACF;AAEA,WAAS,IAAI,GAAG,IAAI,OAAO,IAAK,MAAK,KAAK,CAAC;AAC3C,OAAK,QAAA;AACL,SAAO,WAAW,KAAK,IAAI;AAC7B;AAEO,SAAS,sBAAsB,OAA2B;AAC/D,MAAI,CAAC,MAAM,WAAW,GAAG,EAAG,OAAM,IAAI,MAAM,6BAA6B;AACzE,SAAO,aAAa,MAAM,MAAM,CAAC,CAAC;AACpC;"}
@@ -8,7 +8,7 @@ import "node:buffer";
8
8
  import "node:crypto";
9
9
  import "@noble/curves/secp256k1.js";
10
10
  import "./standards-sdk.es130.js";
11
- import "./standards-sdk.es138.js";
11
+ import "./standards-sdk.es137.js";
12
12
  import "zod";
13
13
  import { buildHcs10SubmitConnectionRequestTx, buildHcs10OutboundConnectionRequestRecordTx, buildHcs10OutboundConnectionCreatedRecordTx } from "./standards-sdk.es23.js";
14
14
  import { HRLResolver } from "./standards-sdk.es110.js";
@@ -1,7 +1,7 @@
1
1
  import "./standards-sdk.es2.js";
2
2
  import { Client, PrivateKey, AccountCreateTransaction, Hbar, CustomFixedFee, AccountId, TokenId, KeyList, TopicMessageSubmitTransaction, Transaction, ScheduleCreateTransaction, Timestamp } from "@hashgraph/sdk";
3
3
  import { AccountCreationError, TopicCreationError, ConnectionConfirmationError, PayloadSizeError } from "./standards-sdk.es18.js";
4
- import { InscriptionSDK } from "./standards-sdk.es137.js";
4
+ import { InscriptionSDK } from "./standards-sdk.es138.js";
5
5
  import { Logger } from "./standards-sdk.es106.js";
6
6
  import { accountIdsToExemptKeys } from "./standards-sdk.es108.js";
7
7
  import { ProgressReporter } from "./standards-sdk.es109.js";
@@ -12,7 +12,7 @@ import "node:buffer";
12
12
  import "node:crypto";
13
13
  import "@noble/curves/secp256k1.js";
14
14
  import "./standards-sdk.es130.js";
15
- import "./standards-sdk.es138.js";
15
+ import "./standards-sdk.es137.js";
16
16
  import "zod";
17
17
  import "buffer";
18
18
  import "ethers";
@@ -8,14 +8,14 @@ import "node:buffer";
8
8
  import "node:crypto";
9
9
  import "@noble/curves/secp256k1.js";
10
10
  import "./standards-sdk.es130.js";
11
- import "./standards-sdk.es138.js";
11
+ import "./standards-sdk.es137.js";
12
12
  import "zod";
13
13
  import "buffer";
14
14
  import "ethers";
15
15
  import "./standards-sdk.es123.js";
16
16
  import "./standards-sdk.es114.js";
17
17
  import { getTopicId } from "./standards-sdk.es115.js";
18
- import { InscriptionSDK } from "./standards-sdk.es137.js";
18
+ import { InscriptionSDK } from "./standards-sdk.es138.js";
19
19
  import { HCS10BaseClient, Hcs10MemoType } from "./standards-sdk.es17.js";
20
20
  import * as mime from "mime-types";
21
21
  import { AgentBuilder } from "./standards-sdk.es24.js";
@@ -1,6 +1,6 @@
1
1
  import { Client, Status, PrivateKey, AccountUpdateTransaction } from "@hashgraph/sdk";
2
2
  import { inscribeWithSigner, inscribe } from "./standards-sdk.es125.js";
3
- import "./standards-sdk.es137.js";
3
+ import "./standards-sdk.es138.js";
4
4
  import { Logger } from "./standards-sdk.es106.js";
5
5
  import { HederaMirrorNode } from "./standards-sdk.es127.js";
6
6
  import { ProgressReporter } from "./standards-sdk.es109.js";
@@ -10,7 +10,7 @@ import "node:buffer";
10
10
  import "node:crypto";
11
11
  import "@noble/curves/secp256k1.js";
12
12
  import "./standards-sdk.es130.js";
13
- import "./standards-sdk.es138.js";
13
+ import "./standards-sdk.es137.js";
14
14
  import { z } from "zod";
15
15
  import "@hashgraph/proto";
16
16
  import "buffer";
@@ -1,6 +1,6 @@
1
1
  import { RegistryType } from "./standards-sdk.es30.js";
2
2
  import { inscribe, inscribeWithSigner } from "./standards-sdk.es125.js";
3
- import "./standards-sdk.es137.js";
3
+ import "./standards-sdk.es138.js";
4
4
  class BaseRegistry {
5
5
  constructor(networkType, logger, registryType, topicId, client) {
6
6
  this.entries = /* @__PURE__ */ new Map();
@@ -1,7 +1,7 @@
1
1
  import { RegistryType } from "./standards-sdk.es30.js";
2
2
  import { BaseRegistry } from "./standards-sdk.es31.js";
3
3
  import { retrieveInscription } from "./standards-sdk.es125.js";
4
- import "./standards-sdk.es137.js";
4
+ import "./standards-sdk.es138.js";
5
5
  import { getCryptoAdapter } from "./standards-sdk.es120.js";
6
6
  import { isSSREnvironment } from "./standards-sdk.es118.js";
7
7
  import { validateActionRegistration } from "./standards-sdk.es43.js";
@@ -5,9 +5,9 @@ import "node:buffer";
5
5
  import "node:crypto";
6
6
  import "@noble/curves/secp256k1.js";
7
7
  import "./standards-sdk.es130.js";
8
- import "./standards-sdk.es138.js";
9
- import "zod";
10
8
  import "./standards-sdk.es137.js";
9
+ import "zod";
10
+ import "./standards-sdk.es138.js";
11
11
  import "@hashgraph/proto";
12
12
  import "buffer";
13
13
  import "@hashgraph/sdk";
@@ -3,7 +3,7 @@ import { HCS12BaseClient } from "./standards-sdk.es36.js";
3
3
  import { createNodeOperatorContext } from "./standards-sdk.es139.js";
4
4
  import { RegistryType } from "./standards-sdk.es30.js";
5
5
  import { inscribe } from "./standards-sdk.es125.js";
6
- import { InscriptionSDK } from "./standards-sdk.es137.js";
6
+ import { InscriptionSDK } from "./standards-sdk.es138.js";
7
7
  import { ActionRegistry } from "./standards-sdk.es32.js";
8
8
  import { BlockLoader } from "./standards-sdk.es33.js";
9
9
  import { AssemblyRegistry } from "./standards-sdk.es34.js";
@@ -2,7 +2,7 @@ import { TopicCreateTransaction, TransactionId, AccountId, PublicKey, KeyList, T
2
2
  import { HCS12BaseClient } from "./standards-sdk.es36.js";
3
3
  import { RegistryType } from "./standards-sdk.es30.js";
4
4
  import { inscribeWithSigner } from "./standards-sdk.es125.js";
5
- import { InscriptionSDK } from "./standards-sdk.es137.js";
5
+ import { InscriptionSDK } from "./standards-sdk.es138.js";
6
6
  import { ActionRegistry } from "./standards-sdk.es32.js";
7
7
  import { BlockLoader } from "./standards-sdk.es33.js";
8
8
  import { AssemblyRegistry } from "./standards-sdk.es34.js";
@@ -1,5 +1,5 @@
1
1
  import { getCryptoAdapter } from "./standards-sdk.es120.js";
2
- import { base58Encode } from "./standards-sdk.es142.js";
2
+ import { base58Encode } from "./standards-sdk.es148.js";
3
3
  import { canonicalizeAgentData } from "./standards-sdk.es56.js";
4
4
  function encodeMultibaseB58btc(input) {
5
5
  const bytes = Buffer.from(input, "utf8");
@@ -1,6 +1,6 @@
1
1
  import { HieroDidResolver } from "./standards-sdk.es60.js";
2
2
  import { parseHcs14Did } from "./standards-sdk.es57.js";
3
- import { multibaseB58btcDecode } from "./standards-sdk.es142.js";
3
+ import { multibaseB58btcDecode } from "./standards-sdk.es148.js";
4
4
  class ResolverRegistry {
5
5
  constructor() {
6
6
  this.resolvers = [];
@@ -15,7 +15,7 @@ import "node:buffer";
15
15
  import "node:crypto";
16
16
  import "@noble/curves/secp256k1.js";
17
17
  import "./standards-sdk.es130.js";
18
- import "./standards-sdk.es138.js";
18
+ import "./standards-sdk.es137.js";
19
19
  import "zod";
20
20
  import "@hashgraph/proto";
21
21
  import "buffer";
@@ -5,7 +5,7 @@ import "node:buffer";
5
5
  import "node:crypto";
6
6
  import "@noble/curves/secp256k1.js";
7
7
  import "./standards-sdk.es130.js";
8
- import "./standards-sdk.es138.js";
8
+ import "./standards-sdk.es137.js";
9
9
  import "zod";
10
10
  import { HCS20_CONSTANTS, HCS20MessageSchema } from "./standards-sdk.es73.js";
11
11
  class HCS20PointsIndexer {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgraphonline/standards-sdk",
3
- "version": "0.1.141-canary.18",
3
+ "version": "0.1.141-canary.19",
4
4
  "description": "The Hashgraph Online Standards SDK provides a complete implementation of the Hashgraph Consensus Standards (HCS), giving developers all the tools needed to build applications on Hedera.",
5
5
  "type": "module",
6
6
  "files": [