@xyo-network/diviner-address-chain-model 3.0.2 → 3.0.3

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/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;AACO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import type { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;AACO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
package/package.json CHANGED
@@ -7,17 +7,17 @@
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
- "@xylabs/hex": "^4.0.0",
14
- "@xyo-network/diviner-model": "^3.0.2",
15
- "@xyo-network/module-model": "^3.0.2",
16
- "@xyo-network/payload-model": "^3.0.2"
13
+ "@xylabs/hex": "^4.0.2",
14
+ "@xyo-network/diviner-model": "^3.0.3",
15
+ "@xyo-network/module-model": "^3.0.3",
16
+ "@xyo-network/payload-model": "^3.0.3"
17
17
  },
18
18
  "devDependencies": {
19
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
20
- "@xylabs/tsconfig": "^4.0.0-rc.15",
19
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
20
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
21
21
  "typescript": "^5.5.4"
22
22
  },
23
23
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
40
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
40
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.0.2",
43
+ "version": "3.0.3",
44
44
  "type": "module"
45
45
  }
package/src/Config.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Address, Hash } from '@xylabs/hex'
2
- import { DivinerConfig } from '@xyo-network/diviner-model'
1
+ import type { Address, Hash } from '@xylabs/hex'
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model'
3
3
 
4
- import { AddressChainDivinerConfigSchema } from './Schema.ts'
4
+ import type { AddressChainDivinerConfigSchema } from './Schema.ts'
5
5
 
6
6
  export type AddressChainDivinerConfig = DivinerConfig<{
7
7
  address?: Address
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 { AddressChainDivinerConfig } from './Config.ts'
4
+ import type { AddressChainDivinerConfig } from './Config.ts'
5
5
 
6
6
  export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>
package/src/Payload.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { Payload } from '@xyo-network/payload-model'
2
2
 
3
3
  import { AddressChainSchema } from './Schema.ts'
4
4
 
package/src/Query.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'
1
+ import type { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'
2
2
 
3
3
  import { AddressChainQuerySchema } from './Schema.ts'
4
4
 
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: {},