@xyo-network/diviner-address-space-model 5.2.27 → 5.3.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.
package/dist/neutral/Config.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const AddressSpaceDivinerConfigSchema: string & {
|
|
3
|
+
readonly __schema: true;
|
|
4
|
+
};
|
|
5
|
+
export type AddressSpaceDivinerConfigSchema = typeof AddressSpaceDivinerConfigSchema;
|
|
5
6
|
export type AddressSpaceDivinerConfig = DivinerConfig<{
|
|
6
7
|
address?: string;
|
|
7
8
|
schema: AddressSpaceDivinerConfigSchema;
|
|
8
9
|
}>;
|
|
9
|
-
export
|
|
10
|
-
|
|
10
|
+
export declare const AddressSpaceBatchDivinerConfigSchema: string & {
|
|
11
|
+
readonly __schema: true;
|
|
12
|
+
};
|
|
13
|
+
export type AddressSpaceBatchDivinerConfigSchema = typeof AddressSpaceBatchDivinerConfigSchema;
|
|
11
14
|
export type AddressSpaceBatchDivinerConfig = DivinerConfig<{
|
|
12
15
|
address?: string;
|
|
13
16
|
schema: AddressSpaceBatchDivinerConfigSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAK/D,eAAO,MAAM,+BAA+B;;CAAyD,CAAA;AACrG,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAA;AAEpF,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,+BAA+B,CAAA;CACxC,CAAC,CAAA;AAEF,eAAO,MAAM,oCAAoC;;CAA+D,CAAA;AAChH,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,oCAAoC,CAAA;CAC7C,CAAC,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
// src/Config.ts
|
|
2
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
3
|
+
|
|
1
4
|
// src/Schema.ts
|
|
2
5
|
var AddressSpaceSchema = "network.xyo.diviner.address.space";
|
|
3
6
|
|
|
4
7
|
// src/Config.ts
|
|
5
|
-
var AddressSpaceDivinerConfigSchema = `${AddressSpaceSchema}.diviner.config
|
|
6
|
-
var AddressSpaceBatchDivinerConfigSchema = `${AddressSpaceSchema}.batch.diviner.config
|
|
8
|
+
var AddressSpaceDivinerConfigSchema = asSchema(`${AddressSpaceSchema}.diviner.config`, true);
|
|
9
|
+
var AddressSpaceBatchDivinerConfigSchema = asSchema(`${AddressSpaceSchema}.batch.diviner.config`, true);
|
|
7
10
|
export {
|
|
8
11
|
AddressSpaceBatchDivinerConfigSchema,
|
|
9
12
|
AddressSpaceDivinerConfigSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { AddressSpaceSchema } from './Schema.ts'\n\nexport const AddressSpaceDivinerConfigSchema = asSchema(`${AddressSpaceSchema}.diviner.config`, true)\nexport type AddressSpaceDivinerConfigSchema = typeof AddressSpaceDivinerConfigSchema\n\nexport type AddressSpaceDivinerConfig = DivinerConfig<{\n address?: string\n schema: AddressSpaceDivinerConfigSchema\n}>\n\nexport const AddressSpaceBatchDivinerConfigSchema = asSchema(`${AddressSpaceSchema}.batch.diviner.config`, true)\nexport type AddressSpaceBatchDivinerConfigSchema = typeof AddressSpaceBatchDivinerConfigSchema\n\nexport type AddressSpaceBatchDivinerConfig = DivinerConfig<{\n address?: string\n schema: AddressSpaceBatchDivinerConfigSchema\n}>\n","export const AddressSpaceSchema = 'network.xyo.diviner.address.space' as const\nexport type AddressSpaceSchema = typeof AddressSpaceSchema\n"],"mappings":";AACA,SAAS,gBAAgB;;;ACDlB,IAAM,qBAAqB;;;ADK3B,IAAM,kCAAkC,SAAS,GAAG,kBAAkB,mBAAmB,IAAI;AAQ7F,IAAM,uCAAuC,SAAS,GAAG,kBAAkB,yBAAyB,IAAI;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-address-space-model",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,8 +36,9 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/diviner-model": "~5.
|
|
40
|
-
"@xyo-network/module-model": "~5.
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.0",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.0",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.0"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
package/src/Config.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
3
|
|
|
3
4
|
import { AddressSpaceSchema } from './Schema.ts'
|
|
4
5
|
|
|
5
|
-
export
|
|
6
|
-
export
|
|
6
|
+
export const AddressSpaceDivinerConfigSchema = asSchema(`${AddressSpaceSchema}.diviner.config`, true)
|
|
7
|
+
export type AddressSpaceDivinerConfigSchema = typeof AddressSpaceDivinerConfigSchema
|
|
7
8
|
|
|
8
9
|
export type AddressSpaceDivinerConfig = DivinerConfig<{
|
|
9
10
|
address?: string
|
|
10
11
|
schema: AddressSpaceDivinerConfigSchema
|
|
11
12
|
}>
|
|
12
13
|
|
|
13
|
-
export
|
|
14
|
-
export
|
|
14
|
+
export const AddressSpaceBatchDivinerConfigSchema = asSchema(`${AddressSpaceSchema}.batch.diviner.config`, true)
|
|
15
|
+
export type AddressSpaceBatchDivinerConfigSchema = typeof AddressSpaceBatchDivinerConfigSchema
|
|
15
16
|
|
|
16
17
|
export type AddressSpaceBatchDivinerConfig = DivinerConfig<{
|
|
17
18
|
address?: string
|