@hashgraphonline/standards-sdk 0.1.129-chore-bump-package-version.canary.828bd4f.27 → 0.1.130
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/es/standards-sdk.es104.js +5 -5
- package/dist/es/standards-sdk.es114.js +1 -1
- package/dist/es/standards-sdk.es115.js +1 -1
- package/dist/es/standards-sdk.es116.js +5 -5
- package/dist/es/standards-sdk.es133.js +54 -15
- package/dist/es/standards-sdk.es133.js.map +1 -1
- package/dist/es/standards-sdk.es134.js +57 -49
- package/dist/es/standards-sdk.es134.js.map +1 -1
- package/dist/es/standards-sdk.es135.js +161 -53
- package/dist/es/standards-sdk.es135.js.map +1 -1
- package/dist/es/standards-sdk.es136.js +289 -139
- package/dist/es/standards-sdk.es136.js.map +1 -1
- package/dist/es/standards-sdk.es137.js +298 -274
- package/dist/es/standards-sdk.es137.js.map +1 -1
- package/dist/es/standards-sdk.es138.js +369 -262
- package/dist/es/standards-sdk.es138.js.map +1 -1
- package/dist/es/standards-sdk.es139.js +194 -316
- package/dist/es/standards-sdk.es139.js.map +1 -1
- package/dist/es/standards-sdk.es140.js +64 -319
- package/dist/es/standards-sdk.es140.js.map +1 -1
- package/dist/es/standards-sdk.es141.js +15 -74
- package/dist/es/standards-sdk.es141.js.map +1 -1
- package/dist/es/standards-sdk.es57.js +1 -1
- package/dist/es/standards-sdk.es59.js +1 -1
- package/dist/es/standards-sdk.es60.js +1 -1
- package/dist/es/standards-sdk.es63.js +1 -1
- package/dist/es/standards-sdk.es65.js +1 -1
- package/dist/es/standards-sdk.es66.js +1 -1
- package/package.json +57 -59
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standards-sdk.es141.js","sources":["../../src/
|
|
1
|
+
{"version":3,"file":"standards-sdk.es141.js","sources":["../../src/hcs-5/base-client.ts"],"sourcesContent":["import { Logger, ILogger } from '../utils/logger';\nimport { HederaMirrorNode } from '../services/mirror-node';\nimport { HCS5ClientConfig } from './types';\nimport { NetworkType } from '../utils/types';\n\n/**\n * Base client for HCS-5 operations\n */\nexport abstract class HCS5BaseClient {\n protected logger: ILogger;\n protected mirrorNode: HederaMirrorNode;\n protected network: NetworkType;\n\n /**\n * Create a new HCS-5 base client\n */\n constructor(config: HCS5ClientConfig) {\n this.network = config.network;\n this.logger =\n config.logger ||\n Logger.getInstance({\n level: config.logLevel || 'info',\n module: 'HCS5Client',\n silent: config.silent,\n });\n\n this.mirrorNode = new HederaMirrorNode(this.network, this.logger);\n }\n}\n"],"names":[],"mappings":";;AAQO,MAAe,eAAe;AAAA;AAAA;AAAA;AAAA,EAQnC,YAAY,QAA0B;AACpC,SAAK,UAAU,OAAO;AACtB,SAAK,SACH,OAAO,UACP,OAAO,YAAY;AAAA,MACjB,OAAO,OAAO,YAAY;AAAA,MAC1B,QAAQ;AAAA,MACR,QAAQ,OAAO;AAAA,IAAA,CAChB;AAEH,SAAK,aAAa,IAAI,iBAAiB,KAAK,SAAS,KAAK,MAAM;AAAA,EAClE;AACF;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCryptoAdapter } from "./standards-sdk.es113.js";
|
|
2
|
-
import { base58Encode } from "./standards-sdk.
|
|
2
|
+
import { base58Encode } from "./standards-sdk.es133.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.
|
|
3
|
+
import { multibaseB58btcDecode } from "./standards-sdk.es133.js";
|
|
4
4
|
class ResolverRegistry {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.resolvers = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HCS5BaseClient } from "./standards-sdk.
|
|
1
|
+
import { HCS5BaseClient } from "./standards-sdk.es141.js";
|
|
2
2
|
import { buildHcs1Hrl } from "./standards-sdk.es64.js";
|
|
3
3
|
import { PrivateKey } from "@hashgraph/sdk";
|
|
4
4
|
import { inscribeWithSigner } from "./standards-sdk.es118.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HCS5BaseClient } from "./standards-sdk.
|
|
1
|
+
import { HCS5BaseClient } from "./standards-sdk.es141.js";
|
|
2
2
|
import { buildHcs1Hrl } from "./standards-sdk.es64.js";
|
|
3
3
|
import { AccountId } from "@hashgraph/sdk";
|
|
4
4
|
import { inscribe } from "./standards-sdk.es118.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashgraphonline/standards-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.130",
|
|
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": [
|
|
@@ -45,6 +45,60 @@
|
|
|
45
45
|
"default": "./dist/es/standards-sdk.es.js"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@hashgraphonline/conversational-agent": "0.2.104",
|
|
50
|
+
"@swc/jest": "^0.2.39",
|
|
51
|
+
"@types/jest": "^29.5.14",
|
|
52
|
+
"@types/lodash": "^4.17.20",
|
|
53
|
+
"@types/mime-types": "^2.1.4",
|
|
54
|
+
"@types/node": "^22.18.12",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
56
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
57
|
+
"concurrently": "^8.2.2",
|
|
58
|
+
"eslint-plugin-sonarjs": "^3.0.5",
|
|
59
|
+
"jest": "^29.7.0",
|
|
60
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
61
|
+
"json-to-plain-text": "^1.2.0",
|
|
62
|
+
"localtunnel": "^2.0.2",
|
|
63
|
+
"nodemon": "^3.1.10",
|
|
64
|
+
"openai": "^4.104.0",
|
|
65
|
+
"prettier": "^3.6.2",
|
|
66
|
+
"process": "^0.11.10",
|
|
67
|
+
"rimraf": "^6.0.1",
|
|
68
|
+
"terser": "^5.44.0",
|
|
69
|
+
"ts-jest": "^29.4.5",
|
|
70
|
+
"tsx": "^4.20.6",
|
|
71
|
+
"typescript": "^5.9.3",
|
|
72
|
+
"vite": "^6.4.1",
|
|
73
|
+
"vite-plugin-dts": "^4.5.4",
|
|
74
|
+
"vite-plugin-node-polyfills": "^0.24.0"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@hashgraph/proto": "^2.24.0",
|
|
78
|
+
"@hashgraph/sdk": "2.75.0",
|
|
79
|
+
"@hashgraphonline/hashinal-wc": "1.0.115",
|
|
80
|
+
"@hiero-did-sdk/registrar": "0.1.2",
|
|
81
|
+
"@hiero-did-sdk/resolver": "0.1.2",
|
|
82
|
+
"chalk": "^5.4.1",
|
|
83
|
+
"@kiloscribe/inscription-sdk": "^1.0.61",
|
|
84
|
+
"agent0-sdk": "0.2.1",
|
|
85
|
+
"axios": "^1.12.2",
|
|
86
|
+
"bignumber.js": "^9.3.1",
|
|
87
|
+
"buffer": "^6.0.3",
|
|
88
|
+
"date-fns": "^4.1.0",
|
|
89
|
+
"dotenv": "^16.6.1",
|
|
90
|
+
"ethers": "^6.15.0",
|
|
91
|
+
"file-type": "^20.5.0",
|
|
92
|
+
"ioredis": "^5.8.2",
|
|
93
|
+
"mime-types": "^2.1.35",
|
|
94
|
+
"viem": "^2.19.9",
|
|
95
|
+
"x402-axios": "^0.7.0",
|
|
96
|
+
"zod": "^3.25.76"
|
|
97
|
+
},
|
|
98
|
+
"resolutions": {
|
|
99
|
+
"@hashgraph/sdk": "2.75.0"
|
|
100
|
+
},
|
|
101
|
+
"peerDependenciesMeta": {},
|
|
48
102
|
"scripts": {
|
|
49
103
|
"clean": "rimraf dist",
|
|
50
104
|
"build:es": "BUILD_FORMAT=es vite build",
|
|
@@ -54,7 +108,6 @@
|
|
|
54
108
|
"cli": "([ -d cli/standards-cli/node_modules ] || pnpm --dir cli/standards-cli install) && pnpm --dir cli/standards-cli start",
|
|
55
109
|
"cli:build": "([ -d cli/standards-cli/node_modules ] || pnpm --dir cli/standards-cli install) && pnpm --dir cli/standards-cli build",
|
|
56
110
|
"cli:install": "pnpm --dir cli/standards-cli install",
|
|
57
|
-
"prepublishOnly": "npm run build",
|
|
58
111
|
"release": "npm publish --access public",
|
|
59
112
|
"release:canary": "npm run prepublishOnly && npm publish --tag canary --access public",
|
|
60
113
|
"version:canary": "npm version prerelease --preid canary --no-git-tag-version",
|
|
@@ -102,60 +155,5 @@
|
|
|
102
155
|
"lint:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\" \"demo/**/*.{ts,tsx,js,jsx,json}\" \"__tests__/**/*.{ts,tsx,js,jsx,json}\"",
|
|
103
156
|
"format": "npm run lint:fix",
|
|
104
157
|
"format:check": "npm run lint"
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
"@hashgraphonline/conversational-agent": "0.2.104",
|
|
108
|
-
"@swc/jest": "^0.2.39",
|
|
109
|
-
"@types/jest": "^29.5.14",
|
|
110
|
-
"@types/lodash": "^4.17.20",
|
|
111
|
-
"@types/mime-types": "^2.1.4",
|
|
112
|
-
"@types/node": "^22.18.12",
|
|
113
|
-
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
114
|
-
"@typescript-eslint/parser": "^8.46.2",
|
|
115
|
-
"concurrently": "^8.2.2",
|
|
116
|
-
"eslint-plugin-sonarjs": "^3.0.5",
|
|
117
|
-
"jest": "^29.7.0",
|
|
118
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
119
|
-
"json-to-plain-text": "^1.2.0",
|
|
120
|
-
"localtunnel": "^2.0.2",
|
|
121
|
-
"nodemon": "^3.1.10",
|
|
122
|
-
"openai": "^4.104.0",
|
|
123
|
-
"prettier": "^3.6.2",
|
|
124
|
-
"process": "^0.11.10",
|
|
125
|
-
"rimraf": "^6.0.1",
|
|
126
|
-
"terser": "^5.44.0",
|
|
127
|
-
"ts-jest": "^29.4.5",
|
|
128
|
-
"tsx": "^4.20.6",
|
|
129
|
-
"typescript": "^5.9.3",
|
|
130
|
-
"vite": "^6.4.1",
|
|
131
|
-
"vite-plugin-dts": "^4.5.4",
|
|
132
|
-
"vite-plugin-node-polyfills": "^0.24.0"
|
|
133
|
-
},
|
|
134
|
-
"dependencies": {
|
|
135
|
-
"@hashgraph/proto": "^2.24.0",
|
|
136
|
-
"@hashgraph/sdk": "2.75.0",
|
|
137
|
-
"@hashgraphonline/hashinal-wc": "1.0.115",
|
|
138
|
-
"@hiero-did-sdk/registrar": "0.1.2",
|
|
139
|
-
"@hiero-did-sdk/resolver": "0.1.2",
|
|
140
|
-
"chalk": "^5.4.1",
|
|
141
|
-
"@kiloscribe/inscription-sdk": "^1.0.61",
|
|
142
|
-
"agent0-sdk": "0.2.1",
|
|
143
|
-
"axios": "^1.12.2",
|
|
144
|
-
"bignumber.js": "^9.3.1",
|
|
145
|
-
"buffer": "^6.0.3",
|
|
146
|
-
"date-fns": "^4.1.0",
|
|
147
|
-
"dotenv": "^16.6.1",
|
|
148
|
-
"ethers": "^6.15.0",
|
|
149
|
-
"file-type": "^20.5.0",
|
|
150
|
-
"ioredis": "^5.8.2",
|
|
151
|
-
"mime-types": "^2.1.35",
|
|
152
|
-
"viem": "^2.19.9",
|
|
153
|
-
"x402-axios": "^0.7.0",
|
|
154
|
-
"zod": "^3.25.76"
|
|
155
|
-
},
|
|
156
|
-
"resolutions": {
|
|
157
|
-
"@hashgraph/sdk": "2.75.0"
|
|
158
|
-
},
|
|
159
|
-
"peerDependenciesMeta": {},
|
|
160
|
-
"packageManager": "pnpm@10.11.1+sha512.e519b9f7639869dc8d5c3c5dfef73b3f091094b0a006d7317353c72b124e80e1afd429732e28705ad6bfa1ee879c1fce46c128ccebd3192101f43dd67c667912"
|
|
161
|
-
}
|
|
158
|
+
}
|
|
159
|
+
}
|