@dydxprotocol/starkex-lib
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -51,2 +51,14 @@ import * as elliptic from 'elliptic'; | ||
} | ||
export declare enum ApiMethod { | ||
POST = "POST", | ||
GET = "GET", | ||
DELETE = "DELETE" | ||
} | ||
export interface InternalApiRequest { | ||
method: ApiMethod; | ||
expiresAt: string; | ||
body: string; | ||
requestPath: string; | ||
publicKey: string; | ||
} | ||
export interface StarkwareSignable { | ||
@@ -53,0 +65,0 @@ publicKey: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.OrderSide = exports.Asset = exports.PerpetualMarket = exports.OrderType = void 0; | ||
exports.ApiMethod = exports.OrderSide = exports.Asset = exports.PerpetualMarket = exports.OrderType = void 0; | ||
var OrderType; | ||
@@ -28,2 +28,8 @@ (function (OrderType) { | ||
})(OrderSide = exports.OrderSide || (exports.OrderSide = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBR0EsSUFBWSxTQUVYO0FBRkQsV0FBWSxTQUFTO0lBQ25CLDRDQUErQixDQUFBO0FBQ2pDLENBQUMsRUFGVyxTQUFTLEdBQVQsaUJBQVMsS0FBVCxpQkFBUyxRQUVwQjtBQUVELDhDQUE4QztBQUM5QyxJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDekIsc0NBQW1CLENBQUE7SUFDbkIsc0NBQW1CLENBQUE7SUFDbkIsd0NBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQUpXLGVBQWUsR0FBZix1QkFBZSxLQUFmLHVCQUFlLFFBSTFCO0FBRUQsSUFBWSxLQU1YO0FBTkQsV0FBWSxLQUFLO0lBQ2Ysb0JBQVcsQ0FBQTtJQUNYLG9CQUFXLENBQUE7SUFDWCxzQkFBYSxDQUFBO0lBQ2Isc0JBQWEsQ0FBQTtJQUNiLHNCQUFhLENBQUE7QUFDZixDQUFDLEVBTlcsS0FBSyxHQUFMLGFBQUssS0FBTCxhQUFLLFFBTWhCO0FBRUQsSUFBWSxTQUdYO0FBSEQsV0FBWSxTQUFTO0lBQ25CLHdCQUFXLENBQUE7SUFDWCwwQkFBYSxDQUFBO0FBQ2YsQ0FBQyxFQUhXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBR3BCIn0= | ||
var ApiMethod; | ||
(function (ApiMethod) { | ||
ApiMethod["POST"] = "POST"; | ||
ApiMethod["GET"] = "GET"; | ||
ApiMethod["DELETE"] = "DELETE"; | ||
})(ApiMethod = exports.ApiMethod || (exports.ApiMethod = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBR0EsSUFBWSxTQUVYO0FBRkQsV0FBWSxTQUFTO0lBQ25CLDRDQUErQixDQUFBO0FBQ2pDLENBQUMsRUFGVyxTQUFTLEdBQVQsaUJBQVMsS0FBVCxpQkFBUyxRQUVwQjtBQUVELDhDQUE4QztBQUM5QyxJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDekIsc0NBQW1CLENBQUE7SUFDbkIsc0NBQW1CLENBQUE7SUFDbkIsd0NBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQUpXLGVBQWUsR0FBZix1QkFBZSxLQUFmLHVCQUFlLFFBSTFCO0FBRUQsSUFBWSxLQU1YO0FBTkQsV0FBWSxLQUFLO0lBQ2Ysb0JBQVcsQ0FBQTtJQUNYLG9CQUFXLENBQUE7SUFDWCxzQkFBYSxDQUFBO0lBQ2Isc0JBQWEsQ0FBQTtJQUNiLHNCQUFhLENBQUE7QUFDZixDQUFDLEVBTlcsS0FBSyxHQUFMLGFBQUssS0FBTCxhQUFLLFFBTWhCO0FBRUQsSUFBWSxTQUdYO0FBSEQsV0FBWSxTQUFTO0lBQ25CLHdCQUFXLENBQUE7SUFDWCwwQkFBYSxDQUFBO0FBQ2YsQ0FBQyxFQUhXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBR3BCO0FBc0NELElBQVksU0FJWDtBQUpELFdBQVksU0FBUztJQUNuQiwwQkFBYSxDQUFBO0lBQ2Isd0JBQVcsQ0FBQTtJQUNYLDhCQUFpQixDQUFBO0FBQ25CLENBQUMsRUFKVyxTQUFTLEdBQVQsaUJBQVMsS0FBVCxpQkFBUyxRQUlwQiJ9 |
{ | ||
"name": "@dydxprotocol/starkex-lib", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Cryptographic functions for use with StarkEx", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
@@ -64,2 +64,16 @@ import * as elliptic from 'elliptic'; | ||
export enum ApiMethod { | ||
POST = 'POST', | ||
GET = 'GET', | ||
DELETE = 'DELETE', | ||
} | ||
export interface InternalApiRequest { | ||
method: ApiMethod, | ||
expiresAt: string, | ||
body: string, | ||
requestPath: string, | ||
publicKey: string, | ||
} | ||
export interface StarkwareSignable { | ||
@@ -66,0 +80,0 @@ publicKey: string; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144424
56
2551