@imtbl/sdk 1.43.3 → 1.43.4
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/Passport.d-011d5035.d.ts +224 -0
- package/dist/blockchain-data.d-1634b683.d.ts +3406 -0
- package/dist/blockchain_data-d989298c.js +1 -0
- package/dist/blockchain_data.d-d538f8d4.d.ts +4543 -0
- package/dist/blockchain_data.d.ts +3 -7950
- package/dist/blockchain_data.js +1 -6058
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout-68675dd1.js +16 -0
- package/dist/checkout.d-ae9ca847.d.ts +3392 -0
- package/dist/checkout.d.ts +7 -16882
- package/dist/checkout.js +1 -37189
- package/dist/config-53a9a4ca.js +1 -0
- package/dist/config.d-65420620.d.ts +18 -0
- package/dist/config.d.ts +1 -30
- package/dist/config.js +1 -394
- package/dist/event-types.d-42520276.d.ts +332 -0
- package/dist/imxProvider.d-cac9e315.d.ts +12538 -0
- package/dist/index-14aad537.js +1 -0
- package/dist/index-3951cdf0.js +1 -0
- package/dist/index-3f40d7f6.js +1 -0
- package/dist/index-58a79c29.js +1 -0
- package/dist/index-96599707.js +1 -0
- package/dist/index-e7002486.js +1 -0
- package/dist/index.browser.js +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.d-c4a4c17d.d.ts +277 -0
- package/dist/index.d-f0845744.d.ts +30 -0
- package/dist/index.d-f1471830.d.ts +376 -0
- package/dist/index.d.ts +18 -32627
- package/dist/index.js +1 -64124
- package/dist/json-rpc-provider.d-5c038bd9.d.ts +249 -0
- package/dist/minting_backend-04aef147.js +1 -0
- package/dist/minting_backend.d-4754ffee.d.ts +104 -0
- package/dist/minting_backend.d.ts +5 -3535
- package/dist/minting_backend.js +1 -6756
- package/dist/orderbook-e71036df.js +1 -0
- package/dist/orderbook.d-77162c6c.d.ts +1257 -0
- package/dist/orderbook.d.ts +5 -1713
- package/dist/orderbook.js +1 -2479
- package/dist/passport-0f45e532.js +1 -0
- package/dist/passport.d-d3f44798.d.ts +67 -0
- package/dist/passport.d.ts +6 -13703
- package/dist/passport.js +1 -23137
- package/dist/transfer.d-87728423.d.ts +898 -0
- package/dist/webhook-a16541bb.js +1 -0
- package/dist/webhook.d-4c3cb340.d.ts +75 -0
- package/dist/webhook.d.ts +4 -1265
- package/dist/webhook.js +1 -488
- package/dist/x-a5b39578.js +1 -0
- package/dist/x.d-1b51f0c3.d.ts +4879 -0
- package/dist/x.d.ts +6 -18663
- package/dist/x.js +1 -19242
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./index-3951cdf0.js";var r=Object.freeze({__proto__:null,handle:e});export{r as w};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { E as Environment } from './index.d-f0845744.js';
|
|
2
|
+
import { A as Asset, O as OrderV3, T as Transfer } from './transfer.d-87728423.js';
|
|
3
|
+
import { Z as ZkevmMintRequestUpdated, a as ZkevmActivityMint, b as ZkevmActivityBurn, c as ZkevmActivityTransfer, d as ZkevmActivitySale, e as ZkevmActivityDeposit, f as ZkevmActivityWithdrawal, g as ZkevmCollectionUpdated, h as ZkevmNftUpdated, i as ZkevmMetadataUpdated, j as ZkevmTokenUpdated, k as ZkevmOrderUpdated, l as ZkevmTradeCreated, B as BlockChainMetadata, C as Chain } from './event-types.d-42520276.js';
|
|
4
|
+
|
|
5
|
+
type WebhookHandlers = {
|
|
6
|
+
zkevmMintRequestUpdated?: (event: ZkevmMintRequestUpdated) => Promise<void>;
|
|
7
|
+
zkEvmActivityMint?: (event: ZkevmActivityMint) => Promise<void>;
|
|
8
|
+
zkEvmActivityBurn?: (event: ZkevmActivityBurn) => Promise<void>;
|
|
9
|
+
zkEvmActivityTransfer?: (event: ZkevmActivityTransfer) => Promise<void>;
|
|
10
|
+
zkEvmActivitySale?: (event: ZkevmActivitySale) => Promise<void>;
|
|
11
|
+
zkEvmActivityDeposit?: (event: ZkevmActivityDeposit) => Promise<void>;
|
|
12
|
+
zkEvmActivityWithdrawal?: (event: ZkevmActivityWithdrawal) => Promise<void>;
|
|
13
|
+
zkEvmCollectionUpdated?: (event: ZkevmCollectionUpdated) => Promise<void>;
|
|
14
|
+
zkEvmNftUpdated?: (event: ZkevmNftUpdated) => Promise<void>;
|
|
15
|
+
zkEvmMetadataUpdated?: (event: ZkevmMetadataUpdated) => Promise<void>;
|
|
16
|
+
zkEvmTokenUpdated?: (event: ZkevmTokenUpdated) => Promise<void>;
|
|
17
|
+
zkEvmOrderUpdated?: (event: ZkevmOrderUpdated) => Promise<void>;
|
|
18
|
+
zkEvmTradeCreated?: (event: ZkevmTradeCreated) => Promise<void>;
|
|
19
|
+
xNftCreated?: (event: Asset) => Promise<void>;
|
|
20
|
+
xNftUpdated?: (event: Asset) => Promise<void>;
|
|
21
|
+
xOrderAccepted?: (event: OrderV3) => Promise<void>;
|
|
22
|
+
xOrderFilled?: (event: OrderV3) => Promise<void>;
|
|
23
|
+
xOrderCancelled?: (event: OrderV3) => Promise<void>;
|
|
24
|
+
xTransferCreated?: (event: Transfer) => Promise<void>;
|
|
25
|
+
all?: (event: any) => Promise<void>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* handle will validate webhook message origin and verify signature of the message and calls corresponding handlers passed in.
|
|
29
|
+
* @param body The request body to a webhook endpoint in json string or js object form.
|
|
30
|
+
* @param env The Immutable environment the webhook is set up for.
|
|
31
|
+
* @param handlers The optional handlers object for different events. The `all` handler will be triggered for all event types.
|
|
32
|
+
* @returns The event object from the webhook message after validation and verification.
|
|
33
|
+
*/
|
|
34
|
+
declare const handle: (body: string | Record<string, unknown>, env: Environment, handlers?: WebhookHandlers) => Promise<any>;
|
|
35
|
+
|
|
36
|
+
declare const webhook_d_BlockChainMetadata: typeof BlockChainMetadata;
|
|
37
|
+
declare const webhook_d_Chain: typeof Chain;
|
|
38
|
+
type webhook_d_WebhookHandlers = WebhookHandlers;
|
|
39
|
+
declare const webhook_d_ZkevmActivityBurn: typeof ZkevmActivityBurn;
|
|
40
|
+
declare const webhook_d_ZkevmActivityDeposit: typeof ZkevmActivityDeposit;
|
|
41
|
+
declare const webhook_d_ZkevmActivityMint: typeof ZkevmActivityMint;
|
|
42
|
+
declare const webhook_d_ZkevmActivitySale: typeof ZkevmActivitySale;
|
|
43
|
+
declare const webhook_d_ZkevmActivityTransfer: typeof ZkevmActivityTransfer;
|
|
44
|
+
declare const webhook_d_ZkevmActivityWithdrawal: typeof ZkevmActivityWithdrawal;
|
|
45
|
+
declare const webhook_d_ZkevmCollectionUpdated: typeof ZkevmCollectionUpdated;
|
|
46
|
+
declare const webhook_d_ZkevmMetadataUpdated: typeof ZkevmMetadataUpdated;
|
|
47
|
+
declare const webhook_d_ZkevmMintRequestUpdated: typeof ZkevmMintRequestUpdated;
|
|
48
|
+
declare const webhook_d_ZkevmNftUpdated: typeof ZkevmNftUpdated;
|
|
49
|
+
declare const webhook_d_ZkevmOrderUpdated: typeof ZkevmOrderUpdated;
|
|
50
|
+
declare const webhook_d_ZkevmTokenUpdated: typeof ZkevmTokenUpdated;
|
|
51
|
+
declare const webhook_d_ZkevmTradeCreated: typeof ZkevmTradeCreated;
|
|
52
|
+
declare const webhook_d_handle: typeof handle;
|
|
53
|
+
declare namespace webhook_d {
|
|
54
|
+
export {
|
|
55
|
+
webhook_d_BlockChainMetadata as BlockChainMetadata,
|
|
56
|
+
webhook_d_Chain as Chain,
|
|
57
|
+
webhook_d_WebhookHandlers as WebhookHandlers,
|
|
58
|
+
webhook_d_ZkevmActivityBurn as ZkevmActivityBurn,
|
|
59
|
+
webhook_d_ZkevmActivityDeposit as ZkevmActivityDeposit,
|
|
60
|
+
webhook_d_ZkevmActivityMint as ZkevmActivityMint,
|
|
61
|
+
webhook_d_ZkevmActivitySale as ZkevmActivitySale,
|
|
62
|
+
webhook_d_ZkevmActivityTransfer as ZkevmActivityTransfer,
|
|
63
|
+
webhook_d_ZkevmActivityWithdrawal as ZkevmActivityWithdrawal,
|
|
64
|
+
webhook_d_ZkevmCollectionUpdated as ZkevmCollectionUpdated,
|
|
65
|
+
webhook_d_ZkevmMetadataUpdated as ZkevmMetadataUpdated,
|
|
66
|
+
webhook_d_ZkevmMintRequestUpdated as ZkevmMintRequestUpdated,
|
|
67
|
+
webhook_d_ZkevmNftUpdated as ZkevmNftUpdated,
|
|
68
|
+
webhook_d_ZkevmOrderUpdated as ZkevmOrderUpdated,
|
|
69
|
+
webhook_d_ZkevmTokenUpdated as ZkevmTokenUpdated,
|
|
70
|
+
webhook_d_ZkevmTradeCreated as ZkevmTradeCreated,
|
|
71
|
+
webhook_d_handle as handle,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { WebhookHandlers as W, handle as h, webhook_d as w };
|