@xyo-network/tzero-stock-market-payload-plugin 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/PriceHistory/Schema.ts","../../src/Payload/Snapshot/Payload.ts","../../src/Payload/Snapshot/Schema.ts"],"sourcesContent":["export type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\nexport const TZeroStockMarketSchema: TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const PriceHistorySchema = `${TZeroStockMarketSchema}.history`\nexport type PriceHistorySchema = typeof PriceHistorySchema\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nimport { SnapshotSchema } from './Schema.ts'\n\n/**\n * The fields for a Snapshot\n */\nexport interface SnapshotFields {\n askPrice: number | null\n askPriceRate: number | null\n askQtyBookTotal: number | null\n askQuantity: number | null\n bidPrice: number | null\n bidPriceRate: number | null\n bidQtyBookTotal: number | null\n bidQuantity: number | null\n high: number | null\n lastPrice: number | null\n lastQuantity: number | null\n low: number | null\n open: number | null\n prevClosePx: number | null\n symbol: string\n timestamp: string\n volume: number\n}\n\n/**\n * The Snapshot payload\n */\nexport type Snapshot = Payload<SnapshotFields, SnapshotSchema>\n\n/**\n * Identity function for determine if an object is a Snapshot\n */\nexport const isSnapshot = isPayloadOfSchemaType<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with sources\n */\nexport const isSnapshotWithSources = isPayloadOfSchemaTypeWithSources<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with meta\n */\nexport const isSnapshotWithMeta = isPayloadOfSchemaTypeWithMeta<Snapshot>(SnapshotSchema)\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const SnapshotSchema = `${TZeroStockMarketSchema}.snapshot`\nexport type SnapshotSchema = typeof SnapshotSchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACCvD,IAAM,qBAAqB,GAAG,sBAAsB;;;ACF3D,SAAS,uBAAuB,+BAA+B,wCAAiD;;;ACEzG,IAAM,iBAAiB,GAAG,sBAAsB;;;ADiChD,IAAM,aAAa,sBAAgC,cAAc;AAKjE,IAAM,wBAAwB,iCAA2C,cAAc;AAKvF,IAAM,qBAAqB,8BAAwC,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Payload/PriceHistory/Schema.ts","../../src/Payload/Snapshot/Payload.ts","../../src/Payload/Snapshot/Schema.ts"],"sourcesContent":["export type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\nexport const TZeroStockMarketSchema: TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const PriceHistorySchema = `${TZeroStockMarketSchema}.history`\nexport type PriceHistorySchema = typeof PriceHistorySchema\n","import type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from '@xyo-network/payload-model'\n\nimport { SnapshotSchema } from './Schema.ts'\n\n/**\n * The fields for a Snapshot\n */\nexport interface SnapshotFields {\n askPrice: number | null\n askPriceRate: number | null\n askQtyBookTotal: number | null\n askQuantity: number | null\n bidPrice: number | null\n bidPriceRate: number | null\n bidQtyBookTotal: number | null\n bidQuantity: number | null\n high: number | null\n lastPrice: number | null\n lastQuantity: number | null\n low: number | null\n open: number | null\n prevClosePx: number | null\n symbol: string\n timestamp: string\n volume: number\n}\n\n/**\n * The Snapshot payload\n */\nexport type Snapshot = Payload<SnapshotFields, SnapshotSchema>\n\n/**\n * Identity function for determine if an object is a Snapshot\n */\nexport const isSnapshot = isPayloadOfSchemaType<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with sources\n */\nexport const isSnapshotWithSources = isPayloadOfSchemaTypeWithSources<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with meta\n */\nexport const isSnapshotWithMeta = isPayloadOfSchemaTypeWithMeta<Snapshot>(SnapshotSchema)\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const SnapshotSchema = `${TZeroStockMarketSchema}.snapshot`\nexport type SnapshotSchema = typeof SnapshotSchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACCvD,IAAM,qBAAqB,GAAG,sBAAsB;;;ACD3D,SAAS,uBAAuB,+BAA+B,wCAAwC;;;ACChG,IAAM,iBAAiB,GAAG,sBAAsB;;;ADkChD,IAAM,aAAa,sBAAgC,cAAc;AAKjE,IAAM,wBAAwB,iCAA2C,cAAc;AAKvF,IAAM,qBAAqB,8BAAwC,cAAc;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Payload/PriceHistory/Schema.ts","../../src/Payload/Snapshot/Payload.ts","../../src/Payload/Snapshot/Schema.ts"],"sourcesContent":["export type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\nexport const TZeroStockMarketSchema: TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const PriceHistorySchema = `${TZeroStockMarketSchema}.history`\nexport type PriceHistorySchema = typeof PriceHistorySchema\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nimport { SnapshotSchema } from './Schema.ts'\n\n/**\n * The fields for a Snapshot\n */\nexport interface SnapshotFields {\n askPrice: number | null\n askPriceRate: number | null\n askQtyBookTotal: number | null\n askQuantity: number | null\n bidPrice: number | null\n bidPriceRate: number | null\n bidQtyBookTotal: number | null\n bidQuantity: number | null\n high: number | null\n lastPrice: number | null\n lastQuantity: number | null\n low: number | null\n open: number | null\n prevClosePx: number | null\n symbol: string\n timestamp: string\n volume: number\n}\n\n/**\n * The Snapshot payload\n */\nexport type Snapshot = Payload<SnapshotFields, SnapshotSchema>\n\n/**\n * Identity function for determine if an object is a Snapshot\n */\nexport const isSnapshot = isPayloadOfSchemaType<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with sources\n */\nexport const isSnapshotWithSources = isPayloadOfSchemaTypeWithSources<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with meta\n */\nexport const isSnapshotWithMeta = isPayloadOfSchemaTypeWithMeta<Snapshot>(SnapshotSchema)\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const SnapshotSchema = `${TZeroStockMarketSchema}.snapshot`\nexport type SnapshotSchema = typeof SnapshotSchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACCvD,IAAM,qBAAqB,GAAG,sBAAsB;;;ACF3D,SAAS,uBAAuB,+BAA+B,wCAAiD;;;ACEzG,IAAM,iBAAiB,GAAG,sBAAsB;;;ADiChD,IAAM,aAAa,sBAAgC,cAAc;AAKjE,IAAM,wBAAwB,iCAA2C,cAAc;AAKvF,IAAM,qBAAqB,8BAAwC,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Payload/PriceHistory/Schema.ts","../../src/Payload/Snapshot/Payload.ts","../../src/Payload/Snapshot/Schema.ts"],"sourcesContent":["export type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\nexport const TZeroStockMarketSchema: TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const PriceHistorySchema = `${TZeroStockMarketSchema}.history`\nexport type PriceHistorySchema = typeof PriceHistorySchema\n","import type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from '@xyo-network/payload-model'\n\nimport { SnapshotSchema } from './Schema.ts'\n\n/**\n * The fields for a Snapshot\n */\nexport interface SnapshotFields {\n askPrice: number | null\n askPriceRate: number | null\n askQtyBookTotal: number | null\n askQuantity: number | null\n bidPrice: number | null\n bidPriceRate: number | null\n bidQtyBookTotal: number | null\n bidQuantity: number | null\n high: number | null\n lastPrice: number | null\n lastQuantity: number | null\n low: number | null\n open: number | null\n prevClosePx: number | null\n symbol: string\n timestamp: string\n volume: number\n}\n\n/**\n * The Snapshot payload\n */\nexport type Snapshot = Payload<SnapshotFields, SnapshotSchema>\n\n/**\n * Identity function for determine if an object is a Snapshot\n */\nexport const isSnapshot = isPayloadOfSchemaType<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with sources\n */\nexport const isSnapshotWithSources = isPayloadOfSchemaTypeWithSources<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with meta\n */\nexport const isSnapshotWithMeta = isPayloadOfSchemaTypeWithMeta<Snapshot>(SnapshotSchema)\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const SnapshotSchema = `${TZeroStockMarketSchema}.snapshot`\nexport type SnapshotSchema = typeof SnapshotSchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACCvD,IAAM,qBAAqB,GAAG,sBAAsB;;;ACD3D,SAAS,uBAAuB,+BAA+B,wCAAwC;;;ACChG,IAAM,iBAAiB,GAAG,sBAAsB;;;ADkChD,IAAM,aAAa,sBAAgC,cAAc;AAKjE,IAAM,wBAAwB,iCAA2C,cAAc;AAKvF,IAAM,qBAAqB,8BAAwC,cAAc;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Payload/PriceHistory/Schema.ts","../../src/Payload/Snapshot/Payload.ts","../../src/Payload/Snapshot/Schema.ts"],"sourcesContent":["export type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\nexport const TZeroStockMarketSchema: TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const PriceHistorySchema = `${TZeroStockMarketSchema}.history`\nexport type PriceHistorySchema = typeof PriceHistorySchema\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nimport { SnapshotSchema } from './Schema.ts'\n\n/**\n * The fields for a Snapshot\n */\nexport interface SnapshotFields {\n askPrice: number | null\n askPriceRate: number | null\n askQtyBookTotal: number | null\n askQuantity: number | null\n bidPrice: number | null\n bidPriceRate: number | null\n bidQtyBookTotal: number | null\n bidQuantity: number | null\n high: number | null\n lastPrice: number | null\n lastQuantity: number | null\n low: number | null\n open: number | null\n prevClosePx: number | null\n symbol: string\n timestamp: string\n volume: number\n}\n\n/**\n * The Snapshot payload\n */\nexport type Snapshot = Payload<SnapshotFields, SnapshotSchema>\n\n/**\n * Identity function for determine if an object is a Snapshot\n */\nexport const isSnapshot = isPayloadOfSchemaType<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with sources\n */\nexport const isSnapshotWithSources = isPayloadOfSchemaTypeWithSources<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with meta\n */\nexport const isSnapshotWithMeta = isPayloadOfSchemaTypeWithMeta<Snapshot>(SnapshotSchema)\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const SnapshotSchema = `${TZeroStockMarketSchema}.snapshot`\nexport type SnapshotSchema = typeof SnapshotSchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACCvD,IAAM,qBAAqB,GAAG,sBAAsB;;;ACF3D,SAAS,uBAAuB,+BAA+B,wCAAiD;;;ACEzG,IAAM,iBAAiB,GAAG,sBAAsB;;;ADiChD,IAAM,aAAa,sBAAgC,cAAc;AAKjE,IAAM,wBAAwB,iCAA2C,cAAc;AAKvF,IAAM,qBAAqB,8BAAwC,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Payload/PriceHistory/Schema.ts","../../src/Payload/Snapshot/Payload.ts","../../src/Payload/Snapshot/Schema.ts"],"sourcesContent":["export type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\nexport const TZeroStockMarketSchema: TZeroStockMarketSchema = 'network.xyo.stock.market.tzero'\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const PriceHistorySchema = `${TZeroStockMarketSchema}.history`\nexport type PriceHistorySchema = typeof PriceHistorySchema\n","import type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from '@xyo-network/payload-model'\n\nimport { SnapshotSchema } from './Schema.ts'\n\n/**\n * The fields for a Snapshot\n */\nexport interface SnapshotFields {\n askPrice: number | null\n askPriceRate: number | null\n askQtyBookTotal: number | null\n askQuantity: number | null\n bidPrice: number | null\n bidPriceRate: number | null\n bidQtyBookTotal: number | null\n bidQuantity: number | null\n high: number | null\n lastPrice: number | null\n lastQuantity: number | null\n low: number | null\n open: number | null\n prevClosePx: number | null\n symbol: string\n timestamp: string\n volume: number\n}\n\n/**\n * The Snapshot payload\n */\nexport type Snapshot = Payload<SnapshotFields, SnapshotSchema>\n\n/**\n * Identity function for determine if an object is a Snapshot\n */\nexport const isSnapshot = isPayloadOfSchemaType<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with sources\n */\nexport const isSnapshotWithSources = isPayloadOfSchemaTypeWithSources<Snapshot>(SnapshotSchema)\n\n/**\n * Identity function for determine if an object is a Snapshot with meta\n */\nexport const isSnapshotWithMeta = isPayloadOfSchemaTypeWithMeta<Snapshot>(SnapshotSchema)\n","import { TZeroStockMarketSchema } from '../../Schema.ts'\n\nexport const SnapshotSchema = `${TZeroStockMarketSchema}.snapshot`\nexport type SnapshotSchema = typeof SnapshotSchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACCvD,IAAM,qBAAqB,GAAG,sBAAsB;;;ACD3D,SAAS,uBAAuB,+BAA+B,wCAAwC;;;ACChG,IAAM,iBAAiB,GAAG,sBAAsB;;;ADkChD,IAAM,aAAa,sBAAgC,cAAc;AAKjE,IAAM,wBAAwB,iCAA2C,cAAc;AAKvF,IAAM,qBAAqB,8BAAwC,cAAc;","names":[]}
package/package.json CHANGED
@@ -7,14 +7,14 @@
7
7
  },
8
8
  "bugs": {
9
9
  "email": "support@xyo.network",
10
- "url": "https://github.com/XYOracleNetwork/plugins/issues"
10
+ "url": "git+https://github.com/XYOracleNetwork/plugins/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/payload-model": "^3.0.2"
13
+ "@xyo-network/payload-model": "^3.0.3"
14
14
  },
15
15
  "devDependencies": {
16
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
17
- "@xylabs/tsconfig": "^4.0.0-rc.15",
16
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
17
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
18
18
  "typescript": "^5.5.4"
19
19
  },
20
20
  "description": "Typescript/Javascript Plugins for XYO Platform",
@@ -34,9 +34,9 @@
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "https://github.com/XYOracleNetwork/plugins.git"
37
+ "url": "git+https://github.com/XYOracleNetwork/plugins.git"
38
38
  },
39
39
  "sideEffects": false,
40
- "version": "3.0.2",
40
+ "version": "3.0.3",
41
41
  "type": "module"
42
42
  }
@@ -1,4 +1,5 @@
1
- import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'
1
+ import type { Payload } from '@xyo-network/payload-model'
2
+ import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from '@xyo-network/payload-model'
2
3
 
3
4
  import { SnapshotSchema } from './Schema.ts'
4
5