@super-protocol/sdk-js 0.7.1-beta.2 → 0.7.1-beta.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.
- package/build/types/Order.d.ts +12 -1
- package/build/types/Order.js +1 -1
- package/package.json +1 -1
package/build/types/Order.d.ts
CHANGED
|
@@ -31,6 +31,18 @@ export declare const OrderInfoStructure: {
|
|
|
31
31
|
selectedOffers: StringConstructor[];
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
+
export declare const OrderInfoStructureArray: {
|
|
35
|
+
offer: StringConstructor;
|
|
36
|
+
resultPublicKey: StringConstructor;
|
|
37
|
+
encryptedRequirements: StringConstructor;
|
|
38
|
+
encryptedArgs: StringConstructor;
|
|
39
|
+
status: typeof OrderStatus;
|
|
40
|
+
args: {
|
|
41
|
+
slots: NumberConstructor;
|
|
42
|
+
inputOffers: StringConstructor[];
|
|
43
|
+
selectedOffers: StringConstructor[];
|
|
44
|
+
};
|
|
45
|
+
}[];
|
|
34
46
|
export declare type OrderInfo = {
|
|
35
47
|
offer: string;
|
|
36
48
|
resultPublicKey: string;
|
|
@@ -44,7 +56,6 @@ export declare type ExtendedOrderInfo = OrderInfo & {
|
|
|
44
56
|
externalId: string;
|
|
45
57
|
holdSum: string;
|
|
46
58
|
};
|
|
47
|
-
export declare const OrderInfoStructureArray: never[];
|
|
48
59
|
export declare const OrderResultStructure: {
|
|
49
60
|
encryptedResult: StringConstructor;
|
|
50
61
|
encryptedError: StringConstructor;
|
package/build/types/Order.js
CHANGED
|
@@ -29,7 +29,7 @@ exports.OrderInfoStructure = {
|
|
|
29
29
|
args: exports.OrderArgsStructure,
|
|
30
30
|
};
|
|
31
31
|
// Array of order info structures
|
|
32
|
-
exports.OrderInfoStructureArray = [];
|
|
32
|
+
exports.OrderInfoStructureArray = [exports.OrderInfoStructure];
|
|
33
33
|
// Order of keys and type conversion functions for this object in blockchain contract
|
|
34
34
|
exports.OrderResultStructure = {
|
|
35
35
|
encryptedResult: String,
|