@medialane/sdk 0.82.0 → 0.83.0
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/index.cjs +27 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -1
- package/dist/{services-B5tH-bth.d.cts → services--Zif_ws7.d.cts} +78 -1
- package/dist/{services-BrLuUB_Z.d.ts → services-CJorT7zl.d.ts} +78 -1
- package/dist/starknet/index.cjs +27 -0
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +1 -1
- package/dist/starknet/index.d.ts +1 -1
- package/dist/starknet/index.js +27 -0
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as ResolvedConfig, bc as TxResult, ar as CreatePopCollectionParams, ae as ClaimConditions, an as CreateDropParams, aw as CreateTicketParams, aQ as MintTicketsParams, ap as CreateMembershipParams, aP as MintMembershipsParams, au as CreateSponsorshipOfferParams, b0 as ProposeSponsorshipParams, l as ApiClient, aN as MedialaneConfig, aO as MedialaneErrorCode, aV as OrderDetails, b4 as ResolvedFeeConfig } from '../services--Zif_ws7.cjs';
|
|
2
2
|
import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload } from 'starknet';
|
|
3
3
|
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-sIc3OCpo.cjs';
|
|
4
4
|
import 'zod';
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as ResolvedConfig, bc as TxResult, ar as CreatePopCollectionParams, ae as ClaimConditions, an as CreateDropParams, aw as CreateTicketParams, aQ as MintTicketsParams, ap as CreateMembershipParams, aP as MintMembershipsParams, au as CreateSponsorshipOfferParams, b0 as ProposeSponsorshipParams, l as ApiClient, aN as MedialaneConfig, aO as MedialaneErrorCode, aV as OrderDetails, b4 as ResolvedFeeConfig } from '../services-CJorT7zl.js';
|
|
2
2
|
import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload } from 'starknet';
|
|
3
3
|
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-sIc3OCpo.js';
|
|
4
4
|
import 'zod';
|
package/dist/starknet/index.js
CHANGED
|
@@ -455,6 +455,33 @@ var ApiClient = class {
|
|
|
455
455
|
createTierIntent(params) {
|
|
456
456
|
return this.post("/v1/intents/create-tier", params);
|
|
457
457
|
}
|
|
458
|
+
createSponsorshipOfferIntent(params) {
|
|
459
|
+
return this.post("/v1/intents/sponsorship-offer", params);
|
|
460
|
+
}
|
|
461
|
+
setSponsorshipOfferOpenIntent(params) {
|
|
462
|
+
return this.post("/v1/intents/sponsorship-offer-open", params);
|
|
463
|
+
}
|
|
464
|
+
placeSponsorshipBidIntent(params) {
|
|
465
|
+
return this.post("/v1/intents/sponsorship-bid", params);
|
|
466
|
+
}
|
|
467
|
+
retractSponsorshipBidIntent(params) {
|
|
468
|
+
return this.post("/v1/intents/sponsorship-bid-retract", params);
|
|
469
|
+
}
|
|
470
|
+
acceptSponsorshipBidIntent(params) {
|
|
471
|
+
return this.post("/v1/intents/sponsorship-bid-accept", params);
|
|
472
|
+
}
|
|
473
|
+
createSponsorshipProposalIntent(params) {
|
|
474
|
+
return this.post("/v1/intents/sponsorship-proposal", params);
|
|
475
|
+
}
|
|
476
|
+
withdrawSponsorshipProposalIntent(params) {
|
|
477
|
+
return this.post("/v1/intents/sponsorship-proposal-withdraw", params);
|
|
478
|
+
}
|
|
479
|
+
acceptSponsorshipProposalIntent(params) {
|
|
480
|
+
return this.post("/v1/intents/sponsorship-proposal-accept", params);
|
|
481
|
+
}
|
|
482
|
+
rejectSponsorshipProposalIntent(params) {
|
|
483
|
+
return this.post("/v1/intents/sponsorship-proposal-reject", params);
|
|
484
|
+
}
|
|
458
485
|
/**
|
|
459
486
|
* Create a counter-offer intent. The seller proposes a new price in response
|
|
460
487
|
* to a buyer's active bid. clerkToken is optional — the endpoint authenticates
|