@xyo-network/sdk-protocol 7.0.16 → 7.2.0
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(() => {
|
|
3
|
-
// ../../node_modules/.pnpm/@ariestools+threads@8.
|
|
3
|
+
// ../../node_modules/.pnpm/@ariestools+threads@8.1.0_@opentelemetry+api@1.9.1_observable-fns@0.6.1_zod@4.4.3/node_modules/@ariestools/threads/dist/browser/worker/worker.browser.mjs
|
|
4
4
|
var DefaultErrorSerializer = {
|
|
5
5
|
deserialize: (message) => {
|
|
6
6
|
const error = Object.create(Error.prototype);
|
|
@@ -2259,85 +2259,7 @@
|
|
|
2259
2259
|
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace-api.js
|
|
2260
2260
|
var trace = TraceAPI.getInstance();
|
|
2261
2261
|
|
|
2262
|
-
// ../../node_modules/.pnpm/@
|
|
2263
|
-
var NANOSECOND_DIGITS = 9;
|
|
2264
|
-
var NANOSECOND_DIGITS_IN_MILLIS = 6;
|
|
2265
|
-
var MILLISECONDS_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS_IN_MILLIS);
|
|
2266
|
-
var SECOND_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS);
|
|
2267
|
-
function hrTimeToMicroseconds(time2) {
|
|
2268
|
-
return time2[0] * 1e6 + time2[1] / 1e3;
|
|
2269
|
-
}
|
|
2270
|
-
|
|
2271
|
-
// ../../node_modules/.pnpm/@opentelemetry+core@2.9.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/ExportResult.js
|
|
2272
|
-
var ExportResultCode;
|
|
2273
|
-
(function(ExportResultCode2) {
|
|
2274
|
-
ExportResultCode2[ExportResultCode2["SUCCESS"] = 0] = "SUCCESS";
|
|
2275
|
-
ExportResultCode2[ExportResultCode2["FAILED"] = 1] = "FAILED";
|
|
2276
|
-
})(ExportResultCode || (ExportResultCode = {}));
|
|
2277
|
-
|
|
2278
|
-
// ../../node_modules/.pnpm/@opentelemetry+sdk-trace@2.9.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace/build/esm/export/ConsoleSpanExporter.js
|
|
2279
|
-
var ConsoleSpanExporter = class {
|
|
2280
|
-
/**
|
|
2281
|
-
* Export spans.
|
|
2282
|
-
* @param spans
|
|
2283
|
-
* @param resultCallback
|
|
2284
|
-
*/
|
|
2285
|
-
export(spans, resultCallback) {
|
|
2286
|
-
return this._sendSpans(spans, resultCallback);
|
|
2287
|
-
}
|
|
2288
|
-
/**
|
|
2289
|
-
* Shutdown the exporter.
|
|
2290
|
-
*/
|
|
2291
|
-
shutdown() {
|
|
2292
|
-
this._sendSpans([]);
|
|
2293
|
-
return this.forceFlush();
|
|
2294
|
-
}
|
|
2295
|
-
/**
|
|
2296
|
-
* Exports any pending spans in exporter
|
|
2297
|
-
*/
|
|
2298
|
-
forceFlush() {
|
|
2299
|
-
return Promise.resolve();
|
|
2300
|
-
}
|
|
2301
|
-
/**
|
|
2302
|
-
* converts span info into more readable format
|
|
2303
|
-
* @param span
|
|
2304
|
-
*/
|
|
2305
|
-
_exportInfo(span) {
|
|
2306
|
-
return {
|
|
2307
|
-
resource: {
|
|
2308
|
-
attributes: span.resource.attributes
|
|
2309
|
-
},
|
|
2310
|
-
instrumentationScope: span.instrumentationScope,
|
|
2311
|
-
traceId: span.spanContext().traceId,
|
|
2312
|
-
parentSpanContext: span.parentSpanContext,
|
|
2313
|
-
traceState: span.spanContext().traceState?.serialize(),
|
|
2314
|
-
name: span.name,
|
|
2315
|
-
id: span.spanContext().spanId,
|
|
2316
|
-
kind: span.kind,
|
|
2317
|
-
timestamp: hrTimeToMicroseconds(span.startTime),
|
|
2318
|
-
duration: hrTimeToMicroseconds(span.duration),
|
|
2319
|
-
attributes: span.attributes,
|
|
2320
|
-
status: span.status,
|
|
2321
|
-
events: span.events,
|
|
2322
|
-
links: span.links
|
|
2323
|
-
};
|
|
2324
|
-
}
|
|
2325
|
-
/**
|
|
2326
|
-
* Showing spans in console
|
|
2327
|
-
* @param spans
|
|
2328
|
-
* @param done
|
|
2329
|
-
*/
|
|
2330
|
-
_sendSpans(spans, done) {
|
|
2331
|
-
for (const span of spans) {
|
|
2332
|
-
console.dir(this._exportInfo(span), { depth: 3 });
|
|
2333
|
-
}
|
|
2334
|
-
if (done) {
|
|
2335
|
-
return done({ code: ExportResultCode.SUCCESS });
|
|
2336
|
-
}
|
|
2337
|
-
}
|
|
2338
|
-
};
|
|
2339
|
-
|
|
2340
|
-
// ../../node_modules/.pnpm/@ariestools+sdk@8.0.4_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.9.0_@opentelemetry+api@1.9.1__zod@4.4.3/node_modules/@ariestools/sdk/dist/browser/index.mjs
|
|
2262
|
+
// ../../node_modules/.pnpm/@ariestools+sdk@8.1.0_@opentelemetry+api@1.9.1_zod@4.4.3/node_modules/@ariestools/sdk/dist/browser/index.mjs
|
|
2341
2263
|
var __defProp = Object.defineProperty;
|
|
2342
2264
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
2343
2265
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -4132,13 +4054,38 @@
|
|
|
4132
4054
|
function zodIsFactory(zod) {
|
|
4133
4055
|
return (value) => safeParse(zod, value).success;
|
|
4134
4056
|
}
|
|
4057
|
+
var formatZodValue2 = (value) => {
|
|
4058
|
+
const json = JSON.stringify(value);
|
|
4059
|
+
return json ?? String(value);
|
|
4060
|
+
};
|
|
4135
4061
|
function zodToFactory(zod, name) {
|
|
4136
|
-
const as = zodAsFactory(zod, name);
|
|
4137
4062
|
function toFunc(value, assert) {
|
|
4138
|
-
|
|
4139
|
-
|
|
4063
|
+
const result = safeParse(zod, value);
|
|
4064
|
+
if (result.success) {
|
|
4065
|
+
return result.data;
|
|
4066
|
+
}
|
|
4067
|
+
if (assert !== void 0) {
|
|
4068
|
+
let assertConfig;
|
|
4069
|
+
switch (typeof assert) {
|
|
4070
|
+
case "string": {
|
|
4071
|
+
assertConfig = `[${name}][${formatZodValue2(value)}] ${assert}`;
|
|
4072
|
+
break;
|
|
4073
|
+
}
|
|
4074
|
+
case "object": {
|
|
4075
|
+
assertConfig = `[${name}][${assert.name}][${formatZodValue2(value)}] ${result.error.message}`;
|
|
4076
|
+
break;
|
|
4077
|
+
}
|
|
4078
|
+
case "boolean": {
|
|
4079
|
+
assertConfig = `[${name}][${formatZodValue2(value)}] ${result.error.message}`;
|
|
4080
|
+
break;
|
|
4081
|
+
}
|
|
4082
|
+
case "function": {
|
|
4083
|
+
assertConfig = assert(value, result.error.message);
|
|
4084
|
+
break;
|
|
4085
|
+
}
|
|
4086
|
+
}
|
|
4087
|
+
return assertError(value, assertConfig, result.error.message);
|
|
4140
4088
|
}
|
|
4141
|
-
return as(value);
|
|
4142
4089
|
}
|
|
4143
4090
|
return toFunc;
|
|
4144
4091
|
}
|
|
@@ -4177,7 +4124,7 @@
|
|
|
4177
4124
|
function spanDurationInMillis(span2) {
|
|
4178
4125
|
return span2.duration[0] * 1e3 + span2.duration[1] / 1e6;
|
|
4179
4126
|
}
|
|
4180
|
-
var
|
|
4127
|
+
var XyConsoleSpanExporterImplementation = class _XyConsoleSpanExporterImplementation {
|
|
4181
4128
|
/** Duration thresholds (in ms) that map to increasing log levels. */
|
|
4182
4129
|
static durationToLogLevel = [
|
|
4183
4130
|
0,
|
|
@@ -4197,7 +4144,6 @@
|
|
|
4197
4144
|
logger;
|
|
4198
4145
|
_logLevel;
|
|
4199
4146
|
constructor(logLevel = 0, logger = console) {
|
|
4200
|
-
super();
|
|
4201
4147
|
this._logLevel = logLevel;
|
|
4202
4148
|
this.logger = logger;
|
|
4203
4149
|
}
|
|
@@ -4205,7 +4151,7 @@
|
|
|
4205
4151
|
get logLevel() {
|
|
4206
4152
|
return this._logLevel;
|
|
4207
4153
|
}
|
|
4208
|
-
export(spans) {
|
|
4154
|
+
export(spans, resultCallback) {
|
|
4209
4155
|
for (const span2 of spans) {
|
|
4210
4156
|
const spanLevel = this.spanLevel(span2);
|
|
4211
4157
|
if (spanLevel < this.logLevel) {
|
|
@@ -4218,6 +4164,10 @@
|
|
|
4218
4164
|
`TraceId: ${span2.spanContext().traceId}`
|
|
4219
4165
|
].join(", ")));
|
|
4220
4166
|
}
|
|
4167
|
+
resultCallback?.({ code: 0 });
|
|
4168
|
+
}
|
|
4169
|
+
forceFlush() {
|
|
4170
|
+
return Promise.resolve();
|
|
4221
4171
|
}
|
|
4222
4172
|
/**
|
|
4223
4173
|
* Returns the chalk color function for the given log level.
|
|
@@ -4225,7 +4175,10 @@
|
|
|
4225
4175
|
* @returns A chalk color function.
|
|
4226
4176
|
*/
|
|
4227
4177
|
logColor(level) {
|
|
4228
|
-
return
|
|
4178
|
+
return _XyConsoleSpanExporterImplementation.logLevelToChalkColor[level] ?? logColors.magenta;
|
|
4179
|
+
}
|
|
4180
|
+
shutdown() {
|
|
4181
|
+
return Promise.resolve();
|
|
4229
4182
|
}
|
|
4230
4183
|
/**
|
|
4231
4184
|
* Determines the log level of a span based on its duration.
|
|
@@ -4235,8 +4188,8 @@
|
|
|
4235
4188
|
spanLevel(span2) {
|
|
4236
4189
|
let logLevel = 0;
|
|
4237
4190
|
const duration2 = spanDurationInMillis(span2);
|
|
4238
|
-
for (let x =
|
|
4239
|
-
if (duration2 >
|
|
4191
|
+
for (let x = _XyConsoleSpanExporterImplementation.durationToLogLevel.length - 1; x >= 0; x--) {
|
|
4192
|
+
if (duration2 > _XyConsoleSpanExporterImplementation.durationToLogLevel[x]) {
|
|
4240
4193
|
logLevel = x;
|
|
4241
4194
|
break;
|
|
4242
4195
|
}
|
|
@@ -4245,7 +4198,7 @@
|
|
|
4245
4198
|
}
|
|
4246
4199
|
};
|
|
4247
4200
|
|
|
4248
|
-
// ../../node_modules/.pnpm/@ariestools+threads@8.
|
|
4201
|
+
// ../../node_modules/.pnpm/@ariestools+threads@8.1.0_@opentelemetry+api@1.9.1_observable-fns@0.6.1_zod@4.4.3/node_modules/@ariestools/threads/dist/browser/worker/worker.browser.mjs
|
|
4249
4202
|
var DefaultErrorSerializer = {
|
|
4250
4203
|
deserialize: (message) => {
|
|
4251
4204
|
const error = Object.create(Error.prototype);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/sdk-protocol",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "Foundation SDK facade for XYO Protocol 2.0 (re-exports @xyo-network/sdk-protocol-core)",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -19,8 +19,115 @@
|
|
|
19
19
|
},
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"type": "module",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"imports": {
|
|
23
|
+
"#model": "./src/modules/model/index.ts",
|
|
24
|
+
"#model/*": "./src/modules/model/*",
|
|
25
|
+
"#account": "./src/modules/account/index.ts",
|
|
26
|
+
"#account/*": "./src/modules/account/*",
|
|
27
|
+
"#account-model": "./src/modules/account-model/index.ts",
|
|
28
|
+
"#account-model/*": "./src/modules/account-model/*",
|
|
29
|
+
"#address": "./src/modules/address/index.ts",
|
|
30
|
+
"#address/*": "./src/modules/address/*",
|
|
31
|
+
"#api": "./src/modules/api/index.ts",
|
|
32
|
+
"#api/*": "./src/modules/api/*",
|
|
33
|
+
"#api-models": "./src/modules/api-models/index.ts",
|
|
34
|
+
"#api-models/*": "./src/modules/api-models/*",
|
|
35
|
+
"#boundwitness": "./src/modules/boundwitness/index.ts",
|
|
36
|
+
"#boundwitness/*": "./src/modules/boundwitness/*",
|
|
37
|
+
"#boundwitness/model": "./src/modules/boundwitness/model/index.ts",
|
|
38
|
+
"#boundwitness/model/*": "./src/modules/boundwitness/model/*",
|
|
39
|
+
"#boundwitness-builder": "./src/modules/boundwitness-builder/index.ts",
|
|
40
|
+
"#boundwitness-builder/*": "./src/modules/boundwitness-builder/*",
|
|
41
|
+
"#boundwitness-model": "./src/modules/boundwitness-model/index.ts",
|
|
42
|
+
"#boundwitness-model/*": "./src/modules/boundwitness-model/*",
|
|
43
|
+
"#boundwitness-validator": "./src/modules/boundwitness-validator/index.ts",
|
|
44
|
+
"#boundwitness-validator/*": "./src/modules/boundwitness-validator/*",
|
|
45
|
+
"#boundwitness-wrapper": "./src/modules/boundwitness-wrapper/index.ts",
|
|
46
|
+
"#boundwitness-wrapper/*": "./src/modules/boundwitness-wrapper/*",
|
|
47
|
+
"#config-payload-plugin": "./src/modules/config-payload-plugin/index.ts",
|
|
48
|
+
"#config-payload-plugin/*": "./src/modules/config-payload-plugin/*",
|
|
49
|
+
"#core": "./src/modules/core/index.ts",
|
|
50
|
+
"#core/*": "./src/modules/core/*",
|
|
51
|
+
"#core-payload-plugins": "./src/modules/core-payload-plugins/index.ts",
|
|
52
|
+
"#core-payload-plugins/*": "./src/modules/core-payload-plugins/*",
|
|
53
|
+
"#crypto": "./src/modules/crypto/index.ts",
|
|
54
|
+
"#crypto/*": "./src/modules/crypto/*",
|
|
55
|
+
"#data": "./src/modules/data/index.ts",
|
|
56
|
+
"#data/*": "./src/modules/data/*",
|
|
57
|
+
"#dns": "./src/modules/dns/index.ts",
|
|
58
|
+
"#dns/*": "./src/modules/dns/*",
|
|
59
|
+
"#domain-payload-plugin": "./src/modules/domain-payload-plugin/index.ts",
|
|
60
|
+
"#domain-payload-plugin/*": "./src/modules/domain-payload-plugin/*",
|
|
61
|
+
"#elliptic": "./src/modules/elliptic/index.ts",
|
|
62
|
+
"#elliptic/*": "./src/modules/elliptic/*",
|
|
63
|
+
"#hash": "./src/modules/hash/index.ts",
|
|
64
|
+
"#hash/*": "./src/modules/hash/*",
|
|
65
|
+
"#huri": "./src/modules/huri/index.ts",
|
|
66
|
+
"#huri/*": "./src/modules/huri/*",
|
|
67
|
+
"#id-payload-plugin": "./src/modules/id-payload-plugin/index.ts",
|
|
68
|
+
"#id-payload-plugin/*": "./src/modules/id-payload-plugin/*",
|
|
69
|
+
"#key-model": "./src/modules/key-model/index.ts",
|
|
70
|
+
"#key-model/*": "./src/modules/key-model/*",
|
|
71
|
+
"#manifest": "./src/modules/manifest/index.ts",
|
|
72
|
+
"#manifest/*": "./src/modules/manifest/*",
|
|
73
|
+
"#manifest-model": "./src/modules/manifest-model/index.ts",
|
|
74
|
+
"#manifest-model/*": "./src/modules/manifest-model/*",
|
|
75
|
+
"#metamask-connector": "./src/modules/metamask-connector/index.ts",
|
|
76
|
+
"#metamask-connector/*": "./src/modules/metamask-connector/*",
|
|
77
|
+
"#network": "./src/modules/network/index.ts",
|
|
78
|
+
"#network/*": "./src/modules/network/*",
|
|
79
|
+
"#payload": "./src/modules/payload/index.ts",
|
|
80
|
+
"#payload/*": "./src/modules/payload/*",
|
|
81
|
+
"#payload/model": "./src/modules/payload/model/index.ts",
|
|
82
|
+
"#payload/model/*": "./src/modules/payload/model/*",
|
|
83
|
+
"#payload-builder": "./src/modules/payload-builder/index.ts",
|
|
84
|
+
"#payload-builder/*": "./src/modules/payload-builder/*",
|
|
85
|
+
"#payload-model": "./src/modules/payload-model/index.ts",
|
|
86
|
+
"#payload-model/*": "./src/modules/payload-model/*",
|
|
87
|
+
"#payload-plugin": "./src/modules/payload-plugin/index.ts",
|
|
88
|
+
"#payload-plugin/*": "./src/modules/payload-plugin/*",
|
|
89
|
+
"#payload-utils": "./src/modules/payload-utils/index.ts",
|
|
90
|
+
"#payload-utils/*": "./src/modules/payload-utils/*",
|
|
91
|
+
"#payload-validator": "./src/modules/payload-validator/index.ts",
|
|
92
|
+
"#payload-validator/*": "./src/modules/payload-validator/*",
|
|
93
|
+
"#payload-wrapper": "./src/modules/payload-wrapper/index.ts",
|
|
94
|
+
"#payload-wrapper/*": "./src/modules/payload-wrapper/*",
|
|
95
|
+
"#pqc": "./src/modules/pqc/index.ts",
|
|
96
|
+
"#pqc/*": "./src/modules/pqc/*",
|
|
97
|
+
"#previous-hash-store": "./src/modules/previous-hash-store/index.ts",
|
|
98
|
+
"#previous-hash-store/*": "./src/modules/previous-hash-store/*",
|
|
99
|
+
"#previous-hash-store-indexeddb": "./src/modules/previous-hash-store-indexeddb/index.ts",
|
|
100
|
+
"#previous-hash-store-indexeddb/*": "./src/modules/previous-hash-store-indexeddb/*",
|
|
101
|
+
"#previous-hash-store-model": "./src/modules/previous-hash-store-model/index.ts",
|
|
102
|
+
"#previous-hash-store-model/*": "./src/modules/previous-hash-store-model/*",
|
|
103
|
+
"#previous-hash-store-storage": "./src/modules/previous-hash-store-storage/index.ts",
|
|
104
|
+
"#previous-hash-store-storage/*": "./src/modules/previous-hash-store-storage/*",
|
|
105
|
+
"#protocol": "./src/modules/protocol/index.ts",
|
|
106
|
+
"#protocol/*": "./src/modules/protocol/*",
|
|
107
|
+
"#quadkey": "./src/modules/quadkey/index.ts",
|
|
108
|
+
"#quadkey/*": "./src/modules/quadkey/*",
|
|
109
|
+
"#quant-account": "./src/modules/quant-account/index.ts",
|
|
110
|
+
"#quant-account/*": "./src/modules/quant-account/*",
|
|
111
|
+
"#quant-wallet": "./src/modules/quant-wallet/index.ts",
|
|
112
|
+
"#quant-wallet/*": "./src/modules/quant-wallet/*",
|
|
113
|
+
"#query-payload-plugin": "./src/modules/query-payload-plugin/index.ts",
|
|
114
|
+
"#query-payload-plugin/*": "./src/modules/query-payload-plugin/*",
|
|
115
|
+
"#schema-cache": "./src/modules/schema-cache/index.ts",
|
|
116
|
+
"#schema-cache/*": "./src/modules/schema-cache/*",
|
|
117
|
+
"#schema-name-validator": "./src/modules/schema-name-validator/index.ts",
|
|
118
|
+
"#schema-name-validator/*": "./src/modules/schema-name-validator/*",
|
|
119
|
+
"#schema-payload-plugin": "./src/modules/schema-payload-plugin/index.ts",
|
|
120
|
+
"#schema-payload-plugin/*": "./src/modules/schema-payload-plugin/*",
|
|
121
|
+
"#sdk-utils": "./src/modules/sdk-utils/index.ts",
|
|
122
|
+
"#sdk-utils/*": "./src/modules/sdk-utils/*",
|
|
123
|
+
"#value-payload-plugin": "./src/modules/value-payload-plugin/index.ts",
|
|
124
|
+
"#value-payload-plugin/*": "./src/modules/value-payload-plugin/*",
|
|
125
|
+
"#wallet": "./src/modules/wallet/index.ts",
|
|
126
|
+
"#wallet/*": "./src/modules/wallet/*",
|
|
127
|
+
"#wallet-model": "./src/modules/wallet-model/index.ts",
|
|
128
|
+
"#wallet-model/*": "./src/modules/wallet-model/*",
|
|
129
|
+
"#wasm": "./src/modules/wasm/index.ts",
|
|
130
|
+
"#wasm/*": "./src/modules/wasm/*"
|
|
24
131
|
},
|
|
25
132
|
"exports": {
|
|
26
133
|
".": {
|
|
@@ -255,30 +362,24 @@
|
|
|
255
362
|
"dist",
|
|
256
363
|
"README.md"
|
|
257
364
|
],
|
|
365
|
+
"dependencies": {
|
|
366
|
+
"@xyo-network/sdk-protocol-core": "~7.2.0"
|
|
367
|
+
},
|
|
258
368
|
"devDependencies": {
|
|
259
|
-
"@ariestools/sdk": "~8.0
|
|
260
|
-
"@ariestools/toolchain": "~8.7.
|
|
261
|
-
"@ariestools/tsconfig": "~8.7.
|
|
262
|
-
"@opentelemetry/api": "~1.9.1",
|
|
263
|
-
"@opentelemetry/sdk-trace-base": "~2.9.0",
|
|
369
|
+
"@ariestools/sdk": "~8.1.0",
|
|
370
|
+
"@ariestools/toolchain": "~8.7.11",
|
|
371
|
+
"@ariestools/tsconfig": "~8.7.11",
|
|
264
372
|
"ajv": "~8.20.0",
|
|
265
|
-
"eslint": "~10.
|
|
373
|
+
"eslint": "~10.7.0",
|
|
266
374
|
"eslint-import-resolver-typescript": "~4.4.5",
|
|
267
375
|
"ethers": "~6.17.0",
|
|
268
|
-
"observable-fns": "~0.6.1",
|
|
269
376
|
"typescript": "~6.0.3",
|
|
270
|
-
"webextension-polyfill": "~0.12.0",
|
|
271
377
|
"zod": "~4.4.3"
|
|
272
378
|
},
|
|
273
379
|
"peerDependencies": {
|
|
274
|
-
"@ariestools/sdk": "^8.
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"ajv": "^8.20.0",
|
|
278
|
-
"ethers": "^6.17.0",
|
|
279
|
-
"observable-fns": "^0.6.1",
|
|
280
|
-
"webextension-polyfill": "^0.12.0",
|
|
281
|
-
"zod": "^4.4.3"
|
|
380
|
+
"@ariestools/sdk": "^8.1",
|
|
381
|
+
"ajv": "^8.20",
|
|
382
|
+
"ethers": "^6.17"
|
|
282
383
|
},
|
|
283
384
|
"engines": {
|
|
284
385
|
"node": "^24"
|
|
@@ -287,116 +388,6 @@
|
|
|
287
388
|
"access": "public"
|
|
288
389
|
},
|
|
289
390
|
"readme": "README.md",
|
|
290
|
-
"imports": {
|
|
291
|
-
"#model": "./src/modules/model/index.ts",
|
|
292
|
-
"#model/*": "./src/modules/model/*",
|
|
293
|
-
"#account": "./src/modules/account/index.ts",
|
|
294
|
-
"#account/*": "./src/modules/account/*",
|
|
295
|
-
"#account-model": "./src/modules/account-model/index.ts",
|
|
296
|
-
"#account-model/*": "./src/modules/account-model/*",
|
|
297
|
-
"#address": "./src/modules/address/index.ts",
|
|
298
|
-
"#address/*": "./src/modules/address/*",
|
|
299
|
-
"#api": "./src/modules/api/index.ts",
|
|
300
|
-
"#api/*": "./src/modules/api/*",
|
|
301
|
-
"#api-models": "./src/modules/api-models/index.ts",
|
|
302
|
-
"#api-models/*": "./src/modules/api-models/*",
|
|
303
|
-
"#boundwitness": "./src/modules/boundwitness/index.ts",
|
|
304
|
-
"#boundwitness/*": "./src/modules/boundwitness/*",
|
|
305
|
-
"#boundwitness/model": "./src/modules/boundwitness/model/index.ts",
|
|
306
|
-
"#boundwitness/model/*": "./src/modules/boundwitness/model/*",
|
|
307
|
-
"#boundwitness-builder": "./src/modules/boundwitness-builder/index.ts",
|
|
308
|
-
"#boundwitness-builder/*": "./src/modules/boundwitness-builder/*",
|
|
309
|
-
"#boundwitness-model": "./src/modules/boundwitness-model/index.ts",
|
|
310
|
-
"#boundwitness-model/*": "./src/modules/boundwitness-model/*",
|
|
311
|
-
"#boundwitness-validator": "./src/modules/boundwitness-validator/index.ts",
|
|
312
|
-
"#boundwitness-validator/*": "./src/modules/boundwitness-validator/*",
|
|
313
|
-
"#boundwitness-wrapper": "./src/modules/boundwitness-wrapper/index.ts",
|
|
314
|
-
"#boundwitness-wrapper/*": "./src/modules/boundwitness-wrapper/*",
|
|
315
|
-
"#config-payload-plugin": "./src/modules/config-payload-plugin/index.ts",
|
|
316
|
-
"#config-payload-plugin/*": "./src/modules/config-payload-plugin/*",
|
|
317
|
-
"#core": "./src/modules/core/index.ts",
|
|
318
|
-
"#core/*": "./src/modules/core/*",
|
|
319
|
-
"#core-payload-plugins": "./src/modules/core-payload-plugins/index.ts",
|
|
320
|
-
"#core-payload-plugins/*": "./src/modules/core-payload-plugins/*",
|
|
321
|
-
"#crypto": "./src/modules/crypto/index.ts",
|
|
322
|
-
"#crypto/*": "./src/modules/crypto/*",
|
|
323
|
-
"#data": "./src/modules/data/index.ts",
|
|
324
|
-
"#data/*": "./src/modules/data/*",
|
|
325
|
-
"#dns": "./src/modules/dns/index.ts",
|
|
326
|
-
"#dns/*": "./src/modules/dns/*",
|
|
327
|
-
"#domain-payload-plugin": "./src/modules/domain-payload-plugin/index.ts",
|
|
328
|
-
"#domain-payload-plugin/*": "./src/modules/domain-payload-plugin/*",
|
|
329
|
-
"#elliptic": "./src/modules/elliptic/index.ts",
|
|
330
|
-
"#elliptic/*": "./src/modules/elliptic/*",
|
|
331
|
-
"#hash": "./src/modules/hash/index.ts",
|
|
332
|
-
"#hash/*": "./src/modules/hash/*",
|
|
333
|
-
"#huri": "./src/modules/huri/index.ts",
|
|
334
|
-
"#huri/*": "./src/modules/huri/*",
|
|
335
|
-
"#id-payload-plugin": "./src/modules/id-payload-plugin/index.ts",
|
|
336
|
-
"#id-payload-plugin/*": "./src/modules/id-payload-plugin/*",
|
|
337
|
-
"#key-model": "./src/modules/key-model/index.ts",
|
|
338
|
-
"#key-model/*": "./src/modules/key-model/*",
|
|
339
|
-
"#manifest": "./src/modules/manifest/index.ts",
|
|
340
|
-
"#manifest/*": "./src/modules/manifest/*",
|
|
341
|
-
"#manifest-model": "./src/modules/manifest-model/index.ts",
|
|
342
|
-
"#manifest-model/*": "./src/modules/manifest-model/*",
|
|
343
|
-
"#metamask-connector": "./src/modules/metamask-connector/index.ts",
|
|
344
|
-
"#metamask-connector/*": "./src/modules/metamask-connector/*",
|
|
345
|
-
"#network": "./src/modules/network/index.ts",
|
|
346
|
-
"#network/*": "./src/modules/network/*",
|
|
347
|
-
"#payload": "./src/modules/payload/index.ts",
|
|
348
|
-
"#payload/*": "./src/modules/payload/*",
|
|
349
|
-
"#payload/model": "./src/modules/payload/model/index.ts",
|
|
350
|
-
"#payload/model/*": "./src/modules/payload/model/*",
|
|
351
|
-
"#payload-builder": "./src/modules/payload-builder/index.ts",
|
|
352
|
-
"#payload-builder/*": "./src/modules/payload-builder/*",
|
|
353
|
-
"#payload-model": "./src/modules/payload-model/index.ts",
|
|
354
|
-
"#payload-model/*": "./src/modules/payload-model/*",
|
|
355
|
-
"#payload-plugin": "./src/modules/payload-plugin/index.ts",
|
|
356
|
-
"#payload-plugin/*": "./src/modules/payload-plugin/*",
|
|
357
|
-
"#payload-utils": "./src/modules/payload-utils/index.ts",
|
|
358
|
-
"#payload-utils/*": "./src/modules/payload-utils/*",
|
|
359
|
-
"#payload-validator": "./src/modules/payload-validator/index.ts",
|
|
360
|
-
"#payload-validator/*": "./src/modules/payload-validator/*",
|
|
361
|
-
"#payload-wrapper": "./src/modules/payload-wrapper/index.ts",
|
|
362
|
-
"#payload-wrapper/*": "./src/modules/payload-wrapper/*",
|
|
363
|
-
"#pqc": "./src/modules/pqc/index.ts",
|
|
364
|
-
"#pqc/*": "./src/modules/pqc/*",
|
|
365
|
-
"#previous-hash-store": "./src/modules/previous-hash-store/index.ts",
|
|
366
|
-
"#previous-hash-store/*": "./src/modules/previous-hash-store/*",
|
|
367
|
-
"#previous-hash-store-indexeddb": "./src/modules/previous-hash-store-indexeddb/index.ts",
|
|
368
|
-
"#previous-hash-store-indexeddb/*": "./src/modules/previous-hash-store-indexeddb/*",
|
|
369
|
-
"#previous-hash-store-model": "./src/modules/previous-hash-store-model/index.ts",
|
|
370
|
-
"#previous-hash-store-model/*": "./src/modules/previous-hash-store-model/*",
|
|
371
|
-
"#previous-hash-store-storage": "./src/modules/previous-hash-store-storage/index.ts",
|
|
372
|
-
"#previous-hash-store-storage/*": "./src/modules/previous-hash-store-storage/*",
|
|
373
|
-
"#protocol": "./src/modules/protocol/index.ts",
|
|
374
|
-
"#protocol/*": "./src/modules/protocol/*",
|
|
375
|
-
"#quadkey": "./src/modules/quadkey/index.ts",
|
|
376
|
-
"#quadkey/*": "./src/modules/quadkey/*",
|
|
377
|
-
"#quant-account": "./src/modules/quant-account/index.ts",
|
|
378
|
-
"#quant-account/*": "./src/modules/quant-account/*",
|
|
379
|
-
"#quant-wallet": "./src/modules/quant-wallet/index.ts",
|
|
380
|
-
"#quant-wallet/*": "./src/modules/quant-wallet/*",
|
|
381
|
-
"#query-payload-plugin": "./src/modules/query-payload-plugin/index.ts",
|
|
382
|
-
"#query-payload-plugin/*": "./src/modules/query-payload-plugin/*",
|
|
383
|
-
"#schema-cache": "./src/modules/schema-cache/index.ts",
|
|
384
|
-
"#schema-cache/*": "./src/modules/schema-cache/*",
|
|
385
|
-
"#schema-name-validator": "./src/modules/schema-name-validator/index.ts",
|
|
386
|
-
"#schema-name-validator/*": "./src/modules/schema-name-validator/*",
|
|
387
|
-
"#schema-payload-plugin": "./src/modules/schema-payload-plugin/index.ts",
|
|
388
|
-
"#schema-payload-plugin/*": "./src/modules/schema-payload-plugin/*",
|
|
389
|
-
"#sdk-utils": "./src/modules/sdk-utils/index.ts",
|
|
390
|
-
"#sdk-utils/*": "./src/modules/sdk-utils/*",
|
|
391
|
-
"#value-payload-plugin": "./src/modules/value-payload-plugin/index.ts",
|
|
392
|
-
"#value-payload-plugin/*": "./src/modules/value-payload-plugin/*",
|
|
393
|
-
"#wallet": "./src/modules/wallet/index.ts",
|
|
394
|
-
"#wallet/*": "./src/modules/wallet/*",
|
|
395
|
-
"#wallet-model": "./src/modules/wallet-model/index.ts",
|
|
396
|
-
"#wallet-model/*": "./src/modules/wallet-model/*",
|
|
397
|
-
"#wasm": "./src/modules/wasm/index.ts",
|
|
398
|
-
"#wasm/*": "./src/modules/wasm/*"
|
|
399
|
-
},
|
|
400
391
|
"scripts": {
|
|
401
392
|
"sync-sdk-layout": "package-sync-layout",
|
|
402
393
|
"sync-sdk-layout:check": "package-sync-layout --check"
|