@polymarket/bindings 0.2.0 → 0.3.0-beta.1
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/dist/chunk-6TO35A2S.js +2 -0
- package/dist/chunk-6TO35A2S.js.map +1 -0
- package/dist/chunk-BVFKAX4O.js +2 -0
- package/dist/chunk-BVFKAX4O.js.map +1 -0
- package/dist/{chunk-H6NL6UCA.js → chunk-GJX3FYFG.js} +2 -2
- package/dist/{chunk-H6NL6UCA.js.map → chunk-GJX3FYFG.js.map} +1 -1
- package/dist/clob/index.js +1 -1
- package/dist/clob/index.js.map +1 -1
- package/dist/combos/index.d.ts +26 -0
- package/dist/combos/index.js +1 -1
- package/dist/combos/index.js.map +1 -1
- package/dist/data/index.d.ts +24 -3
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/gamma/index.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/{orders-ClcuI-yo.d.ts → orders-CTqTKxTR.d.ts} +757 -3
- package/dist/perps/index.d.ts +2 -2
- package/dist/perps/index.js +1 -1
- package/dist/relayer/index.js +1 -1
- package/dist/subscriptions/index.d.ts +732 -2
- package/dist/subscriptions/index.js +1 -1
- package/dist/subscriptions/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-N4P2EGRL.js +0 -2
- package/dist/chunk-N4P2EGRL.js.map +0 -1
- package/dist/chunk-QTXFNR2Y.js +0 -2
- package/dist/chunk-QTXFNR2Y.js.map +0 -1
package/dist/perps/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _polymarket_types from '@polymarket/types';
|
|
2
|
-
import { P as PerpsInstrumentId, a as PerpsEntityId, b as PerpsDepositStatus, c as PerpsWithdrawalId, d as PerpsKnownWithdrawalStatus, e as PerpsInternalTransferId, f as PerpsInternalTransferDirection, g as PerpsInstrumentType, h as PerpsInstrumentCategory, i as PerpsTradeId, j as PerpsSide } from '../orders-
|
|
3
|
-
export { F as FetchPerpsOpenOrdersResponseSchema, k as FetchPerpsOrdersResponseSchema, L as ListPerpsFillsResponseSchema,
|
|
2
|
+
import { P as PerpsInstrumentId, a as PerpsEntityId, b as PerpsDepositStatus, c as PerpsWithdrawalId, d as PerpsKnownWithdrawalStatus, e as PerpsInternalTransferId, f as PerpsInternalTransferDirection, g as PerpsInstrumentType, h as PerpsInstrumentCategory, i as PerpsTradeId, j as PerpsSide } from '../orders-CTqTKxTR.js';
|
|
3
|
+
export { F as FetchPerpsOpenOrdersResponseSchema, k as FetchPerpsOrdersResponseSchema, l as FetchPerpsUnreadNotificationsCountResponseSchema, L as ListPerpsFillsResponseSchema, m as ListPerpsNotificationsResponseSchema, M as MarkPerpsNotificationsReadResponseSchema, n as PerpsAccountFill, o as PerpsAccountFillSchema, p as PerpsAccountFillUpdateSchema, q as PerpsAssetSchema, r as PerpsCancelAllOrdersResponse, s as PerpsCancelAllOrdersResponseSchema, t as PerpsCancelOrderResult, u as PerpsCancelOrderResultSchema, v as PerpsClientOrderId, w as PerpsClientOrderIdSchema, x as PerpsCommandAck, y as PerpsCommandAckSchema, z as PerpsCommandStatusSchema, A as PerpsCredentials, B as PerpsDataResponseSchema, C as PerpsDecimal, D as PerpsDecimalInput, E as PerpsDecimalInputSchema, G as PerpsDepositAmount, H as PerpsDepositStatusSchema, I as PerpsEntityIdSchema, J as PerpsFundingInterval, K as PerpsFundingIntervalSchema, N as PerpsInstrumentCategorySchema, O as PerpsInstrumentIdSchema, Q as PerpsInstrumentTypeSchema, R as PerpsInternalTransferDirectionSchema, S as PerpsInternalTransferIdSchema, T as PerpsKlineInterval, U as PerpsKlineIntervalSchema, V as PerpsLimitOrderCanceledNotification, W as PerpsLimitOrderCanceledNotificationSchema, X as PerpsLiquidationWarningNotification, Y as PerpsLiquidationWarningNotificationSchema, Z as PerpsMarginType, _ as PerpsMarginTypeSchema, $ as PerpsNotification, a0 as PerpsNotificationEntry, a1 as PerpsNotificationEntrySchema, a2 as PerpsNotificationId, a3 as PerpsNotificationIdSchema, a4 as PerpsNotificationOrderType, a5 as PerpsNotificationOrderTypeSchema, a6 as PerpsNotificationSchema, a7 as PerpsNotificationType, a8 as PerpsNotificationTypeSchema, a9 as PerpsOrder, aa as PerpsOrderId, ab as PerpsOrderIdSchema, ac as PerpsOrderSchema, ad as PerpsOrderStatus, ae as PerpsOrderStatusSchema, af as PerpsOrderUpdateSchema, ag as PerpsPnlInterval, ah as PerpsPnlIntervalSchema, ai as PerpsPositionChangeNotification, aj as PerpsPositionChangeNotificationSchema, ak as PerpsPositionClosedNotification, al as PerpsPositionClosedNotificationSchema, am as PerpsPositionLiquidatedNotification, an as PerpsPositionLiquidatedNotificationSchema, ao as PerpsPostOrderAck, ap as PerpsPostOrderAckSchema, aq as PerpsSideSchema, ar as PerpsSortDirection, as as PerpsSortDirectionSchema, at as PerpsTimeInForce, au as PerpsTimeInForceSchema, av as PerpsTpSlKind, aw as PerpsTpSlKindSchema, ax as PerpsTpSlOrderFields, ay as PerpsTpSlOrderFieldsSchema, az as PerpsTpSlScope, aA as PerpsTpSlScopeSchema, aB as PerpsTradeIdSchema, aC as PerpsTxHash, aD as PerpsTxHashSchema, aE as PerpsUpdateLeverageResult, aF as PerpsUpdateLeverageResultSchema, aG as PerpsWithdrawalAmount, aH as PerpsWithdrawalIdSchema, aI as PerpsWithdrawalStatus, aJ as PerpsWithdrawalStatusSchema, aK as decimalString, aL as perpsBaseUnits, aM as perpsDecimal } from '../orders-CTqTKxTR.js';
|
|
4
4
|
import { DecimalString, EpochMilliseconds, BaseUnits } from '../index.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
package/dist/perps/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{_ as FetchPerpsAccountConfigResponseSchema,R as FetchPerpsAccountStatsResponseSchema,P as FetchPerpsBalancesResponseSchema,Na as FetchPerpsCandlesResponseSchema,Ma as FetchPerpsFeesResponseSchema,Ia as FetchPerpsFundingHistoryResponseSchema,ra as FetchPerpsInstrumentsResponseSchema,nb as FetchPerpsOpenOrdersResponseSchema,mb as FetchPerpsOrdersResponseSchema,V as FetchPerpsPortfolioResponseSchema,xa as FetchPerpsStatisticsResponseSchema,ta as FetchPerpsTickersResponseSchema,Ga as FetchPerpsTradesResponseSchema,ab as FetchPerpsUnreadNotificationsCountResponseSchema,ia as ListPerpsDepositsResponseSchema,aa as ListPerpsEquityHistoryResponseSchema,qb as ListPerpsFillsResponseSchema,X as ListPerpsFundingPaymentsResponseSchema,$a as ListPerpsNotificationsResponseSchema,ca as ListPerpsPnlHistoryResponseSchema,la as ListPerpsWithdrawalsResponseSchema,bb as MarkPerpsNotificationsReadResponseSchema,Z as PerpsAccountConfigSchema,pb as PerpsAccountFillSchema,rb as PerpsAccountFillUpdateSchema,Y as PerpsAccountFundingPaymentEntrySchema,W as PerpsAccountFundingPaymentSchema,Q as PerpsAccountStatsSchema,I as PerpsAssetSchema,O as PerpsBalanceSchema,Ca as PerpsBboSchema,Da as PerpsBboUpdateSchema,za as PerpsBookLevelSchema,Aa as PerpsBookSchema,Ba as PerpsBookUpdateSchema,jb as PerpsCancelAllOrdersResponseSchema,ib as PerpsCancelOrderResultSchema,va as PerpsCandleSchema,c as PerpsClientOrderIdSchema,gb as PerpsCommandAckSchema,fb as PerpsCommandStatusSchema,fa as PerpsCreateProxyResponseSchema,ea as PerpsCredentialsResponseSchema,K as PerpsDataResponseSchema,j as PerpsDecimalInputSchema,ga as PerpsDeleteProxyResponseSchema,ha as PerpsDepositSchema,q as PerpsDepositStatus,C as PerpsDepositStatusSchema,ja as PerpsDepositUpdateSchema,h as PerpsEntityIdSchema,$ as PerpsEquityPointSchema,Ka as PerpsFeeScheduleEntrySchema,Ja as PerpsFeeTierSchema,La as PerpsFeesInfoSchema,i as PerpsFundingIntervalSchema,Ha as PerpsFundingRateSchema,l as PerpsInstrumentCategory,x as PerpsInstrumentCategorySchema,a as PerpsInstrumentIdSchema,qa as PerpsInstrumentSchema,k as PerpsInstrumentType,w as PerpsInstrumentTypeSchema,s as PerpsInternalTransferDirection,E as PerpsInternalTransferDirectionSchema,g as PerpsInternalTransferIdSchema,oa as PerpsInternalTransferSchema,t as PerpsKlineInterval,F as PerpsKlineIntervalSchema,r as PerpsKnownWithdrawalStatus,Wa as PerpsLimitOrderCanceledNotificationSchema,Xa as PerpsLiquidationWarningNotificationSchema,T as PerpsMarginSummarySchema,Sa as PerpsMarginType,Ta as PerpsMarginTypeSchema,_a as PerpsNotificationEntrySchema,d as PerpsNotificationIdSchema,Qa as PerpsNotificationOrderType,Ra as PerpsNotificationOrderTypeSchema,Za as PerpsNotificationSchema,Oa as PerpsNotificationType,Pa as PerpsNotificationTypeSchema,b as PerpsOrderIdSchema,lb as PerpsOrderSchema,cb as PerpsOrderStatus,eb as PerpsOrderStatusSchema,ob as PerpsOrderUpdateSchema,u as PerpsPnlInterval,G as PerpsPnlIntervalSchema,ba as PerpsPnlPointSchema,S as PerpsPortfolioPositionSchema,U as PerpsPortfolioSchema,Ua as PerpsPositionChangeNotificationSchema,Va as PerpsPositionClosedNotificationSchema,Ya as PerpsPositionLiquidatedNotificationSchema,hb as PerpsPostOrderAckSchema,da as PerpsProxyKeySchema,Ea as PerpsPublicTradeSchema,Fa as PerpsPublicTradeUpdateSchema,pa as PerpsRiskTierSchema,m as PerpsSide,y as PerpsSideSchema,v as PerpsSortDirection,H as PerpsSortDirectionSchema,wa as PerpsStatisticSchema,ya as PerpsStatisticUpdateSchema,ua as PerpsTickerEntrySchema,sa as PerpsTickerSchema,n as PerpsTimeInForce,z as PerpsTimeInForceSchema,o as PerpsTpSlKind,A as PerpsTpSlKindSchema,db as PerpsTpSlOrderFieldsSchema,p as PerpsTpSlScope,B as PerpsTpSlScopeSchema,e as PerpsTradeIdSchema,J as PerpsTxHashSchema,kb as PerpsUpdateLeverageResultSchema,ma as PerpsWithdrawResponseSchema,f as PerpsWithdrawalIdSchema,ka as PerpsWithdrawalSchema,D as PerpsWithdrawalStatusSchema,na as PerpsWithdrawalUpdateSchema,N as decimalString,M as perpsBaseUnits,L as perpsDecimal}from'../chunk-BVFKAX4O.js';import'../chunk-6TO35A2S.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/relayer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {aa,
|
|
1
|
+
import {aa,Ja,Ka}from'../chunk-6TO35A2S.js';import {z}from'zod';var i=(n=>(n.SAFE="SAFE",n.PROXY="PROXY",n.SAFE_CREATE="SAFE-CREATE",n.WALLET="WALLET",n.WALLET_CREATE="WALLET-CREATE",n))(i||{}),D=z.enum(i),u=z.enum(["PROXY","SAFE","SAFE-CREATE"]),c=(o=>(o.STATE_NEW="STATE_NEW",o.STATE_EXECUTED="STATE_EXECUTED",o.STATE_MINED="STATE_MINED",o.STATE_CONFIRMED="STATE_CONFIRMED",o.STATE_INVALID="STATE_INVALID",o.STATE_FAILED="STATE_FAILED",o))(c||{}),m=z.enum(c),y=z.object({baseGas:z.string().optional(),gasLimit:z.string().optional(),gasPrice:z.string().optional(),gasToken:aa.optional(),operation:z.string().optional(),payment:z.string().optional(),paymentReceiver:aa.optional(),paymentToken:aa.optional(),refundReceiver:aa.optional(),relay:aa.optional(),relayHub:aa.optional(),relayerFee:z.string().optional(),safeTxnGas:z.string().optional()}),d=z.object({address:aa,nonce:z.string().min(1)}),R=z.object({data:z.string().min(1),from:aa,metadata:z.string().optional(),nonce:z.string().min(1).optional(),proxyWallet:aa,signature:z.string().min(1),signatureParams:y,to:aa,type:u,value:z.string().optional()}),T=z.object({data:z.string().min(1),target:aa,value:z.string().min(1)}),x=z.object({calls:z.array(T).min(1),deadline:z.string().min(1),depositWallet:aa}),S=z.object({depositWalletParams:x,from:aa,metadata:z.string().optional(),nonce:z.string().min(1),signature:z.string().min(1),to:aa,type:z.literal("WALLET")}),g=z.object({from:aa,metadata:z.string().optional(),to:aa,type:z.literal("WALLET-CREATE")}),W=z.union([R,S,g]),f=z.object({state:m,transactionHash:Ka.nullish().transform(a=>a??null),transactionID:Ja}).transform(({transactionHash:a,transactionID:s,...r})=>({...r,transactionHash:a??null,transactionId:s})),L=z.object({deployed:z.boolean()}),_=z.object({error_msg:z.string().nullish(),state:m,transaction_hash:z.union([z.literal(""),Ka]).transform(a=>a===""?null:a),transaction_id:Ja}).transform(({error_msg:a,transaction_hash:s,transaction_id:r,...E})=>({...E,errorMsg:a??null,transactionHash:s??null,transactionId:r}));export{T as DepositWalletCallSchema,x as DepositWalletParamsSchema,_ as GaslessTransactionSchema,L as RelayerDeployedResponseSchema,g as RelayerDepositWalletCreateRequestSchema,S as RelayerDepositWalletExecuteRequestSchema,d as RelayerExecuteParamsSchema,W as RelayerExecuteRequestSchema,f as RelayerExecuteResponseSchema,R as RelayerLegacyExecuteRequestSchema,c as RelayerTransactionState,i as RelayerTransactionType,D as RelayerTransactionTypeSchema};//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|