@medialane/sdk 0.78.0 → 0.80.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 +69 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -3
- package/dist/index.d.ts +48 -3
- package/dist/index.js +67 -1
- package/dist/index.js.map +1 -1
- package/dist/{services-gpLj6m2X.d.cts → services-1U8xO9JM.d.cts} +58 -8
- package/dist/{services-L8rbm-gZ.d.ts → services-vRjBk3Zn.d.ts} +58 -8
- package/dist/starknet/index.cjs +6 -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 +6 -0
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aZ as ResolvedConfig, b4 as TxResult, ap as CreatePopCollectionParams, ac as ClaimConditions, al as CreateDropParams, as as CreateTicketParams, aM as MintTicketsParams, an as CreateMembershipParams, aL as MintMembershipsParams, ar as CreateSponsorshipOfferParams, aX as ProposeSponsorshipParams, j as ApiClient, aJ as MedialaneConfig, aK as MedialaneErrorCode, aR as OrderDetails, a_ as ResolvedFeeConfig } from '../services-1U8xO9JM.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 { aZ as ResolvedConfig, b4 as TxResult, ap as CreatePopCollectionParams, ac as ClaimConditions, al as CreateDropParams, as as CreateTicketParams, aM as MintTicketsParams, an as CreateMembershipParams, aL as MintMembershipsParams, ar as CreateSponsorshipOfferParams, aX as ProposeSponsorshipParams, j as ApiClient, aJ as MedialaneConfig, aK as MedialaneErrorCode, aR as OrderDetails, a_ as ResolvedFeeConfig } from '../services-vRjBk3Zn.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
|
@@ -434,6 +434,9 @@ var ApiClient = class {
|
|
|
434
434
|
createCancelIntent(params) {
|
|
435
435
|
return this.post("/v1/intents/cancel", params);
|
|
436
436
|
}
|
|
437
|
+
createCheckoutIntent(params) {
|
|
438
|
+
return this.post("/v1/intents/checkout", params);
|
|
439
|
+
}
|
|
437
440
|
getIntent(id) {
|
|
438
441
|
return this.get(`/v1/intents/${id}`);
|
|
439
442
|
}
|
|
@@ -449,6 +452,9 @@ var ApiClient = class {
|
|
|
449
452
|
createCollectionIntent(params) {
|
|
450
453
|
return this.post("/v1/intents/create-collection", params);
|
|
451
454
|
}
|
|
455
|
+
createTierIntent(params) {
|
|
456
|
+
return this.post("/v1/intents/create-tier", params);
|
|
457
|
+
}
|
|
452
458
|
/**
|
|
453
459
|
* Create a counter-offer intent. The seller proposes a new price in response
|
|
454
460
|
* to a buyer's active bid. clerkToken is optional — the endpoint authenticates
|