@imtbl/sdk 0.17.6 → 0.18.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/blockchain_data.js +1 -1
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.js +1 -1
- package/dist/checkout_widgets.d.ts +3 -3
- package/dist/checkout_widgets.js +17 -18
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +9 -9
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +419 -48
- package/dist/index.d.ts +26 -3
- package/dist/index.js +420 -49
- package/dist/passport.d.ts +22 -1
- package/dist/passport.js +402 -30
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13138,6 +13138,27 @@ declare class JsonRpcError extends Error {
|
|
|
13138
13138
|
constructor(code: ProviderErrorCode | RpcErrorCode, message: string);
|
|
13139
13139
|
}
|
|
13140
13140
|
|
|
13141
|
+
interface TypedDataPayload {
|
|
13142
|
+
types: {
|
|
13143
|
+
EIP712Domain: Array<{
|
|
13144
|
+
name: string;
|
|
13145
|
+
type: string;
|
|
13146
|
+
}>;
|
|
13147
|
+
[key: string]: Array<{
|
|
13148
|
+
name: string;
|
|
13149
|
+
type: string;
|
|
13150
|
+
}>;
|
|
13151
|
+
};
|
|
13152
|
+
domain: {
|
|
13153
|
+
name?: string;
|
|
13154
|
+
version?: string;
|
|
13155
|
+
chainId?: number;
|
|
13156
|
+
verifyingContract?: string;
|
|
13157
|
+
salt?: string;
|
|
13158
|
+
};
|
|
13159
|
+
primaryType: string;
|
|
13160
|
+
message: Record<string, any>;
|
|
13161
|
+
}
|
|
13141
13162
|
interface RequestArguments {
|
|
13142
13163
|
method: string;
|
|
13143
13164
|
params?: Array<any>;
|
|
@@ -13229,6 +13250,7 @@ declare const passport_d_ProviderEvent: typeof ProviderEvent;
|
|
|
13229
13250
|
type passport_d_RequestArguments = RequestArguments;
|
|
13230
13251
|
type passport_d_RpcErrorCode = RpcErrorCode;
|
|
13231
13252
|
declare const passport_d_RpcErrorCode: typeof RpcErrorCode;
|
|
13253
|
+
type passport_d_TypedDataPayload = TypedDataPayload;
|
|
13232
13254
|
type passport_d_UserProfile = UserProfile;
|
|
13233
13255
|
declare namespace passport_d {
|
|
13234
13256
|
export {
|
|
@@ -13249,6 +13271,7 @@ declare namespace passport_d {
|
|
|
13249
13271
|
passport_d_ProviderEvent as ProviderEvent,
|
|
13250
13272
|
passport_d_RequestArguments as RequestArguments,
|
|
13251
13273
|
passport_d_RpcErrorCode as RpcErrorCode,
|
|
13274
|
+
passport_d_TypedDataPayload as TypedDataPayload,
|
|
13252
13275
|
passport_d_UserProfile as UserProfile,
|
|
13253
13276
|
};
|
|
13254
13277
|
}
|
|
@@ -29821,9 +29844,9 @@ declare enum CheckoutWidgetTagNames {
|
|
|
29821
29844
|
*/
|
|
29822
29845
|
type SemanticVersion = {
|
|
29823
29846
|
major: number;
|
|
29824
|
-
minor
|
|
29825
|
-
patch
|
|
29826
|
-
prerelease
|
|
29847
|
+
minor?: number;
|
|
29848
|
+
patch?: number;
|
|
29849
|
+
prerelease?: 'alpha';
|
|
29827
29850
|
build?: number;
|
|
29828
29851
|
};
|
|
29829
29852
|
/**
|