@swapkit/toolboxes 4.15.1 → 4.15.3

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.
@@ -11,7 +11,7 @@ export declare const transferMsgAmino: ({ sender, recipient, assetValue, }: {
11
11
  recipient?: string;
12
12
  assetValue: AssetValue;
13
13
  }) => {
14
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
14
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
15
15
  value: {
16
16
  amount: {
17
17
  amount: string;
@@ -26,7 +26,7 @@ export declare const depositMsgAmino: ({ sender, assetValue, memo, }: {
26
26
  assetValue: AssetValue;
27
27
  memo?: string;
28
28
  }) => {
29
- type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
29
+ type: "mayachain/MsgDeposit" | "thorchain/MsgDeposit";
30
30
  value: {
31
31
  coins: {
32
32
  amount: string;
@@ -42,7 +42,7 @@ export declare const buildAminoMsg: ({ sender, recipient, assetValue, memo, }: {
42
42
  assetValue: AssetValue;
43
43
  memo?: string;
44
44
  }) => {
45
- type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
45
+ type: "mayachain/MsgDeposit" | "thorchain/MsgDeposit";
46
46
  value: {
47
47
  coins: {
48
48
  amount: string;
@@ -52,7 +52,7 @@ export declare const buildAminoMsg: ({ sender, recipient, assetValue, memo, }: {
52
52
  signer: string;
53
53
  };
54
54
  } | {
55
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
55
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
56
56
  value: {
57
57
  amount: {
58
58
  amount: string;
@@ -75,7 +75,7 @@ export declare function createTransaction(params: ThorchainCreateTransactionPara
75
75
  };
76
76
  memo: string;
77
77
  msgs: (import("@cosmjs/proto-signing").EncodeObject | {
78
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
78
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
79
79
  value: {
80
80
  amount: {
81
81
  amount: string;
@@ -98,7 +98,7 @@ export declare function createTransaction(params: ThorchainCreateTransactionPara
98
98
  };
99
99
  memo: string;
100
100
  msgs: (import("@cosmjs/proto-signing").EncodeObject | {
101
- type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
101
+ type: "mayachain/MsgDeposit" | "thorchain/MsgDeposit";
102
102
  value: {
103
103
  coins: {
104
104
  amount: string;
@@ -122,7 +122,7 @@ export declare function buildTransferTx({ sender, recipient, assetValue, memo, a
122
122
  };
123
123
  memo: string;
124
124
  msgs: (import("@cosmjs/proto-signing").EncodeObject | {
125
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
125
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
126
126
  value: {
127
127
  amount: {
128
128
  amount: string;
@@ -146,7 +146,7 @@ export declare function buildDepositTx({ sender, assetValue, memo, asSignable, a
146
146
  };
147
147
  memo: string;
148
148
  msgs: (import("@cosmjs/proto-signing").EncodeObject | {
149
- type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
149
+ type: "mayachain/MsgDeposit" | "thorchain/MsgDeposit";
150
150
  value: {
151
151
  coins: {
152
152
  amount: string;
@@ -159,7 +159,7 @@ export declare function buildDepositTx({ sender, assetValue, memo, asSignable, a
159
159
  sequence: number;
160
160
  }>;
161
161
  export declare function parseAminoMessageForDirectSigning<T extends MsgDeposit | MsgSend>(msg: T): {
162
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
162
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
163
163
  value: {
164
164
  amount: {
165
165
  amount: string;
@@ -16,7 +16,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
16
16
  assetValue: import("@swapkit/helpers").AssetValue;
17
17
  memo?: string;
18
18
  }) => {
19
- type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
19
+ type: "mayachain/MsgDeposit" | "thorchain/MsgDeposit";
20
20
  value: {
21
21
  coins: {
22
22
  amount: string;
@@ -26,7 +26,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
26
26
  signer: string;
27
27
  };
28
28
  } | {
29
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
29
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
30
30
  value: {
31
31
  amount: {
32
32
  amount: string;
@@ -38,7 +38,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
38
38
  };
39
39
  buildEncodedTxBody: typeof buildEncodedTxBody;
40
40
  convertToSignable: (msg: {
41
- type: "thorchain/MsgSend" | "mayachain/MsgSend";
41
+ type: "mayachain/MsgSend" | "thorchain/MsgSend";
42
42
  value: {
43
43
  amount: {
44
44
  amount: string;
@@ -48,7 +48,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
48
48
  to_address: string | undefined;
49
49
  };
50
50
  } | {
51
- type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
51
+ type: "mayachain/MsgDeposit" | "thorchain/MsgDeposit";
52
52
  value: {
53
53
  coins: {
54
54
  amount: string;
@@ -1 +1 @@
1
- {"version":3,"file":"thorchain.d.ts","sourceRoot":"","sources":["../../../../src/cosmos/toolbox/thorchain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE/D,OAAO,EAKL,KAAK,qBAAqB,EAO1B,aAAa,EACb,KAAK,WAAW,EAEjB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAEL,kBAAkB,EAGlB,qBAAqB,EACrB,iBAAiB,EACjB,iCAAiC,EAClC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAqFhF,iBAAe,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,UAAO,4DAOvF;AAED,iBAAS,eAAe,CAAC,SAAS,EAAE,MAAM,+BAEzC;AAED,iBAAe,kBAAkB,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AAM,EAAE,aAAa,UAAO,4DAOvF;AAED,iBAAS,eAAe,CAAC,SAAS,EAAE,MAAM,+BAEzC;AAED,iBAAe,kBAAkB,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,mBAKrG;AAED,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,GAAG,aAAa,EAAE,EAAE,mBAAmB,CAAC,WAAW,CAAC;8BAtD5F,MAAM,WACD,cAAc,EAAE,kBACT,MAAM,EAAE,aACb,MAAM,aACN,UAAU;;;iBA7B2C,CAAC;;YAEjE,CADJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA6HK,IAAI,CAAC,qBAAqB,EAAE,WAAW,CAAC,GAAG;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;8BA2DlC,MAAM;8CAzMsB,MAAM;qCAef;QAAE,MAAM,EAAE,iBAAiB,CAAC;QAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE;;;;;iDA+HxG,IAAI,CAAC,qBAAqB,EAAE,WAAW,CAAC,GAAG;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;EAuErE"}
package/package.json CHANGED
@@ -33,7 +33,7 @@
33
33
  "@stricahq/bip32ed25519": "1.1.2",
34
34
  "@stricahq/cbors": "~1.0.2",
35
35
  "@stricahq/typhonjs": "~3.0.1",
36
- "@swapkit/helpers": "4.13.1",
36
+ "@swapkit/helpers": "4.13.3",
37
37
  "@swapkit/utxo-signer": "2.1.1",
38
38
  "@ton/crypto": "~3.3.0",
39
39
  "@ton/ton": "~15.4.0",
@@ -196,5 +196,5 @@
196
196
  "type-check:go": "tsgo"
197
197
  },
198
198
  "type": "module",
199
- "version": "4.15.1"
199
+ "version": "4.15.3"
200
200
  }