@xyo-network/diviner-boundwitness-model 3.0.2 → 3.0.4

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 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Query.ts"],"sourcesContent":["export type BoundWitnessDivinerSchema = 'network.xyo.diviner.boundwitness'\nexport const BoundWitnessDivinerSchema: BoundWitnessDivinerSchema = 'network.xyo.diviner.boundwitness'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessDivinerConfigSchema = `${BoundWitnessDivinerSchema}.config`\nexport const BoundWitnessDivinerConfigSchema: BoundWitnessDivinerConfigSchema = `${BoundWitnessDivinerSchema}.config`\n\nexport type BoundWitnessDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: BoundWitnessDivinerConfigSchema\n }\n>\n","import { isPayloadOfSchemaType, Query } from '@xyo-network/payload-model'\n\nimport { BoundWitnessDivinerPredicate } from './Predicate.ts'\nimport { BoundWitnessDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessDivinerQuerySchema = `${BoundWitnessDivinerSchema}.query`\nexport const BoundWitnessDivinerQuerySchema: BoundWitnessDivinerQuerySchema = `${BoundWitnessDivinerSchema}.query`\n\nexport type BoundWitnessDivinerQueryPayload = Query<{ schema: BoundWitnessDivinerQuerySchema } & BoundWitnessDivinerPredicate>\nexport const isBoundWitnessDivinerQueryPayload = isPayloadOfSchemaType<BoundWitnessDivinerQueryPayload>(BoundWitnessDivinerQuerySchema)\n"],"mappings":";AACO,IAAMA,4BAAuD;;;ACK7D,IAAMC,kCAAmE,GAAGC,yBAAAA;;;ACNnF,SAASC,6BAAoC;AAMtC,IAAMC,iCAAiE,GAAGC,yBAAAA;AAG1E,IAAMC,oCAAoCC,sBAAuDH,8BAAAA;","names":["BoundWitnessDivinerSchema","BoundWitnessDivinerConfigSchema","BoundWitnessDivinerSchema","isPayloadOfSchemaType","BoundWitnessDivinerQuerySchema","BoundWitnessDivinerSchema","isBoundWitnessDivinerQueryPayload","isPayloadOfSchemaType"]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Query.ts"],"sourcesContent":["export type BoundWitnessDivinerSchema = 'network.xyo.diviner.boundwitness'\nexport const BoundWitnessDivinerSchema: BoundWitnessDivinerSchema = 'network.xyo.diviner.boundwitness'\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessDivinerConfigSchema = `${BoundWitnessDivinerSchema}.config`\nexport const BoundWitnessDivinerConfigSchema: BoundWitnessDivinerConfigSchema = `${BoundWitnessDivinerSchema}.config`\n\nexport type BoundWitnessDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: BoundWitnessDivinerConfigSchema\n }\n>\n","import type { Query } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport type { BoundWitnessDivinerPredicate } from './Predicate.ts'\nimport { BoundWitnessDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessDivinerQuerySchema = `${BoundWitnessDivinerSchema}.query`\nexport const BoundWitnessDivinerQuerySchema: BoundWitnessDivinerQuerySchema = `${BoundWitnessDivinerSchema}.query`\n\nexport type BoundWitnessDivinerQueryPayload = Query<{ schema: BoundWitnessDivinerQuerySchema } & BoundWitnessDivinerPredicate>\nexport const isBoundWitnessDivinerQueryPayload = isPayloadOfSchemaType<BoundWitnessDivinerQueryPayload>(BoundWitnessDivinerQuerySchema)\n"],"mappings":";AACO,IAAMA,4BAAuD;;;ACK7D,IAAMC,kCAAmE,GAAGC,yBAAAA;;;ACLnF,SAASC,6BAA6B;AAM/B,IAAMC,iCAAiE,GAAGC,yBAAAA;AAG1E,IAAMC,oCAAoCC,sBAAuDH,8BAAAA;","names":["BoundWitnessDivinerSchema","BoundWitnessDivinerConfigSchema","BoundWitnessDivinerSchema","isPayloadOfSchemaType","BoundWitnessDivinerQuerySchema","BoundWitnessDivinerSchema","isBoundWitnessDivinerQueryPayload","isPayloadOfSchemaType"]}
package/package.json CHANGED
@@ -7,18 +7,18 @@
7
7
  },
8
8
  "bugs": {
9
9
  "email": "support@xyo.network",
10
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
10
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/boundwitness-model": "^3.0.2",
14
- "@xyo-network/diviner-model": "^3.0.2",
15
- "@xyo-network/diviner-payload-model": "^3.0.2",
16
- "@xyo-network/module-model": "^3.0.2",
17
- "@xyo-network/payload-model": "^3.0.2"
13
+ "@xyo-network/boundwitness-model": "^3.0.4",
14
+ "@xyo-network/diviner-model": "^3.0.4",
15
+ "@xyo-network/diviner-payload-model": "^3.0.4",
16
+ "@xyo-network/module-model": "^3.0.4",
17
+ "@xyo-network/payload-model": "^3.0.4"
18
18
  },
19
19
  "devDependencies": {
20
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
21
- "@xylabs/tsconfig": "^4.0.0-rc.15",
20
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
21
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
22
22
  "typescript": "^5.5.4"
23
23
  },
24
24
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",
41
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
41
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
42
42
  },
43
43
  "sideEffects": false,
44
- "version": "3.0.2",
44
+ "version": "3.0.4",
45
45
  "type": "module"
46
46
  }
package/src/Config.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model'
2
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { DivinerConfig } from '@xyo-network/diviner-model'
2
+ import type { Payload } from '@xyo-network/payload-model'
3
3
 
4
4
  import { BoundWitnessDivinerSchema } from './Schema.ts'
5
5
 
package/src/Params.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model'
2
- import { AnyConfigSchema } from '@xyo-network/module-model'
1
+ import type { DivinerParams } from '@xyo-network/diviner-model'
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model'
3
3
 
4
- import { BoundWitnessDivinerConfig } from './Config.ts'
4
+ import type { BoundWitnessDivinerConfig } from './Config.ts'
5
5
 
6
6
  export type BoundWitnessDivinerParams = DivinerParams<AnyConfigSchema<BoundWitnessDivinerConfig>>
package/src/Predicate.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { BoundWitness } from '@xyo-network/boundwitness-model'
2
- import { PayloadDivinerPredicate } from '@xyo-network/diviner-payload-model'
3
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
2
+ import type { PayloadDivinerPredicate } from '@xyo-network/diviner-payload-model'
3
+ import type { Payload } from '@xyo-network/payload-model'
4
4
 
5
5
  export type WithoutSchemas<T> = Omit<Omit<T, 'schema'>, 'schemas'>
6
6
 
package/src/Query.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { isPayloadOfSchemaType, Query } from '@xyo-network/payload-model'
1
+ import type { Query } from '@xyo-network/payload-model'
2
+ import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
2
3
 
3
- import { BoundWitnessDivinerPredicate } from './Predicate.ts'
4
+ import type { BoundWitnessDivinerPredicate } from './Predicate.ts'
4
5
  import { BoundWitnessDivinerSchema } from './Schema.ts'
5
6
 
6
7
  export type BoundWitnessDivinerQuerySchema = `${BoundWitnessDivinerSchema}.query`
package/xy.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},