Skip to content

Commit

Permalink
fix: update types
Browse files Browse the repository at this point in the history
[only @mangata-finance/sdk]
  • Loading branch information
devdanco committed Dec 13, 2023
1 parent 3439f38 commit ce10ac4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@polkadot/api": "10.9.1"
},
"devDependencies": {
"@mangata-finance/types": "2.2.0"
"@mangata-finance/types": "2.2.1"
},
"dependencies": {
"@mangata-finance/type-definitions": "2.1.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/sdk/src/types/xTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
Prettify
} from "./common";
import { Merge, Except } from "type-fest";
import { XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmVersionedMultiAssets, XcmV3WeightLimit } from "@polkadot/types/lookup"
import { StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, StagingXcmV3WeightLimit } from "@polkadot/types/lookup"

export type XcmTxOptions = Partial<
Omit<TxOptions, "statusCallback" | "extrinsicStatus">
>;

export type Deposit<A = string | Uint8Array | XcmVersionedMultiAsset | { V2: any; } | { V3: any; }, D = XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, W = XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array> = Prettify<
export type Deposit<A = string | Uint8Array | StagingXcmVersionedMultiAsset | { V2: any; } | { V3: any; }, D = StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, W = StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array> = Prettify<
Merge<
ExtrinsicCommon,
{
Expand Down Expand Up @@ -45,11 +45,11 @@ export type MoonriverWithdraw = Merge<
>;

export type RelayDeposit<
A = XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array,
D = XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
A = StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array,
D = StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
F = number,
B = XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
W = XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array
B = StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
W = StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array
> = Prettify<
Merge<
ExtrinsicCommon,
Expand Down

0 comments on commit ce10ac4

Please sign in to comment.