@injectivelabs/sdk-ts 1.0.189 → 1.0.192
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.
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
import { MsgReclaimLockedFunds as BaseMsgReclaimLockedFunds } from '@injectivelabs/chain-api/injective/exchange/v1beta1/tx_pb'
|
|
4
|
+
import { toUtf8 } from '../../../../utils/utf8'
|
|
4
5
|
import { MsgBase } from '../../MsgBase'
|
|
5
6
|
|
|
6
7
|
export declare namespace MsgReclaimLockedFunds {
|
|
7
8
|
export interface Params {
|
|
8
9
|
sender: string
|
|
9
|
-
|
|
10
|
-
lockedAccountPubKey: Uint8Array | string
|
|
11
|
-
unlockAuthorizationSignature: Uint8Array | string
|
|
10
|
+
signData: string
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
export interface DirectSign {
|
|
@@ -47,9 +46,7 @@ export default class MsgReclaimLockedFunds extends MsgBase<
|
|
|
47
46
|
|
|
48
47
|
const message = new BaseMsgReclaimLockedFunds()
|
|
49
48
|
message.setSender(params.sender)
|
|
50
|
-
message.
|
|
51
|
-
message.setLockedAccountPubKey(params.lockedAccountPubKey)
|
|
52
|
-
message.setUnlockAuthorizationSignature(params.unlockAuthorizationSignature)
|
|
49
|
+
message.setSignData(Buffer.from(toUtf8(params.signData)).toString('base64'))
|
|
53
50
|
|
|
54
51
|
return message
|
|
55
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MsgReclaimLockedFunds.js","sourceRoot":"","sources":["../../../../../src/core/modules/exchange/msgs/MsgReclaimLockedFunds.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"MsgReclaimLockedFunds.js","sourceRoot":"","sources":["../../../../../src/core/modules/exchange/msgs/MsgReclaimLockedFunds.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFE"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
3
|
"description": "SDK in TypeScript for building Injective applications in a Node environment.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.192",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bojan Angjelkoski",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"shx": "^0.3.2",
|
|
67
67
|
"snakecase-keys": "^5.4.1"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "0f385cc017611fc9df6ca5abc1ca94371abb1139",
|
|
70
70
|
"typedoc": {
|
|
71
71
|
"entryPoint": "./src/index.ts",
|
|
72
72
|
"readmeFile": "./README.md",
|