@akashnetwork/chain-sdk 1.0.0-alpha.43 → 1.0.0-alpha.45
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/cjs/generated/createNodeSDK.cjs +5 -328
- package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
- package/dist/cjs/generated/createProviderSDK.cjs +19 -36
- package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +0 -6
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +2 -18
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs +17 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs +0 -6
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +1 -139
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +0 -9
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +0 -266
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +2 -71
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +0 -321
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +1 -88
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +1 -462
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +0 -36
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +0 -25
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.akash.v1.cjs +25 -166
- package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +0 -25
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +0 -2
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +0 -9
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifest.cjs +20 -51
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs +64 -24
- package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +1426 -1450
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
- package/dist/esm/{chunk-AKNHD3CM.js → chunk-2IHQEHWT.js} +19 -4
- package/dist/esm/chunk-2IHQEHWT.js.map +7 -0
- package/dist/esm/{chunk-MIJCN6AD.js → chunk-3K7Q5MUF.js} +2 -2
- package/dist/esm/{chunk-GRGSTKN3.js → chunk-3QS3CMF4.js} +2 -2
- package/dist/esm/{chunk-3U5XKNEU.js → chunk-4SZHF6SE.js} +3 -3
- package/dist/esm/{chunk-W3TLZPTC.js → chunk-4TSICBUM.js} +3 -3
- package/dist/esm/{chunk-P64VHYRM.js → chunk-5ODS4QTF.js} +2 -2
- package/dist/esm/{chunk-OJ54L3XZ.js → chunk-7XXZVOOW.js} +4 -4
- package/dist/esm/{chunk-F4IQOYFH.js → chunk-AR26HCRY.js} +2 -2
- package/dist/esm/chunk-C3WV6GJ6.js +234 -0
- package/dist/esm/chunk-C3WV6GJ6.js.map +7 -0
- package/dist/esm/{chunk-PYD5MY63.js → chunk-CZGHFBAO.js} +9 -131
- package/dist/esm/chunk-CZGHFBAO.js.map +7 -0
- package/dist/esm/{chunk-IEWLP7PR.js → chunk-E7KECYS7.js} +1 -7
- package/dist/esm/chunk-E7KECYS7.js.map +7 -0
- package/dist/esm/{chunk-DCLXPAMC.js → chunk-EJQUNX4L.js} +3 -3
- package/dist/esm/{chunk-F7KT5EX5.js → chunk-ENZ3OBCL.js} +2 -2
- package/dist/esm/{chunk-54RECHZZ.js → chunk-IKTMMFJ5.js} +2 -2
- package/dist/esm/chunk-IVLF3VVZ.js +364 -0
- package/dist/esm/chunk-IVLF3VVZ.js.map +7 -0
- package/dist/esm/{chunk-5VWXQLXG.js → chunk-JN5DGAQY.js} +1585 -1927
- package/dist/esm/chunk-JN5DGAQY.js.map +7 -0
- package/dist/esm/{chunk-7F3NJG67.js → chunk-LLM2VXJM.js} +3 -3
- package/dist/esm/{chunk-WNFIFYG2.js → chunk-M2RS2IFR.js} +2 -2
- package/dist/esm/{chunk-PAOVIX5L.js → chunk-MFZVOFPX.js} +3 -3
- package/dist/esm/chunk-MV27RM25.js +368 -0
- package/dist/esm/chunk-MV27RM25.js.map +7 -0
- package/dist/esm/{chunk-M5P5LAJJ.js → chunk-N42ATJOO.js} +2 -2
- package/dist/esm/{chunk-RJZ46VHV.js → chunk-NP4QQMME.js} +2 -2
- package/dist/esm/{chunk-XP2XNYEA.js → chunk-OWB6ZEHB.js} +2 -2
- package/dist/esm/{chunk-NNB5QBR2.js → chunk-OYI3IQIV.js} +2 -2
- package/dist/esm/chunk-S2CZQ6AM.js +211 -0
- package/dist/esm/chunk-S2CZQ6AM.js.map +7 -0
- package/dist/esm/{chunk-Y7BVCD32.js → chunk-SGDEIQ7L.js} +3 -3
- package/dist/esm/chunk-SXGU4O34.js +258 -0
- package/dist/esm/chunk-SXGU4O34.js.map +7 -0
- package/dist/esm/{chunk-HRN6NSO2.js → chunk-TTQ36NQ5.js} +2 -2
- package/dist/esm/chunk-V42TLXWK.js +177 -0
- package/dist/esm/chunk-V42TLXWK.js.map +7 -0
- package/dist/esm/{chunk-57534UAR.js → chunk-WCUR732W.js} +2 -2
- package/dist/esm/{chunk-CFEWW2ER.js → chunk-YBRE4XNB.js} +2 -2
- package/dist/esm/{chunk-BQNJHJXY.js → chunk-ZGK4PJCD.js} +3 -3
- package/dist/esm/{chunk-TN4W5NLC.js → chunk-ZRZ6LUI2.js} +1 -7
- package/dist/esm/chunk-ZRZ6LUI2.js.map +7 -0
- package/dist/esm/{chunk-PWXFQ5FI.js → chunk-ZXN75Q55.js} +3 -3
- package/dist/esm/generated/protos/index.akash.v1.js +75 -2986
- package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
- package/dist/esm/generated/protos/index.akash.v1beta4.js +13 -58
- package/dist/esm/generated/protos/index.akash.v1beta5.js +12 -17
- package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
- package/dist/esm/generated/protos/index.akash.v2.js +4 -4
- package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -29
- package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -5
- package/dist/esm/index.js +36 -54
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +13 -14
- package/dist/esm/index.web.js.map +1 -1
- package/dist/esm/{query_akash-HCIMNA7T.js → query_akash-44SHG3FL.js} +3 -4
- package/dist/esm/{query_akash-HCIMNA7T.js.map → query_akash-44SHG3FL.js.map} +1 -1
- package/dist/esm/{query_akash-SOJJMCBH.js → query_akash-54EYS6GQ.js} +7 -8
- package/dist/esm/{query_akash-SOJJMCBH.js.map → query_akash-54EYS6GQ.js.map} +1 -1
- package/dist/esm/{query_akash-HN4NCENR.js → query_akash-72TFPQBZ.js} +4 -4
- package/dist/esm/{query_akash-SVNQ4S67.js → query_akash-EGFDDA4L.js} +4 -4
- package/dist/esm/{query_akash-BTYAA6UN.js → query_akash-I3RPHLVA.js} +5 -5
- package/dist/esm/query_akash-N3FPIXVQ.js +39 -0
- package/dist/esm/query_akash-N3FPIXVQ.js.map +7 -0
- package/dist/esm/{query_akash-EG43V2QH.js → query_akash-QF2LHJQN.js} +4 -4
- package/dist/esm/{query_akash-LSGWB5MI.js → query_akash-TZ6F7OO4.js} +12 -24
- package/dist/esm/query_akash-TZ6F7OO4.js.map +7 -0
- package/dist/esm/service_akash-5AUMDLU5.js +46 -0
- package/dist/esm/service_akash-5AUMDLU5.js.map +7 -0
- package/dist/esm/{service_akash-43EJ5RKY.js → service_akash-EPHAYZEJ.js} +7 -8
- package/dist/esm/{service_akash-43EJ5RKY.js.map → service_akash-EPHAYZEJ.js.map} +1 -1
- package/dist/esm/{service_akash-T36Y5DCD.js → service_akash-FX24P5VG.js} +3 -4
- package/dist/esm/{service_akash-T36Y5DCD.js.map → service_akash-FX24P5VG.js.map} +1 -1
- package/dist/esm/{service_akash-HFGWADC2.js → service_akash-JQKI2SJP.js} +4 -4
- package/dist/esm/{service_akash-3R3TC3PH.js → service_akash-KRCYHNCN.js} +3 -4
- package/dist/esm/{service_akash-3R3TC3PH.js.map → service_akash-KRCYHNCN.js.map} +1 -1
- package/dist/esm/{service_akash-QTGRTXLG.js → service_akash-PFTEVUGK.js} +4 -4
- package/dist/esm/{service_akash-X4HCN3EG.js → service_akash-S73VJW6Q.js} +8 -9
- package/dist/esm/{service_akash-X4HCN3EG.js.map → service_akash-S73VJW6Q.js.map} +1 -1
- package/dist/esm/{service_akash-KAJJV7LX.js → service_akash-SXXXZL6K.js} +4 -4
- package/dist/esm/{service_akash-AXWB3IDG.js → service_akash-YXSRY4G3.js} +6 -7
- package/dist/esm/{service_akash-AXWB3IDG.js.map → service_akash-YXSRY4G3.js.map} +1 -1
- package/dist/esm/{service_akash-BZTUHKJO.js → service_akash-Z4CR3DWY.js} +7 -8
- package/dist/esm/{service_akash-BZTUHKJO.js.map → service_akash-Z4CR3DWY.js.map} +1 -1
- package/dist/sdl-schema.yaml +56 -73
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createNodeSDK.d.ts +0 -473
- package/dist/types/generated/createProviderSDK.d.ts +0 -31
- package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +0 -8
- package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +0 -3
- package/dist/types/generated/protos/akash/inventory/v1/cpu.d.ts +1 -0
- package/dist/types/generated/protos/akash/market/v1/types.d.ts +3 -5
- package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +0 -29
- package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +1 -8
- package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +0 -40
- package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +1 -11
- package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +0 -57
- package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +0 -13
- package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +1 -93
- package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +1 -29
- package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +1 -20
- package/dist/types/generated/protos/index.akash.v1.d.ts +0 -9
- package/dist/types/generated/protos/index.akash.v1beta4.d.ts +4 -7
- package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
- package/dist/types/generated/protos/index.provider.akash.v1.d.ts +0 -1
- package/dist/types/sdk/chain/createChainNodeSDK.d.ts +0 -45
- package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +0 -45
- package/dist/types/sdl/manifest/manifestUtils.d.ts +12 -0
- package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +93 -110
- package/package.json +1 -1
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +0 -943
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +0 -50
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +0 -248
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +0 -417
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +0 -96
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +0 -132
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +0 -2525
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +0 -253
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +0 -2774
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +0 -1044
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +0 -1559
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +0 -147
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs +0 -17
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +0 -190
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +0 -2018
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +0 -1071
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +0 -148
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +0 -7
- package/dist/esm/chunk-2NPYA3YV.js +0 -1563
- package/dist/esm/chunk-2NPYA3YV.js.map +0 -7
- package/dist/esm/chunk-474YCD2T.js +0 -356
- package/dist/esm/chunk-474YCD2T.js.map +0 -7
- package/dist/esm/chunk-4CTTYO4O.js +0 -890
- package/dist/esm/chunk-4CTTYO4O.js.map +0 -7
- package/dist/esm/chunk-5VWXQLXG.js.map +0 -7
- package/dist/esm/chunk-AIWCRXMP.js +0 -672
- package/dist/esm/chunk-AIWCRXMP.js.map +0 -7
- package/dist/esm/chunk-AKNHD3CM.js.map +0 -7
- package/dist/esm/chunk-BI4YL5KH.js +0 -2742
- package/dist/esm/chunk-BI4YL5KH.js.map +0 -7
- package/dist/esm/chunk-IEWLP7PR.js.map +0 -7
- package/dist/esm/chunk-IFKY7FXY.js +0 -484
- package/dist/esm/chunk-IFKY7FXY.js.map +0 -7
- package/dist/esm/chunk-J4CJEGEM.js +0 -3016
- package/dist/esm/chunk-J4CJEGEM.js.map +0 -7
- package/dist/esm/chunk-PEHPXXTS.js +0 -1053
- package/dist/esm/chunk-PEHPXXTS.js.map +0 -7
- package/dist/esm/chunk-PTMMQODC.js +0 -760
- package/dist/esm/chunk-PTMMQODC.js.map +0 -7
- package/dist/esm/chunk-PYD5MY63.js.map +0 -7
- package/dist/esm/chunk-SK7LOVVI.js +0 -660
- package/dist/esm/chunk-SK7LOVVI.js.map +0 -7
- package/dist/esm/chunk-TN4W5NLC.js.map +0 -7
- package/dist/esm/chunk-VYCICKFV.js +0 -698
- package/dist/esm/chunk-VYCICKFV.js.map +0 -7
- package/dist/esm/query_akash-KU4YCMUU.js +0 -85
- package/dist/esm/query_akash-KU4YCMUU.js.map +0 -7
- package/dist/esm/query_akash-LSGWB5MI.js.map +0 -7
- package/dist/esm/query_akash-XYSUQTZC.js +0 -164
- package/dist/esm/query_akash-XYSUQTZC.js.map +0 -7
- package/dist/esm/service_akash-KYLB3OP3.js +0 -78
- package/dist/esm/service_akash-KYLB3OP3.js.map +0 -7
- package/dist/esm/service_akash-LJBOWZZG.js +0 -221
- package/dist/esm/service_akash-LJBOWZZG.js.map +0 -7
- package/dist/esm/snapshot_akash-KH5X5W3B.js +0 -41
- package/dist/esm/snapshot_akash-KH5X5W3B.js.map +0 -7
- package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +0 -112
- package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +0 -22
- package/dist/types/generated/protos/akash/market/v1/stats.d.ts +0 -35
- package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +0 -87
- package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +0 -17
- package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +0 -22
- package/dist/types/generated/protos/akash/verification/v1/event.d.ts +0 -339
- package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +0 -45
- package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +0 -614
- package/dist/types/generated/protos/akash/verification/v1/params.d.ts +0 -147
- package/dist/types/generated/protos/akash/verification/v1/query.d.ts +0 -290
- package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +0 -97
- package/dist/types/generated/protos/akash/verification/v1/service.d.ts +0 -1
- package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +0 -126
- package/dist/types/generated/protos/akash/verification/v1/state.d.ts +0 -320
- package/dist/types/generated/protos/akash/verification/v1/types.d.ts +0 -348
- package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +0 -36
- /package/dist/esm/{chunk-MIJCN6AD.js.map → chunk-3K7Q5MUF.js.map} +0 -0
- /package/dist/esm/{chunk-GRGSTKN3.js.map → chunk-3QS3CMF4.js.map} +0 -0
- /package/dist/esm/{chunk-3U5XKNEU.js.map → chunk-4SZHF6SE.js.map} +0 -0
- /package/dist/esm/{chunk-W3TLZPTC.js.map → chunk-4TSICBUM.js.map} +0 -0
- /package/dist/esm/{chunk-P64VHYRM.js.map → chunk-5ODS4QTF.js.map} +0 -0
- /package/dist/esm/{chunk-OJ54L3XZ.js.map → chunk-7XXZVOOW.js.map} +0 -0
- /package/dist/esm/{chunk-F4IQOYFH.js.map → chunk-AR26HCRY.js.map} +0 -0
- /package/dist/esm/{chunk-DCLXPAMC.js.map → chunk-EJQUNX4L.js.map} +0 -0
- /package/dist/esm/{chunk-F7KT5EX5.js.map → chunk-ENZ3OBCL.js.map} +0 -0
- /package/dist/esm/{chunk-54RECHZZ.js.map → chunk-IKTMMFJ5.js.map} +0 -0
- /package/dist/esm/{chunk-7F3NJG67.js.map → chunk-LLM2VXJM.js.map} +0 -0
- /package/dist/esm/{chunk-WNFIFYG2.js.map → chunk-M2RS2IFR.js.map} +0 -0
- /package/dist/esm/{chunk-PAOVIX5L.js.map → chunk-MFZVOFPX.js.map} +0 -0
- /package/dist/esm/{chunk-M5P5LAJJ.js.map → chunk-N42ATJOO.js.map} +0 -0
- /package/dist/esm/{chunk-RJZ46VHV.js.map → chunk-NP4QQMME.js.map} +0 -0
- /package/dist/esm/{chunk-XP2XNYEA.js.map → chunk-OWB6ZEHB.js.map} +0 -0
- /package/dist/esm/{chunk-NNB5QBR2.js.map → chunk-OYI3IQIV.js.map} +0 -0
- /package/dist/esm/{chunk-Y7BVCD32.js.map → chunk-SGDEIQ7L.js.map} +0 -0
- /package/dist/esm/{chunk-HRN6NSO2.js.map → chunk-TTQ36NQ5.js.map} +0 -0
- /package/dist/esm/{chunk-57534UAR.js.map → chunk-WCUR732W.js.map} +0 -0
- /package/dist/esm/{chunk-CFEWW2ER.js.map → chunk-YBRE4XNB.js.map} +0 -0
- /package/dist/esm/{chunk-BQNJHJXY.js.map → chunk-ZGK4PJCD.js.map} +0 -0
- /package/dist/esm/{chunk-PWXFQ5FI.js.map → chunk-ZXN75Q55.js.map} +0 -0
- /package/dist/esm/{query_akash-HN4NCENR.js.map → query_akash-72TFPQBZ.js.map} +0 -0
- /package/dist/esm/{query_akash-SVNQ4S67.js.map → query_akash-EGFDDA4L.js.map} +0 -0
- /package/dist/esm/{query_akash-BTYAA6UN.js.map → query_akash-I3RPHLVA.js.map} +0 -0
- /package/dist/esm/{query_akash-EG43V2QH.js.map → query_akash-QF2LHJQN.js.map} +0 -0
- /package/dist/esm/{service_akash-HFGWADC2.js.map → service_akash-JQKI2SJP.js.map} +0 -0
- /package/dist/esm/{service_akash-QTGRTXLG.js.map → service_akash-PFTEVUGK.js.map} +0 -0
- /package/dist/esm/{service_akash-KAJJV7LX.js.map → service_akash-SXXXZL6K.js.map} +0 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isSet
|
|
3
|
+
} from "./chunk-5EZRSM6V.js";
|
|
4
|
+
|
|
5
|
+
// src/generated/protos/akash/base/attributes/v1/attribute.ts
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
7
|
+
function createBaseAttribute() {
|
|
8
|
+
return { key: "", value: "" };
|
|
9
|
+
}
|
|
10
|
+
var Attribute = {
|
|
11
|
+
$type: "akash.base.attributes.v1.Attribute",
|
|
12
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13
|
+
if (message.key !== "") {
|
|
14
|
+
writer.uint32(10).string(message.key);
|
|
15
|
+
}
|
|
16
|
+
if (message.value !== "") {
|
|
17
|
+
writer.uint32(18).string(message.value);
|
|
18
|
+
}
|
|
19
|
+
return writer;
|
|
20
|
+
},
|
|
21
|
+
decode(input, length) {
|
|
22
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
23
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
24
|
+
const message = createBaseAttribute();
|
|
25
|
+
while (reader.pos < end) {
|
|
26
|
+
const tag = reader.uint32();
|
|
27
|
+
switch (tag >>> 3) {
|
|
28
|
+
case 1: {
|
|
29
|
+
if (tag !== 10) {
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
message.key = reader.string();
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
case 2: {
|
|
36
|
+
if (tag !== 18) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.value = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
reader.skip(tag & 7);
|
|
47
|
+
}
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
fromJSON(object) {
|
|
51
|
+
return {
|
|
52
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
53
|
+
value: isSet(object.value) ? globalThis.String(object.value) : ""
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
toJSON(message) {
|
|
57
|
+
const obj = {};
|
|
58
|
+
if (message.key !== "") {
|
|
59
|
+
obj.key = message.key;
|
|
60
|
+
}
|
|
61
|
+
if (message.value !== "") {
|
|
62
|
+
obj.value = message.value;
|
|
63
|
+
}
|
|
64
|
+
return obj;
|
|
65
|
+
},
|
|
66
|
+
fromPartial(object) {
|
|
67
|
+
const message = createBaseAttribute();
|
|
68
|
+
message.key = object.key ?? "";
|
|
69
|
+
message.value = object.value ?? "";
|
|
70
|
+
return message;
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
function createBaseSignedBy() {
|
|
74
|
+
return { allOf: [], anyOf: [] };
|
|
75
|
+
}
|
|
76
|
+
var SignedBy = {
|
|
77
|
+
$type: "akash.base.attributes.v1.SignedBy",
|
|
78
|
+
encode(message, writer = new BinaryWriter()) {
|
|
79
|
+
for (const v of message.allOf) {
|
|
80
|
+
writer.uint32(10).string(v);
|
|
81
|
+
}
|
|
82
|
+
for (const v of message.anyOf) {
|
|
83
|
+
writer.uint32(18).string(v);
|
|
84
|
+
}
|
|
85
|
+
return writer;
|
|
86
|
+
},
|
|
87
|
+
decode(input, length) {
|
|
88
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
89
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
90
|
+
const message = createBaseSignedBy();
|
|
91
|
+
while (reader.pos < end) {
|
|
92
|
+
const tag = reader.uint32();
|
|
93
|
+
switch (tag >>> 3) {
|
|
94
|
+
case 1: {
|
|
95
|
+
if (tag !== 10) {
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
message.allOf.push(reader.string());
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
case 2: {
|
|
102
|
+
if (tag !== 18) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
message.anyOf.push(reader.string());
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
reader.skip(tag & 7);
|
|
113
|
+
}
|
|
114
|
+
return message;
|
|
115
|
+
},
|
|
116
|
+
fromJSON(object) {
|
|
117
|
+
return {
|
|
118
|
+
allOf: globalThis.Array.isArray(object?.all_of) ? object.all_of.map((e) => globalThis.String(e)) : [],
|
|
119
|
+
anyOf: globalThis.Array.isArray(object?.any_of) ? object.any_of.map((e) => globalThis.String(e)) : []
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
toJSON(message) {
|
|
123
|
+
const obj = {};
|
|
124
|
+
if (message.allOf?.length) {
|
|
125
|
+
obj.all_of = message.allOf;
|
|
126
|
+
}
|
|
127
|
+
if (message.anyOf?.length) {
|
|
128
|
+
obj.any_of = message.anyOf;
|
|
129
|
+
}
|
|
130
|
+
return obj;
|
|
131
|
+
},
|
|
132
|
+
fromPartial(object) {
|
|
133
|
+
const message = createBaseSignedBy();
|
|
134
|
+
message.allOf = object.allOf?.map((e) => e) || [];
|
|
135
|
+
message.anyOf = object.anyOf?.map((e) => e) || [];
|
|
136
|
+
return message;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
function createBasePlacementRequirements() {
|
|
140
|
+
return { signedBy: void 0, attributes: [] };
|
|
141
|
+
}
|
|
142
|
+
var PlacementRequirements = {
|
|
143
|
+
$type: "akash.base.attributes.v1.PlacementRequirements",
|
|
144
|
+
encode(message, writer = new BinaryWriter()) {
|
|
145
|
+
if (message.signedBy !== void 0) {
|
|
146
|
+
SignedBy.encode(message.signedBy, writer.uint32(10).fork()).join();
|
|
147
|
+
}
|
|
148
|
+
for (const v of message.attributes) {
|
|
149
|
+
Attribute.encode(v, writer.uint32(18).fork()).join();
|
|
150
|
+
}
|
|
151
|
+
return writer;
|
|
152
|
+
},
|
|
153
|
+
decode(input, length) {
|
|
154
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
155
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
156
|
+
const message = createBasePlacementRequirements();
|
|
157
|
+
while (reader.pos < end) {
|
|
158
|
+
const tag = reader.uint32();
|
|
159
|
+
switch (tag >>> 3) {
|
|
160
|
+
case 1: {
|
|
161
|
+
if (tag !== 10) {
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
message.signedBy = SignedBy.decode(reader, reader.uint32());
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
case 2: {
|
|
168
|
+
if (tag !== 18) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
message.attributes.push(Attribute.decode(reader, reader.uint32()));
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
reader.skip(tag & 7);
|
|
179
|
+
}
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
fromJSON(object) {
|
|
183
|
+
return {
|
|
184
|
+
signedBy: isSet(object.signed_by) ? SignedBy.fromJSON(object.signed_by) : void 0,
|
|
185
|
+
attributes: globalThis.Array.isArray(object?.attributes) ? object.attributes.map((e) => Attribute.fromJSON(e)) : []
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
toJSON(message) {
|
|
189
|
+
const obj = {};
|
|
190
|
+
if (message.signedBy !== void 0) {
|
|
191
|
+
obj.signed_by = SignedBy.toJSON(message.signedBy);
|
|
192
|
+
}
|
|
193
|
+
if (message.attributes?.length) {
|
|
194
|
+
obj.attributes = message.attributes.map((e) => Attribute.toJSON(e));
|
|
195
|
+
}
|
|
196
|
+
return obj;
|
|
197
|
+
},
|
|
198
|
+
fromPartial(object) {
|
|
199
|
+
const message = createBasePlacementRequirements();
|
|
200
|
+
message.signedBy = object.signedBy !== void 0 && object.signedBy !== null ? SignedBy.fromPartial(object.signedBy) : void 0;
|
|
201
|
+
message.attributes = object.attributes?.map((e) => Attribute.fromPartial(e)) || [];
|
|
202
|
+
return message;
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
export {
|
|
207
|
+
Attribute,
|
|
208
|
+
SignedBy,
|
|
209
|
+
PlacementRequirements
|
|
210
|
+
};
|
|
211
|
+
//# sourceMappingURL=chunk-S2CZQ6AM.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/generated/protos/akash/base/attributes/v1/attribute.ts"],
|
|
4
|
+
"sourcesContent": ["import { isSet } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/base/attributes/v1/attribute.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** Attribute represents an arbitrary attribute key-value pair. */\nexport interface Attribute {\n /** Key of the attribute (e.g., \"region\", \"cpu_architecture\", etc.). */\n key: string;\n /** Value of the attribute (e.g., \"us-west\", \"x86_64\", etc.). */\n value: string;\n}\n\n/**\n * SignedBy represents validation accounts that tenant expects signatures for provider attributes.\n * AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many\n * entries there.\n */\nexport interface SignedBy {\n /** AllOf indicates all keys in this list must have signed attributes. */\n allOf: string[];\n /** AnyOf means that at least one of the keys from the list must have signed attributes. */\n anyOf: string[];\n}\n\n/**\n * PlacementRequirements represents the requirements for a provider placement on the network.\n * It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.\n */\nexport interface PlacementRequirements {\n /** SignedBy holds the list of keys that tenants expect to have signatures from. */\n signedBy:\n | SignedBy\n | undefined;\n /** Attribute holds the list of attributes tenant expects from the provider. */\n attributes: Attribute[];\n}\n\nfunction createBaseAttribute(): Attribute {\n return { key: \"\", value: \"\" };\n}\n\nexport const Attribute: MessageFns<Attribute, \"akash.base.attributes.v1.Attribute\"> = {\n $type: \"akash.base.attributes.v1.Attribute\" as const,\n\n encode(message: Attribute, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Attribute {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAttribute();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.key = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Attribute {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n\n toJSON(message: Attribute): unknown {\n const obj: any = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<Attribute>): Attribute {\n const message = createBaseAttribute();\n message.key = object.key ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\n\nfunction createBaseSignedBy(): SignedBy {\n return { allOf: [], anyOf: [] };\n}\n\nexport const SignedBy: MessageFns<SignedBy, \"akash.base.attributes.v1.SignedBy\"> = {\n $type: \"akash.base.attributes.v1.SignedBy\" as const,\n\n encode(message: SignedBy, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.allOf) {\n writer.uint32(10).string(v!);\n }\n for (const v of message.anyOf) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SignedBy {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSignedBy();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.allOf.push(reader.string());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.anyOf.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SignedBy {\n return {\n allOf: globalThis.Array.isArray(object?.all_of) ? object.all_of.map((e: any) => globalThis.String(e)) : [],\n anyOf: globalThis.Array.isArray(object?.any_of) ? object.any_of.map((e: any) => globalThis.String(e)) : [],\n };\n },\n\n toJSON(message: SignedBy): unknown {\n const obj: any = {};\n if (message.allOf?.length) {\n obj.all_of = message.allOf;\n }\n if (message.anyOf?.length) {\n obj.any_of = message.anyOf;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SignedBy>): SignedBy {\n const message = createBaseSignedBy();\n message.allOf = object.allOf?.map((e) => e) || [];\n message.anyOf = object.anyOf?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBasePlacementRequirements(): PlacementRequirements {\n return { signedBy: undefined, attributes: [] };\n}\n\nexport const PlacementRequirements: MessageFns<\n PlacementRequirements,\n \"akash.base.attributes.v1.PlacementRequirements\"\n> = {\n $type: \"akash.base.attributes.v1.PlacementRequirements\" as const,\n\n encode(message: PlacementRequirements, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.signedBy !== undefined) {\n SignedBy.encode(message.signedBy, writer.uint32(10).fork()).join();\n }\n for (const v of message.attributes) {\n Attribute.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): PlacementRequirements {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlacementRequirements();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.signedBy = SignedBy.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.attributes.push(Attribute.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): PlacementRequirements {\n return {\n signedBy: isSet(object.signed_by) ? SignedBy.fromJSON(object.signed_by) : undefined,\n attributes: globalThis.Array.isArray(object?.attributes)\n ? object.attributes.map((e: any) => Attribute.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: PlacementRequirements): unknown {\n const obj: any = {};\n if (message.signedBy !== undefined) {\n obj.signed_by = SignedBy.toJSON(message.signedBy);\n }\n if (message.attributes?.length) {\n obj.attributes = message.attributes.map((e) => Attribute.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<PlacementRequirements>): PlacementRequirements {\n const message = createBasePlacementRequirements();\n message.signedBy = (object.signedBy !== undefined && object.signedBy !== null)\n ? SignedBy.fromPartial(object.signedBy)\n : undefined;\n message.attributes = object.attributes?.map((e) => Attribute.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AASA,SAAS,cAAc,oBAAoB;AAmC3C,SAAS,sBAAiC;AACxC,SAAO,EAAE,KAAK,IAAI,OAAO,GAAG;AAC9B;AAEO,IAAM,YAAyE;AAAA,EACpF,OAAO;AAAA,EAEP,OAAO,SAAoB,SAAuB,IAAI,aAAa,GAAiB;AAClF,QAAI,QAAQ,QAAQ,IAAI;AACtB,aA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AC,CAAC,KAAK,CAAC;AACjF,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Resources
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZGK4PJCD.js";
|
|
4
4
|
import {
|
|
5
5
|
PlacementRequirements
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S2CZQ6AM.js";
|
|
7
7
|
import {
|
|
8
8
|
DecCoin
|
|
9
9
|
} from "./chunk-IOBGCPUE.js";
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
ResourceUnit,
|
|
184
184
|
GroupSpec
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-SGDEIQ7L.js.map
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isSet
|
|
3
|
+
} from "./chunk-5EZRSM6V.js";
|
|
4
|
+
|
|
5
|
+
// src/generated/protos/akash/market/v1/filters.ts
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
7
|
+
function createBaseLeaseFilters() {
|
|
8
|
+
return { owner: "", dseq: 0n, gseq: 0, oseq: 0, provider: "", state: "", bseq: 0 };
|
|
9
|
+
}
|
|
10
|
+
var LeaseFilters = {
|
|
11
|
+
$type: "akash.market.v1.LeaseFilters",
|
|
12
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13
|
+
if (message.owner !== "") {
|
|
14
|
+
writer.uint32(10).string(message.owner);
|
|
15
|
+
}
|
|
16
|
+
if (message.dseq !== 0n) {
|
|
17
|
+
if (BigInt.asUintN(64, message.dseq) !== message.dseq) {
|
|
18
|
+
throw new globalThis.Error("value provided for field message.dseq of type uint64 too large");
|
|
19
|
+
}
|
|
20
|
+
writer.uint32(16).uint64(message.dseq);
|
|
21
|
+
}
|
|
22
|
+
if (message.gseq !== 0) {
|
|
23
|
+
writer.uint32(24).uint32(message.gseq);
|
|
24
|
+
}
|
|
25
|
+
if (message.oseq !== 0) {
|
|
26
|
+
writer.uint32(32).uint32(message.oseq);
|
|
27
|
+
}
|
|
28
|
+
if (message.provider !== "") {
|
|
29
|
+
writer.uint32(42).string(message.provider);
|
|
30
|
+
}
|
|
31
|
+
if (message.state !== "") {
|
|
32
|
+
writer.uint32(50).string(message.state);
|
|
33
|
+
}
|
|
34
|
+
if (message.bseq !== 0) {
|
|
35
|
+
writer.uint32(56).uint32(message.bseq);
|
|
36
|
+
}
|
|
37
|
+
return writer;
|
|
38
|
+
},
|
|
39
|
+
decode(input, length) {
|
|
40
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
41
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
42
|
+
const message = createBaseLeaseFilters();
|
|
43
|
+
while (reader.pos < end) {
|
|
44
|
+
const tag = reader.uint32();
|
|
45
|
+
switch (tag >>> 3) {
|
|
46
|
+
case 1: {
|
|
47
|
+
if (tag !== 10) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
message.owner = reader.string();
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
case 2: {
|
|
54
|
+
if (tag !== 16) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.dseq = reader.uint64();
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
case 3: {
|
|
61
|
+
if (tag !== 24) {
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
message.gseq = reader.uint32();
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
case 4: {
|
|
68
|
+
if (tag !== 32) {
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
message.oseq = reader.uint32();
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
case 5: {
|
|
75
|
+
if (tag !== 42) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.provider = reader.string();
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
case 6: {
|
|
82
|
+
if (tag !== 50) {
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
message.state = reader.string();
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
case 7: {
|
|
89
|
+
if (tag !== 56) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
message.bseq = reader.uint32();
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
reader.skip(tag & 7);
|
|
100
|
+
}
|
|
101
|
+
return message;
|
|
102
|
+
},
|
|
103
|
+
fromJSON(object) {
|
|
104
|
+
return {
|
|
105
|
+
owner: isSet(object.owner) ? globalThis.String(object.owner) : "",
|
|
106
|
+
dseq: isSet(object.dseq) ? BigInt(object.dseq) : 0n,
|
|
107
|
+
gseq: isSet(object.gseq) ? globalThis.Number(object.gseq) : 0,
|
|
108
|
+
oseq: isSet(object.oseq) ? globalThis.Number(object.oseq) : 0,
|
|
109
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
110
|
+
state: isSet(object.state) ? globalThis.String(object.state) : "",
|
|
111
|
+
bseq: isSet(object.bseq) ? globalThis.Number(object.bseq) : 0
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
toJSON(message) {
|
|
115
|
+
const obj = {};
|
|
116
|
+
if (message.owner !== "") {
|
|
117
|
+
obj.owner = message.owner;
|
|
118
|
+
}
|
|
119
|
+
if (message.dseq !== 0n) {
|
|
120
|
+
obj.dseq = message.dseq.toString();
|
|
121
|
+
}
|
|
122
|
+
if (message.gseq !== 0) {
|
|
123
|
+
obj.gseq = Math.round(message.gseq);
|
|
124
|
+
}
|
|
125
|
+
if (message.oseq !== 0) {
|
|
126
|
+
obj.oseq = Math.round(message.oseq);
|
|
127
|
+
}
|
|
128
|
+
if (message.provider !== "") {
|
|
129
|
+
obj.provider = message.provider;
|
|
130
|
+
}
|
|
131
|
+
if (message.state !== "") {
|
|
132
|
+
obj.state = message.state;
|
|
133
|
+
}
|
|
134
|
+
if (message.bseq !== 0) {
|
|
135
|
+
obj.bseq = Math.round(message.bseq);
|
|
136
|
+
}
|
|
137
|
+
return obj;
|
|
138
|
+
},
|
|
139
|
+
fromPartial(object) {
|
|
140
|
+
const message = createBaseLeaseFilters();
|
|
141
|
+
message.owner = object.owner ?? "";
|
|
142
|
+
message.dseq = object.dseq !== void 0 && object.dseq !== null ? BigInt(object.dseq) : 0n;
|
|
143
|
+
message.gseq = object.gseq ?? 0;
|
|
144
|
+
message.oseq = object.oseq ?? 0;
|
|
145
|
+
message.provider = object.provider ?? "";
|
|
146
|
+
message.state = object.state ?? "";
|
|
147
|
+
message.bseq = object.bseq ?? 0;
|
|
148
|
+
return message;
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
// src/generated/protos/akash/market/v1/order.ts
|
|
153
|
+
import { BinaryReader as BinaryReader2, BinaryWriter as BinaryWriter2 } from "@bufbuild/protobuf/wire";
|
|
154
|
+
function createBaseOrderID() {
|
|
155
|
+
return { owner: "", dseq: 0n, gseq: 0, oseq: 0 };
|
|
156
|
+
}
|
|
157
|
+
var OrderID = {
|
|
158
|
+
$type: "akash.market.v1.OrderID",
|
|
159
|
+
encode(message, writer = new BinaryWriter2()) {
|
|
160
|
+
if (message.owner !== "") {
|
|
161
|
+
writer.uint32(10).string(message.owner);
|
|
162
|
+
}
|
|
163
|
+
if (message.dseq !== 0n) {
|
|
164
|
+
if (BigInt.asUintN(64, message.dseq) !== message.dseq) {
|
|
165
|
+
throw new globalThis.Error("value provided for field message.dseq of type uint64 too large");
|
|
166
|
+
}
|
|
167
|
+
writer.uint32(16).uint64(message.dseq);
|
|
168
|
+
}
|
|
169
|
+
if (message.gseq !== 0) {
|
|
170
|
+
writer.uint32(24).uint32(message.gseq);
|
|
171
|
+
}
|
|
172
|
+
if (message.oseq !== 0) {
|
|
173
|
+
writer.uint32(32).uint32(message.oseq);
|
|
174
|
+
}
|
|
175
|
+
return writer;
|
|
176
|
+
},
|
|
177
|
+
decode(input, length) {
|
|
178
|
+
const reader = input instanceof BinaryReader2 ? input : new BinaryReader2(input);
|
|
179
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
180
|
+
const message = createBaseOrderID();
|
|
181
|
+
while (reader.pos < end) {
|
|
182
|
+
const tag = reader.uint32();
|
|
183
|
+
switch (tag >>> 3) {
|
|
184
|
+
case 1: {
|
|
185
|
+
if (tag !== 10) {
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
message.owner = reader.string();
|
|
189
|
+
continue;
|
|
190
|
+
}
|
|
191
|
+
case 2: {
|
|
192
|
+
if (tag !== 16) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
message.dseq = reader.uint64();
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
case 3: {
|
|
199
|
+
if (tag !== 24) {
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
message.gseq = reader.uint32();
|
|
203
|
+
continue;
|
|
204
|
+
}
|
|
205
|
+
case 4: {
|
|
206
|
+
if (tag !== 32) {
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
message.oseq = reader.uint32();
|
|
210
|
+
continue;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
reader.skip(tag & 7);
|
|
217
|
+
}
|
|
218
|
+
return message;
|
|
219
|
+
},
|
|
220
|
+
fromJSON(object) {
|
|
221
|
+
return {
|
|
222
|
+
owner: isSet(object.owner) ? globalThis.String(object.owner) : "",
|
|
223
|
+
dseq: isSet(object.dseq) ? BigInt(object.dseq) : 0n,
|
|
224
|
+
gseq: isSet(object.gseq) ? globalThis.Number(object.gseq) : 0,
|
|
225
|
+
oseq: isSet(object.oseq) ? globalThis.Number(object.oseq) : 0
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
toJSON(message) {
|
|
229
|
+
const obj = {};
|
|
230
|
+
if (message.owner !== "") {
|
|
231
|
+
obj.owner = message.owner;
|
|
232
|
+
}
|
|
233
|
+
if (message.dseq !== 0n) {
|
|
234
|
+
obj.dseq = message.dseq.toString();
|
|
235
|
+
}
|
|
236
|
+
if (message.gseq !== 0) {
|
|
237
|
+
obj.gseq = Math.round(message.gseq);
|
|
238
|
+
}
|
|
239
|
+
if (message.oseq !== 0) {
|
|
240
|
+
obj.oseq = Math.round(message.oseq);
|
|
241
|
+
}
|
|
242
|
+
return obj;
|
|
243
|
+
},
|
|
244
|
+
fromPartial(object) {
|
|
245
|
+
const message = createBaseOrderID();
|
|
246
|
+
message.owner = object.owner ?? "";
|
|
247
|
+
message.dseq = object.dseq !== void 0 && object.dseq !== null ? BigInt(object.dseq) : 0n;
|
|
248
|
+
message.gseq = object.gseq ?? 0;
|
|
249
|
+
message.oseq = object.oseq ?? 0;
|
|
250
|
+
return message;
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
export {
|
|
255
|
+
LeaseFilters,
|
|
256
|
+
OrderID
|
|
257
|
+
};
|
|
258
|
+
//# sourceMappingURL=chunk-SXGU4O34.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/generated/protos/akash/market/v1/filters.ts", "../../src/generated/protos/akash/market/v1/order.ts"],
|
|
4
|
+
"sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/market/v1/filters.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** LeaseFilters defines flags for lease list filtering. */\nexport interface LeaseFilters {\n /**\n * Owner is the account bech32 address of the user who owns the deployment.\n * It is a string representing a valid bech32 account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /**\n * Dseq (deployment sequence number) is a unique numeric identifier for the deployment.\n * It is used to differentiate deployments created by the same owner.\n */\n dseq: bigint;\n /**\n * Gseq (group sequence number) is a unique numeric identifier for the group.\n * It is used to differentiate groups created by the same owner in a deployment.\n */\n gseq: number;\n /**\n * Oseq (order sequence) distinguishes multiple orders associated with a single deployment.\n * Oseq is incremented when a lease associated with an existing deployment is closed, and a new order is generated.\n */\n oseq: number;\n /**\n * Provider is the account bech32 address of the provider making the bid.\n * It is a string representing a valid account bech32 address.\n *\n * Example:\n * \"akash1...\"\n */\n provider: string;\n /** State represents the state of the lease. */\n state: string;\n /** BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider. */\n bseq: number;\n}\n\nfunction createBaseLeaseFilters(): LeaseFilters {\n return { owner: \"\", dseq: 0n, gseq: 0, oseq: 0, provider: \"\", state: \"\", bseq: 0 };\n}\n\nexport const LeaseFilters: MessageFns<LeaseFilters, \"akash.market.v1.LeaseFilters\"> = {\n $type: \"akash.market.v1.LeaseFilters\" as const,\n\n encode(message: LeaseFilters, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.dseq !== 0n) {\n if (BigInt.asUintN(64, message.dseq) !== message.dseq) {\n throw new globalThis.Error(\"value provided for field message.dseq of type uint64 too large\");\n }\n writer.uint32(16).uint64(message.dseq);\n }\n if (message.gseq !== 0) {\n writer.uint32(24).uint32(message.gseq);\n }\n if (message.oseq !== 0) {\n writer.uint32(32).uint32(message.oseq);\n }\n if (message.provider !== \"\") {\n writer.uint32(42).string(message.provider);\n }\n if (message.state !== \"\") {\n writer.uint32(50).string(message.state);\n }\n if (message.bseq !== 0) {\n writer.uint32(56).uint32(message.bseq);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): LeaseFilters {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLeaseFilters();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.dseq = reader.uint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.gseq = reader.uint32();\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.oseq = reader.uint32();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.state = reader.string();\n continue;\n }\n case 7: {\n if (tag !== 56) {\n break;\n }\n\n message.bseq = reader.uint32();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): LeaseFilters {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n dseq: isSet(object.dseq) ? BigInt(object.dseq) : 0n,\n gseq: isSet(object.gseq) ? globalThis.Number(object.gseq) : 0,\n oseq: isSet(object.oseq) ? globalThis.Number(object.oseq) : 0,\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n state: isSet(object.state) ? globalThis.String(object.state) : \"\",\n bseq: isSet(object.bseq) ? globalThis.Number(object.bseq) : 0,\n };\n },\n\n toJSON(message: LeaseFilters): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.dseq !== 0n) {\n obj.dseq = message.dseq.toString();\n }\n if (message.gseq !== 0) {\n obj.gseq = Math.round(message.gseq);\n }\n if (message.oseq !== 0) {\n obj.oseq = Math.round(message.oseq);\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.state !== \"\") {\n obj.state = message.state;\n }\n if (message.bseq !== 0) {\n obj.bseq = Math.round(message.bseq);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<LeaseFilters>): LeaseFilters {\n const message = createBaseLeaseFilters();\n message.owner = object.owner ?? \"\";\n message.dseq = (object.dseq !== undefined && object.dseq !== null) ? BigInt(object.dseq) : 0n;\n message.gseq = object.gseq ?? 0;\n message.oseq = object.oseq ?? 0;\n message.provider = object.provider ?? \"\";\n message.state = object.state ?? \"\";\n message.bseq = object.bseq ?? 0;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/market/v1/order.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** OrderId stores owner and all other seq numbers. */\nexport interface OrderID {\n /**\n * Owner is the account bech32 address of the user who owns the deployment.\n * It is a string representing a valid bech32 account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /**\n * Dseq (deployment sequence number) is a unique numeric identifier for the deployment.\n * It is used to differentiate deployments created by the same owner.\n */\n dseq: bigint;\n /**\n * Gseq (group sequence number) is a unique numeric identifier for the group.\n * It is used to differentiate groups created by the same owner in a deployment.\n */\n gseq: number;\n /**\n * Oseq (order sequence) distinguishes multiple orders associated with a single deployment.\n * Oseq is incremented when a lease associated with an existing deployment is closed, and a new order is generated.\n */\n oseq: number;\n}\n\nfunction createBaseOrderID(): OrderID {\n return { owner: \"\", dseq: 0n, gseq: 0, oseq: 0 };\n}\n\nexport const OrderID: MessageFns<OrderID, \"akash.market.v1.OrderID\"> = {\n $type: \"akash.market.v1.OrderID\" as const,\n\n encode(message: OrderID, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.dseq !== 0n) {\n if (BigInt.asUintN(64, message.dseq) !== message.dseq) {\n throw new globalThis.Error(\"value provided for field message.dseq of type uint64 too large\");\n }\n writer.uint32(16).uint64(message.dseq);\n }\n if (message.gseq !== 0) {\n writer.uint32(24).uint32(message.gseq);\n }\n if (message.oseq !== 0) {\n writer.uint32(32).uint32(message.oseq);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): OrderID {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOrderID();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.dseq = reader.uint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.gseq = reader.uint32();\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.oseq = reader.uint32();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): OrderID {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n dseq: isSet(object.dseq) ? BigInt(object.dseq) : 0n,\n gseq: isSet(object.gseq) ? globalThis.Number(object.gseq) : 0,\n oseq: isSet(object.oseq) ? globalThis.Number(object.oseq) : 0,\n };\n },\n\n toJSON(message: OrderID): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.dseq !== 0n) {\n obj.dseq = message.dseq.toString();\n }\n if (message.gseq !== 0) {\n obj.gseq = Math.round(message.gseq);\n }\n if (message.oseq !== 0) {\n obj.oseq = Math.round(message.oseq);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<OrderID>): OrderID {\n const message = createBaseOrderID();\n message.owner = object.owner ?? \"\";\n message.dseq = (object.dseq !== undefined && object.dseq !== null) ? BigInt(object.dseq) : 0n;\n message.gseq = object.gseq ?? 0;\n message.oseq = object.oseq ?? 0;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\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AAClC,YAAQ,QAAQ,OAAO,SAAS;AAChC,YAAQ,OAAQ,OAAO,SAAS,UAAa,OAAO,SAAS,OAAQ,OAAO,OAAO,IAAI,IAAI;AAC3F,YAAQ,OAAO,OAAO,QAAQ;AAC9B,YAAQ,OAAO,OAAO,QAAQ;AAC9B,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": ["BinaryReader", "BinaryWriter"]
|
|
7
|
+
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AggregatedPrice,
|
|
3
3
|
Params,
|
|
4
4
|
PriceHealth
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N42ATJOO.js";
|
|
6
6
|
import {
|
|
7
7
|
isSet
|
|
8
8
|
} from "./chunk-5EZRSM6V.js";
|
|
@@ -215,4 +215,4 @@ export {
|
|
|
215
215
|
QueryAggregatedPriceRequest,
|
|
216
216
|
QueryAggregatedPriceResponse
|
|
217
217
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
218
|
+
//# sourceMappingURL=chunk-TTQ36NQ5.js.map
|