@xyo-network/diviner-identity 7.0.8 → 7.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.
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@xyo-network/sdk/diviner-identity';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
5
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
6
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
7
|
-
if (decorator = decorators[i])
|
|
8
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9
|
-
if (kind && result) __defProp(target, key, result);
|
|
10
|
-
return result;
|
|
11
|
-
};
|
|
12
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
|
-
|
|
14
|
-
// src/IdentityDiviner.ts
|
|
15
|
-
import { assertEx } from "@ariestools/sdk";
|
|
16
|
-
import { AbstractDiviner } from "@xyo-network/diviner-abstract";
|
|
17
|
-
import { creatableModule } from "@xyo-network/module-model";
|
|
18
|
-
import { asSchema } from "@xyo-network/sdk-protocol";
|
|
19
|
-
var IdentityDiviner = class extends AbstractDiviner {
|
|
20
|
-
divineHandler(payloads) {
|
|
21
|
-
return assertEx(payloads, () => "IdentityDiviner requires passed payload");
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
__publicField(IdentityDiviner, "targetSchema", asSchema("network.xyo.test", true));
|
|
25
|
-
IdentityDiviner = __decorateClass([
|
|
26
|
-
creatableModule()
|
|
27
|
-
], IdentityDiviner);
|
|
28
|
-
export {
|
|
29
|
-
IdentityDiviner
|
|
30
|
-
};
|
|
1
|
+
// src/index.ts
|
|
2
|
+
export * from "@xyo-network/sdk/diviner-identity";
|
|
31
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Compatibility shim: this package re-exports from @xyo-network/sdk.\nexport * from '@xyo-network/sdk/diviner-identity'\n"],
|
|
5
|
+
"mappings": ";AACA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-identity",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.10",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,12 +34,11 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@xyo-network/
|
|
38
|
-
"@xyo-network/diviner-model": "~7.0.8",
|
|
39
|
-
"@xyo-network/module-model": "~7.0.8"
|
|
37
|
+
"@xyo-network/sdk": "~7.0.10"
|
|
40
38
|
},
|
|
41
39
|
"devDependencies": {
|
|
42
|
-
"@ariestools/sdk": "~
|
|
40
|
+
"@ariestools/sdk": "~8.0.2",
|
|
41
|
+
"@ariestools/threads": "~8.0.2",
|
|
43
42
|
"@bitauth/libauth": "~3.0.0",
|
|
44
43
|
"@metamask/providers": "~22.1.1",
|
|
45
44
|
"@noble/post-quantum": "~0.6.1",
|
|
@@ -47,14 +46,11 @@
|
|
|
47
46
|
"@opentelemetry/sdk-trace-base": "~2.9.0",
|
|
48
47
|
"@scure/base": "~2.2.0",
|
|
49
48
|
"@scure/bip39": "~2.2.0",
|
|
50
|
-
"@xylabs/
|
|
51
|
-
"@xylabs/
|
|
52
|
-
"@
|
|
53
|
-
"@xylabs/tsconfig": "~8.6.2",
|
|
54
|
-
"@xyo-network/sdk-protocol": "~7.0.13",
|
|
49
|
+
"@xylabs/toolchain": "~8.6.8",
|
|
50
|
+
"@xylabs/tsconfig": "~8.6.8",
|
|
51
|
+
"@xyo-network/sdk-protocol": "~7.0.15",
|
|
55
52
|
"ajv": "~8.20.0",
|
|
56
53
|
"async-mutex": "~0.5.0",
|
|
57
|
-
"browserslist": "~4.28.4",
|
|
58
54
|
"debug": "~4.4.3",
|
|
59
55
|
"eslint": "~10.6.0",
|
|
60
56
|
"eslint-import-resolver-typescript": "~4.4.5",
|
|
@@ -63,13 +59,13 @@
|
|
|
63
59
|
"idb": "~8.0.3",
|
|
64
60
|
"lru-cache": "~11.5.1",
|
|
65
61
|
"observable-fns": "~0.6.1",
|
|
66
|
-
"tslib": "~2.8.1",
|
|
67
62
|
"typescript": "~6.0.3",
|
|
68
63
|
"webextension-polyfill": "~0.12.0",
|
|
69
64
|
"zod": "~4.4.3"
|
|
70
65
|
},
|
|
71
66
|
"peerDependencies": {
|
|
72
|
-
"@ariestools/sdk": "^
|
|
67
|
+
"@ariestools/sdk": "^8.0.2",
|
|
68
|
+
"@ariestools/threads": "^8.0.2",
|
|
73
69
|
"@bitauth/libauth": "^3.0.0",
|
|
74
70
|
"@metamask/providers": "^22.1.1",
|
|
75
71
|
"@noble/post-quantum": "^0.6.1",
|
|
@@ -77,9 +73,7 @@
|
|
|
77
73
|
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
78
74
|
"@scure/base": "^2.2.0",
|
|
79
75
|
"@scure/bip39": "^2.2.0",
|
|
80
|
-
"@
|
|
81
|
-
"@xylabs/threads": "^7.0.8",
|
|
82
|
-
"@xyo-network/sdk-protocol": "^7.0.13",
|
|
76
|
+
"@xyo-network/sdk-protocol": "^7.0.15",
|
|
83
77
|
"ajv": "^8.20.0",
|
|
84
78
|
"async-mutex": "^0.5.0",
|
|
85
79
|
"debug": "^4.4.3",
|
|
@@ -96,5 +90,6 @@
|
|
|
96
90
|
},
|
|
97
91
|
"publishConfig": {
|
|
98
92
|
"access": "public"
|
|
99
|
-
}
|
|
93
|
+
},
|
|
94
|
+
"deprecated": "Use @xyo-network/sdk/diviner-identity instead. Replace @xyo-network/diviner-identity with @xyo-network/sdk/diviner-identity. This package is a compatibility shim only and will not receive further updates."
|
|
100
95
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
-
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
3
|
-
import type { DivinerConfig, DivinerInstance, DivinerModuleEventData, DivinerParams } from '@xyo-network/diviner-model';
|
|
4
|
-
import type { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
-
import type { Payload } from '@xyo-network/sdk-protocol';
|
|
6
|
-
export type IdentityDivinerParams<TConfig extends AnyConfigSchema<DivinerConfig> = AnyConfigSchema<DivinerConfig>> = DivinerParams<TConfig>;
|
|
7
|
-
export declare class IdentityDiviner<TParams extends IdentityDivinerParams = IdentityDivinerParams, TIn extends Payload = Payload, TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TIn>, TIn, TIn> = DivinerModuleEventData<DivinerInstance<TParams, TIn, TIn>, TIn, TIn>> extends AbstractDiviner<TParams, TIn, TIn, TEventData> {
|
|
8
|
-
static readonly targetSchema: 'network.xyo.test' & {
|
|
9
|
-
readonly __schema: true;
|
|
10
|
-
};
|
|
11
|
-
protected divineHandler(payloads?: TIn[]): Promisable<TIn[]>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=IdentityDiviner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityDiviner.d.ts","sourceRoot":"","sources":["../../src/IdentityDiviner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EACV,aAAa,EAAE,eAAe,EAAE,sBAAsB,EAAE,aAAa,EACtE,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAGxD,MAAM,MAAM,qBAAqB,CAAC,OAAO,SAAS,eAAe,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,CAAA;AAE3I,qBACa,eAAe,CAC1B,OAAO,SAAS,qBAAqB,GAAG,qBAAqB,EAC7D,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,UAAU,SAAS,sBAAsB,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,sBAAsB,CAC9G,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,EAClC,GAAG,EACH,GAAG,CACJ,CACD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,CAAC;IACtD,gBAAyB,YAAY,EAAE,kBAAkB,GAAG;QAC1D,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;KACxB,CAAqC;cAEnB,aAAa,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC;CAGtE"}
|