@xyo-network/diviner-address-history-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/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner.ts'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;AAGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,MAAmDA,GAAGC,WAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,MAAwDA,GAAGC,WAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
1
+ {"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import type { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import type { Address } from '@xylabs/hex'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner.ts'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;AAGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,MAAmDA,GAAGC,WAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,MAAwDA,GAAGC,WAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
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.4",
15
+ "@xyo-network/module-model": "^3.0.4",
16
+ "@xyo-network/payload-model": "^3.0.4"
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.4",
44
44
  "type": "module"
45
45
  }
package/src/Config.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Address } from '@xylabs/hex'
2
- import { DivinerConfig } from '@xyo-network/diviner-model'
1
+ import type { Address } from '@xylabs/hex'
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model'
3
3
 
4
4
  import { AddressHistorySchema } from './Diviner.ts'
5
5
 
package/src/Diviner.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
  export type AddressHistorySchema = 'network.xyo.diviner.address.history'
4
4
  export const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'
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 { AddressHistoryDivinerConfig } from './Config.ts'
4
+ import type { AddressHistoryDivinerConfig } from './Config.ts'
5
5
 
6
6
  export type AddressHistoryDivinerParams = DivinerParams<AnyConfigSchema<AddressHistoryDivinerConfig>>
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: {},