@xyo-network/payload 2.21.13 → 2.21.14
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,5 +1,5 @@
|
|
|
1
1
|
import { XyoPayload } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export declare type XyoQueryPayload<T extends object = object> = XyoPayload<{
|
|
3
3
|
/** @field The preferred schema to use for the answer */
|
|
4
4
|
targetSchema?: string;
|
|
5
5
|
/** @field The maximum XYO that can be spent executing the query */
|
|
@@ -8,4 +8,4 @@ export interface XyoQueryPayload extends XyoPayload {
|
|
|
8
8
|
maxFrequency?: 'once' | 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';
|
|
9
9
|
/** @field The starting point for the bidding on the query */
|
|
10
10
|
minBid?: number;
|
|
11
|
-
}
|
|
11
|
+
}> & T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { XyoPayload } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export declare type XyoQueryPayload<T extends object = object> = XyoPayload<{
|
|
3
3
|
/** @field The preferred schema to use for the answer */
|
|
4
4
|
targetSchema?: string;
|
|
5
5
|
/** @field The maximum XYO that can be spent executing the query */
|
|
@@ -8,4 +8,4 @@ export interface XyoQueryPayload extends XyoPayload {
|
|
|
8
8
|
maxFrequency?: 'once' | 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';
|
|
9
9
|
/** @field The starting point for the bidding on the query */
|
|
10
10
|
minBid?: number;
|
|
11
|
-
}
|
|
11
|
+
}> & T;
|
package/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/sdk-js": "^2.5.9",
|
|
14
|
-
"@xyo-network/account": "^2.21.
|
|
15
|
-
"@xyo-network/core": "^2.21.
|
|
14
|
+
"@xyo-network/account": "^2.21.14",
|
|
15
|
+
"@xyo-network/core": "^2.21.14",
|
|
16
16
|
"axios": "^0.27.2"
|
|
17
17
|
},
|
|
18
18
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": true,
|
|
53
53
|
"types": "dist/esm/index.d.ts",
|
|
54
|
-
"version": "2.21.
|
|
54
|
+
"version": "2.21.14",
|
|
55
55
|
"packageManager": "yarn@3.1.1"
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { XyoPayload } from '../models'
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export type XyoQueryPayload<T extends object = object> = XyoPayload<{
|
|
4
4
|
/** @field The preferred schema to use for the answer */
|
|
5
5
|
targetSchema?: string
|
|
6
6
|
|
|
@@ -12,4 +12,5 @@ export interface XyoQueryPayload extends XyoPayload {
|
|
|
12
12
|
|
|
13
13
|
/** @field The starting point for the bidding on the query */
|
|
14
14
|
minBid?: number
|
|
15
|
-
}
|
|
15
|
+
}> &
|
|
16
|
+
T
|