@crossmint/wallets-sdk 1.0.5 → 1.0.6
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/api/__tests__/constants.d.cts +1 -1
- package/dist/api/__tests__/constants.d.ts +1 -1
- package/dist/api/__tests__/test-utils.cjs +1 -1
- package/dist/api/__tests__/test-utils.d.cts +1 -1
- package/dist/api/__tests__/test-utils.d.ts +1 -1
- package/dist/api/__tests__/test-utils.js +1 -1
- package/dist/api/client.cjs +1 -1
- package/dist/api/client.d.cts +2 -1
- package/dist/api/client.d.ts +2 -1
- package/dist/api/client.js +1 -1
- package/dist/api/gen/index.cjs +1 -1
- package/dist/api/gen/index.d.cts +2 -2
- package/dist/api/gen/index.d.ts +2 -2
- package/dist/api/gen/index.js +1 -1
- package/dist/api/gen/sdk.gen.cjs +1 -1
- package/dist/api/gen/sdk.gen.d.cts +32 -4
- package/dist/api/gen/sdk.gen.d.ts +32 -4
- package/dist/api/gen/sdk.gen.js +1 -1
- package/dist/api/gen/types.gen.d.cts +3284 -344
- package/dist/api/gen/types.gen.d.ts +3284 -344
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/types.d.cts +1 -1
- package/dist/api/types.d.ts +1 -1
- package/dist/chains/chains.cjs +1 -1
- package/dist/chains/chains.js +1 -1
- package/dist/{chunk-2ZRVRZ5V.js → chunk-3NVAOKHU.js} +1 -1
- package/dist/{chunk-Z4D444SN.js → chunk-557V3TGD.js} +1 -1
- package/dist/chunk-5DDBWQT7.js +1 -0
- package/dist/{chunk-YU3AREZ5.cjs → chunk-5GVNUIMB.cjs} +1 -1
- package/dist/{chunk-JYA43GLW.cjs → chunk-AOEZBP4B.cjs} +1 -1
- package/dist/{chunk-2L3RQJ35.cjs → chunk-BEJRUYPR.cjs} +1 -1
- package/dist/{chunk-SFF5QNGS.cjs → chunk-BWI6HYAM.cjs} +1 -1
- package/dist/{chunk-UPJIOFOJ.cjs → chunk-CP4EOL72.cjs} +1 -1
- package/dist/chunk-DVJ36LFS.cjs +3 -0
- package/dist/{chunk-3UJMZ2KA.js → chunk-EIM3O5OX.js} +1 -1
- package/dist/{chunk-EYSXYO24.cjs → chunk-EXQQQBO5.cjs} +1 -1
- package/dist/{chunk-ZR2EFQFF.js → chunk-FBFT2E6I.js} +1 -1
- package/dist/chunk-FFEHHGVZ.js +1 -0
- package/dist/{chunk-ATXJKINJ.cjs → chunk-GYUYS75X.cjs} +1 -1
- package/dist/{chunk-PFWWFMJD.cjs → chunk-IBEOC3PY.cjs} +1 -1
- package/dist/{chunk-KTEUOHCF.cjs → chunk-IEW4QYEG.cjs} +1 -1
- package/dist/{chunk-H2HXWSEL.js → chunk-IHXBHFSI.js} +1 -1
- package/dist/{chunk-4GCAKY5A.cjs → chunk-ILOLXAVX.cjs} +1 -1
- package/dist/{chunk-2EEYZX6U.js → chunk-JLQXK6OD.js} +1 -1
- package/dist/{chunk-M2XVDEXS.cjs → chunk-KBIPKX7J.cjs} +1 -1
- package/dist/{chunk-YSAV2KFH.cjs → chunk-MAK4BTYB.cjs} +1 -1
- package/dist/chunk-PLYNNPIO.js +3 -0
- package/dist/{chunk-GJEUGC2Z.js → chunk-R4UIR4ME.js} +1 -1
- package/dist/{chunk-BHGT22ON.js → chunk-RKO4OMNP.js} +1 -1
- package/dist/{chunk-LA6PRKGH.cjs → chunk-SCPDMHCR.cjs} +1 -1
- package/dist/{chunk-PRAIUOEG.js → chunk-SYRVGFS7.js} +1 -1
- package/dist/{chunk-HJXSI76N.js → chunk-TQ3DHHDD.js} +1 -1
- package/dist/{chunk-3OQSPCDE.cjs → chunk-TTDWZ77O.cjs} +1 -1
- package/dist/{chunk-OUEEBJWS.js → chunk-U2NZDB37.js} +1 -1
- package/dist/chunk-UHNDS4AW.cjs +1 -0
- package/dist/{chunk-4ECLLRP4.js → chunk-WE6YJGWF.js} +1 -1
- package/dist/chunk-WUUKSJZA.js +1 -0
- package/dist/{chunk-UMHUN5HH.js → chunk-XC36Q76T.js} +1 -1
- package/dist/{chunk-TC5E3COL.cjs → chunk-ZZBLGUBW.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/logger/index.cjs +1 -1
- package/dist/logger/index.js +1 -1
- package/dist/logger/init.cjs +1 -1
- package/dist/logger/init.js +1 -1
- package/dist/sdk.cjs +1 -1
- package/dist/sdk.d.cts +1 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.js +1 -1
- package/dist/signers/device.d.cts +1 -1
- package/dist/signers/device.d.ts +1 -1
- package/dist/signers/evm-api-key.d.cts +1 -1
- package/dist/signers/evm-api-key.d.ts +1 -1
- package/dist/signers/evm-external-wallet.d.cts +1 -1
- package/dist/signers/evm-external-wallet.d.ts +1 -1
- package/dist/signers/external-wallet-signer.d.cts +1 -1
- package/dist/signers/external-wallet-signer.d.ts +1 -1
- package/dist/signers/index.cjs +1 -1
- package/dist/signers/index.d.cts +1 -1
- package/dist/signers/index.d.ts +1 -1
- package/dist/signers/index.js +1 -1
- package/dist/signers/non-custodial/index.cjs +1 -1
- package/dist/signers/non-custodial/index.d.cts +1 -1
- package/dist/signers/non-custodial/index.d.ts +1 -1
- package/dist/signers/non-custodial/index.js +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.js +1 -1
- package/dist/signers/non-custodial/ncs-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-signer.js +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.js +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.js +1 -1
- package/dist/signers/passkey.d.cts +1 -1
- package/dist/signers/passkey.d.ts +1 -1
- package/dist/signers/server/assemble-server-signer.d.cts +1 -1
- package/dist/signers/server/assemble-server-signer.d.ts +1 -1
- package/dist/signers/server/evm-server-signer.d.cts +1 -1
- package/dist/signers/server/evm-server-signer.d.ts +1 -1
- package/dist/signers/server/helpers/derive-server-signer.d.cts +1 -1
- package/dist/signers/server/helpers/derive-server-signer.d.ts +1 -1
- package/dist/signers/server/helpers/index.d.cts +1 -1
- package/dist/signers/server/helpers/index.d.ts +1 -1
- package/dist/signers/server/index.d.cts +1 -1
- package/dist/signers/server/index.d.ts +1 -1
- package/dist/signers/server/solana-server-signer.d.cts +1 -1
- package/dist/signers/server/solana-server-signer.d.ts +1 -1
- package/dist/signers/server/stellar-server-signer.d.cts +1 -1
- package/dist/signers/server/stellar-server-signer.d.ts +1 -1
- package/dist/signers/solana-api-key.d.cts +1 -1
- package/dist/signers/solana-api-key.d.ts +1 -1
- package/dist/signers/solana-external-wallet.d.cts +1 -1
- package/dist/signers/solana-external-wallet.d.ts +1 -1
- package/dist/signers/stellar-external-wallet.d.cts +1 -1
- package/dist/signers/stellar-external-wallet.d.ts +1 -1
- package/dist/signers/types.d.cts +1 -1
- package/dist/signers/types.d.ts +1 -1
- package/dist/{types-guSZ0uln.d.ts → types-CDJNPaOV.d.ts} +27 -18
- package/dist/{types-SHQAcrFF.d.cts → types-qiGclN6_.d.cts} +27 -18
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.cjs +1 -1
- package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.js +1 -1
- package/dist/utils/device-signers/createDeviceSigner.d.cts +1 -1
- package/dist/utils/device-signers/createDeviceSigner.d.ts +1 -1
- package/dist/utils/device-signers/index.cjs +1 -1
- package/dist/utils/device-signers/index.d.cts +1 -1
- package/dist/utils/device-signers/index.d.ts +1 -1
- package/dist/utils/device-signers/index.js +1 -1
- package/dist/utils/signer-locator.d.cts +1 -1
- package/dist/utils/signer-locator.d.ts +1 -1
- package/dist/utils/signer-mapping.d.cts +1 -1
- package/dist/utils/signer-mapping.d.ts +1 -1
- package/dist/wallets/__tests__/test-helpers.cjs +1 -1
- package/dist/wallets/__tests__/test-helpers.d.cts +2 -1
- package/dist/wallets/__tests__/test-helpers.d.ts +2 -1
- package/dist/wallets/__tests__/test-helpers.js +1 -1
- package/dist/wallets/evm.cjs +1 -1
- package/dist/wallets/evm.d.cts +1 -1
- package/dist/wallets/evm.d.ts +1 -1
- package/dist/wallets/evm.js +1 -1
- package/dist/wallets/solana.cjs +1 -1
- package/dist/wallets/solana.d.cts +1 -1
- package/dist/wallets/solana.d.ts +1 -1
- package/dist/wallets/solana.js +1 -1
- package/dist/wallets/stellar.cjs +1 -1
- package/dist/wallets/stellar.d.cts +1 -1
- package/dist/wallets/stellar.d.ts +1 -1
- package/dist/wallets/stellar.js +1 -1
- package/dist/wallets/types.d.cts +1 -1
- package/dist/wallets/types.d.ts +1 -1
- package/dist/wallets/wallet-factory.cjs +1 -1
- package/dist/wallets/wallet-factory.d.cts +1 -1
- package/dist/wallets/wallet-factory.d.ts +1 -1
- package/dist/wallets/wallet-factory.js +1 -1
- package/dist/wallets/wallet.cjs +1 -1
- package/dist/wallets/wallet.d.cts +30 -3
- package/dist/wallets/wallet.d.ts +30 -3
- package/dist/wallets/wallet.js +1 -1
- package/package.json +4 -3
- package/dist/chunk-DUW33FYC.js +0 -3
- package/dist/chunk-GCCPFKR2.js +0 -1
- package/dist/chunk-JINIR3YK.cjs +0 -1
- package/dist/chunk-PDHWPAGW.js +0 -1
- package/dist/chunk-RWBXENEB.cjs +0 -3
- package/dist/chunk-ZBUZDECC.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJ33QM2IDcjs = require('../../chunk-J33QM2ID.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJ33QM2IDcjs = require('../../chunk-J33QM2ID.cjs');var _chunkAOEZBP4Bcjs = require('../../chunk-AOEZBP4B.cjs');require('../../chunk-T3U46LK3.cjs');require('../../chunk-IBEOC3PY.cjs');require('../../chunk-SCPDMHCR.cjs');var _chunk2GKPWQBQcjs = require('../../chunk-2GKPWQBQ.cjs');var _vitest = require('vitest');var b=({data:e,status:t=200,ok:n=!0,statusText:s="OK"})=>({json:_vitest.vi.fn().mockResolvedValue(e),ok:n,status:t,statusText:s}),j= exports.createMockSuccessResponse =e=>b({data:e}),P= exports.createMockErrorResponse =(e,t=400,n="Bad Request")=>b({data:e,status:t,ok:!1,statusText:n}),B= exports.createMockCrossmint =(e={})=>{let t=_chunk2GKPWQBQcjs.a.call(void 0, {apiKey:_chunkJ33QM2IDcjs.m},e);return _chunk2GKPWQBQcjs.b.call(void 0, _chunk2GKPWQBQcjs.a.call(void 0, {},t),{setJwt:_vitest.vi.fn().mockReturnThis()})},L= exports.createTestApiClient =e=>new (0, _chunkAOEZBP4Bcjs.a)(e||B()),K= exports.createServerSideApiClient =()=>{let e=L();return Object.defineProperty(e,"isServerSide",{get:()=>!0,configurable:!0}),e},Y= exports.extractFetchCall =e=>{let t=e.mock.calls;if(t.length===0)return;let n=t[t.length-1];return{path:n[0],options:n[1]}},N= exports.expectRequestPath =(e,t)=>{_vitest.expect.call(void 0, e==null?void 0:e.path).toBe(t)},V= exports.expectCommonHeaders =e=>{_vitest.expect.call(void 0, e["Content-Type"]).toBe("application/json")},q= exports.expectRequestBody =(e,t)=>{_vitest.expect.call(void 0, e.body).toBe(JSON.stringify(t))},z= exports.validateRequest =(e,t,n)=>{_vitest.expect.call(void 0, e).toBeDefined(),e&&(N(e,t),e.options.headers&&V(e.options.headers),n!==void 0&&e.options&&q(e.options,n))},X= exports.testHttpErrorResponse =(e,t,n,s)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){t.mockResolvedValue(P(n,s));let a=yield e();_vitest.expect.call(void 0, u(a)).toBe(!0),u(a)&&(_vitest.expect.call(void 0, a.error).toBe(!0),n.message&&_vitest.expect.call(void 0, a.message).toBe(n.message))}),Z= exports.testCommonHttpErrors =(s,a,...o)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,[s,a,...o],function*(e,t,n=[]){for(let{status:c,message:g}of _chunkJ33QM2IDcjs.a){if(n.includes(c))continue;let l={error:!0,message:g};t.mockResolvedValueOnce(P(l,c));let m=yield e();_vitest.expect.call(void 0, u(m)).toBe(!0)}}),Q= exports.testNetworkError =(e,t)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){t.mockRejectedValue(new Error("Network error")),yield _vitest.expect.call(void 0, e()).rejects.toThrow("Network error")}),ee= exports.testInvalidJsonResponse =(e,t)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){let n={json:_vitest.vi.fn().mockRejectedValue(new Error("Invalid JSON")),ok:!0,status:200};t.mockResolvedValue(n),yield _vitest.expect.call(void 0, e()).rejects.toThrow()}),te= exports.testTimeoutError =(e,t)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){t.mockImplementation(()=>new Promise((n,s)=>setTimeout(()=>s(new Error("Request timeout")),0))),yield _vitest.expect.call(void 0, e()).rejects.toThrow("Request timeout")}),ne= exports.testMalformedResponse =(e,t,n)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){t.mockResolvedValue(j(n));let s=yield e();_vitest.expect.call(void 0, s).toEqual(n)}),se= exports.createMockWalletResponse =(e={})=>_chunk2GKPWQBQcjs.a.call(void 0, {address:_chunkJ33QM2IDcjs.b.evmAddress,chainType:"evm",type:"smart",config:{adminSigner:{type:"external-wallet",address:_chunkJ33QM2IDcjs.k.EVM_TEST}}},e),oe= exports.createMockSendResponse =(e={})=>_chunk2GKPWQBQcjs.a.call(void 0, {id:"txn-123",status:"pending",chainType:"evm",walletType:"evm-smart-wallet",params:{transaction:"0x1234567890abcdef",signer:"api-key:test"},onChain:{txId:"0xabcdef1234567890abcdef1234567890abcdef12",explorerLink:"https://explorer.example.com/tx/0xabcdef1234567890abcdef1234567890abcdef12"},createdAt:Date.now()},e);function u(e){return typeof e=="object"&&e!==null&&"error"in e&&e.error===!0}function h(e){return typeof e=="object"&&e!==null&&"address"in e&&"chainType"in e&&"type"in e}function $(e){return typeof e=="object"&&e!==null&&"id"in e&&"status"in e&&"chainType"in e}var x=e=>new Promise(t=>setTimeout(t,e)),re= exports.isValidEthereumAddress =e=>/^0x[a-fA-F0-9]{40}$/.test(e),ae= exports.isValidSolanaAddress =e=>/^[1-9A-HJ-NP-Za-km-z]{32,44}$/.test(e),ie= exports.createIntegrationApiClient =(e,t,n={})=>{let s=_chunk2GKPWQBQcjs.a.call(void 0, _chunk2GKPWQBQcjs.a.call(void 0, {apiKey:e},t&&{overrideBaseUrl:t}),n),a=_chunk2GKPWQBQcjs.b.call(void 0, _chunk2GKPWQBQcjs.a.call(void 0, {},s),{setJwt:()=>a});return new (0, _chunkAOEZBP4Bcjs.a)(a)},v= exports.TestDataFactory =class{constructor(){this.wallets=[];this.transactions=[]}addWallet(t){t&&!this.wallets.includes(t)&&this.wallets.push(t)}addTransaction(t){t&&!this.transactions.includes(t)&&this.transactions.push(t)}getWallet(t=0){return this.wallets[t]}getTransaction(t=0){return this.transactions[t]}hasWallets(){return this.wallets.length>0}clear(){this.wallets=[],this.transactions=[]}};function ce(s,a){return _chunk2GKPWQBQcjs.g.call(void 0, this,arguments,function*(e,t,n={}){if(t.hasWallets())return t.getWallet();let{chainType:o="evm",type:c="mpc",owner:g,testName:l="default"}=n,m=g||`userId:integration-${l}-${Date.now()}`,f=yield e.createWallet(_chunk2GKPWQBQcjs.a.call(void 0, {chainType:o,type:c},g&&{owner:m}));if(h(f))return t.addWallet(f.address),f.address})}function pe(e,t,n){return _chunk2GKPWQBQcjs.g.call(void 0, this,null,function*(){let s=yield e.createWallet(n);return h(s)&&t.addWallet(s.address),s})}function ue(e,t){_vitest.expect.call(void 0, u(e)).toBe(!0),t&&_vitest.expect.call(void 0, e.message).toBeDefined()}function le(e){_vitest.expect.call(void 0, h(e)).toBe(!0)}function de(e){_vitest.expect.call(void 0, $(e)).toBe(!0)}var I=(e,t,n,s="usdxm",a="base-sepolia")=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){let o={amount:n,token:s,chain:a},c=yield e.fundWallet(t,o);if(u(c))throw new Error(`Failed to fund wallet: ${c.message||"Unknown error"}`);return yield x(_chunkJ33QM2IDcjs.i),c}),U= exports.approveTransaction =(a,o,c,...g)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,[a,o,c,...g],function*(e,t,n,s=_chunkJ33QM2IDcjs.l.APPROVE_TRANSACTION_MAX_RETRIES){var m;for(let f=0;f<s;f++){let d=yield e.getTransaction(t,n);if(u(d))throw new Error(`Transaction not found: ${d.message||"Unknown error"}`);if("status"in d&&(d.status==="success"||d.status==="failed"))return d;let T="approvals"in d?(m=d.approvals)==null?void 0:m.pending:void 0;if(T&&T.length>0){let O={approvals:T.map(_=>({signer:_.signer.locator,signature:""}))},C=yield e.approveTransaction(t,n,O);if(u(C))throw new Error(`Failed to approve transaction: ${C.message||"Unknown error"}`);yield x(_chunkJ33QM2IDcjs.j);continue}yield x(_chunkJ33QM2IDcjs.i)}let l=yield e.getTransaction(t,n);if(u(l))throw new Error(`Transaction not found after retries: ${l.message||"Unknown error"}`);if(!("status"in l))throw new Error("Transaction response missing status property");return l}),me= exports.fundWalletAndWait =(e,t,n=1,s="usdxm",a="base-sepolia")=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){return I(e,t,n,s,a)}),fe= exports.sendTokenAndApprove =(e,t,n,s,a)=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){let o=yield e.send(t,n,{recipient:s,amount:a});if(u(o))throw new Error(`Failed to send token: ${o.message||"Unknown error"}`);if(typeof o=="object"&&o!==null&&"id"in o&&typeof o.id=="string")return U(e,t,o.id);throw new Error("Transaction ID not found in send response")}),ge= exports.ensureWalletFunded =(e,t,n=1,s="usdxm",a="base-sepolia")=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){try{yield I(e,t,n,s,a)}catch(o){let c=o instanceof Error?o.message:String(o);if(!c.includes("already funded")&&!c.includes("insufficient"))throw o}});exports.TestDataFactory = v; exports.approveTransaction = U; exports.createIntegrationApiClient = ie; exports.createMockCrossmint = B; exports.createMockErrorResponse = P; exports.createMockResponse = b; exports.createMockSendResponse = oe; exports.createMockSuccessResponse = j; exports.createMockWalletResponse = se; exports.createServerSideApiClient = K; exports.createTestApiClient = L; exports.createTestWallet = pe; exports.delay = x; exports.ensureWalletExists = ce; exports.ensureWalletFunded = ge; exports.expectCommonHeaders = V; exports.expectErrorResponse = ue; exports.expectRequestBody = q; exports.expectRequestPath = N; exports.expectSuccessTransactionResponse = de; exports.expectSuccessWalletResponse = le; exports.extractFetchCall = Y; exports.fundWallet = I; exports.fundWalletAndWait = me; exports.isErrorResponse = u; exports.isSuccessTransactionResponse = $; exports.isSuccessWalletResponse = h; exports.isValidEthereumAddress = re; exports.isValidSolanaAddress = ae; exports.sendTokenAndApprove = fe; exports.testCommonHttpErrors = Z; exports.testHttpErrorResponse = X; exports.testInvalidJsonResponse = ee; exports.testMalformedResponse = ne; exports.testNetworkError = Q; exports.testTimeoutError = te; exports.validateRequest = z;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MockedFunction } from 'vitest';
|
|
2
2
|
import { Crossmint } from '@crossmint/common-sdk-base';
|
|
3
3
|
import { ApiClient } from '../client.cjs';
|
|
4
|
-
import {
|
|
4
|
+
import { a7 as CreateWalletResponse, a8 as SendResponse, a9 as CreateWalletParams, a5 as WalletLocator, Z as FundWalletResponse, aa as GetTransactionResponse } from '../../types-qiGclN6_.cjs';
|
|
5
5
|
import '../../chains/chains.cjs';
|
|
6
6
|
import 'viem';
|
|
7
7
|
import '../gen/types.gen.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MockedFunction } from 'vitest';
|
|
2
2
|
import { Crossmint } from '@crossmint/common-sdk-base';
|
|
3
3
|
import { ApiClient } from '../client.js';
|
|
4
|
-
import {
|
|
4
|
+
import { a7 as CreateWalletResponse, a8 as SendResponse, a9 as CreateWalletParams, a5 as WalletLocator, Z as FundWalletResponse, aa as GetTransactionResponse } from '../../types-CDJNPaOV.js';
|
|
5
5
|
import '../../chains/chains.js';
|
|
6
6
|
import 'viem';
|
|
7
7
|
import '../gen/types.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as A,b as F,i as R,j as E,k as M,l as W,m as S}from"../../chunk-DIGDDKSF.js";import{a as w}from"../../chunk-
|
|
1
|
+
import{a as A,b as F,i as R,j as E,k as M,l as W,m as S}from"../../chunk-DIGDDKSF.js";import{a as w}from"../../chunk-WUUKSJZA.js";import"../../chunk-EXC7TCGL.js";import"../../chunk-EIM3O5OX.js";import"../../chunk-FFEHHGVZ.js";import{a as p,b as k,g as i}from"../../chunk-J3R36SGJ.js";import{expect as r,vi as y}from"vitest";var b=({data:e,status:t=200,ok:n=!0,statusText:s="OK"})=>({json:y.fn().mockResolvedValue(e),ok:n,status:t,statusText:s}),j=e=>b({data:e}),P=(e,t=400,n="Bad Request")=>b({data:e,status:t,ok:!1,statusText:n}),B=(e={})=>{let t=p({apiKey:S},e);return k(p({},t),{setJwt:y.fn().mockReturnThis()})},L=e=>new w(e||B()),Y=()=>{let e=L();return Object.defineProperty(e,"isServerSide",{get:()=>!0,configurable:!0}),e},z=e=>{let t=e.mock.calls;if(t.length===0)return;let n=t[t.length-1];return{path:n[0],options:n[1]}},N=(e,t)=>{r(e==null?void 0:e.path).toBe(t)},V=e=>{r(e["Content-Type"]).toBe("application/json")},q=(e,t)=>{r(e.body).toBe(JSON.stringify(t))},X=(e,t,n)=>{r(e).toBeDefined(),e&&(N(e,t),e.options.headers&&V(e.options.headers),n!==void 0&&e.options&&q(e.options,n))},Z=(e,t,n,s)=>i(void 0,null,function*(){t.mockResolvedValue(P(n,s));let a=yield e();r(u(a)).toBe(!0),u(a)&&(r(a.error).toBe(!0),n.message&&r(a.message).toBe(n.message))}),Q=(s,a,...o)=>i(void 0,[s,a,...o],function*(e,t,n=[]){for(let{status:c,message:g}of A){if(n.includes(c))continue;let l={error:!0,message:g};t.mockResolvedValueOnce(P(l,c));let m=yield e();r(u(m)).toBe(!0)}}),ee=(e,t)=>i(void 0,null,function*(){t.mockRejectedValue(new Error("Network error")),yield r(e()).rejects.toThrow("Network error")}),te=(e,t)=>i(void 0,null,function*(){let n={json:y.fn().mockRejectedValue(new Error("Invalid JSON")),ok:!0,status:200};t.mockResolvedValue(n),yield r(e()).rejects.toThrow()}),ne=(e,t)=>i(void 0,null,function*(){t.mockImplementation(()=>new Promise((n,s)=>setTimeout(()=>s(new Error("Request timeout")),0))),yield r(e()).rejects.toThrow("Request timeout")}),se=(e,t,n)=>i(void 0,null,function*(){t.mockResolvedValue(j(n));let s=yield e();r(s).toEqual(n)}),oe=(e={})=>p({address:F.evmAddress,chainType:"evm",type:"smart",config:{adminSigner:{type:"external-wallet",address:M.EVM_TEST}}},e),re=(e={})=>p({id:"txn-123",status:"pending",chainType:"evm",walletType:"evm-smart-wallet",params:{transaction:"0x1234567890abcdef",signer:"api-key:test"},onChain:{txId:"0xabcdef1234567890abcdef1234567890abcdef12",explorerLink:"https://explorer.example.com/tx/0xabcdef1234567890abcdef1234567890abcdef12"},createdAt:Date.now()},e);function u(e){return typeof e=="object"&&e!==null&&"error"in e&&e.error===!0}function h(e){return typeof e=="object"&&e!==null&&"address"in e&&"chainType"in e&&"type"in e}function $(e){return typeof e=="object"&&e!==null&&"id"in e&&"status"in e&&"chainType"in e}var x=e=>new Promise(t=>setTimeout(t,e)),ae=e=>/^0x[a-fA-F0-9]{40}$/.test(e),ie=e=>/^[1-9A-HJ-NP-Za-km-z]{32,44}$/.test(e),ce=(e,t,n={})=>{let s=p(p({apiKey:e},t&&{overrideBaseUrl:t}),n),a=k(p({},s),{setJwt:()=>a});return new w(a)},v=class{constructor(){this.wallets=[];this.transactions=[]}addWallet(t){t&&!this.wallets.includes(t)&&this.wallets.push(t)}addTransaction(t){t&&!this.transactions.includes(t)&&this.transactions.push(t)}getWallet(t=0){return this.wallets[t]}getTransaction(t=0){return this.transactions[t]}hasWallets(){return this.wallets.length>0}clear(){this.wallets=[],this.transactions=[]}};function pe(s,a){return i(this,arguments,function*(e,t,n={}){if(t.hasWallets())return t.getWallet();let{chainType:o="evm",type:c="mpc",owner:g,testName:l="default"}=n,m=g||`userId:integration-${l}-${Date.now()}`,f=yield e.createWallet(p({chainType:o,type:c},g&&{owner:m}));if(h(f))return t.addWallet(f.address),f.address})}function ue(e,t,n){return i(this,null,function*(){let s=yield e.createWallet(n);return h(s)&&t.addWallet(s.address),s})}function le(e,t){r(u(e)).toBe(!0),t&&r(e.message).toBeDefined()}function de(e){r(h(e)).toBe(!0)}function me(e){r($(e)).toBe(!0)}var I=(e,t,n,s="usdxm",a="base-sepolia")=>i(void 0,null,function*(){let o={amount:n,token:s,chain:a},c=yield e.fundWallet(t,o);if(u(c))throw new Error(`Failed to fund wallet: ${c.message||"Unknown error"}`);return yield x(R),c}),U=(a,o,c,...g)=>i(void 0,[a,o,c,...g],function*(e,t,n,s=W.APPROVE_TRANSACTION_MAX_RETRIES){var m;for(let f=0;f<s;f++){let d=yield e.getTransaction(t,n);if(u(d))throw new Error(`Transaction not found: ${d.message||"Unknown error"}`);if("status"in d&&(d.status==="success"||d.status==="failed"))return d;let T="approvals"in d?(m=d.approvals)==null?void 0:m.pending:void 0;if(T&&T.length>0){let O={approvals:T.map(_=>({signer:_.signer.locator,signature:""}))},C=yield e.approveTransaction(t,n,O);if(u(C))throw new Error(`Failed to approve transaction: ${C.message||"Unknown error"}`);yield x(E);continue}yield x(R)}let l=yield e.getTransaction(t,n);if(u(l))throw new Error(`Transaction not found after retries: ${l.message||"Unknown error"}`);if(!("status"in l))throw new Error("Transaction response missing status property");return l}),fe=(e,t,n=1,s="usdxm",a="base-sepolia")=>i(void 0,null,function*(){return I(e,t,n,s,a)}),ge=(e,t,n,s,a)=>i(void 0,null,function*(){let o=yield e.send(t,n,{recipient:s,amount:a});if(u(o))throw new Error(`Failed to send token: ${o.message||"Unknown error"}`);if(typeof o=="object"&&o!==null&&"id"in o&&typeof o.id=="string")return U(e,t,o.id);throw new Error("Transaction ID not found in send response")}),Te=(e,t,n=1,s="usdxm",a="base-sepolia")=>i(void 0,null,function*(){try{yield I(e,t,n,s,a)}catch(o){let c=o instanceof Error?o.message:String(o);if(!c.includes("already funded")&&!c.includes("insufficient"))throw o}});export{v as TestDataFactory,U as approveTransaction,ce as createIntegrationApiClient,B as createMockCrossmint,P as createMockErrorResponse,b as createMockResponse,re as createMockSendResponse,j as createMockSuccessResponse,oe as createMockWalletResponse,Y as createServerSideApiClient,L as createTestApiClient,ue as createTestWallet,x as delay,pe as ensureWalletExists,Te as ensureWalletFunded,V as expectCommonHeaders,le as expectErrorResponse,q as expectRequestBody,N as expectRequestPath,me as expectSuccessTransactionResponse,de as expectSuccessWalletResponse,z as extractFetchCall,I as fundWallet,fe as fundWalletAndWait,u as isErrorResponse,$ as isSuccessTransactionResponse,h as isSuccessWalletResponse,ae as isValidEthereumAddress,ie as isValidSolanaAddress,ge as sendTokenAndApprove,Q as testCommonHttpErrors,Z as testHttpErrorResponse,te as testInvalidJsonResponse,se as testMalformedResponse,ee as testNetworkError,ne as testTimeoutError,X as validateRequest};
|
package/dist/api/client.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAOEZBP4Bcjs = require('../chunk-AOEZBP4B.cjs');require('../chunk-T3U46LK3.cjs');require('../chunk-IBEOC3PY.cjs');require('../chunk-SCPDMHCR.cjs');require('../chunk-2GKPWQBQ.cjs');exports.ApiClient = _chunkAOEZBP4Bcjs.a;
|
package/dist/api/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CrossmintApiClient, Crossmint, APIKeyEnvironmentPrefix } from '@crossmint/common-sdk-base';
|
|
2
|
-
import {
|
|
2
|
+
import { a9 as CreateWalletParams, a7 as CreateWalletResponse, a5 as WalletLocator, af as GetWalletResponse, ag as CreateTransactionParams, ah as CreateTransactionResponse, ai as ApproveTransactionParams, aj as ApproveTransactionResponse, aa as GetTransactionResponse, ak as CreateSignatureParams, al as CreateSignatureResponse, am as ApproveSignatureParams, a6 as ApproveSignatureResponse, an as GetSignatureResponse, _ as GetTransactionsResponse, ao as GetTransfersResponse, ap as GetBalanceResponse, aq as FundWalletParams, Z as FundWalletResponse, ar as RegisterSignerParams, as as RegisterSignerResponse, at as RemoveSignerParams, au as RemoveSignerResponse, av as GetSignerResponse, aw as SendParams, a8 as SendResponse } from '../types-qiGclN6_.cjs';
|
|
3
3
|
import { Chain } from '../chains/chains.cjs';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import './gen/types.gen.cjs';
|
|
@@ -40,6 +40,7 @@ declare class ApiClient extends CrossmintApiClient {
|
|
|
40
40
|
}): Promise<GetBalanceResponse>;
|
|
41
41
|
fundWallet(walletLocator: WalletLocator, params: FundWalletParams): Promise<FundWalletResponse>;
|
|
42
42
|
registerSigner(walletLocator: WalletLocator, params: RegisterSignerParams): Promise<RegisterSignerResponse>;
|
|
43
|
+
removeSigner(walletLocator: WalletLocator, signer: string, params: RemoveSignerParams): Promise<RemoveSignerResponse>;
|
|
43
44
|
getSigner(walletLocator: WalletLocator, signer: string): Promise<GetSignerResponse>;
|
|
44
45
|
send(walletLocator: WalletLocator, tokenLocator: string, params: SendParams): Promise<SendResponse>;
|
|
45
46
|
get isServerSide(): boolean;
|
package/dist/api/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CrossmintApiClient, Crossmint, APIKeyEnvironmentPrefix } from '@crossmint/common-sdk-base';
|
|
2
|
-
import {
|
|
2
|
+
import { a9 as CreateWalletParams, a7 as CreateWalletResponse, a5 as WalletLocator, af as GetWalletResponse, ag as CreateTransactionParams, ah as CreateTransactionResponse, ai as ApproveTransactionParams, aj as ApproveTransactionResponse, aa as GetTransactionResponse, ak as CreateSignatureParams, al as CreateSignatureResponse, am as ApproveSignatureParams, a6 as ApproveSignatureResponse, an as GetSignatureResponse, _ as GetTransactionsResponse, ao as GetTransfersResponse, ap as GetBalanceResponse, aq as FundWalletParams, Z as FundWalletResponse, ar as RegisterSignerParams, as as RegisterSignerResponse, at as RemoveSignerParams, au as RemoveSignerResponse, av as GetSignerResponse, aw as SendParams, a8 as SendResponse } from '../types-CDJNPaOV.js';
|
|
3
3
|
import { Chain } from '../chains/chains.js';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import './gen/types.gen.js';
|
|
@@ -40,6 +40,7 @@ declare class ApiClient extends CrossmintApiClient {
|
|
|
40
40
|
}): Promise<GetBalanceResponse>;
|
|
41
41
|
fundWallet(walletLocator: WalletLocator, params: FundWalletParams): Promise<FundWalletResponse>;
|
|
42
42
|
registerSigner(walletLocator: WalletLocator, params: RegisterSignerParams): Promise<RegisterSignerResponse>;
|
|
43
|
+
removeSigner(walletLocator: WalletLocator, signer: string, params: RemoveSignerParams): Promise<RemoveSignerResponse>;
|
|
43
44
|
getSigner(walletLocator: WalletLocator, signer: string): Promise<GetSignerResponse>;
|
|
44
45
|
send(walletLocator: WalletLocator, tokenLocator: string, params: SendParams): Promise<SendResponse>;
|
|
45
46
|
get isServerSide(): boolean;
|
package/dist/api/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-WUUKSJZA.js";import"../chunk-EXC7TCGL.js";import"../chunk-EIM3O5OX.js";import"../chunk-FFEHHGVZ.js";import"../chunk-J3R36SGJ.js";export{a as ApiClient};
|
package/dist/api/gen/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUHNDS4AWcjs = require('../../chunk-UHNDS4AW.cjs');require('../../chunk-STYSP6KL.cjs');require('../../chunk-XPMCPXI3.cjs');require('../../chunk-2GKPWQBQ.cjs');exports.balanceControllerFundWallet4 = _chunkUHNDS4AWcjs.b; exports.balanceControllerFundWallet5 = _chunkUHNDS4AWcjs.M; exports.balanceControllerGetBalanceForLocator4 = _chunkUHNDS4AWcjs.a; exports.balanceControllerGetBalanceForLocator5 = _chunkUHNDS4AWcjs.L; exports.balanceUnstableControllerGetBalanceForLocator2 = _chunkUHNDS4AWcjs.g; exports.balanceV20250609ControllerGetBalanceForLocator2 = _chunkUHNDS4AWcjs.I; exports.walletActivityUnstableControllerGetMeWalletActivity2 = _chunkUHNDS4AWcjs.d; exports.walletActivityUnstableControllerGetWalletActivity2 = _chunkUHNDS4AWcjs.e; exports.walletsSendTokenControllerSendMeToken2 = _chunkUHNDS4AWcjs.c; exports.walletsSendTokenControllerSendToken2 = _chunkUHNDS4AWcjs.f; exports.walletsSendTokenV2025ControllerGetTransferTransaction2 = _chunkUHNDS4AWcjs.z; exports.walletsSendTokenV2025ControllerSendMeToken2 = _chunkUHNDS4AWcjs.l; exports.walletsSendTokenV2025ControllerSendToken2 = _chunkUHNDS4AWcjs.A; exports.walletsV2025ControllerCreateDelegatedSigner2 = _chunkUHNDS4AWcjs.D; exports.walletsV2025ControllerCreateMeDelegatedSigner2 = _chunkUHNDS4AWcjs.o; exports.walletsV2025ControllerCreateMeSignatureRequest2 = _chunkUHNDS4AWcjs.s; exports.walletsV2025ControllerCreateMeTransaction2 = _chunkUHNDS4AWcjs.k; exports.walletsV2025ControllerCreateMeWallet2 = _chunkUHNDS4AWcjs.u; exports.walletsV2025ControllerCreateSignatureRequest2 = _chunkUHNDS4AWcjs.H; exports.walletsV2025ControllerCreateTransaction2 = _chunkUHNDS4AWcjs.y; exports.walletsV2025ControllerCreateWallet2 = _chunkUHNDS4AWcjs.K; exports.walletsV2025ControllerGetAllSignatures2 = _chunkUHNDS4AWcjs.G; exports.walletsV2025ControllerGetDelegatedSigner2 = _chunkUHNDS4AWcjs.C; exports.walletsV2025ControllerGetMeDelegatedSigner2 = _chunkUHNDS4AWcjs.n; exports.walletsV2025ControllerGetMeSignature2 = _chunkUHNDS4AWcjs.q; exports.walletsV2025ControllerGetMeSignatures2 = _chunkUHNDS4AWcjs.r; exports.walletsV2025ControllerGetMeTransaction2 = _chunkUHNDS4AWcjs.i; exports.walletsV2025ControllerGetMeTransactionsWithoutChain2 = _chunkUHNDS4AWcjs.j; exports.walletsV2025ControllerGetMeWallet2 = _chunkUHNDS4AWcjs.t; exports.walletsV2025ControllerGetSignature2 = _chunkUHNDS4AWcjs.F; exports.walletsV2025ControllerGetTransaction2 = _chunkUHNDS4AWcjs.w; exports.walletsV2025ControllerGetTransactionsWithoutChain2 = _chunkUHNDS4AWcjs.x; exports.walletsV2025ControllerGetWalletByLocator2 = _chunkUHNDS4AWcjs.J; exports.walletsV2025ControllerRemoveDelegatedSigner2 = _chunkUHNDS4AWcjs.B; exports.walletsV2025ControllerRemoveMeDelegatedSigner2 = _chunkUHNDS4AWcjs.m; exports.walletsV2025ControllerSubmitApprovals2 = _chunkUHNDS4AWcjs.v; exports.walletsV2025ControllerSubmitMeApprovals2 = _chunkUHNDS4AWcjs.h; exports.walletsV2025ControllerSubmitMeSignatureApprovals2 = _chunkUHNDS4AWcjs.p; exports.walletsV2025ControllerSubmitSignatureApprovals2 = _chunkUHNDS4AWcjs.E;
|
package/dist/api/gen/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BalanceControllerFundWallet2Data, BalanceControllerFundWallet2Error, BalanceControllerFundWallet2Errors, BalanceControllerFundWallet2Response, BalanceControllerFundWallet2Responses, BalanceControllerGetBalanceForLocator2Data, BalanceControllerGetBalanceForLocator2Error, BalanceControllerGetBalanceForLocator2Errors, BalanceControllerGetBalanceForLocator2Response, BalanceControllerGetBalanceForLocator2Responses, BalanceUnstableControllerGetBalanceForLocator2Data, BalanceUnstableControllerGetBalanceForLocator2Error, BalanceUnstableControllerGetBalanceForLocator2Errors, BalanceUnstableControllerGetBalanceForLocator2Response, BalanceUnstableControllerGetBalanceForLocator2Responses, BalanceV20250609ControllerGetBalanceForLocator2Data, BalanceV20250609ControllerGetBalanceForLocator2Error, BalanceV20250609ControllerGetBalanceForLocator2Errors, BalanceV20250609ControllerGetBalanceForLocator2Response, BalanceV20250609ControllerGetBalanceForLocator2Responses, ClientOptions, CreateSignatureV2025Dto, CreateSignerV2025InputDto, CreateTransactionV2025Dto, CreateWalletV2025Dto, DelegatedSignerV2025Dto, FundWalletAmountDto, SendOrDepositTokenV2025Dto, SendTokenDto, SendTokenV2025Dto, SubmitApprovalV2025Dto, WalletActivityUnstableControllerGetMeWalletActivity2Data, WalletActivityUnstableControllerGetMeWalletActivity2Error, WalletActivityUnstableControllerGetMeWalletActivity2Errors, WalletActivityUnstableControllerGetMeWalletActivity2Response, WalletActivityUnstableControllerGetMeWalletActivity2Responses, WalletActivityUnstableControllerGetWalletActivity2Data, WalletActivityUnstableControllerGetWalletActivity2Error, WalletActivityUnstableControllerGetWalletActivity2Errors, WalletActivityUnstableControllerGetWalletActivity2Response, WalletActivityUnstableControllerGetWalletActivity2Responses, WalletBalanceResponseDto, WalletBalanceUnstableResponseDto, WalletBalanceV20250609ResponseDto, WalletV1Alpha2ErrorDto, WalletV1Alpha2TransactionErrorDto, WalletV2025ResponseDto, WalletsActivityResponseUnstableDto, WalletsMultipleSignatureV2025ResponseDto, WalletsMultipleTransactionV2025ResponseDto, WalletsSendTokenControllerSendMeToken2Data, WalletsSendTokenControllerSendMeToken2Response, WalletsSendTokenControllerSendMeToken2Responses, WalletsSendTokenControllerSendToken2Data, WalletsSendTokenControllerSendToken2Response, WalletsSendTokenControllerSendToken2Responses, WalletsSendTokenV2025ControllerGetTransferTransaction2Data, WalletsSendTokenV2025ControllerGetTransferTransaction2Error, WalletsSendTokenV2025ControllerGetTransferTransaction2Errors, WalletsSendTokenV2025ControllerGetTransferTransaction2Response, WalletsSendTokenV2025ControllerGetTransferTransaction2Responses, WalletsSendTokenV2025ControllerSendMeToken2Data, WalletsSendTokenV2025ControllerSendMeToken2Response, WalletsSendTokenV2025ControllerSendMeToken2Responses, WalletsSendTokenV2025ControllerSendToken2Data, WalletsSendTokenV2025ControllerSendToken2Response, WalletsSendTokenV2025ControllerSendToken2Responses, WalletsSignatureV2025ResponseDto, WalletsTransactionV2025ResponseDto, WalletsV1Alpha2TransactionResponseDto, WalletsV1Alpha2TransactionResponseWithSendParamsDto, WalletsV2025ControllerCreateDelegatedSigner2Data, WalletsV2025ControllerCreateDelegatedSigner2Error, WalletsV2025ControllerCreateDelegatedSigner2Errors, WalletsV2025ControllerCreateDelegatedSigner2Response, WalletsV2025ControllerCreateDelegatedSigner2Responses, WalletsV2025ControllerCreateMeDelegatedSigner2Data, WalletsV2025ControllerCreateMeDelegatedSigner2Error, WalletsV2025ControllerCreateMeDelegatedSigner2Errors, WalletsV2025ControllerCreateMeDelegatedSigner2Response, WalletsV2025ControllerCreateMeDelegatedSigner2Responses, WalletsV2025ControllerCreateMeSignatureRequest2Data, WalletsV2025ControllerCreateMeSignatureRequest2Error, WalletsV2025ControllerCreateMeSignatureRequest2Errors, WalletsV2025ControllerCreateMeSignatureRequest2Response, WalletsV2025ControllerCreateMeSignatureRequest2Responses, WalletsV2025ControllerCreateMeTransaction2Data, WalletsV2025ControllerCreateMeTransaction2Error, WalletsV2025ControllerCreateMeTransaction2Errors, WalletsV2025ControllerCreateMeTransaction2Response, WalletsV2025ControllerCreateMeTransaction2Responses, WalletsV2025ControllerCreateMeWallet2Data, WalletsV2025ControllerCreateMeWallet2Response, WalletsV2025ControllerCreateMeWallet2Responses, WalletsV2025ControllerCreateSignatureRequest2Data, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerCreateSignatureRequest2Errors, WalletsV2025ControllerCreateSignatureRequest2Response, WalletsV2025ControllerCreateSignatureRequest2Responses, WalletsV2025ControllerCreateTransaction2Data, WalletsV2025ControllerCreateTransaction2Error, WalletsV2025ControllerCreateTransaction2Errors, WalletsV2025ControllerCreateTransaction2Response, WalletsV2025ControllerCreateTransaction2Responses, WalletsV2025ControllerCreateWallet2Data, WalletsV2025ControllerCreateWallet2Error, WalletsV2025ControllerCreateWallet2Errors, WalletsV2025ControllerCreateWallet2Response, WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerGetAllSignatures2Data, WalletsV2025ControllerGetAllSignatures2Error, WalletsV2025ControllerGetAllSignatures2Errors, WalletsV2025ControllerGetAllSignatures2Response, WalletsV2025ControllerGetAllSignatures2Responses, WalletsV2025ControllerGetDelegatedSigner2Data, WalletsV2025ControllerGetDelegatedSigner2Error, WalletsV2025ControllerGetDelegatedSigner2Errors, WalletsV2025ControllerGetDelegatedSigner2Response, WalletsV2025ControllerGetDelegatedSigner2Responses, WalletsV2025ControllerGetMeDelegatedSigner2Data, WalletsV2025ControllerGetMeDelegatedSigner2Error, WalletsV2025ControllerGetMeDelegatedSigner2Errors, WalletsV2025ControllerGetMeDelegatedSigner2Response, WalletsV2025ControllerGetMeDelegatedSigner2Responses, WalletsV2025ControllerGetMeSignature2Data, WalletsV2025ControllerGetMeSignature2Error, WalletsV2025ControllerGetMeSignature2Errors, WalletsV2025ControllerGetMeSignature2Response, WalletsV2025ControllerGetMeSignature2Responses, WalletsV2025ControllerGetMeSignatures2Data, WalletsV2025ControllerGetMeSignatures2Error, WalletsV2025ControllerGetMeSignatures2Errors, WalletsV2025ControllerGetMeSignatures2Response, WalletsV2025ControllerGetMeSignatures2Responses, WalletsV2025ControllerGetMeTransaction2Data, WalletsV2025ControllerGetMeTransaction2Error, WalletsV2025ControllerGetMeTransaction2Errors, WalletsV2025ControllerGetMeTransaction2Response, WalletsV2025ControllerGetMeTransaction2Responses, WalletsV2025ControllerGetMeTransactionsWithoutChain2Data, WalletsV2025ControllerGetMeTransactionsWithoutChain2Error, WalletsV2025ControllerGetMeTransactionsWithoutChain2Errors, WalletsV2025ControllerGetMeTransactionsWithoutChain2Response, WalletsV2025ControllerGetMeTransactionsWithoutChain2Responses, WalletsV2025ControllerGetMeWallet2Data, WalletsV2025ControllerGetMeWallet2Response, WalletsV2025ControllerGetMeWallet2Responses, WalletsV2025ControllerGetSignature2Data, WalletsV2025ControllerGetSignature2Error, WalletsV2025ControllerGetSignature2Errors, WalletsV2025ControllerGetSignature2Response, WalletsV2025ControllerGetSignature2Responses, WalletsV2025ControllerGetTransaction2Data, WalletsV2025ControllerGetTransaction2Error, WalletsV2025ControllerGetTransaction2Errors, WalletsV2025ControllerGetTransaction2Response, WalletsV2025ControllerGetTransaction2Responses, WalletsV2025ControllerGetTransactionsWithoutChain2Data, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsV2025ControllerGetTransactionsWithoutChain2Errors, WalletsV2025ControllerGetTransactionsWithoutChain2Response, WalletsV2025ControllerGetTransactionsWithoutChain2Responses, WalletsV2025ControllerGetWalletByLocator2Data, WalletsV2025ControllerGetWalletByLocator2Error, WalletsV2025ControllerGetWalletByLocator2Errors, WalletsV2025ControllerGetWalletByLocator2Response, WalletsV2025ControllerGetWalletByLocator2Responses, WalletsV2025ControllerSubmitApprovals2Data, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerSubmitApprovals2Errors, WalletsV2025ControllerSubmitApprovals2Response, WalletsV2025ControllerSubmitApprovals2Responses, WalletsV2025ControllerSubmitMeApprovals2Data, WalletsV2025ControllerSubmitMeApprovals2Error, WalletsV2025ControllerSubmitMeApprovals2Errors, WalletsV2025ControllerSubmitMeApprovals2Response, WalletsV2025ControllerSubmitMeApprovals2Responses, WalletsV2025ControllerSubmitMeSignatureApprovals2Data, WalletsV2025ControllerSubmitMeSignatureApprovals2Error, WalletsV2025ControllerSubmitMeSignatureApprovals2Errors, WalletsV2025ControllerSubmitMeSignatureApprovals2Response, WalletsV2025ControllerSubmitMeSignatureApprovals2Responses, WalletsV2025ControllerSubmitSignatureApprovals2Data, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerSubmitSignatureApprovals2Errors, WalletsV2025ControllerSubmitSignatureApprovals2Response, WalletsV2025ControllerSubmitSignatureApprovals2Responses } from './types.gen.cjs';
|
|
2
|
-
export { Options,
|
|
1
|
+
export { BalanceControllerFundWallet4Data, BalanceControllerFundWallet4Error, BalanceControllerFundWallet4Errors, BalanceControllerFundWallet4Response, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet5Data, BalanceControllerFundWallet5Error, BalanceControllerFundWallet5Errors, BalanceControllerFundWallet5Response, BalanceControllerFundWallet5Responses, BalanceControllerGetBalanceForLocator4Data, BalanceControllerGetBalanceForLocator4Error, BalanceControllerGetBalanceForLocator4Errors, BalanceControllerGetBalanceForLocator4Response, BalanceControllerGetBalanceForLocator4Responses, BalanceControllerGetBalanceForLocator5Data, BalanceControllerGetBalanceForLocator5Error, BalanceControllerGetBalanceForLocator5Errors, BalanceControllerGetBalanceForLocator5Response, BalanceControllerGetBalanceForLocator5Responses, BalanceUnstableControllerGetBalanceForLocator2Data, BalanceUnstableControllerGetBalanceForLocator2Error, BalanceUnstableControllerGetBalanceForLocator2Errors, BalanceUnstableControllerGetBalanceForLocator2Response, BalanceUnstableControllerGetBalanceForLocator2Responses, BalanceV20250609ControllerGetBalanceForLocator2Data, BalanceV20250609ControllerGetBalanceForLocator2Error, BalanceV20250609ControllerGetBalanceForLocator2Errors, BalanceV20250609ControllerGetBalanceForLocator2Response, BalanceV20250609ControllerGetBalanceForLocator2Responses, ClientOptions, CreateOrderInputDto, CreateOrderInputDtoSchema0, CreateSignatureV2025Dto, CreateSignerV2025InputDtoClass, CreateTransactionV2025DtoClass, CreateWalletV2025DtoClass, DelegatedSignerV2025DtoClass, FundWalletAmountDto, IpAssetGraphDto, IpAssetGraphDtoSchema0, IpAssetGraphDtoSchema1, SendOrDepositTokenV2025DtoClass, SendTokenDto, SendTokenV2025Dto, SubmitApprovalV2025Dto, WalletActivityUnstableControllerGetMeWalletActivity2Data, WalletActivityUnstableControllerGetMeWalletActivity2Error, WalletActivityUnstableControllerGetMeWalletActivity2Errors, WalletActivityUnstableControllerGetMeWalletActivity2Response, WalletActivityUnstableControllerGetMeWalletActivity2Responses, WalletActivityUnstableControllerGetWalletActivity2Data, WalletActivityUnstableControllerGetWalletActivity2Error, WalletActivityUnstableControllerGetWalletActivity2Errors, WalletActivityUnstableControllerGetWalletActivity2Response, WalletActivityUnstableControllerGetWalletActivity2Responses, WalletBalanceResponseDto, WalletBalanceUnstableResponseDto, WalletBalanceV20250609ResponseDto, WalletV1Alpha2ErrorDto, WalletV1Alpha2TransactionErrorDto, WalletV2025ResponseDtoClass, WalletsActivityResponseUnstableDto, WalletsMultipleSignatureV2025ResponseDto, WalletsMultipleTransactionV2025ResponseDto, WalletsSendTokenControllerSendMeToken2Data, WalletsSendTokenControllerSendMeToken2Response, WalletsSendTokenControllerSendMeToken2Responses, WalletsSendTokenControllerSendToken2Data, WalletsSendTokenControllerSendToken2Response, WalletsSendTokenControllerSendToken2Responses, WalletsSendTokenV2025ControllerGetTransferTransaction2Data, WalletsSendTokenV2025ControllerGetTransferTransaction2Error, WalletsSendTokenV2025ControllerGetTransferTransaction2Errors, WalletsSendTokenV2025ControllerGetTransferTransaction2Response, WalletsSendTokenV2025ControllerGetTransferTransaction2Responses, WalletsSendTokenV2025ControllerSendMeToken2Data, WalletsSendTokenV2025ControllerSendMeToken2Response, WalletsSendTokenV2025ControllerSendMeToken2Responses, WalletsSendTokenV2025ControllerSendToken2Data, WalletsSendTokenV2025ControllerSendToken2Response, WalletsSendTokenV2025ControllerSendToken2Responses, WalletsSignatureV2025ResponseDto, WalletsTransactionV2025ResponseDtoClass, WalletsV1Alpha2TransactionResponseDtoClass, WalletsV1Alpha2TransactionResponseWithSendParamsDtoClass, WalletsV2025ControllerCreateDelegatedSigner2Data, WalletsV2025ControllerCreateDelegatedSigner2Error, WalletsV2025ControllerCreateDelegatedSigner2Errors, WalletsV2025ControllerCreateDelegatedSigner2Response, WalletsV2025ControllerCreateDelegatedSigner2Responses, WalletsV2025ControllerCreateMeDelegatedSigner2Data, WalletsV2025ControllerCreateMeDelegatedSigner2Error, WalletsV2025ControllerCreateMeDelegatedSigner2Errors, WalletsV2025ControllerCreateMeDelegatedSigner2Response, WalletsV2025ControllerCreateMeDelegatedSigner2Responses, WalletsV2025ControllerCreateMeSignatureRequest2Data, WalletsV2025ControllerCreateMeSignatureRequest2Error, WalletsV2025ControllerCreateMeSignatureRequest2Errors, WalletsV2025ControllerCreateMeSignatureRequest2Response, WalletsV2025ControllerCreateMeSignatureRequest2Responses, WalletsV2025ControllerCreateMeTransaction2Data, WalletsV2025ControllerCreateMeTransaction2Error, WalletsV2025ControllerCreateMeTransaction2Errors, WalletsV2025ControllerCreateMeTransaction2Response, WalletsV2025ControllerCreateMeTransaction2Responses, WalletsV2025ControllerCreateMeWallet2Data, WalletsV2025ControllerCreateMeWallet2Response, WalletsV2025ControllerCreateMeWallet2Responses, WalletsV2025ControllerCreateSignatureRequest2Data, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerCreateSignatureRequest2Errors, WalletsV2025ControllerCreateSignatureRequest2Response, WalletsV2025ControllerCreateSignatureRequest2Responses, WalletsV2025ControllerCreateTransaction2Data, WalletsV2025ControllerCreateTransaction2Error, WalletsV2025ControllerCreateTransaction2Errors, WalletsV2025ControllerCreateTransaction2Response, WalletsV2025ControllerCreateTransaction2Responses, WalletsV2025ControllerCreateWallet2Data, WalletsV2025ControllerCreateWallet2Error, WalletsV2025ControllerCreateWallet2Errors, WalletsV2025ControllerCreateWallet2Response, WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerGetAllSignatures2Data, WalletsV2025ControllerGetAllSignatures2Error, WalletsV2025ControllerGetAllSignatures2Errors, WalletsV2025ControllerGetAllSignatures2Response, WalletsV2025ControllerGetAllSignatures2Responses, WalletsV2025ControllerGetDelegatedSigner2Data, WalletsV2025ControllerGetDelegatedSigner2Error, WalletsV2025ControllerGetDelegatedSigner2Errors, WalletsV2025ControllerGetDelegatedSigner2Response, WalletsV2025ControllerGetDelegatedSigner2Responses, WalletsV2025ControllerGetMeDelegatedSigner2Data, WalletsV2025ControllerGetMeDelegatedSigner2Error, WalletsV2025ControllerGetMeDelegatedSigner2Errors, WalletsV2025ControllerGetMeDelegatedSigner2Response, WalletsV2025ControllerGetMeDelegatedSigner2Responses, WalletsV2025ControllerGetMeSignature2Data, WalletsV2025ControllerGetMeSignature2Error, WalletsV2025ControllerGetMeSignature2Errors, WalletsV2025ControllerGetMeSignature2Response, WalletsV2025ControllerGetMeSignature2Responses, WalletsV2025ControllerGetMeSignatures2Data, WalletsV2025ControllerGetMeSignatures2Error, WalletsV2025ControllerGetMeSignatures2Errors, WalletsV2025ControllerGetMeSignatures2Response, WalletsV2025ControllerGetMeSignatures2Responses, WalletsV2025ControllerGetMeTransaction2Data, WalletsV2025ControllerGetMeTransaction2Error, WalletsV2025ControllerGetMeTransaction2Errors, WalletsV2025ControllerGetMeTransaction2Response, WalletsV2025ControllerGetMeTransaction2Responses, WalletsV2025ControllerGetMeTransactionsWithoutChain2Data, WalletsV2025ControllerGetMeTransactionsWithoutChain2Error, WalletsV2025ControllerGetMeTransactionsWithoutChain2Errors, WalletsV2025ControllerGetMeTransactionsWithoutChain2Response, WalletsV2025ControllerGetMeTransactionsWithoutChain2Responses, WalletsV2025ControllerGetMeWallet2Data, WalletsV2025ControllerGetMeWallet2Response, WalletsV2025ControllerGetMeWallet2Responses, WalletsV2025ControllerGetSignature2Data, WalletsV2025ControllerGetSignature2Error, WalletsV2025ControllerGetSignature2Errors, WalletsV2025ControllerGetSignature2Response, WalletsV2025ControllerGetSignature2Responses, WalletsV2025ControllerGetTransaction2Data, WalletsV2025ControllerGetTransaction2Error, WalletsV2025ControllerGetTransaction2Errors, WalletsV2025ControllerGetTransaction2Response, WalletsV2025ControllerGetTransaction2Responses, WalletsV2025ControllerGetTransactionsWithoutChain2Data, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsV2025ControllerGetTransactionsWithoutChain2Errors, WalletsV2025ControllerGetTransactionsWithoutChain2Response, WalletsV2025ControllerGetTransactionsWithoutChain2Responses, WalletsV2025ControllerGetWalletByLocator2Data, WalletsV2025ControllerGetWalletByLocator2Error, WalletsV2025ControllerGetWalletByLocator2Errors, WalletsV2025ControllerGetWalletByLocator2Response, WalletsV2025ControllerGetWalletByLocator2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Data, WalletsV2025ControllerRemoveDelegatedSigner2Error, WalletsV2025ControllerRemoveDelegatedSigner2Errors, WalletsV2025ControllerRemoveDelegatedSigner2Response, WalletsV2025ControllerRemoveDelegatedSigner2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Data, WalletsV2025ControllerRemoveMeDelegatedSigner2Error, WalletsV2025ControllerRemoveMeDelegatedSigner2Errors, WalletsV2025ControllerRemoveMeDelegatedSigner2Response, WalletsV2025ControllerRemoveMeDelegatedSigner2Responses, WalletsV2025ControllerSubmitApprovals2Data, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerSubmitApprovals2Errors, WalletsV2025ControllerSubmitApprovals2Response, WalletsV2025ControllerSubmitApprovals2Responses, WalletsV2025ControllerSubmitMeApprovals2Data, WalletsV2025ControllerSubmitMeApprovals2Error, WalletsV2025ControllerSubmitMeApprovals2Errors, WalletsV2025ControllerSubmitMeApprovals2Response, WalletsV2025ControllerSubmitMeApprovals2Responses, WalletsV2025ControllerSubmitMeSignatureApprovals2Data, WalletsV2025ControllerSubmitMeSignatureApprovals2Error, WalletsV2025ControllerSubmitMeSignatureApprovals2Errors, WalletsV2025ControllerSubmitMeSignatureApprovals2Response, WalletsV2025ControllerSubmitMeSignatureApprovals2Responses, WalletsV2025ControllerSubmitSignatureApprovals2Data, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerSubmitSignatureApprovals2Errors, WalletsV2025ControllerSubmitSignatureApprovals2Response, WalletsV2025ControllerSubmitSignatureApprovals2Responses } from './types.gen.cjs';
|
|
2
|
+
export { Options, balanceControllerFundWallet4, balanceControllerFundWallet5, balanceControllerGetBalanceForLocator4, balanceControllerGetBalanceForLocator5, balanceUnstableControllerGetBalanceForLocator2, balanceV20250609ControllerGetBalanceForLocator2, walletActivityUnstableControllerGetMeWalletActivity2, walletActivityUnstableControllerGetWalletActivity2, walletsSendTokenControllerSendMeToken2, walletsSendTokenControllerSendToken2, walletsSendTokenV2025ControllerGetTransferTransaction2, walletsSendTokenV2025ControllerSendMeToken2, walletsSendTokenV2025ControllerSendToken2, walletsV2025ControllerCreateDelegatedSigner2, walletsV2025ControllerCreateMeDelegatedSigner2, walletsV2025ControllerCreateMeSignatureRequest2, walletsV2025ControllerCreateMeTransaction2, walletsV2025ControllerCreateMeWallet2, walletsV2025ControllerCreateSignatureRequest2, walletsV2025ControllerCreateTransaction2, walletsV2025ControllerCreateWallet2, walletsV2025ControllerGetAllSignatures2, walletsV2025ControllerGetDelegatedSigner2, walletsV2025ControllerGetMeDelegatedSigner2, walletsV2025ControllerGetMeSignature2, walletsV2025ControllerGetMeSignatures2, walletsV2025ControllerGetMeTransaction2, walletsV2025ControllerGetMeTransactionsWithoutChain2, walletsV2025ControllerGetMeWallet2, walletsV2025ControllerGetSignature2, walletsV2025ControllerGetTransaction2, walletsV2025ControllerGetTransactionsWithoutChain2, walletsV2025ControllerGetWalletByLocator2, walletsV2025ControllerRemoveDelegatedSigner2, walletsV2025ControllerRemoveMeDelegatedSigner2, walletsV2025ControllerSubmitApprovals2, walletsV2025ControllerSubmitMeApprovals2, walletsV2025ControllerSubmitMeSignatureApprovals2, walletsV2025ControllerSubmitSignatureApprovals2 } from './sdk.gen.cjs';
|
|
3
3
|
import '@hey-api/client-fetch';
|
package/dist/api/gen/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BalanceControllerFundWallet2Data, BalanceControllerFundWallet2Error, BalanceControllerFundWallet2Errors, BalanceControllerFundWallet2Response, BalanceControllerFundWallet2Responses, BalanceControllerGetBalanceForLocator2Data, BalanceControllerGetBalanceForLocator2Error, BalanceControllerGetBalanceForLocator2Errors, BalanceControllerGetBalanceForLocator2Response, BalanceControllerGetBalanceForLocator2Responses, BalanceUnstableControllerGetBalanceForLocator2Data, BalanceUnstableControllerGetBalanceForLocator2Error, BalanceUnstableControllerGetBalanceForLocator2Errors, BalanceUnstableControllerGetBalanceForLocator2Response, BalanceUnstableControllerGetBalanceForLocator2Responses, BalanceV20250609ControllerGetBalanceForLocator2Data, BalanceV20250609ControllerGetBalanceForLocator2Error, BalanceV20250609ControllerGetBalanceForLocator2Errors, BalanceV20250609ControllerGetBalanceForLocator2Response, BalanceV20250609ControllerGetBalanceForLocator2Responses, ClientOptions, CreateSignatureV2025Dto, CreateSignerV2025InputDto, CreateTransactionV2025Dto, CreateWalletV2025Dto, DelegatedSignerV2025Dto, FundWalletAmountDto, SendOrDepositTokenV2025Dto, SendTokenDto, SendTokenV2025Dto, SubmitApprovalV2025Dto, WalletActivityUnstableControllerGetMeWalletActivity2Data, WalletActivityUnstableControllerGetMeWalletActivity2Error, WalletActivityUnstableControllerGetMeWalletActivity2Errors, WalletActivityUnstableControllerGetMeWalletActivity2Response, WalletActivityUnstableControllerGetMeWalletActivity2Responses, WalletActivityUnstableControllerGetWalletActivity2Data, WalletActivityUnstableControllerGetWalletActivity2Error, WalletActivityUnstableControllerGetWalletActivity2Errors, WalletActivityUnstableControllerGetWalletActivity2Response, WalletActivityUnstableControllerGetWalletActivity2Responses, WalletBalanceResponseDto, WalletBalanceUnstableResponseDto, WalletBalanceV20250609ResponseDto, WalletV1Alpha2ErrorDto, WalletV1Alpha2TransactionErrorDto, WalletV2025ResponseDto, WalletsActivityResponseUnstableDto, WalletsMultipleSignatureV2025ResponseDto, WalletsMultipleTransactionV2025ResponseDto, WalletsSendTokenControllerSendMeToken2Data, WalletsSendTokenControllerSendMeToken2Response, WalletsSendTokenControllerSendMeToken2Responses, WalletsSendTokenControllerSendToken2Data, WalletsSendTokenControllerSendToken2Response, WalletsSendTokenControllerSendToken2Responses, WalletsSendTokenV2025ControllerGetTransferTransaction2Data, WalletsSendTokenV2025ControllerGetTransferTransaction2Error, WalletsSendTokenV2025ControllerGetTransferTransaction2Errors, WalletsSendTokenV2025ControllerGetTransferTransaction2Response, WalletsSendTokenV2025ControllerGetTransferTransaction2Responses, WalletsSendTokenV2025ControllerSendMeToken2Data, WalletsSendTokenV2025ControllerSendMeToken2Response, WalletsSendTokenV2025ControllerSendMeToken2Responses, WalletsSendTokenV2025ControllerSendToken2Data, WalletsSendTokenV2025ControllerSendToken2Response, WalletsSendTokenV2025ControllerSendToken2Responses, WalletsSignatureV2025ResponseDto, WalletsTransactionV2025ResponseDto, WalletsV1Alpha2TransactionResponseDto, WalletsV1Alpha2TransactionResponseWithSendParamsDto, WalletsV2025ControllerCreateDelegatedSigner2Data, WalletsV2025ControllerCreateDelegatedSigner2Error, WalletsV2025ControllerCreateDelegatedSigner2Errors, WalletsV2025ControllerCreateDelegatedSigner2Response, WalletsV2025ControllerCreateDelegatedSigner2Responses, WalletsV2025ControllerCreateMeDelegatedSigner2Data, WalletsV2025ControllerCreateMeDelegatedSigner2Error, WalletsV2025ControllerCreateMeDelegatedSigner2Errors, WalletsV2025ControllerCreateMeDelegatedSigner2Response, WalletsV2025ControllerCreateMeDelegatedSigner2Responses, WalletsV2025ControllerCreateMeSignatureRequest2Data, WalletsV2025ControllerCreateMeSignatureRequest2Error, WalletsV2025ControllerCreateMeSignatureRequest2Errors, WalletsV2025ControllerCreateMeSignatureRequest2Response, WalletsV2025ControllerCreateMeSignatureRequest2Responses, WalletsV2025ControllerCreateMeTransaction2Data, WalletsV2025ControllerCreateMeTransaction2Error, WalletsV2025ControllerCreateMeTransaction2Errors, WalletsV2025ControllerCreateMeTransaction2Response, WalletsV2025ControllerCreateMeTransaction2Responses, WalletsV2025ControllerCreateMeWallet2Data, WalletsV2025ControllerCreateMeWallet2Response, WalletsV2025ControllerCreateMeWallet2Responses, WalletsV2025ControllerCreateSignatureRequest2Data, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerCreateSignatureRequest2Errors, WalletsV2025ControllerCreateSignatureRequest2Response, WalletsV2025ControllerCreateSignatureRequest2Responses, WalletsV2025ControllerCreateTransaction2Data, WalletsV2025ControllerCreateTransaction2Error, WalletsV2025ControllerCreateTransaction2Errors, WalletsV2025ControllerCreateTransaction2Response, WalletsV2025ControllerCreateTransaction2Responses, WalletsV2025ControllerCreateWallet2Data, WalletsV2025ControllerCreateWallet2Error, WalletsV2025ControllerCreateWallet2Errors, WalletsV2025ControllerCreateWallet2Response, WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerGetAllSignatures2Data, WalletsV2025ControllerGetAllSignatures2Error, WalletsV2025ControllerGetAllSignatures2Errors, WalletsV2025ControllerGetAllSignatures2Response, WalletsV2025ControllerGetAllSignatures2Responses, WalletsV2025ControllerGetDelegatedSigner2Data, WalletsV2025ControllerGetDelegatedSigner2Error, WalletsV2025ControllerGetDelegatedSigner2Errors, WalletsV2025ControllerGetDelegatedSigner2Response, WalletsV2025ControllerGetDelegatedSigner2Responses, WalletsV2025ControllerGetMeDelegatedSigner2Data, WalletsV2025ControllerGetMeDelegatedSigner2Error, WalletsV2025ControllerGetMeDelegatedSigner2Errors, WalletsV2025ControllerGetMeDelegatedSigner2Response, WalletsV2025ControllerGetMeDelegatedSigner2Responses, WalletsV2025ControllerGetMeSignature2Data, WalletsV2025ControllerGetMeSignature2Error, WalletsV2025ControllerGetMeSignature2Errors, WalletsV2025ControllerGetMeSignature2Response, WalletsV2025ControllerGetMeSignature2Responses, WalletsV2025ControllerGetMeSignatures2Data, WalletsV2025ControllerGetMeSignatures2Error, WalletsV2025ControllerGetMeSignatures2Errors, WalletsV2025ControllerGetMeSignatures2Response, WalletsV2025ControllerGetMeSignatures2Responses, WalletsV2025ControllerGetMeTransaction2Data, WalletsV2025ControllerGetMeTransaction2Error, WalletsV2025ControllerGetMeTransaction2Errors, WalletsV2025ControllerGetMeTransaction2Response, WalletsV2025ControllerGetMeTransaction2Responses, WalletsV2025ControllerGetMeTransactionsWithoutChain2Data, WalletsV2025ControllerGetMeTransactionsWithoutChain2Error, WalletsV2025ControllerGetMeTransactionsWithoutChain2Errors, WalletsV2025ControllerGetMeTransactionsWithoutChain2Response, WalletsV2025ControllerGetMeTransactionsWithoutChain2Responses, WalletsV2025ControllerGetMeWallet2Data, WalletsV2025ControllerGetMeWallet2Response, WalletsV2025ControllerGetMeWallet2Responses, WalletsV2025ControllerGetSignature2Data, WalletsV2025ControllerGetSignature2Error, WalletsV2025ControllerGetSignature2Errors, WalletsV2025ControllerGetSignature2Response, WalletsV2025ControllerGetSignature2Responses, WalletsV2025ControllerGetTransaction2Data, WalletsV2025ControllerGetTransaction2Error, WalletsV2025ControllerGetTransaction2Errors, WalletsV2025ControllerGetTransaction2Response, WalletsV2025ControllerGetTransaction2Responses, WalletsV2025ControllerGetTransactionsWithoutChain2Data, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsV2025ControllerGetTransactionsWithoutChain2Errors, WalletsV2025ControllerGetTransactionsWithoutChain2Response, WalletsV2025ControllerGetTransactionsWithoutChain2Responses, WalletsV2025ControllerGetWalletByLocator2Data, WalletsV2025ControllerGetWalletByLocator2Error, WalletsV2025ControllerGetWalletByLocator2Errors, WalletsV2025ControllerGetWalletByLocator2Response, WalletsV2025ControllerGetWalletByLocator2Responses, WalletsV2025ControllerSubmitApprovals2Data, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerSubmitApprovals2Errors, WalletsV2025ControllerSubmitApprovals2Response, WalletsV2025ControllerSubmitApprovals2Responses, WalletsV2025ControllerSubmitMeApprovals2Data, WalletsV2025ControllerSubmitMeApprovals2Error, WalletsV2025ControllerSubmitMeApprovals2Errors, WalletsV2025ControllerSubmitMeApprovals2Response, WalletsV2025ControllerSubmitMeApprovals2Responses, WalletsV2025ControllerSubmitMeSignatureApprovals2Data, WalletsV2025ControllerSubmitMeSignatureApprovals2Error, WalletsV2025ControllerSubmitMeSignatureApprovals2Errors, WalletsV2025ControllerSubmitMeSignatureApprovals2Response, WalletsV2025ControllerSubmitMeSignatureApprovals2Responses, WalletsV2025ControllerSubmitSignatureApprovals2Data, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerSubmitSignatureApprovals2Errors, WalletsV2025ControllerSubmitSignatureApprovals2Response, WalletsV2025ControllerSubmitSignatureApprovals2Responses } from './types.gen.js';
|
|
2
|
-
export { Options,
|
|
1
|
+
export { BalanceControllerFundWallet4Data, BalanceControllerFundWallet4Error, BalanceControllerFundWallet4Errors, BalanceControllerFundWallet4Response, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet5Data, BalanceControllerFundWallet5Error, BalanceControllerFundWallet5Errors, BalanceControllerFundWallet5Response, BalanceControllerFundWallet5Responses, BalanceControllerGetBalanceForLocator4Data, BalanceControllerGetBalanceForLocator4Error, BalanceControllerGetBalanceForLocator4Errors, BalanceControllerGetBalanceForLocator4Response, BalanceControllerGetBalanceForLocator4Responses, BalanceControllerGetBalanceForLocator5Data, BalanceControllerGetBalanceForLocator5Error, BalanceControllerGetBalanceForLocator5Errors, BalanceControllerGetBalanceForLocator5Response, BalanceControllerGetBalanceForLocator5Responses, BalanceUnstableControllerGetBalanceForLocator2Data, BalanceUnstableControllerGetBalanceForLocator2Error, BalanceUnstableControllerGetBalanceForLocator2Errors, BalanceUnstableControllerGetBalanceForLocator2Response, BalanceUnstableControllerGetBalanceForLocator2Responses, BalanceV20250609ControllerGetBalanceForLocator2Data, BalanceV20250609ControllerGetBalanceForLocator2Error, BalanceV20250609ControllerGetBalanceForLocator2Errors, BalanceV20250609ControllerGetBalanceForLocator2Response, BalanceV20250609ControllerGetBalanceForLocator2Responses, ClientOptions, CreateOrderInputDto, CreateOrderInputDtoSchema0, CreateSignatureV2025Dto, CreateSignerV2025InputDtoClass, CreateTransactionV2025DtoClass, CreateWalletV2025DtoClass, DelegatedSignerV2025DtoClass, FundWalletAmountDto, IpAssetGraphDto, IpAssetGraphDtoSchema0, IpAssetGraphDtoSchema1, SendOrDepositTokenV2025DtoClass, SendTokenDto, SendTokenV2025Dto, SubmitApprovalV2025Dto, WalletActivityUnstableControllerGetMeWalletActivity2Data, WalletActivityUnstableControllerGetMeWalletActivity2Error, WalletActivityUnstableControllerGetMeWalletActivity2Errors, WalletActivityUnstableControllerGetMeWalletActivity2Response, WalletActivityUnstableControllerGetMeWalletActivity2Responses, WalletActivityUnstableControllerGetWalletActivity2Data, WalletActivityUnstableControllerGetWalletActivity2Error, WalletActivityUnstableControllerGetWalletActivity2Errors, WalletActivityUnstableControllerGetWalletActivity2Response, WalletActivityUnstableControllerGetWalletActivity2Responses, WalletBalanceResponseDto, WalletBalanceUnstableResponseDto, WalletBalanceV20250609ResponseDto, WalletV1Alpha2ErrorDto, WalletV1Alpha2TransactionErrorDto, WalletV2025ResponseDtoClass, WalletsActivityResponseUnstableDto, WalletsMultipleSignatureV2025ResponseDto, WalletsMultipleTransactionV2025ResponseDto, WalletsSendTokenControllerSendMeToken2Data, WalletsSendTokenControllerSendMeToken2Response, WalletsSendTokenControllerSendMeToken2Responses, WalletsSendTokenControllerSendToken2Data, WalletsSendTokenControllerSendToken2Response, WalletsSendTokenControllerSendToken2Responses, WalletsSendTokenV2025ControllerGetTransferTransaction2Data, WalletsSendTokenV2025ControllerGetTransferTransaction2Error, WalletsSendTokenV2025ControllerGetTransferTransaction2Errors, WalletsSendTokenV2025ControllerGetTransferTransaction2Response, WalletsSendTokenV2025ControllerGetTransferTransaction2Responses, WalletsSendTokenV2025ControllerSendMeToken2Data, WalletsSendTokenV2025ControllerSendMeToken2Response, WalletsSendTokenV2025ControllerSendMeToken2Responses, WalletsSendTokenV2025ControllerSendToken2Data, WalletsSendTokenV2025ControllerSendToken2Response, WalletsSendTokenV2025ControllerSendToken2Responses, WalletsSignatureV2025ResponseDto, WalletsTransactionV2025ResponseDtoClass, WalletsV1Alpha2TransactionResponseDtoClass, WalletsV1Alpha2TransactionResponseWithSendParamsDtoClass, WalletsV2025ControllerCreateDelegatedSigner2Data, WalletsV2025ControllerCreateDelegatedSigner2Error, WalletsV2025ControllerCreateDelegatedSigner2Errors, WalletsV2025ControllerCreateDelegatedSigner2Response, WalletsV2025ControllerCreateDelegatedSigner2Responses, WalletsV2025ControllerCreateMeDelegatedSigner2Data, WalletsV2025ControllerCreateMeDelegatedSigner2Error, WalletsV2025ControllerCreateMeDelegatedSigner2Errors, WalletsV2025ControllerCreateMeDelegatedSigner2Response, WalletsV2025ControllerCreateMeDelegatedSigner2Responses, WalletsV2025ControllerCreateMeSignatureRequest2Data, WalletsV2025ControllerCreateMeSignatureRequest2Error, WalletsV2025ControllerCreateMeSignatureRequest2Errors, WalletsV2025ControllerCreateMeSignatureRequest2Response, WalletsV2025ControllerCreateMeSignatureRequest2Responses, WalletsV2025ControllerCreateMeTransaction2Data, WalletsV2025ControllerCreateMeTransaction2Error, WalletsV2025ControllerCreateMeTransaction2Errors, WalletsV2025ControllerCreateMeTransaction2Response, WalletsV2025ControllerCreateMeTransaction2Responses, WalletsV2025ControllerCreateMeWallet2Data, WalletsV2025ControllerCreateMeWallet2Response, WalletsV2025ControllerCreateMeWallet2Responses, WalletsV2025ControllerCreateSignatureRequest2Data, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerCreateSignatureRequest2Errors, WalletsV2025ControllerCreateSignatureRequest2Response, WalletsV2025ControllerCreateSignatureRequest2Responses, WalletsV2025ControllerCreateTransaction2Data, WalletsV2025ControllerCreateTransaction2Error, WalletsV2025ControllerCreateTransaction2Errors, WalletsV2025ControllerCreateTransaction2Response, WalletsV2025ControllerCreateTransaction2Responses, WalletsV2025ControllerCreateWallet2Data, WalletsV2025ControllerCreateWallet2Error, WalletsV2025ControllerCreateWallet2Errors, WalletsV2025ControllerCreateWallet2Response, WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerGetAllSignatures2Data, WalletsV2025ControllerGetAllSignatures2Error, WalletsV2025ControllerGetAllSignatures2Errors, WalletsV2025ControllerGetAllSignatures2Response, WalletsV2025ControllerGetAllSignatures2Responses, WalletsV2025ControllerGetDelegatedSigner2Data, WalletsV2025ControllerGetDelegatedSigner2Error, WalletsV2025ControllerGetDelegatedSigner2Errors, WalletsV2025ControllerGetDelegatedSigner2Response, WalletsV2025ControllerGetDelegatedSigner2Responses, WalletsV2025ControllerGetMeDelegatedSigner2Data, WalletsV2025ControllerGetMeDelegatedSigner2Error, WalletsV2025ControllerGetMeDelegatedSigner2Errors, WalletsV2025ControllerGetMeDelegatedSigner2Response, WalletsV2025ControllerGetMeDelegatedSigner2Responses, WalletsV2025ControllerGetMeSignature2Data, WalletsV2025ControllerGetMeSignature2Error, WalletsV2025ControllerGetMeSignature2Errors, WalletsV2025ControllerGetMeSignature2Response, WalletsV2025ControllerGetMeSignature2Responses, WalletsV2025ControllerGetMeSignatures2Data, WalletsV2025ControllerGetMeSignatures2Error, WalletsV2025ControllerGetMeSignatures2Errors, WalletsV2025ControllerGetMeSignatures2Response, WalletsV2025ControllerGetMeSignatures2Responses, WalletsV2025ControllerGetMeTransaction2Data, WalletsV2025ControllerGetMeTransaction2Error, WalletsV2025ControllerGetMeTransaction2Errors, WalletsV2025ControllerGetMeTransaction2Response, WalletsV2025ControllerGetMeTransaction2Responses, WalletsV2025ControllerGetMeTransactionsWithoutChain2Data, WalletsV2025ControllerGetMeTransactionsWithoutChain2Error, WalletsV2025ControllerGetMeTransactionsWithoutChain2Errors, WalletsV2025ControllerGetMeTransactionsWithoutChain2Response, WalletsV2025ControllerGetMeTransactionsWithoutChain2Responses, WalletsV2025ControllerGetMeWallet2Data, WalletsV2025ControllerGetMeWallet2Response, WalletsV2025ControllerGetMeWallet2Responses, WalletsV2025ControllerGetSignature2Data, WalletsV2025ControllerGetSignature2Error, WalletsV2025ControllerGetSignature2Errors, WalletsV2025ControllerGetSignature2Response, WalletsV2025ControllerGetSignature2Responses, WalletsV2025ControllerGetTransaction2Data, WalletsV2025ControllerGetTransaction2Error, WalletsV2025ControllerGetTransaction2Errors, WalletsV2025ControllerGetTransaction2Response, WalletsV2025ControllerGetTransaction2Responses, WalletsV2025ControllerGetTransactionsWithoutChain2Data, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsV2025ControllerGetTransactionsWithoutChain2Errors, WalletsV2025ControllerGetTransactionsWithoutChain2Response, WalletsV2025ControllerGetTransactionsWithoutChain2Responses, WalletsV2025ControllerGetWalletByLocator2Data, WalletsV2025ControllerGetWalletByLocator2Error, WalletsV2025ControllerGetWalletByLocator2Errors, WalletsV2025ControllerGetWalletByLocator2Response, WalletsV2025ControllerGetWalletByLocator2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Data, WalletsV2025ControllerRemoveDelegatedSigner2Error, WalletsV2025ControllerRemoveDelegatedSigner2Errors, WalletsV2025ControllerRemoveDelegatedSigner2Response, WalletsV2025ControllerRemoveDelegatedSigner2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Data, WalletsV2025ControllerRemoveMeDelegatedSigner2Error, WalletsV2025ControllerRemoveMeDelegatedSigner2Errors, WalletsV2025ControllerRemoveMeDelegatedSigner2Response, WalletsV2025ControllerRemoveMeDelegatedSigner2Responses, WalletsV2025ControllerSubmitApprovals2Data, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerSubmitApprovals2Errors, WalletsV2025ControllerSubmitApprovals2Response, WalletsV2025ControllerSubmitApprovals2Responses, WalletsV2025ControllerSubmitMeApprovals2Data, WalletsV2025ControllerSubmitMeApprovals2Error, WalletsV2025ControllerSubmitMeApprovals2Errors, WalletsV2025ControllerSubmitMeApprovals2Response, WalletsV2025ControllerSubmitMeApprovals2Responses, WalletsV2025ControllerSubmitMeSignatureApprovals2Data, WalletsV2025ControllerSubmitMeSignatureApprovals2Error, WalletsV2025ControllerSubmitMeSignatureApprovals2Errors, WalletsV2025ControllerSubmitMeSignatureApprovals2Response, WalletsV2025ControllerSubmitMeSignatureApprovals2Responses, WalletsV2025ControllerSubmitSignatureApprovals2Data, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerSubmitSignatureApprovals2Errors, WalletsV2025ControllerSubmitSignatureApprovals2Response, WalletsV2025ControllerSubmitSignatureApprovals2Responses } from './types.gen.js';
|
|
2
|
+
export { Options, balanceControllerFundWallet4, balanceControllerFundWallet5, balanceControllerGetBalanceForLocator4, balanceControllerGetBalanceForLocator5, balanceUnstableControllerGetBalanceForLocator2, balanceV20250609ControllerGetBalanceForLocator2, walletActivityUnstableControllerGetMeWalletActivity2, walletActivityUnstableControllerGetWalletActivity2, walletsSendTokenControllerSendMeToken2, walletsSendTokenControllerSendToken2, walletsSendTokenV2025ControllerGetTransferTransaction2, walletsSendTokenV2025ControllerSendMeToken2, walletsSendTokenV2025ControllerSendToken2, walletsV2025ControllerCreateDelegatedSigner2, walletsV2025ControllerCreateMeDelegatedSigner2, walletsV2025ControllerCreateMeSignatureRequest2, walletsV2025ControllerCreateMeTransaction2, walletsV2025ControllerCreateMeWallet2, walletsV2025ControllerCreateSignatureRequest2, walletsV2025ControllerCreateTransaction2, walletsV2025ControllerCreateWallet2, walletsV2025ControllerGetAllSignatures2, walletsV2025ControllerGetDelegatedSigner2, walletsV2025ControllerGetMeDelegatedSigner2, walletsV2025ControllerGetMeSignature2, walletsV2025ControllerGetMeSignatures2, walletsV2025ControllerGetMeTransaction2, walletsV2025ControllerGetMeTransactionsWithoutChain2, walletsV2025ControllerGetMeWallet2, walletsV2025ControllerGetSignature2, walletsV2025ControllerGetTransaction2, walletsV2025ControllerGetTransactionsWithoutChain2, walletsV2025ControllerGetWalletByLocator2, walletsV2025ControllerRemoveDelegatedSigner2, walletsV2025ControllerRemoveMeDelegatedSigner2, walletsV2025ControllerSubmitApprovals2, walletsV2025ControllerSubmitMeApprovals2, walletsV2025ControllerSubmitMeSignatureApprovals2, walletsV2025ControllerSubmitSignatureApprovals2 } from './sdk.gen.js';
|
|
3
3
|
import '@hey-api/client-fetch';
|
package/dist/api/gen/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A,B,C,D,E,F,G,H,I,a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y,z}from"../../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y,z}from"../../chunk-5DDBWQT7.js";import"../../chunk-5M7IRODB.js";import"../../chunk-YMRXMNME.js";import"../../chunk-J3R36SGJ.js";export{r as balanceControllerFundWallet4,M as balanceControllerFundWallet5,o as balanceControllerGetBalanceForLocator4,L as balanceControllerGetBalanceForLocator5,t as balanceUnstableControllerGetBalanceForLocator2,I as balanceV20250609ControllerGetBalanceForLocator2,f as walletActivityUnstableControllerGetMeWalletActivity2,m as walletActivityUnstableControllerGetWalletActivity2,e as walletsSendTokenControllerSendMeToken2,p as walletsSendTokenControllerSendToken2,z as walletsSendTokenV2025ControllerGetTransferTransaction2,d as walletsSendTokenV2025ControllerSendMeToken2,A as walletsSendTokenV2025ControllerSendToken2,D as walletsV2025ControllerCreateDelegatedSigner2,i as walletsV2025ControllerCreateMeDelegatedSigner2,n as walletsV2025ControllerCreateMeSignatureRequest2,c as walletsV2025ControllerCreateMeTransaction2,s as walletsV2025ControllerCreateMeWallet2,H as walletsV2025ControllerCreateSignatureRequest2,y as walletsV2025ControllerCreateTransaction2,K as walletsV2025ControllerCreateWallet2,G as walletsV2025ControllerGetAllSignatures2,C as walletsV2025ControllerGetDelegatedSigner2,h as walletsV2025ControllerGetMeDelegatedSigner2,k as walletsV2025ControllerGetMeSignature2,l as walletsV2025ControllerGetMeSignatures2,a as walletsV2025ControllerGetMeTransaction2,b as walletsV2025ControllerGetMeTransactionsWithoutChain2,q as walletsV2025ControllerGetMeWallet2,F as walletsV2025ControllerGetSignature2,v as walletsV2025ControllerGetTransaction2,w as walletsV2025ControllerGetTransactionsWithoutChain2,J as walletsV2025ControllerGetWalletByLocator2,B as walletsV2025ControllerRemoveDelegatedSigner2,g as walletsV2025ControllerRemoveMeDelegatedSigner2,u as walletsV2025ControllerSubmitApprovals2,x as walletsV2025ControllerSubmitMeApprovals2,j as walletsV2025ControllerSubmitMeSignatureApprovals2,E as walletsV2025ControllerSubmitSignatureApprovals2};
|
package/dist/api/gen/sdk.gen.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUHNDS4AWcjs = require('../../chunk-UHNDS4AW.cjs');require('../../chunk-STYSP6KL.cjs');require('../../chunk-2GKPWQBQ.cjs');exports.balanceControllerFundWallet4 = _chunkUHNDS4AWcjs.b; exports.balanceControllerFundWallet5 = _chunkUHNDS4AWcjs.M; exports.balanceControllerGetBalanceForLocator4 = _chunkUHNDS4AWcjs.a; exports.balanceControllerGetBalanceForLocator5 = _chunkUHNDS4AWcjs.L; exports.balanceUnstableControllerGetBalanceForLocator2 = _chunkUHNDS4AWcjs.g; exports.balanceV20250609ControllerGetBalanceForLocator2 = _chunkUHNDS4AWcjs.I; exports.walletActivityUnstableControllerGetMeWalletActivity2 = _chunkUHNDS4AWcjs.d; exports.walletActivityUnstableControllerGetWalletActivity2 = _chunkUHNDS4AWcjs.e; exports.walletsSendTokenControllerSendMeToken2 = _chunkUHNDS4AWcjs.c; exports.walletsSendTokenControllerSendToken2 = _chunkUHNDS4AWcjs.f; exports.walletsSendTokenV2025ControllerGetTransferTransaction2 = _chunkUHNDS4AWcjs.z; exports.walletsSendTokenV2025ControllerSendMeToken2 = _chunkUHNDS4AWcjs.l; exports.walletsSendTokenV2025ControllerSendToken2 = _chunkUHNDS4AWcjs.A; exports.walletsV2025ControllerCreateDelegatedSigner2 = _chunkUHNDS4AWcjs.D; exports.walletsV2025ControllerCreateMeDelegatedSigner2 = _chunkUHNDS4AWcjs.o; exports.walletsV2025ControllerCreateMeSignatureRequest2 = _chunkUHNDS4AWcjs.s; exports.walletsV2025ControllerCreateMeTransaction2 = _chunkUHNDS4AWcjs.k; exports.walletsV2025ControllerCreateMeWallet2 = _chunkUHNDS4AWcjs.u; exports.walletsV2025ControllerCreateSignatureRequest2 = _chunkUHNDS4AWcjs.H; exports.walletsV2025ControllerCreateTransaction2 = _chunkUHNDS4AWcjs.y; exports.walletsV2025ControllerCreateWallet2 = _chunkUHNDS4AWcjs.K; exports.walletsV2025ControllerGetAllSignatures2 = _chunkUHNDS4AWcjs.G; exports.walletsV2025ControllerGetDelegatedSigner2 = _chunkUHNDS4AWcjs.C; exports.walletsV2025ControllerGetMeDelegatedSigner2 = _chunkUHNDS4AWcjs.n; exports.walletsV2025ControllerGetMeSignature2 = _chunkUHNDS4AWcjs.q; exports.walletsV2025ControllerGetMeSignatures2 = _chunkUHNDS4AWcjs.r; exports.walletsV2025ControllerGetMeTransaction2 = _chunkUHNDS4AWcjs.i; exports.walletsV2025ControllerGetMeTransactionsWithoutChain2 = _chunkUHNDS4AWcjs.j; exports.walletsV2025ControllerGetMeWallet2 = _chunkUHNDS4AWcjs.t; exports.walletsV2025ControllerGetSignature2 = _chunkUHNDS4AWcjs.F; exports.walletsV2025ControllerGetTransaction2 = _chunkUHNDS4AWcjs.w; exports.walletsV2025ControllerGetTransactionsWithoutChain2 = _chunkUHNDS4AWcjs.x; exports.walletsV2025ControllerGetWalletByLocator2 = _chunkUHNDS4AWcjs.J; exports.walletsV2025ControllerRemoveDelegatedSigner2 = _chunkUHNDS4AWcjs.B; exports.walletsV2025ControllerRemoveMeDelegatedSigner2 = _chunkUHNDS4AWcjs.m; exports.walletsV2025ControllerSubmitApprovals2 = _chunkUHNDS4AWcjs.v; exports.walletsV2025ControllerSubmitMeApprovals2 = _chunkUHNDS4AWcjs.h; exports.walletsV2025ControllerSubmitMeSignatureApprovals2 = _chunkUHNDS4AWcjs.p; exports.walletsV2025ControllerSubmitSignatureApprovals2 = _chunkUHNDS4AWcjs.E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BalanceControllerGetBalanceForLocator4Data, BalanceControllerGetBalanceForLocator4Responses, BalanceControllerGetBalanceForLocator4Errors, BalanceControllerFundWallet4Data, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Errors, WalletsSendTokenControllerSendMeToken2Data, WalletsSendTokenControllerSendMeToken2Responses, WalletActivityUnstableControllerGetMeWalletActivity2Data, WalletActivityUnstableControllerGetMeWalletActivity2Responses, WalletActivityUnstableControllerGetMeWalletActivity2Errors, WalletActivityUnstableControllerGetWalletActivity2Data, WalletActivityUnstableControllerGetWalletActivity2Responses, WalletActivityUnstableControllerGetWalletActivity2Errors, WalletsSendTokenControllerSendToken2Data, WalletsSendTokenControllerSendToken2Responses, BalanceUnstableControllerGetBalanceForLocator2Data, BalanceUnstableControllerGetBalanceForLocator2Responses, BalanceUnstableControllerGetBalanceForLocator2Errors, WalletsV2025ControllerSubmitMeApprovals2Data, WalletsV2025ControllerSubmitMeApprovals2Responses, WalletsV2025ControllerSubmitMeApprovals2Errors, WalletsV2025ControllerGetMeTransaction2Data, WalletsV2025ControllerGetMeTransaction2Responses, WalletsV2025ControllerGetMeTransaction2Errors, WalletsV2025ControllerGetMeTransactionsWithoutChain2Data, WalletsV2025ControllerGetMeTransactionsWithoutChain2Responses, WalletsV2025ControllerGetMeTransactionsWithoutChain2Errors, WalletsV2025ControllerCreateMeTransaction2Data, WalletsV2025ControllerCreateMeTransaction2Responses, WalletsV2025ControllerCreateMeTransaction2Errors, WalletsSendTokenV2025ControllerSendMeToken2Data, WalletsSendTokenV2025ControllerSendMeToken2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Data, WalletsV2025ControllerRemoveMeDelegatedSigner2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Errors, WalletsV2025ControllerGetMeDelegatedSigner2Data, WalletsV2025ControllerGetMeDelegatedSigner2Responses, WalletsV2025ControllerGetMeDelegatedSigner2Errors, WalletsV2025ControllerCreateMeDelegatedSigner2Data, WalletsV2025ControllerCreateMeDelegatedSigner2Responses, WalletsV2025ControllerCreateMeDelegatedSigner2Errors, WalletsV2025ControllerSubmitMeSignatureApprovals2Data, WalletsV2025ControllerSubmitMeSignatureApprovals2Responses, WalletsV2025ControllerSubmitMeSignatureApprovals2Errors, WalletsV2025ControllerGetMeSignature2Data, WalletsV2025ControllerGetMeSignature2Responses, WalletsV2025ControllerGetMeSignature2Errors, WalletsV2025ControllerGetMeSignatures2Data, WalletsV2025ControllerGetMeSignatures2Responses, WalletsV2025ControllerGetMeSignatures2Errors, WalletsV2025ControllerCreateMeSignatureRequest2Data, WalletsV2025ControllerCreateMeSignatureRequest2Responses, WalletsV2025ControllerCreateMeSignatureRequest2Errors, WalletsV2025ControllerGetMeWallet2Data, WalletsV2025ControllerGetMeWallet2Responses, WalletsV2025ControllerCreateMeWallet2Data, WalletsV2025ControllerCreateMeWallet2Responses, WalletsV2025ControllerSubmitApprovals2Data, WalletsV2025ControllerSubmitApprovals2Responses, WalletsV2025ControllerSubmitApprovals2Errors, WalletsV2025ControllerGetTransaction2Data, WalletsV2025ControllerGetTransaction2Responses, WalletsV2025ControllerGetTransaction2Errors, WalletsV2025ControllerGetTransactionsWithoutChain2Data, WalletsV2025ControllerGetTransactionsWithoutChain2Responses, WalletsV2025ControllerGetTransactionsWithoutChain2Errors, WalletsV2025ControllerCreateTransaction2Data, WalletsV2025ControllerCreateTransaction2Responses, WalletsV2025ControllerCreateTransaction2Errors, WalletsSendTokenV2025ControllerGetTransferTransaction2Data, WalletsSendTokenV2025ControllerGetTransferTransaction2Responses, WalletsSendTokenV2025ControllerGetTransferTransaction2Errors, WalletsSendTokenV2025ControllerSendToken2Data, WalletsSendTokenV2025ControllerSendToken2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Data, WalletsV2025ControllerRemoveDelegatedSigner2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Errors, WalletsV2025ControllerGetDelegatedSigner2Data, WalletsV2025ControllerGetDelegatedSigner2Responses, WalletsV2025ControllerGetDelegatedSigner2Errors, WalletsV2025ControllerCreateDelegatedSigner2Data, WalletsV2025ControllerCreateDelegatedSigner2Responses, WalletsV2025ControllerCreateDelegatedSigner2Errors, WalletsV2025ControllerSubmitSignatureApprovals2Data, WalletsV2025ControllerSubmitSignatureApprovals2Responses, WalletsV2025ControllerSubmitSignatureApprovals2Errors, WalletsV2025ControllerGetSignature2Data, WalletsV2025ControllerGetSignature2Responses, WalletsV2025ControllerGetSignature2Errors, WalletsV2025ControllerGetAllSignatures2Data, WalletsV2025ControllerGetAllSignatures2Responses, WalletsV2025ControllerGetAllSignatures2Errors, WalletsV2025ControllerCreateSignatureRequest2Data, WalletsV2025ControllerCreateSignatureRequest2Responses, WalletsV2025ControllerCreateSignatureRequest2Errors, BalanceV20250609ControllerGetBalanceForLocator2Data, BalanceV20250609ControllerGetBalanceForLocator2Responses, BalanceV20250609ControllerGetBalanceForLocator2Errors, WalletsV2025ControllerGetWalletByLocator2Data, WalletsV2025ControllerGetWalletByLocator2Responses, WalletsV2025ControllerGetWalletByLocator2Errors, WalletsV2025ControllerCreateWallet2Data, WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerCreateWallet2Errors, BalanceControllerGetBalanceForLocator5Data, BalanceControllerGetBalanceForLocator5Responses, BalanceControllerGetBalanceForLocator5Errors, BalanceControllerFundWallet5Data, BalanceControllerFundWallet5Responses, BalanceControllerFundWallet5Errors } from './types.gen.cjs';
|
|
2
2
|
import * as _hey_api_client_fetch from '@hey-api/client-fetch';
|
|
3
3
|
import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch';
|
|
4
4
|
|
|
@@ -21,14 +21,14 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
21
21
|
*
|
|
22
22
|
* **API scope required**: `wallets:balance.read`
|
|
23
23
|
*/
|
|
24
|
-
declare const
|
|
24
|
+
declare const balanceControllerGetBalanceForLocator4: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerGetBalanceForLocator4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerGetBalanceForLocator4Responses, BalanceControllerGetBalanceForLocator4Errors, ThrowOnError>;
|
|
25
25
|
/**
|
|
26
26
|
* Fund Wallet
|
|
27
27
|
* Send funds to a wallet.
|
|
28
28
|
*
|
|
29
29
|
* **API scope required**: `wallets.fund`
|
|
30
30
|
*/
|
|
31
|
-
declare const
|
|
31
|
+
declare const balanceControllerFundWallet4: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerFundWallet4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Errors, ThrowOnError>;
|
|
32
32
|
/**
|
|
33
33
|
* Transfer Token For Authenticated User
|
|
34
34
|
* Sends a token of any type from the authenticated user's wallet to a recipient
|
|
@@ -93,6 +93,13 @@ declare const walletsV2025ControllerCreateMeTransaction2: <ThrowOnError extends
|
|
|
93
93
|
* Sends a token of any type from the authenticated user's wallet to a recipient
|
|
94
94
|
*/
|
|
95
95
|
declare const walletsSendTokenV2025ControllerSendMeToken2: <ThrowOnError extends boolean = false>(options: Options<WalletsSendTokenV2025ControllerSendMeToken2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsSendTokenV2025ControllerSendMeToken2Responses, unknown, ThrowOnError>;
|
|
96
|
+
/**
|
|
97
|
+
* Remove Delegated Signer For Authenticated User
|
|
98
|
+
* Remove an operational signer from a smart wallet.
|
|
99
|
+
*
|
|
100
|
+
* **API scope required**: `wallets.create`
|
|
101
|
+
*/
|
|
102
|
+
declare const walletsV2025ControllerRemoveMeDelegatedSigner2: <ThrowOnError extends boolean = false>(options: Options<WalletsV2025ControllerRemoveMeDelegatedSigner2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV2025ControllerRemoveMeDelegatedSigner2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Errors, ThrowOnError>;
|
|
96
103
|
/**
|
|
97
104
|
* Get Delegated Signer For Authenticated User
|
|
98
105
|
* Retrieve details about a specific delegated signer by its locator.
|
|
@@ -189,6 +196,13 @@ declare const walletsSendTokenV2025ControllerGetTransferTransaction2: <ThrowOnEr
|
|
|
189
196
|
* Sends a token of any type from this wallet to a recipient
|
|
190
197
|
*/
|
|
191
198
|
declare const walletsSendTokenV2025ControllerSendToken2: <ThrowOnError extends boolean = false>(options: Options<WalletsSendTokenV2025ControllerSendToken2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsSendTokenV2025ControllerSendToken2Responses, unknown, ThrowOnError>;
|
|
199
|
+
/**
|
|
200
|
+
* Remove Delegated Signer
|
|
201
|
+
* Remove an operational signer from a smart wallet.
|
|
202
|
+
*
|
|
203
|
+
* **API scope required**: `wallets.create`
|
|
204
|
+
*/
|
|
205
|
+
declare const walletsV2025ControllerRemoveDelegatedSigner2: <ThrowOnError extends boolean = false>(options: Options<WalletsV2025ControllerRemoveDelegatedSigner2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV2025ControllerRemoveDelegatedSigner2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Errors, ThrowOnError>;
|
|
192
206
|
/**
|
|
193
207
|
* Get Delegated Signer
|
|
194
208
|
* Retrieve details about a specific delegated signer by its locator.
|
|
@@ -252,5 +266,19 @@ declare const walletsV2025ControllerGetWalletByLocator2: <ThrowOnError extends b
|
|
|
252
266
|
* **API scope required**: `wallets.create`
|
|
253
267
|
*/
|
|
254
268
|
declare const walletsV2025ControllerCreateWallet2: <ThrowOnError extends boolean = false>(options: Options<WalletsV2025ControllerCreateWallet2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerCreateWallet2Errors, ThrowOnError>;
|
|
269
|
+
/**
|
|
270
|
+
* Get Wallet Balance
|
|
271
|
+
* Get the balance of a wallet for a given chain and currency
|
|
272
|
+
*
|
|
273
|
+
* **API scope required**: `wallets:balance.read`
|
|
274
|
+
*/
|
|
275
|
+
declare const balanceControllerGetBalanceForLocator5: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerGetBalanceForLocator5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerGetBalanceForLocator5Responses, BalanceControllerGetBalanceForLocator5Errors, ThrowOnError>;
|
|
276
|
+
/**
|
|
277
|
+
* Fund Wallet
|
|
278
|
+
* Send funds to a wallet.
|
|
279
|
+
*
|
|
280
|
+
* **API scope required**: `wallets.fund`
|
|
281
|
+
*/
|
|
282
|
+
declare const balanceControllerFundWallet5: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerFundWallet5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerFundWallet5Responses, BalanceControllerFundWallet5Errors, ThrowOnError>;
|
|
255
283
|
|
|
256
|
-
export { type Options,
|
|
284
|
+
export { type Options, balanceControllerFundWallet4, balanceControllerFundWallet5, balanceControllerGetBalanceForLocator4, balanceControllerGetBalanceForLocator5, balanceUnstableControllerGetBalanceForLocator2, balanceV20250609ControllerGetBalanceForLocator2, walletActivityUnstableControllerGetMeWalletActivity2, walletActivityUnstableControllerGetWalletActivity2, walletsSendTokenControllerSendMeToken2, walletsSendTokenControllerSendToken2, walletsSendTokenV2025ControllerGetTransferTransaction2, walletsSendTokenV2025ControllerSendMeToken2, walletsSendTokenV2025ControllerSendToken2, walletsV2025ControllerCreateDelegatedSigner2, walletsV2025ControllerCreateMeDelegatedSigner2, walletsV2025ControllerCreateMeSignatureRequest2, walletsV2025ControllerCreateMeTransaction2, walletsV2025ControllerCreateMeWallet2, walletsV2025ControllerCreateSignatureRequest2, walletsV2025ControllerCreateTransaction2, walletsV2025ControllerCreateWallet2, walletsV2025ControllerGetAllSignatures2, walletsV2025ControllerGetDelegatedSigner2, walletsV2025ControllerGetMeDelegatedSigner2, walletsV2025ControllerGetMeSignature2, walletsV2025ControllerGetMeSignatures2, walletsV2025ControllerGetMeTransaction2, walletsV2025ControllerGetMeTransactionsWithoutChain2, walletsV2025ControllerGetMeWallet2, walletsV2025ControllerGetSignature2, walletsV2025ControllerGetTransaction2, walletsV2025ControllerGetTransactionsWithoutChain2, walletsV2025ControllerGetWalletByLocator2, walletsV2025ControllerRemoveDelegatedSigner2, walletsV2025ControllerRemoveMeDelegatedSigner2, walletsV2025ControllerSubmitApprovals2, walletsV2025ControllerSubmitMeApprovals2, walletsV2025ControllerSubmitMeSignatureApprovals2, walletsV2025ControllerSubmitSignatureApprovals2 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BalanceControllerGetBalanceForLocator4Data, BalanceControllerGetBalanceForLocator4Responses, BalanceControllerGetBalanceForLocator4Errors, BalanceControllerFundWallet4Data, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Errors, WalletsSendTokenControllerSendMeToken2Data, WalletsSendTokenControllerSendMeToken2Responses, WalletActivityUnstableControllerGetMeWalletActivity2Data, WalletActivityUnstableControllerGetMeWalletActivity2Responses, WalletActivityUnstableControllerGetMeWalletActivity2Errors, WalletActivityUnstableControllerGetWalletActivity2Data, WalletActivityUnstableControllerGetWalletActivity2Responses, WalletActivityUnstableControllerGetWalletActivity2Errors, WalletsSendTokenControllerSendToken2Data, WalletsSendTokenControllerSendToken2Responses, BalanceUnstableControllerGetBalanceForLocator2Data, BalanceUnstableControllerGetBalanceForLocator2Responses, BalanceUnstableControllerGetBalanceForLocator2Errors, WalletsV2025ControllerSubmitMeApprovals2Data, WalletsV2025ControllerSubmitMeApprovals2Responses, WalletsV2025ControllerSubmitMeApprovals2Errors, WalletsV2025ControllerGetMeTransaction2Data, WalletsV2025ControllerGetMeTransaction2Responses, WalletsV2025ControllerGetMeTransaction2Errors, WalletsV2025ControllerGetMeTransactionsWithoutChain2Data, WalletsV2025ControllerGetMeTransactionsWithoutChain2Responses, WalletsV2025ControllerGetMeTransactionsWithoutChain2Errors, WalletsV2025ControllerCreateMeTransaction2Data, WalletsV2025ControllerCreateMeTransaction2Responses, WalletsV2025ControllerCreateMeTransaction2Errors, WalletsSendTokenV2025ControllerSendMeToken2Data, WalletsSendTokenV2025ControllerSendMeToken2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Data, WalletsV2025ControllerRemoveMeDelegatedSigner2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Errors, WalletsV2025ControllerGetMeDelegatedSigner2Data, WalletsV2025ControllerGetMeDelegatedSigner2Responses, WalletsV2025ControllerGetMeDelegatedSigner2Errors, WalletsV2025ControllerCreateMeDelegatedSigner2Data, WalletsV2025ControllerCreateMeDelegatedSigner2Responses, WalletsV2025ControllerCreateMeDelegatedSigner2Errors, WalletsV2025ControllerSubmitMeSignatureApprovals2Data, WalletsV2025ControllerSubmitMeSignatureApprovals2Responses, WalletsV2025ControllerSubmitMeSignatureApprovals2Errors, WalletsV2025ControllerGetMeSignature2Data, WalletsV2025ControllerGetMeSignature2Responses, WalletsV2025ControllerGetMeSignature2Errors, WalletsV2025ControllerGetMeSignatures2Data, WalletsV2025ControllerGetMeSignatures2Responses, WalletsV2025ControllerGetMeSignatures2Errors, WalletsV2025ControllerCreateMeSignatureRequest2Data, WalletsV2025ControllerCreateMeSignatureRequest2Responses, WalletsV2025ControllerCreateMeSignatureRequest2Errors, WalletsV2025ControllerGetMeWallet2Data, WalletsV2025ControllerGetMeWallet2Responses, WalletsV2025ControllerCreateMeWallet2Data, WalletsV2025ControllerCreateMeWallet2Responses, WalletsV2025ControllerSubmitApprovals2Data, WalletsV2025ControllerSubmitApprovals2Responses, WalletsV2025ControllerSubmitApprovals2Errors, WalletsV2025ControllerGetTransaction2Data, WalletsV2025ControllerGetTransaction2Responses, WalletsV2025ControllerGetTransaction2Errors, WalletsV2025ControllerGetTransactionsWithoutChain2Data, WalletsV2025ControllerGetTransactionsWithoutChain2Responses, WalletsV2025ControllerGetTransactionsWithoutChain2Errors, WalletsV2025ControllerCreateTransaction2Data, WalletsV2025ControllerCreateTransaction2Responses, WalletsV2025ControllerCreateTransaction2Errors, WalletsSendTokenV2025ControllerGetTransferTransaction2Data, WalletsSendTokenV2025ControllerGetTransferTransaction2Responses, WalletsSendTokenV2025ControllerGetTransferTransaction2Errors, WalletsSendTokenV2025ControllerSendToken2Data, WalletsSendTokenV2025ControllerSendToken2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Data, WalletsV2025ControllerRemoveDelegatedSigner2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Errors, WalletsV2025ControllerGetDelegatedSigner2Data, WalletsV2025ControllerGetDelegatedSigner2Responses, WalletsV2025ControllerGetDelegatedSigner2Errors, WalletsV2025ControllerCreateDelegatedSigner2Data, WalletsV2025ControllerCreateDelegatedSigner2Responses, WalletsV2025ControllerCreateDelegatedSigner2Errors, WalletsV2025ControllerSubmitSignatureApprovals2Data, WalletsV2025ControllerSubmitSignatureApprovals2Responses, WalletsV2025ControllerSubmitSignatureApprovals2Errors, WalletsV2025ControllerGetSignature2Data, WalletsV2025ControllerGetSignature2Responses, WalletsV2025ControllerGetSignature2Errors, WalletsV2025ControllerGetAllSignatures2Data, WalletsV2025ControllerGetAllSignatures2Responses, WalletsV2025ControllerGetAllSignatures2Errors, WalletsV2025ControllerCreateSignatureRequest2Data, WalletsV2025ControllerCreateSignatureRequest2Responses, WalletsV2025ControllerCreateSignatureRequest2Errors, BalanceV20250609ControllerGetBalanceForLocator2Data, BalanceV20250609ControllerGetBalanceForLocator2Responses, BalanceV20250609ControllerGetBalanceForLocator2Errors, WalletsV2025ControllerGetWalletByLocator2Data, WalletsV2025ControllerGetWalletByLocator2Responses, WalletsV2025ControllerGetWalletByLocator2Errors, WalletsV2025ControllerCreateWallet2Data, WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerCreateWallet2Errors, BalanceControllerGetBalanceForLocator5Data, BalanceControllerGetBalanceForLocator5Responses, BalanceControllerGetBalanceForLocator5Errors, BalanceControllerFundWallet5Data, BalanceControllerFundWallet5Responses, BalanceControllerFundWallet5Errors } from './types.gen.js';
|
|
2
2
|
import * as _hey_api_client_fetch from '@hey-api/client-fetch';
|
|
3
3
|
import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch';
|
|
4
4
|
|
|
@@ -21,14 +21,14 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
21
21
|
*
|
|
22
22
|
* **API scope required**: `wallets:balance.read`
|
|
23
23
|
*/
|
|
24
|
-
declare const
|
|
24
|
+
declare const balanceControllerGetBalanceForLocator4: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerGetBalanceForLocator4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerGetBalanceForLocator4Responses, BalanceControllerGetBalanceForLocator4Errors, ThrowOnError>;
|
|
25
25
|
/**
|
|
26
26
|
* Fund Wallet
|
|
27
27
|
* Send funds to a wallet.
|
|
28
28
|
*
|
|
29
29
|
* **API scope required**: `wallets.fund`
|
|
30
30
|
*/
|
|
31
|
-
declare const
|
|
31
|
+
declare const balanceControllerFundWallet4: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerFundWallet4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Errors, ThrowOnError>;
|
|
32
32
|
/**
|
|
33
33
|
* Transfer Token For Authenticated User
|
|
34
34
|
* Sends a token of any type from the authenticated user's wallet to a recipient
|
|
@@ -93,6 +93,13 @@ declare const walletsV2025ControllerCreateMeTransaction2: <ThrowOnError extends
|
|
|
93
93
|
* Sends a token of any type from the authenticated user's wallet to a recipient
|
|
94
94
|
*/
|
|
95
95
|
declare const walletsSendTokenV2025ControllerSendMeToken2: <ThrowOnError extends boolean = false>(options: Options<WalletsSendTokenV2025ControllerSendMeToken2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsSendTokenV2025ControllerSendMeToken2Responses, unknown, ThrowOnError>;
|
|
96
|
+
/**
|
|
97
|
+
* Remove Delegated Signer For Authenticated User
|
|
98
|
+
* Remove an operational signer from a smart wallet.
|
|
99
|
+
*
|
|
100
|
+
* **API scope required**: `wallets.create`
|
|
101
|
+
*/
|
|
102
|
+
declare const walletsV2025ControllerRemoveMeDelegatedSigner2: <ThrowOnError extends boolean = false>(options: Options<WalletsV2025ControllerRemoveMeDelegatedSigner2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV2025ControllerRemoveMeDelegatedSigner2Responses, WalletsV2025ControllerRemoveMeDelegatedSigner2Errors, ThrowOnError>;
|
|
96
103
|
/**
|
|
97
104
|
* Get Delegated Signer For Authenticated User
|
|
98
105
|
* Retrieve details about a specific delegated signer by its locator.
|
|
@@ -189,6 +196,13 @@ declare const walletsSendTokenV2025ControllerGetTransferTransaction2: <ThrowOnEr
|
|
|
189
196
|
* Sends a token of any type from this wallet to a recipient
|
|
190
197
|
*/
|
|
191
198
|
declare const walletsSendTokenV2025ControllerSendToken2: <ThrowOnError extends boolean = false>(options: Options<WalletsSendTokenV2025ControllerSendToken2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsSendTokenV2025ControllerSendToken2Responses, unknown, ThrowOnError>;
|
|
199
|
+
/**
|
|
200
|
+
* Remove Delegated Signer
|
|
201
|
+
* Remove an operational signer from a smart wallet.
|
|
202
|
+
*
|
|
203
|
+
* **API scope required**: `wallets.create`
|
|
204
|
+
*/
|
|
205
|
+
declare const walletsV2025ControllerRemoveDelegatedSigner2: <ThrowOnError extends boolean = false>(options: Options<WalletsV2025ControllerRemoveDelegatedSigner2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV2025ControllerRemoveDelegatedSigner2Responses, WalletsV2025ControllerRemoveDelegatedSigner2Errors, ThrowOnError>;
|
|
192
206
|
/**
|
|
193
207
|
* Get Delegated Signer
|
|
194
208
|
* Retrieve details about a specific delegated signer by its locator.
|
|
@@ -252,5 +266,19 @@ declare const walletsV2025ControllerGetWalletByLocator2: <ThrowOnError extends b
|
|
|
252
266
|
* **API scope required**: `wallets.create`
|
|
253
267
|
*/
|
|
254
268
|
declare const walletsV2025ControllerCreateWallet2: <ThrowOnError extends boolean = false>(options: Options<WalletsV2025ControllerCreateWallet2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV2025ControllerCreateWallet2Responses, WalletsV2025ControllerCreateWallet2Errors, ThrowOnError>;
|
|
269
|
+
/**
|
|
270
|
+
* Get Wallet Balance
|
|
271
|
+
* Get the balance of a wallet for a given chain and currency
|
|
272
|
+
*
|
|
273
|
+
* **API scope required**: `wallets:balance.read`
|
|
274
|
+
*/
|
|
275
|
+
declare const balanceControllerGetBalanceForLocator5: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerGetBalanceForLocator5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerGetBalanceForLocator5Responses, BalanceControllerGetBalanceForLocator5Errors, ThrowOnError>;
|
|
276
|
+
/**
|
|
277
|
+
* Fund Wallet
|
|
278
|
+
* Send funds to a wallet.
|
|
279
|
+
*
|
|
280
|
+
* **API scope required**: `wallets.fund`
|
|
281
|
+
*/
|
|
282
|
+
declare const balanceControllerFundWallet5: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerFundWallet5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalanceControllerFundWallet5Responses, BalanceControllerFundWallet5Errors, ThrowOnError>;
|
|
255
283
|
|
|
256
|
-
export { type Options,
|
|
284
|
+
export { type Options, balanceControllerFundWallet4, balanceControllerFundWallet5, balanceControllerGetBalanceForLocator4, balanceControllerGetBalanceForLocator5, balanceUnstableControllerGetBalanceForLocator2, balanceV20250609ControllerGetBalanceForLocator2, walletActivityUnstableControllerGetMeWalletActivity2, walletActivityUnstableControllerGetWalletActivity2, walletsSendTokenControllerSendMeToken2, walletsSendTokenControllerSendToken2, walletsSendTokenV2025ControllerGetTransferTransaction2, walletsSendTokenV2025ControllerSendMeToken2, walletsSendTokenV2025ControllerSendToken2, walletsV2025ControllerCreateDelegatedSigner2, walletsV2025ControllerCreateMeDelegatedSigner2, walletsV2025ControllerCreateMeSignatureRequest2, walletsV2025ControllerCreateMeTransaction2, walletsV2025ControllerCreateMeWallet2, walletsV2025ControllerCreateSignatureRequest2, walletsV2025ControllerCreateTransaction2, walletsV2025ControllerCreateWallet2, walletsV2025ControllerGetAllSignatures2, walletsV2025ControllerGetDelegatedSigner2, walletsV2025ControllerGetMeDelegatedSigner2, walletsV2025ControllerGetMeSignature2, walletsV2025ControllerGetMeSignatures2, walletsV2025ControllerGetMeTransaction2, walletsV2025ControllerGetMeTransactionsWithoutChain2, walletsV2025ControllerGetMeWallet2, walletsV2025ControllerGetSignature2, walletsV2025ControllerGetTransaction2, walletsV2025ControllerGetTransactionsWithoutChain2, walletsV2025ControllerGetWalletByLocator2, walletsV2025ControllerRemoveDelegatedSigner2, walletsV2025ControllerRemoveMeDelegatedSigner2, walletsV2025ControllerSubmitApprovals2, walletsV2025ControllerSubmitMeApprovals2, walletsV2025ControllerSubmitMeSignatureApprovals2, walletsV2025ControllerSubmitSignatureApprovals2 };
|
package/dist/api/gen/sdk.gen.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A,B,C,D,E,F,G,H,I,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../../chunk-5DDBWQT7.js";import"../../chunk-5M7IRODB.js";import"../../chunk-J3R36SGJ.js";export{b as balanceControllerFundWallet4,M as balanceControllerFundWallet5,a as balanceControllerGetBalanceForLocator4,L as balanceControllerGetBalanceForLocator5,g as balanceUnstableControllerGetBalanceForLocator2,I as balanceV20250609ControllerGetBalanceForLocator2,d as walletActivityUnstableControllerGetMeWalletActivity2,e as walletActivityUnstableControllerGetWalletActivity2,c as walletsSendTokenControllerSendMeToken2,f as walletsSendTokenControllerSendToken2,z as walletsSendTokenV2025ControllerGetTransferTransaction2,l as walletsSendTokenV2025ControllerSendMeToken2,A as walletsSendTokenV2025ControllerSendToken2,D as walletsV2025ControllerCreateDelegatedSigner2,o as walletsV2025ControllerCreateMeDelegatedSigner2,s as walletsV2025ControllerCreateMeSignatureRequest2,k as walletsV2025ControllerCreateMeTransaction2,u as walletsV2025ControllerCreateMeWallet2,H as walletsV2025ControllerCreateSignatureRequest2,y as walletsV2025ControllerCreateTransaction2,K as walletsV2025ControllerCreateWallet2,G as walletsV2025ControllerGetAllSignatures2,C as walletsV2025ControllerGetDelegatedSigner2,n as walletsV2025ControllerGetMeDelegatedSigner2,q as walletsV2025ControllerGetMeSignature2,r as walletsV2025ControllerGetMeSignatures2,i as walletsV2025ControllerGetMeTransaction2,j as walletsV2025ControllerGetMeTransactionsWithoutChain2,t as walletsV2025ControllerGetMeWallet2,F as walletsV2025ControllerGetSignature2,w as walletsV2025ControllerGetTransaction2,x as walletsV2025ControllerGetTransactionsWithoutChain2,J as walletsV2025ControllerGetWalletByLocator2,B as walletsV2025ControllerRemoveDelegatedSigner2,m as walletsV2025ControllerRemoveMeDelegatedSigner2,v as walletsV2025ControllerSubmitApprovals2,h as walletsV2025ControllerSubmitMeApprovals2,p as walletsV2025ControllerSubmitMeSignatureApprovals2,E as walletsV2025ControllerSubmitSignatureApprovals2};
|